make sure we never execute a job smaller than requested
This commit is contained in:
committed by
Mathias Agopian
parent
665703dbd8
commit
111b3320c0
@@ -527,7 +527,7 @@ private:
|
||||
size_type const end = first + count;
|
||||
size_type curr = first;
|
||||
|
||||
while (curr + c < end) {
|
||||
while (curr + 2u * c < end) {
|
||||
// this creates jobs from the end of the buffer because the WorkStealingDequeue
|
||||
// is a LIFO, this could help streaming to the d-cache.
|
||||
const size_type pos = end - (curr - first) - c;
|
||||
|
||||
Reference in New Issue
Block a user