Cargo Features

cubecl-wgpu has no features set by default.

[dependencies]
cubecl-wgpu = { version = "0.3.0", features = ["std", "exclusive-memory-only", "spirv", "spirv-dump"] }
default

These default features are set whenever cubecl-wgpu 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

exclusive-memory-only
spirv = ash, cubecl-spirv

Affects compiler::spirv

spirv-dump = sanitize-filename

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.

sanitize-filename spirv-dump?

Enables sanitize-filename ^0.5

ash spirv?

Enables ash

SPIR-V

cubecl-spirv spirv?