mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Remove deprecation annotation from typedef Eigen::Index Index, as it would generate too many build warnings.
This commit is contained in:
@@ -1191,8 +1191,8 @@ struct TensorEvaluator<const TensorContractionOp<Indices, LeftArgType, RightArgT
|
||||
m * n, TensorOpCost(2, 1, 1, true, output_packet_size));
|
||||
int num_threads = 1;
|
||||
double min_cost = total_parallel_cost;
|
||||
double kPerThreadOverHead = 4000;
|
||||
double kFixedOverHead = 50000;
|
||||
double kPerThreadOverHead = 3000;
|
||||
double kFixedOverHead = 100000;
|
||||
for (int nt = 2; nt <= this->m_device.numThreads(); nt += 2) {
|
||||
double sequential_cost =
|
||||
kFixedOverHead + nt * (reduction_cost + kPerThreadOverHead);
|
||||
|
||||
Reference in New Issue
Block a user