7.61. CUmemAllocationProp_v1 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_v1::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_v1::location [inherited]
-
Location of allocation
- CUmemAllocationHandleTypeCUmemAllocationProp_v1::requestedHandleTypes [inherited]
-
requested CUmemAllocationHandleType
- CUmemAllocationTypeCUmemAllocationProp_v1::type [inherited]
-
Allocation type
- unsigned short CUmemAllocationProp_v1::usage [inherited]
-
Bitmask indicating intended usage for this allocation
- void * CUmemAllocationProp_v1::win32HandleMetaData [inherited]
-
Windows-specific POBJECT_ATTRIBUTES required when CU_MEM_HANDLE_TYPE_WIN32 is specified. This object attributes structure includes security attributes that define the scope of which exported allocations may be transferred to other processes. In all other cases, this field is required to be zero.