Add missing EIGEN_DEPRECATED annotations to deprecated functions and fix few other doxygen warnings

This commit is contained in:
Eugene Zhulenev
2019-04-23 17:23:19 -07:00
parent 68a2a8c445
commit a7b7f3ca8a
8 changed files with 22 additions and 14 deletions

View File

@@ -177,7 +177,8 @@ class TensorCostModel {
double threads = (cost - kStartupCycles) / kPerThreadCycles + 0.9;
// Make sure we don't invoke undefined behavior when we convert to an int.
threads = numext::mini<double>(threads, GenericNumTraits<int>::highest());
return numext::mini(max_threads, numext::maxi<int>(1, threads));
return numext::mini(max_threads,
numext::maxi<int>(1, static_cast<int>(threads)));
}
// taskSize assesses parallel task size.