pub struct GpuKvCacheSet {
pub causal: GpuKvBinding,
pub decode_mtp: GpuKvBinding,
pub mtp: GpuKvBinding,
}Expand description
Per compile-cache GPU binding state.
Fields§
§causal: GpuKvBinding§decode_mtp: GpuKvBinding§mtp: GpuKvBindingImplementations§
Source§impl GpuKvCacheSet
impl GpuKvCacheSet
pub fn reset(&mut self)
Sourcepub fn reset_decode_after_mtp(&mut self)
pub fn reset_decode_after_mtp(&mut self)
Drop decode bindings after an MTP block advanced past_len.
Trait Implementations§
Source§impl Debug for GpuKvCacheSet
impl Debug for GpuKvCacheSet
Source§impl Default for GpuKvCacheSet
impl Default for GpuKvCacheSet
Source§fn default() -> GpuKvCacheSet
fn default() -> GpuKvCacheSet
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GpuKvCacheSet
impl RefUnwindSafe for GpuKvCacheSet
impl Send for GpuKvCacheSet
impl Sync for GpuKvCacheSet
impl Unpin for GpuKvCacheSet
impl UnsafeUnpin for GpuKvCacheSet
impl UnwindSafe for GpuKvCacheSet
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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