From dbca11e8805ec07660d8f966a1884ad0be302f15 Mon Sep 17 00:00:00 2001 From: Eugene Zhulenev Date: Tue, 10 Dec 2019 11:58:30 -0800 Subject: Remove TensorBlock.h and old TensorBlock/BlockMapper --- unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h b/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h index 7299cdcdb..7697add4b 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorMorphing.h @@ -465,9 +465,6 @@ struct TensorEvaluator, Devi typedef typename internal::remove_const::type ScalarNoConst; - typedef internal::TensorBlock TensorBlock; - typedef typename TensorBlock::Dimensions TensorBlockDimensions; - //===- Tensor block evaluation strategy (see TensorBlock.h) -------------===// typedef internal::TensorBlockDescriptor TensorBlockDesc; typedef internal::TensorBlockScratchAllocator TensorBlockScratch; @@ -757,9 +754,6 @@ struct TensorEvaluator, Device> typedef typename internal::remove_const::type ScalarNoConst; - typedef internal::TensorBlock TensorBlock; - typedef typename TensorBlock::Dimensions TensorBlockDimensions; - //===- Tensor block evaluation strategy (see TensorBlock.h) -------------===// typedef internal::TensorBlockDescriptor TensorBlockDesc; typedef internal::TensorBlockScratchAllocator TensorBlockScratch; @@ -829,14 +823,6 @@ struct TensorEvaluator, Device> } } - EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void writeBlock( - const TensorBlock& block) { - this->m_impl.writeBlock(TensorBlock( - this->srcCoeff(block.first_coeff_index()), block.block_sizes(), - block.block_strides(), TensorBlockDimensions(this->m_inputStrides), - const_cast(block.data()))); - } - template EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void writeBlockV2( const TensorBlockDesc& desc, const TensorBlockV2& block) { -- cgit v1.2.3