Struct rcublas_sys::cudaResourceViewDesc [−][src]
#[repr(C)]pub struct cudaResourceViewDesc {
pub format: cudaResourceViewFormat,
pub width: usize,
pub height: usize,
pub depth: usize,
pub firstMipmapLevel: c_uint,
pub lastMipmapLevel: c_uint,
pub firstLayer: c_uint,
pub lastLayer: c_uint,
}
Expand description
CUDA resource view descriptor
Fields
format: cudaResourceViewFormat
< Resource view format
width: usize
< Width of the resource view
height: usize
< Height of the resource view
depth: usize
< Depth of the resource view
firstMipmapLevel: c_uint
< First defined mipmap level
lastMipmapLevel: c_uint
< Last defined mipmap level
firstLayer: c_uint
< First layer index
lastLayer: c_uint
< Last layer index
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaResourceViewDesc
impl Send for cudaResourceViewDesc
impl Sync for cudaResourceViewDesc
impl Unpin for cudaResourceViewDesc
impl UnwindSafe for cudaResourceViewDesc
Blanket Implementations
Mutably borrows from an owned value. Read more