Structs§
- Allocator
- An allocator for local variables of a kernel.
- Binary
Operator - Clamp
Operator - Compare
AndSwap Operator - Copy
Memory Bulk Operator - Copy
Memory Operator - Cube
FnSource - A cube function’s source
- Debug
Info - Debug related fields, most of these are global
- FmaOperator
- If
- IfElse
- Index
Assign Operator - Index
Operator - Instruction
- An instruction that contains a right hand side
Operation
and an optional out variable. - Item
- Line
Init Operator - Loop
- Matrix
- Range
Loop - Read
Global Operator - Read
Global With Layout Operator - Reinterpret
Slice Operator - Scope
- The scope is the main operation and variable container that simplify the process of reading inputs, creating local variables and adding new operations.
- Scope
Processing - Information necessary when compiling a scope.
- Select
- Slice
Operator - Source
Loc - A Rust source location, including the file, line and column
- Switch
- Unary
Operator - Unrolled
Range Loop - Variable
Enums§
- Arithmetic
- Arithmetic operations
- Arithmetic
OpCode - Atomic
Op - Operations that operate on atomics
- Atomic
OpCode - Barrier
Level - Barrier
OpCode - Barrier
Ops - Operations available on a barrier
- Bitwise
- Bitwise operations
- Bitwise
OpCode - Branch
- All branching types.
- Branch
OpCode - Builtin
- Cmma
OpCode - Comparison
- Comparison operations
- Comparison
OpCode - Constant
Scalar Value - The scalars are stored with the highest precision possible, but they might get reduced during compilation.
- CoopMma
- Cooperative Matrix-Multiply and Accumulate Instruction.
- Elem
- Expand
Element - Reference to a JIT variable
- Float
Kind - IntKind
- Matrix
Ident - Matrix
Layout - Metadata
- All metadata that can be accessed in a shader.
- Metadata
OpCode - 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. - NonSemantic
OpCode - OpCode
- Operation
- All operations that can be used in a GPU compute shader.
- Operator
- Operators available on the GPU
- Operator
OpCode - Plane
- All plane operations.
- Plane
OpCode - Reading
Strategy - Sync
OpCode - Synchronization
- All synchronization types.
- TmaOp
Code - TmaOps
- Operations available on a barrier
- UInt
Kind - Variable
Kind
Traits§
- From
ArgList - Types that can be destructured into and created from a list of
Variable
s. - Operation
Args - A type that represents an operation’s arguments
- Operation
Reflect - An operation that can be reflected on
- Processor
- Type
Hash - A hash of a type’s structure