Trait cubecl_core::frontend::CubePrimitive
source · pub trait CubePrimitive:
CubeType<ExpandType = ExpandElementTyped<Self>>
+ Vectorized
+ Eq
+ PartialEq
+ Send
+ Sync
+ 'static
+ Clone
+ Copy {
// Required method
fn as_elem() -> Elem;
// Provided method
fn from_expand_elem(elem: ExpandElement) -> Self::ExpandType { ... }
}
Expand description
Form of CubeType that encapsulates all primitive types: Numeric, UInt, Bool
Required Methods§
Provided Methods§
fn from_expand_elem(elem: ExpandElement) -> Self::ExpandType
Object Safety§
This trait is not object safe.