pub struct KernelTable { /* private fields */ }Expand description
2026-09-28: Emitter handles by kernel id; only present kernels are kept.
Implementations§
Source§impl KernelTable
impl KernelTable
Sourcepub fn resolve(gpu: &dyn GpuBackend, available: &AvailableKernels) -> Self
pub fn resolve(gpu: &dyn GpuBackend, available: &AvailableKernels) -> Self
2026-09-28: Resolve every kernel an emitter can launch that available holds. The
lookups are written out literally; one outside available is not issued.
Sourcepub fn handle(&self, k: &KernelId) -> Result<KernelHandle>
pub fn handle(&self, k: &KernelId) -> Result<KernelHandle>
2026-09-28: The handle of k; an error when no emitter launches it or it is absent.
Trait Implementations§
Source§impl Clone for KernelTable
impl Clone for KernelTable
Source§fn clone(&self) -> KernelTable
fn clone(&self) -> KernelTable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for KernelTable
impl Debug for KernelTable
Source§impl Default for KernelTable
impl Default for KernelTable
Source§fn default() -> KernelTable
fn default() -> KernelTable
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KernelTable
impl RefUnwindSafe for KernelTable
impl Send for KernelTable
impl Sync for KernelTable
impl Unpin for KernelTable
impl UnwindSafe for KernelTable
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