diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-10-02 18:35:25 +0200 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2018-10-02 18:35:25 +0200 |
commit | b786ce8c7254c6179632451141dad5c3432a3cca (patch) | |
tree | bd8ccc93f58e4352b7b047c0954983c2701390b8 /unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | |
parent | de2efbc43c675c3d007d3620a41dfd7747ae4e0f (diff) |
Fix conversion warning ... again
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h index 42c6ae528..24ba3e431 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h @@ -794,7 +794,7 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT Index num_blocks = divup<Index>(k, block_size); // we use 'result' for the first block's partial result. MaxSizeVector<Scalar*> block_buffers(num_blocks - 1); - Barrier barrier(num_blocks); + Barrier barrier(internal::convert_index<int>(num_blocks)); auto process_block = [=, &barrier](Scalar* buf, Index begin, Index end) { ::memset(buf, 0, m * n * sizeof(Scalar)); TENSOR_CONTRACTION_DISPATCH( |