Expand description
Cubecl standard library.
Modules§
Structs§
- Reinterpret
Slice - This struct allows to take a slice of
Line<S>
and reinterpret it as a slice ofT
. Semantically, this is equivalent to reinterpreting the slice ofLine<S>
to a slice ofT
. When indexing, the index is valid in the casted list. - Reinterpret
Slice Expand - Reinterpret
Slice Mut - This struct allows to take a mutable slice of
Line<S>
and reinterpret it as a mutable slice ofT
. Semantically, this is equivalent to reinterpreting the slice ofLine<S>
to a mutable slice ofT
. When indexing, the index is valid in the casted list. - Reinterpret
Slice MutExpand - SymQ8
- Represent the quantization of a f32 into an i8 using the symmetric scheme.
Enums§
- Cube
Option - Cube
Option Args - Cube
Option Compilation Arg - Cube
Option Expand - Fast
Divmod - Create a fast-divmod object if supported, or a regular fallback if not. This precalculates certain values on the host, in exchange for making division and modulo operations on the GPU much faster. Only supports u32 right now to allow for a simpler algorithm. It’s mostly used for indices regardless.
- Fast
Divmod Args - Fast
Divmod Compilation Arg - Fast
Divmod Expand