|
dispenso 1.6.0
A library for task parallelism
|
A scheduling group of CPUs for fork-join thread pool assignment. More...
#include <cpu_set.h>
Public Attributes | |
| std::vector< int32_t > | cpus |
| CPU IDs in this group (sorted) | |
| CpuSet | affinityMask |
| Pre-built CpuSet for binding threads in this group. | |
A scheduling group of CPUs for fork-join thread pool assignment.
Thread groups are the fundamental scheduling and wake unit. Each group:
Groups are built bottom-up from cache topology: L2 atoms are packed into groups within L3 boundaries. On systems without cache topology detection, CPUs are chunked contiguously by maxGroupSize.
| CpuSet dispenso::ThreadGroup::affinityMask |
| std::vector<int32_t> dispenso::ThreadGroup::cpus |