Rust-GPU / Rust-CUDA

Ecosystem of libraries and tools for writing and executing fast GPU code fully in Rust.
Apache License 2.0
3.12k stars 120 forks source link

Fix panicking in kernels #17

Open Kixiron opened 2 years ago

Kixiron commented 2 years ago

Currently panics in kernels just kill the kernel without any sort of message, allowing the panic message to print would be really nice

RDambrosio016 commented 2 years ago

small update, @DrMeepster and i have debugged this a fair amount and have found that a CUDA bug causes CUDA to segfault trying to compile our panic machinery code, see this gist. I've filed a bug with NVIDIA and we will see.

RDambrosio016 commented 2 years ago

According to nvidia they have fixed the bug i reported and it should work in 11.7 once that is released