CUBLAS_WORKSPACE_CONFIG and NVIDIA_TF32_OVERRIDE are set once at startup before any threads or CUDA work begins. The unsafe block is correct but triggers -W unsafe-code. Adding #[allow(unsafe_code)] at the call site silences the warning while keeping the safety comment. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>