Skip to main content

Module compilation

Module compilation 

Source
Expand description

Compilation config module.

Structs§

CompilationConfig
Configuration for compilation settings in CubeCL.

Enums§

BoundsCheckMode
Bounds checks options.
CompilationLogLevel
Log levels for compilation in CubeCL.
F16Evaluation
How far an f32 intermediate is allowed to travel before it is rounded back to f16.
SpirvDebugFormat
The format of the debug data in SPIR-V kernels. A kernel without debug data ignores it.

Constants§

PROFILE_DEBUG_INFO
The debug data the cargo profile asks for: LineTables when the profile sets debug, as dev does by default, else None.

Functions§

effective_debug_info
The debug data of a kernel that asks for requested, with the global configuration: the same level as CompilationConfig::resolve_debug_info. It reads the configuration once, so a kernel id can call it at each launch.