Skip to main content

Module deopt

Module deopt 

Source
Expand description

Deoptimisation guard.

When a GPU-offloaded kernel fails at runtime (CUDA error, numerical divergence beyond an acceptable tolerance), the executor falls back to the original CPU implementation. DeoptGuard tracks whether a given blueprint is currently deopted so subsequent calls go straight to the CPU path without retrying the GPU.

Structs§

DeoptGuard
Tracks deopted kernels by their blueprint fingerprint.

Enums§

DeoptReason
Reason a particular kernel was deoptimised.

Type Aliases§

SharedDeoptGuard
Shared handle alias for the executor.