Struct cubecl_cuda::compiler::ComputeKernel
source · pub struct ComputeKernel {
pub inputs: Vec<Binding>,
pub outputs: Vec<Binding>,
pub named: Vec<(String, Binding)>,
pub cube_dim: CubeDim,
pub body: Body,
pub wmma_activated: bool,
pub bf16: bool,
pub f16: bool,
}
Fields§
§inputs: Vec<Binding>
§outputs: Vec<Binding>
§named: Vec<(String, Binding)>
§cube_dim: CubeDim
§body: Body
§wmma_activated: bool
§bf16: bool
§f16: bool
Trait Implementations§
source§impl Clone for ComputeKernel
impl Clone for ComputeKernel
source§fn clone(&self) -> ComputeKernel
fn clone(&self) -> ComputeKernel
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 CompilerRepresentation for ComputeKernel
impl CompilerRepresentation for ComputeKernel
Computes and returns the shared memory size
source§impl Debug for ComputeKernel
impl Debug for ComputeKernel
Auto Trait Implementations§
impl Freeze for ComputeKernel
impl RefUnwindSafe for ComputeKernel
impl Send for ComputeKernel
impl Sync for ComputeKernel
impl Unpin for ComputeKernel
impl UnwindSafe for ComputeKernel
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)