From 1c879eb010df8e53e5ac016ee5d155db2c721c2b Mon Sep 17 00:00:00 2001 From: Eugene Zhulenev Date: Tue, 10 Dec 2019 15:40:23 -0800 Subject: Remove V2 suffix from TensorBlock --- unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h index 7b7b670ed..b2327da1e 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h @@ -172,7 +172,7 @@ class TensorExecutor + typedef TensorBlockMapper TensorBlockMapper; typedef internal::TensorBlockDescriptor @@ -187,7 +187,7 @@ class TensorExecutor GetTensorExecutorTilingContext( const ThreadPoolDevice& device, const Evaluator& evaluator, bool allocate_buffer = true) { // Query expression tree for desired block size/shape. - const TensorBlockV2ResourceRequirements requirements = + const TensorBlockResourceRequirements requirements = evaluator.getResourceRequirements(); int num_threads = device.numThreads(); @@ -377,7 +377,7 @@ class TensorExecutor::NumDimensions; typedef TensorEvaluator Evaluator; - typedef TensorBlockV2Mapper BlockMapper; + typedef TensorBlockMapper BlockMapper; typedef TensorExecutorTilingContext TilingContext; typedef internal::TensorBlockDescriptor @@ -402,7 +402,7 @@ class TensorExecutor::NumDimensions; typedef TensorEvaluator Evaluator; - typedef TensorBlockV2Mapper BlockMapper; + typedef TensorBlockMapper BlockMapper; typedef TensorExecutorTilingContext TilingContext; typedef internal::TensorBlockDescriptor TensorBlockDesc; @@ -510,7 +510,7 @@ class TensorAsyncExecutortiling.block_mapper.blockDescriptor(block_idx); - ctx->evaluator.evalBlockV2(desc, scratch); + ctx->evaluator.evalBlock(desc, scratch); scratch.reset(); } }; -- cgit v1.2.3