6.31. CUmemAllocationProp Struct Reference
[Data types used by CUDA driver]
Specifies the allocation properties for a allocation.
Public Variables
- unsigned char compressionType
- struct CUmemLocation location
- CUmemAllocationHandleType requestedHandleTypes
- CUmemAllocationType type
- unsigned short usage
- void * win32HandleMetaData
Variables
- unsigned char CUmemAllocationProp::compressionType [inherited]
-
Allocation hint for requesting compressible memory. On devices that support Compute Data Compression, compressible memory can be used to accelerate accesses to data with unstructured sparsity and other compressible data patterns. Applications are expected to query allocation property of the handle obtained with cuMemCreate using cuMemGetAllocationPropertiesFromHandle to validate if the obtained allocation is compressible or not. Note that compressed memory may not be mappable on all devices.
- struct CUmemLocationCUmemAllocationProp::location [inherited]
-
Location of allocation
- CUmemAllocationHandleTypeCUmemAllocationProp::requestedHandleTypes [inherited]
-
requested CUmemAllocationHandleType
- CUmemAllocationTypeCUmemAllocationProp::type [inherited]
-
Allocation type
- unsigned short CUmemAllocationProp::usage [inherited]
-
Bitmask indicating intended usage for this allocation
- void * CUmemAllocationProp::win32HandleMetaData [inherited]
-
Windows-specific LPSECURITYATTRIBUTES required when CU_MEM_HANDLE_TYPE_WIN32 is specified. This security attribute defines the scope of which exported allocations may be tranferred to other processes. In all other cases, this field is required to be zero.