mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Fixe Conversion Warning in Parallelizer
This commit is contained in:
parent
b860042263
commit
2cd47d743e
@ -217,7 +217,7 @@ EIGEN_STRONG_INLINE void parallelize_gemm(const Functor& func, Index rows, Index
|
|||||||
// Note that the actual number of threads might be lower than the number of
|
// Note that the actual number of threads might be lower than the number of
|
||||||
// requested ones
|
// requested ones
|
||||||
Index actual_threads = omp_get_num_threads();
|
Index actual_threads = omp_get_num_threads();
|
||||||
GemmParallelInfo<Index> info(i, static_cast<int>(actual_threads), task_info);
|
GemmParallelInfo<Index> info(static_cast<int>(i), static_cast<int>(actual_threads), task_info);
|
||||||
|
|
||||||
Index blockCols = (cols / actual_threads) & ~Index(0x3);
|
Index blockCols = (cols / actual_threads) & ~Index(0x3);
|
||||||
Index blockRows = (rows / actual_threads);
|
Index blockRows = (rows / actual_threads);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user