Skip to main content

null_scale_ptr

Function null_scale_ptr 

Source
pub fn null_scale_ptr() -> *const f32
Expand description

Best-effort sentinel used when a caller wants the scale pointer slot occupied but doesn’t actually have a device buffer. Mostly useful for tests; a real fp8 path always supplies device pointers minted by the calling DeviceActor.