Type Alias kn_cuda_sys::bindings::CUmemAllocationProp
source · pub type CUmemAllocationProp = CUmemAllocationProp_v1;Expand description
Specifies the allocation properties for a allocation.
Aliased Type§
struct CUmemAllocationProp {
pub type_: CUmemAllocationType_enum,
pub requestedHandleTypes: CUmemAllocationHandleType_enum,
pub location: CUmemLocation_st,
pub win32HandleMetaData: *mut c_void,
pub allocFlags: CUmemAllocationProp_st__bindgen_ty_1,
}Fields§
§type_: CUmemAllocationType_enumAllocation type
requestedHandleTypes: CUmemAllocationHandleType_enumrequested ::CUmemAllocationHandleType
location: CUmemLocation_stLocation of allocation
win32HandleMetaData: *mut c_voidWindows-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.
allocFlags: CUmemAllocationProp_st__bindgen_ty_1