tc_enabled

Function tc_enabled 

Source
pub fn tc_enabled() -> bool
Expand description

2026-09-25: True when METRALE_NO_W4A16_TC is unset or empty. Any non-empty value, 0 included, turns the tensor-core path off. Read once per process, so every launch, including one captured in a CUDA graph, sees the same choice.