Cargo Features

[dependencies]
burn-cubecl = { version = "0.17.0", default-features = false, features = ["std", "autotune", "export_tests", "fusion", "fusion-experimental", "template", "doc"] }
default doc? = autotune, fusion, std

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

Enables cubecl

std default

Enables std of burn-tensor and cubecl

autotune default

Affects tune::autotune_sum

export_tests = burn-ndarray, burn-tensor-testgen, fusion, paste, serial_test

Enables autotune-checks of burn-cubecl-fusion, export_tests of burn-tensor, autotune-checks of cubecl and export_tests of burn-autodiff

When exporting tests

Affects burn-cubecl::tests

fusion default export_tests? fusion-experimental? = burn-cubecl-fusion, burn-fusion
fusion-experimental = fusion
template

Affects burn-cubecl::template

doc = default

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

burn-fusion fusion
burn-cubecl-fusion export_tests? fusion
burn-tensor-testgen export_tests?
burn-autodiff export_tests?
burn-ndarray export_tests?
paste export_tests?
serial_test export_tests?