pub enum VectorWidth {
V1,
V2,
V4,
}Expand description
Vector width for vectorized load/store operations.
Variants§
Implementations§
Source§impl VectorWidth
impl VectorWidth
Sourcepub const fn as_ptx_str(&self) -> &'static str
pub const fn as_ptx_str(&self) -> &'static str
Returns the PTX modifier string (e.g., ".v2", ".v4"), or empty for scalar.
Trait Implementations§
Source§impl Clone for VectorWidth
impl Clone for VectorWidth
Source§fn clone(&self) -> VectorWidth
fn clone(&self) -> VectorWidth
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 VectorWidth
impl Debug for VectorWidth
Source§impl Hash for VectorWidth
impl Hash for VectorWidth
Source§impl PartialEq for VectorWidth
impl PartialEq for VectorWidth
impl Copy for VectorWidth
impl Eq for VectorWidth
impl StructuralPartialEq for VectorWidth
Auto Trait Implementations§
impl Freeze for VectorWidth
impl RefUnwindSafe for VectorWidth
impl Send for VectorWidth
impl Sync for VectorWidth
impl Unpin for VectorWidth
impl UnsafeUnpin for VectorWidth
impl UnwindSafe for VectorWidth
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