Type Alias kn_cuda_sys::bindings::CUmemPoolProps
source · pub type CUmemPoolProps = CUmemPoolProps_v1;Expand description
Specifies the properties of allocations made from the pool.
Aliased Type§
struct CUmemPoolProps {
pub allocType: CUmemAllocationType_enum,
pub handleTypes: CUmemAllocationHandleType_enum,
pub location: CUmemLocation_st,
pub win32SecurityAttributes: *mut c_void,
pub maxSize: usize,
pub reserved: [u8; 56],
}Fields§
§allocType: CUmemAllocationType_enum< Allocation type. Currently must be specified as CU_MEM_ALLOCATION_TYPE_PINNED
handleTypes: CUmemAllocationHandleType_enum< Handle types that will be supported by allocations from the pool.
location: CUmemLocation_st< Location where allocations should reside.
win32SecurityAttributes: *mut c_voidWindows-specific LPSECURITYATTRIBUTES required when ::CU_MEM_HANDLE_TYPE_WIN32 is specified. This security attribute defines the scope of which exported allocations may be transferred to other processes. In all other cases, this field is required to be zero.
maxSize: usize< Maximum pool size. When set to 0, defaults to a system dependent value.
reserved: [u8; 56]< reserved for future use, must be 0