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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.