Struct kn_cuda_sys::bindings::CUarrayMapInfo_st
source · #[repr(C)]pub struct CUarrayMapInfo_st {
pub resourceType: CUresourcetype,
pub resource: CUarrayMapInfo_st__bindgen_ty_1,
pub subresourceType: CUarraySparseSubresourceType,
pub subresource: CUarrayMapInfo_st__bindgen_ty_2,
pub memOperationType: CUmemOperationType,
pub memHandleType: CUmemHandleType,
pub memHandle: CUarrayMapInfo_st__bindgen_ty_3,
pub offset: c_ulonglong,
pub deviceBitMask: c_uint,
pub flags: c_uint,
pub reserved: [c_uint; 2],
}Expand description
Specifies the CUDA array or CUDA mipmapped array memory mapping information
Fields§
§resourceType: CUresourcetype< Resource type
resource: CUarrayMapInfo_st__bindgen_ty_1§subresourceType: CUarraySparseSubresourceType< Sparse subresource type
subresource: CUarrayMapInfo_st__bindgen_ty_2§memOperationType: CUmemOperationType< Memory operation type
memHandleType: CUmemHandleType< Memory handle type
memHandle: CUarrayMapInfo_st__bindgen_ty_3§offset: c_ulonglong< Offset within the memory
deviceBitMask: c_uint< Device ordinal bit mask
flags: c_uint< flags for future use, must be zero now.
reserved: [c_uint; 2]< Reserved for future use, must be zero now.
Trait Implementations§
source§impl Clone for CUarrayMapInfo_st
impl Clone for CUarrayMapInfo_st
source§fn clone(&self) -> CUarrayMapInfo_st
fn clone(&self) -> CUarrayMapInfo_st
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CUarrayMapInfo_st
Auto Trait Implementations§
impl RefUnwindSafe for CUarrayMapInfo_st
impl !Send for CUarrayMapInfo_st
impl !Sync for CUarrayMapInfo_st
impl Unpin for CUarrayMapInfo_st
impl UnwindSafe for CUarrayMapInfo_st
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more