Cargo Features
[dependencies]
burn-wgpu = { version = "0.17.0", default-features = false, features = ["std", "autotune", "exclusive-memory-only", "fusion", "template", "doc", "vulkan", "webgpu", "metal", "cubecl-spirv", "cubecl-wgsl", "cubecl-msl"] }
- default = autotune, fusion, std
-
These default features are set whenever
burn-wgpu
is added without
somewhere in the dependency tree.default-features = false Enables burn-cubecl and cubecl
- std default
-
Enables std of burn-cubecl and cubecl
- autotune default
-
Enables autotune of burn-cubecl
- exclusive-memory-only
-
Enables exclusive-memory-only of cubecl
- fusion default = burn-fusion
-
Enables fusion of burn-cubecl
Affects
burn-wgpu::Wgpu
… - template
-
Enables template of burn-cubecl and cubecl
- doc
-
Enables doc of burn-cubecl
- vulkan = cubecl-spirv
-
Backends
Affects
burn-wgpu::Vulkan
… - webgpu = cubecl-wgsl
-
Affects
burn-wgpu::WebGpu
… - metal = cubecl-msl
-
Affects
burn-wgpu::Metal
… - cubecl-spirv vulkan?
-
Compilers
Enables wgpu-spirv of cubecl
- cubecl-wgsl webgpu?
- cubecl-msl metal?
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.