Skip to content

Commit

Permalink
task queued set block size to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsippel committed Aug 31, 2023
1 parent 3066157 commit 872dc80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redGrapes/task/queue.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ struct TaskQueueTraits
// but many producers, a smaller block size should be favoured. For few producers
// and/or many elements, a larger block size is preferred. A sane default
// is provided. Must be a power of 2.
static const size_t BLOCK_SIZE = 8;
static const size_t BLOCK_SIZE = 16;

// For explicit producers (i.e. when using a producer token), the block is
// checked for being empty by iterating through a list of flags, one per element.
Expand Down

0 comments on commit 872dc80

Please sign in to comment.