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 default-features = false somewhere in the dependency tree.

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?

Enables wgpu-msl of cubecl

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