Creates a wrapper array around the static buffer of a StaticJobGroup. By default the array is empty. If you specify STATICJOBARRAYFLAGS::INITIALIZE_LATER the array will consists of as many uninitialized elements as it has capacity. at StaticJobGroupInterface::Alloc().
- Parameters
-
[in] | group | Job group (nullptr will use buffer as array). |
[in] | flags | STATICJOBARRAYFLAGS::DEFAULT by default. |
[in] | buffer | An optional buffer with sizeof(T) that can be used if group allocation failed (see ParallelFor). It must be big enough to be aligned to a cache line (see PrivateGetExtraBuffer). |