#[repr(C)]pub struct hipArrayMapInfo {
pub resourceType: hipResourceType,
pub resource: hipArrayMapInfo__bindgen_ty_1,
pub subresourceType: hipArraySparseSubresourceType,
pub subresource: hipArrayMapInfo__bindgen_ty_2,
pub memOperationType: hipMemOperationType,
pub memHandleType: hipMemHandleType,
pub memHandle: hipArrayMapInfo__bindgen_ty_3,
pub offset: c_ulonglong,
pub deviceBitMask: c_uint,
pub flags: c_uint,
pub reserved: [c_uint; 2],
}
Expand description
Map info for arrays
Fields§
§resourceType: hipResourceType
< Resource type
resource: hipArrayMapInfo__bindgen_ty_1
§subresourceType: hipArraySparseSubresourceType
< Sparse subresource type
subresource: hipArrayMapInfo__bindgen_ty_2
§memOperationType: hipMemOperationType
< Memory operation type
memHandleType: hipMemHandleType
< Memory handle type
memHandle: hipArrayMapInfo__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 hipArrayMapInfo
impl Clone for hipArrayMapInfo
Source§fn clone(&self) -> hipArrayMapInfo
fn clone(&self) -> hipArrayMapInfo
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 hipArrayMapInfo
Auto Trait Implementations§
impl Freeze for hipArrayMapInfo
impl RefUnwindSafe for hipArrayMapInfo
impl !Send for hipArrayMapInfo
impl !Sync for hipArrayMapInfo
impl Unpin for hipArrayMapInfo
impl UnwindSafe for hipArrayMapInfo
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