Android: Fix logical CPU count.

Otherwise bad things happen.
This commit is contained in:
Unknown W. Brackets
2021-06-13 12:47:11 -07:00
parent cdcd77a931
commit 8ae3f5eb41
4 changed files with 3 additions and 2 deletions
-1
View File
@@ -49,7 +49,6 @@ WaitableCounter *ParallelRangeLoopWaitable(ThreadManager *threadMan, const std::
// Remember that stragglers are done on the current thread
// so we don't round up.
numTasks = (int)(totalFrac / delta);
printf("numTasks: %d\n", numTasks);
WaitableCounter *waitableCounter = new WaitableCounter(numTasks);
int64_t counter = (int64_t)lower << fractionalBits;