#[repr(C, align(64))]pub struct CuTensorMap {
pub opaque: [u64; 16],
}Expand description
Opaque TMA tensor map descriptor (64 bytes, 64-byte aligned).
Passed to CUDA kernels via kernel arguments so the TMA hardware can
read its encoding. Created on the host with cuTensorMapEncodeTiled
and must not be modified after the driver populates it.
§Layout
The 128-byte structure matches CUDA’s CUtensorMap exactly. The
internal encoding is private to the driver; user code should treat
this as an opaque blob.
Fields§
§opaque: [u64; 16]Opaque 128-byte payload.
Trait Implementations§
Source§impl Clone for CuTensorMap
impl Clone for CuTensorMap
Source§fn clone(&self) -> CuTensorMap
fn clone(&self) -> CuTensorMap
Returns a duplicate 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 moreSource§impl Debug for CuTensorMap
impl Debug for CuTensorMap
Source§impl Default for CuTensorMap
impl Default for CuTensorMap
impl Copy for CuTensorMap
Auto Trait Implementations§
impl Freeze for CuTensorMap
impl RefUnwindSafe for CuTensorMap
impl Send for CuTensorMap
impl Sync for CuTensorMap
impl Unpin for CuTensorMap
impl UnsafeUnpin for CuTensorMap
impl UnwindSafe for CuTensorMap
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