Android: Fix logical CPU count.

Otherwise bad things happen.
This commit is contained in:
Unknown W. Brackets committed 2021-06-13 12:47:11 -07:00
1 parent cdcd77a931
commit 8ae3f5eb41
4 files changed
+3 -2

No files matched your search

-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;