pub struct ComputeKernel<D: Dialect> {
pub inputs: Vec<Binding<D>>,
pub outputs: Vec<Binding<D>>,
pub named: Vec<(String, Binding<D>)>,
pub cube_dim: CubeDim,
pub body: Body<D>,
pub wmma_activated: bool,
pub bf16: bool,
pub f16: bool,
pub items: HashSet<Item<D>>,
pub kernel_name: String,
}
Fields§
§inputs: Vec<Binding<D>>
§outputs: Vec<Binding<D>>
§named: Vec<(String, Binding<D>)>
§cube_dim: CubeDim
§body: Body<D>
§wmma_activated: bool
§bf16: bool
§f16: bool
§items: HashSet<Item<D>>
§kernel_name: String
Trait Implementations§
Source§impl<D: Clone + Dialect> Clone for ComputeKernel<D>
impl<D: Clone + Dialect> Clone for ComputeKernel<D>
Source§fn clone(&self) -> ComputeKernel<D>
fn clone(&self) -> ComputeKernel<D>
Returns a copy 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<D: Dialect> CompilerRepresentation for ComputeKernel<D>
impl<D: Dialect> CompilerRepresentation for ComputeKernel<D>
Computes and returns the shared memory size
Auto Trait Implementations§
impl<D> Freeze for ComputeKernel<D>
impl<D> RefUnwindSafe for ComputeKernel<D>where
D: RefUnwindSafe,
impl<D> Send for ComputeKernel<D>
impl<D> Sync for ComputeKernel<D>
impl<D> Unpin for ComputeKernel<D>where
D: Unpin,
impl<D> UnwindSafe for ComputeKernel<D>where
D: UnwindSafe,
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