mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
Fix shorten-64-to-32 warning in TensorContractionThreadPool
This commit is contained in:
parent
df29511ac0
commit
1e6d15b55b
@ -879,7 +879,8 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
|
||||
// Keep count of pending gemm tasks for each l0 range.
|
||||
MaxSizeVector<std::atomic<int>> l0_state(l0_ranges);
|
||||
for (int i = 0; i < l0_ranges; ++i) {
|
||||
l0_state.emplace_back(actual_range_size(l0_ranges, l0_size, i));
|
||||
const Index num_pending_tasks = actual_range_size(l0_ranges, l0_size, i);
|
||||
l0_state.emplace_back(internal::convert_index<int>(num_pending_tasks));
|
||||
}
|
||||
|
||||
MaxSizeVector<Scalar*> block_buffers(num_blocks);
|
||||
|
Loading…
Reference in New Issue
Block a user