diff options
author | Eugene Zhulenev <ezhulenev@google.com> | 2019-01-10 10:27:55 -0800 |
---|---|---|
committer | Eugene Zhulenev <ezhulenev@google.com> | 2019-01-10 10:27:55 -0800 |
commit | 0abe03764c697ed8da37ce4421dd1918aa7a9b5f (patch) | |
tree | 5c9127bac900e135a5b5bd3e3f5240a5d314bfc8 | |
parent | d812f411c3f99e93a774b80ed3772603303c6c59 (diff) |
Fix shorten-64-to-32 warning in TensorContractionThreadPool
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h index 9666bf167..d68409e26 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorContractionThreadPool.h @@ -890,7 +890,8 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT TENSOR_CONTRACTION_DISPATCH( this->template evalGemmPartialWithoutOutputKernel, Alignment, - (buf, begin, end, /*num_threads=*/num_blocks)); + (buf, begin, end, + /*num_threads=*/internal::convert_index<int>(num_blocks))); // Check if it was the last task in l0 range. const Index l0_index = block_idx / l0_size; |