pub(super) struct PrefillScratch<T = Retained<ProtocolObject<dyn MTLBuffer>>> {Show 49 fields
allocated_bytes: usize,
rows: usize,
ids: T,
e: T,
hyper: T,
normed: T,
d: T,
u: T,
mixed: T,
inj: T,
mix_out: T,
moe_out: T,
qg: T,
k: T,
v: T,
attn_out: T,
iqk: T,
iq: T,
bscore: T,
vis: T,
nvis: T,
vmask: T,
ag_qh: T,
ag_kh: T,
ag_vt: T,
ag_s: T,
ag_p: T,
ag_o: T,
qkv: T,
z: T,
a: T,
b: T,
kqn: T,
gbuf: T,
delta_y: T,
router: T,
topk_idx: T,
topk_w: T,
csr_rows: T,
csr_w: T,
xg: T,
ge: T,
ue: T,
hg: T,
ye: T,
mtp_hyper: T,
fe: T,
fh: T,
logits_all: Option<T>,
}Fields§
§allocated_bytes: usize§rows: usize§ids: T§e: T§hyper: T§normed: T§d: T§u: T§mixed: T§inj: T§mix_out: T§moe_out: T§qg: T§k: T§v: T§attn_out: T§iqk: T§iq: T§bscore: T§vis: T§nvis: T§vmask: T§ag_qh: T§ag_kh: T§ag_vt: T§ag_s: T§ag_p: T§ag_o: T§qkv: T§z: T§a: T§b: T§kqn: T§gbuf: T§delta_y: T§router: T§topk_idx: T§topk_w: T§csr_rows: T§csr_w: T§xg: T§ge: T§ue: T§hg: T§ye: T§mtp_hyper: T§fe: T§fh: T§logits_all: Option<T>Auto Trait Implementations§
impl<T> Freeze for PrefillScratch<T>where
T: Freeze,
impl<T> RefUnwindSafe for PrefillScratch<T>where
T: RefUnwindSafe,
impl<T> Send for PrefillScratch<T>where
T: Send,
impl<T> Sync for PrefillScratch<T>where
T: Sync,
impl<T> Unpin for PrefillScratch<T>where
T: Unpin,
impl<T> UnsafeUnpin for PrefillScratch<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for PrefillScratch<T>where
T: UnwindSafe,
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more