Cargo Features

[dependencies]
cubecl = { version = "0.2.0", default-features = false, features = ["std", "template", "linalg", "simple-memory-management", "wgpu", "cuda"] }
default = linalg, std

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

Enables cubecl-core, optional cubecl-cuda, and optional cubecl-wgpu

std default

Enables std of cubecl-core, optional cubecl-cuda, and optional cubecl-wgpu

template

Enables template of cubecl-core

linalg default

Enables cubecl-linalg

simple-memory-management

Enables simple-memory-management of optional cubecl-wgpu

wgpu = cubecl-wgpu

Runtimes

cuda = cubecl-cuda

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.

cubecl-wgpu wgpu?
cubecl-cuda cuda?