cubecl-cpu 0.10.0-pre.3

CPU runtime for CubeCL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub use super::Visitor;
pub use cubecl_core::ir::Variable;
pub use cubecl_opt::Optimizer;
pub use tracel_llvm::mlir_rs::{
    Context, Error,
    helpers::{ArithBlockExt, BuiltinBlockExt},
    ir::{BlockLike, RegionLike, Type, TypeLike, Value, ValueLike, operation::OperationLike},
};

pub trait IntoType {
    fn to_type<'a>(self, context: &'a Context) -> Type<'a>;
    fn is_vectorized(&self) -> bool
    where
        Self: Sized,
    {
        false
    }
}