Incorporate Threadpool in Eigen Core

This commit is contained in:
Charles Schlosser
2024-05-20 23:42:51 +00:00
committed by Rasmus Munk Larsen
parent d165c7377f
commit 99adca8b34
11 changed files with 664 additions and 7 deletions

View File

@@ -343,7 +343,7 @@ class ThreadPoolTempl : public Eigen::ThreadPoolInterface {
}
victim += inc;
if (victim >= size) {
victim -= size;
victim -= static_cast<unsigned int>(size);
}
}
return Task();
@@ -431,7 +431,7 @@ class ThreadPoolTempl : public Eigen::ThreadPoolInterface {
}
victim += inc;
if (victim >= size) {
victim -= size;
victim -= static_cast<unsigned int>(size);
}
}
return -1;