Cargo Features

cubecl-cpp has no features set by default.

[dependencies]
cubecl-cpp = { version = "0.3.0", features = ["std", "cuda", "hip"] }
default

These default features are set whenever cubecl-cpp is added without default-features = false somewhere in the dependency tree.

Enables cubecl-common, cubecl-core, and cubecl-runtime

std

Enables std of cubecl-common, cubecl-core, and cubecl-runtime

cuda

Affects cubecl-cpp::CudaCompiler

hip

Affects cubecl-cpp::HipCompiler