You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Phase 15.5: CUDABackend::IsValid() only checks pointer, ignores cudaError/initialized #32
CUDABackend::IsValid() (line 39) only checks m_CUDAState != nullptr.
If CUDARenderer_Init fails during stream creation, state->initialized remains false and state->cudaError may be set — but IsValid() still returns true.
The MOD-02b CPU fallback mechanism depends on IsValid() returning false when GPU is broken.
Fix
Add checks for state->initialized and state->cudaError in IsValid().
Activity
opencode-agent commentedon Jun 18, 2026
Created PR #37
opencode session | github run