|
Zen API
|
| kStatus kPoolAlloc_SetBlockSize | ( | kPoolAlloc | object, |
| kSize | size | ||
| ) |
Sets the approximate size of large memory blocks used to satisfy small memory requests.
Blocks are assigned to one rank at a time. Multiple small allocations are typically performed from each larger block. The number of allocations that can be performed from a single block depends on the rank.
A common block size is used for all ranks to allow free blocks to be transferred between ranks (if reuse is enabled).
| object | kPoolAlloc object. |
| size | Block size, in bytes. |