Hello,
After updating the driver to 545.84, this issue:
https://forums.developer.nvidia.com/t/debug-enabled-very-simple-kernel-weirdly-crashes/266320/8
seems to be resolved.
However now I observe that some programs crash at their termination.
The issue disappears if I remove explicit CUDA context destruction at the end of the program. So I can (kind of) ignore this issue but this seems weird, so I’m reporting.
I made a repro (not so minimum but decently small):
repro_crash_in_termination.zip
(Repro rate is quite high (~95%) but not 100% in my environment, and debug build possibly meets the issue more often than Release)
I can observe something happens in nvcuda64.dll.
Of course it is possible that my program/OptiX wrapper has had some issues and it has become obvious with the latest driver. However the program (without reducing unrelated code to make the repro) had been stable for a long time.
Could you take a look the repro to see what’s going on inside CUDA/OptiX?
Thanks,
Windows 11 Pro 23H2, 22631.2428
Visual Studio Community 2022, 17.7.5
OptiX 8.0.0
CUDA 12.2 Update 2
Ryzen 9 7950X
RTX 4080
Driver: 545.84