Struct rcudnn_sys::cudaMemPoolProps [−][src]
#[repr(C)]pub struct cudaMemPoolProps {
pub allocType: cudaMemAllocationType,
pub handleTypes: cudaMemAllocationHandleType,
pub location: cudaMemLocation,
pub win32SecurityAttributes: *mut c_void,
pub reserved: [c_uchar; 64],
}
Expand description
Specifies the properties of allocations made from the pool.
Fields
allocType: cudaMemAllocationType
< Allocation type. Currently must be specified as cudaMemAllocationTypePinned
handleTypes: cudaMemAllocationHandleType
< Handle types that will be supported by allocations from the pool.
location: cudaMemLocation
< Location allocations should reside.
win32SecurityAttributes: *mut c_void
Windows-specific LPSECURITYATTRIBUTES required when ::cudaMemHandleTypeWin32 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.
reserved: [c_uchar; 64]
< reserved for future use, must be 0
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaMemPoolProps
impl !Send for cudaMemPoolProps
impl !Sync for cudaMemPoolProps
impl Unpin for cudaMemPoolProps
impl UnwindSafe for cudaMemPoolProps
Blanket Implementations
Mutably borrows from an owned value. Read more