Crate cubecl_ir

Source

Structs§

Allocator
An allocator for local variables of a kernel.
BinaryOperator
ClampOperator
CompareAndSwapOperator
CopyMemoryBulkOperator
CopyMemoryOperator
CubeFnSource
A cube function’s source
DebugInfo
Debug related fields, most of these are global
FmaOperator
If
IfElse
IndexAssignOperator
IndexOperator
Instruction
An instruction that contains a right hand side Operation and an optional out variable.
Item
LineInitOperator
Loop
Matrix
RangeLoop
ReadGlobalOperator
ReadGlobalWithLayoutOperator
ReinterpretSliceOperator
Scope
The scope is the main operation and variable container that simplify the process of reading inputs, creating local variables and adding new operations.
ScopeProcessing
Information necessary when compiling a scope.
Select
SliceOperator
SourceLoc
A Rust source location, including the file, line and column
Switch
UnaryOperator
UnrolledRangeLoop
Variable

Enums§

Arithmetic
Arithmetic operations
ArithmeticOpCode
AtomicOp
Operations that operate on atomics
AtomicOpCode
BarrierLevel
BarrierOpCode
BarrierOps
Operations available on a barrier
Bitwise
Bitwise operations
BitwiseOpCode
Branch
All branching types.
BranchOpCode
Builtin
CmmaOpCode
Comparison
Comparison operations
ComparisonOpCode
ConstantScalarValue
The scalars are stored with the highest precision possible, but they might get reduced during compilation.
CoopMma
Cooperative Matrix-Multiply and Accumulate Instruction.
Elem
ExpandElement
Reference to a JIT variable
FloatKind
IntKind
MatrixIdent
MatrixLayout
Metadata
All metadata that can be accessed in a shader.
MetadataOpCode
NonSemantic
Operations that don’t change the semantics of the kernel. In other words, operations that do not perform any computation, if they run at all. i.e. println, comments and debug symbols.
NonSemanticOpCode
OpCode
Operation
All operations that can be used in a GPU compute shader.
Operator
Operators available on the GPU
OperatorOpCode
Plane
All plane operations.
PlaneOpCode
ReadingStrategy
SyncOpCode
Synchronization
All synchronization types.
TmaOpCode
TmaOps
Operations available on a barrier
UIntKind
VariableKind

Traits§

FromArgList
Types that can be destructured into and created from a list of Variables.
OperationArgs
A type that represents an operation’s arguments
OperationReflect
An operation that can be reflected on
Processor
TypeHash
A hash of a type’s structure

Functions§

fmt_vararg

Type Aliases§

Id
Vectorization