HeapOptions

Option to define allocation behavior for each heap of the device

Members

Variables

blockSize
size_t blockSize;

Size of a single DeviceMemory on this heap. set to 0 to use default behavior for this heap

maxUsage
size_t maxUsage;

How many bytes may be use on the heap. set to 0 to forbid use of a specific heap and to size_t.max to allow entire use

Meta