Closed maleadt closed 5 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 71.85%. Comparing base (
eb45b2c
) to head (b658315
). Report is 3 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR expands the simple exception flag to an info struct that can contain much more information. I then use it to:
Fixes https://github.com/JuliaGPU/CUDA.jl/issues/1780, https://github.com/JuliaGPU/CUDA.jl/issues/2341, significantly improving the output.
Before:
After:
Note that this still doesn't cover all exception generating sites though, e.g., if code does
throw(BoundsError())
and we don't have a quirk that provides additional exception information, we still report a simpleException
. An IR-level transformation to recover that info would be great, but we currently don't have the tooling for that in GPUCompiler.