Skip to main content

CUDA_SCALAR_OPS

Constant CUDA_SCALAR_OPS 

Source
pub const CUDA_SCALAR_OPS: &[&str];
Expand description

The op names the CUDA scalar fragment lowers today — integer/bool arithmetic, comparisons, control flow, calls, globals, and Show. EXHAUSTIVELY enforced against the VM ISA by cuda_aot_lock (floor + shrink-only gaps), so this set can only grow. A scalar op whose value escapes to BigInt/Rational/Float/Text is still caught, by the device-cleanliness backstop — this list is necessary, not sufficient, for support.