Skip to main content

Module dialect

Module dialect 

Source

Re-exports§

pub use asm::*;
pub use base::*;

Modules§

asm
atomic
barrier
base
bitwise
branch
cf
Mainly for testing, but can be used as an intermediate CFG dialect that still uses cube.bool
cmp
general
math
matrix
memory
plane
scf
Lower level branch dialect for targets that support block args/phi. Separate from the base dialect because lifting back out of this is too hard for C++/WGSL. This can be used for optimizations that require structured control flow but can also support transformations like mem2reg or PRE that require threading SSA values in and out of the control flow ops.
spirv
ssa_matrix
synchronization
tma
vector