pub struct F16Scratch {
pub xh: CudaSlice<u8>,
pub ws: CudaSlice<u8>,
/* private fields */
}Expand description
Resident scratch (fp8_ffi::Fp8Scratch pattern): fp16 activation (grown to the largest m*k seen) + the cuBLASLt workspace. Single GPU worker; the Mutex guards lazy build/grow only.
Fields§
§xh: CudaSlice<u8>§ws: CudaSlice<u8>Implementations§
Source§impl F16Scratch
impl F16Scratch
Auto Trait Implementations§
impl Freeze for F16Scratch
impl RefUnwindSafe for F16Scratch
impl Send for F16Scratch
impl Sync for F16Scratch
impl Unpin for F16Scratch
impl UnsafeUnpin for F16Scratch
impl UnwindSafe for F16Scratch
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