From 4ac93f8edc09ac051dec73e09f204dd34bf7ebd0 Mon Sep 17 00:00:00 2001 From: Eugene Zhulenev Date: Mon, 1 Jul 2019 10:55:19 -0700 Subject: Allocate non-const scalar buffer for block evaluation with DefaultDevice --- unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 f1ae548f7..fddb90d77 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorExecutor.h @@ -189,7 +189,7 @@ class TensorExecutor( + ScalarNoConst* data = static_cast( device.allocate(block_total_size * sizeof(Scalar))); const StorageIndex total_block_count = block_mapper.total_block_count(); -- cgit v1.2.3