pub struct Nvfp4Proj {
pub packed: DevicePtr,
pub scale: DevicePtr,
pub scale_2: f32,
}Expand description
2026-09-25: One NVFP4 projection: packed e2m1 pairs, per-16-element e4m3 block scales,
and one global f32 scale.
scale_2 is held on the host and passed to the kernels by value (arg_f32), not as a
device pointer.
Fields§
§packed: DevicePtr2026-09-25: [out, in/2] U8, two e2m1 codes per byte.
scale: DevicePtr2026-09-25: [out, in/16] F8_E4M3 block scales.
scale_2: f322026-09-25: The single global F32 scale.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Nvfp4Proj
impl RefUnwindSafe for Nvfp4Proj
impl Send for Nvfp4Proj
impl Sync for Nvfp4Proj
impl Unpin for Nvfp4Proj
impl UnwindSafe for Nvfp4Proj
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