pub enum KernelPattern {
VectorAdd,
MatrixMul,
Reduction,
Stencil,
Generic,
}
Expand description
Common CUDA kernel patterns
Variants§
Trait Implementations§
Source§impl Clone for KernelPattern
impl Clone for KernelPattern
Source§fn clone(&self) -> KernelPattern
fn clone(&self) -> KernelPattern
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 KernelPattern
impl Debug for KernelPattern
Source§impl PartialEq for KernelPattern
impl PartialEq for KernelPattern
impl StructuralPartialEq for KernelPattern
Auto Trait Implementations§
impl Freeze for KernelPattern
impl RefUnwindSafe for KernelPattern
impl Send for KernelPattern
impl Sync for KernelPattern
impl Unpin for KernelPattern
impl UnwindSafe for KernelPattern
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