cubecl_cpp/lib.rs
1#[macro_use]
2extern crate derive_new;
3
4extern crate alloc;
5
6pub mod error;
7pub mod shared;
8
9pub use shared::ComputeKernel;
10pub use shared::register_supported_types;
11
12/// Format CPP code.
13pub mod formatter;
14
15pub mod cuda;
16pub mod hip;
17#[cfg(feature = "metal")]
18pub mod metal;
19pub mod target;
20
21#[cfg(feature = "metal")]
22pub type MslCompiler = shared::CppCompiler<target::Metal>;