Struct rcudnn::cudaMemLocation [−][src]
#[repr(C)]pub struct cudaMemLocation {
pub type_: cudaMemLocationType,
pub id: i32,
}
Expand description
Specifies a memory location.
To specify a gpu, set type = ::cudaMemLocationTypeDevice and set id = the gpu’s device ordinal.
Fields
type_: cudaMemLocationType
< Specifies the location type, which modifies the meaning of id.
id: i32
< identifier for a given this location’s ::CUmemLocationType.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaMemLocation
impl Send for cudaMemLocation
impl Sync for cudaMemLocation
impl Unpin for cudaMemLocation
impl UnwindSafe for cudaMemLocation
Blanket Implementations
Mutably borrows from an owned value. Read more