Struct HeapOptions
Option to define allocation behavior for each heap of the device
struct HeapOptions
;
Fields
Name | Type | Description |
---|---|---|
blockSize
|
ulong | Size of a single DeviceMemory on this heap. set to 0 to use default behavior for this heap |
maxUsage
|
ulong | 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 |