pub struct BackendSuccinctMapping<B> { /* private fields */ }Expand description
Raw Succinct attachments built with one wavelet backend.
The descriptor is exactly the canonical SimpleArchive-to-Succinct attached
descriptor: a device is an execution choice, never part of a collection’s
identity, so the attached collection is the same whichever builds it.
map uses the raw writer, without a native query arena. Returned
construction/backend failures retry the canonical CPU operation;
allocation failure, runtime panic and OOM are not caught. Callers must
reserve a device and sufficient shared memory before selecting this
mapping. Binding is device-free. The first actual map initializes the
backend; later operations on that binding reuse it. CubeCL retains its
client/shader/allocator caches through its existing runtime.
Implementations§
Source§impl<B> BackendSuccinctMapping<B>
impl<B> BackendSuccinctMapping<B>
Trait Implementations§
Source§impl<B> MapMapping for BackendSuccinctMapping<B>
impl<B> MapMapping for BackendSuccinctMapping<B>
Source§type Target = SuccinctArchiveBlob
type Target = SuccinctArchiveBlob
Encoding of the attachments.
Source§fn fragment(&self) -> Fragment
fn fragment(&self) -> Fragment
Canonical concrete mapping fragment embedded in an attached
descriptor.
Source§fn bind(
parent: &Fragment,
attached: &Fragment,
) -> Result<Self, CollectionOperationError>
fn bind( parent: &Fragment, attached: &Fragment, ) -> Result<Self, CollectionOperationError>
Bind and validate the concrete mapping an attached descriptor names.
Source§fn map<R>(
&self,
node: &Blob<SimpleArchive>,
siblings: &[CollectionData],
reader: &R,
) -> Result<Blob<SuccinctArchiveBlob>, CollectionOperationError>where
R: StoreRead,
fn map<R>(
&self,
node: &Blob<SimpleArchive>,
siblings: &[CollectionData],
reader: &R,
) -> Result<Blob<SuccinctArchiveBlob>, CollectionOperationError>where
R: StoreRead,
Compute the attachment of one node. Read more
Auto Trait Implementations§
impl<B> !Freeze for BackendSuccinctMapping<B>
impl<B> RefUnwindSafe for BackendSuccinctMapping<B>where
OnceLock<B>: RefUnwindSafe,
impl<B> Send for BackendSuccinctMapping<B>
impl<B> Sync for BackendSuccinctMapping<B>
impl<B> Unpin for BackendSuccinctMapping<B>
impl<B> UnsafeUnpin for BackendSuccinctMapping<B>where
OnceLock<B>: UnsafeUnpin,
impl<B> UnwindSafe for BackendSuccinctMapping<B>where
OnceLock<B>: UnwindSafe,
Blanket Implementations§
impl<T> ArchiveOwner for T
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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 moreSource§impl<S, T> IntoEncoded<S> for Twhere
S: Encodes<T>,
impl<S, T> IntoEncoded<S> for Twhere
S: Encodes<T>,
Source§fn into_encoded(self) -> <T as IntoEncoded<S>>::Output
fn into_encoded(self) -> <T as IntoEncoded<S>>::Output
Run the conversion.