Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect common API misuse in error handlers #31

Closed
maleadt opened this issue Oct 9, 2019 · 1 comment
Closed

Detect common API misuse in error handlers #31

maleadt opened this issue Oct 9, 2019 · 1 comment
Labels
cuda libraries Stuff about CUDA library wrappers. speculative Not sure about this one yet.

Comments

@maleadt
Copy link
Member

maleadt commented Oct 9, 2019

Since the CUDA errors are so useless, we could try and discover the true issue by inspecting invocation parameters in the error handler. One common example would be when we exceed the thread/block/shmem dimensions of the device, which we can easily check for when cuLauchKernel fails.

@maleadt maleadt transferred this issue from JuliaGPU/CUDAdrv.jl May 27, 2020
@maleadt maleadt added cuda libraries Stuff about CUDA library wrappers. speculative Not sure about this one yet. labels May 27, 2020
@maleadt
Copy link
Member Author

maleadt commented Apr 27, 2024

We do this now.

@maleadt maleadt closed this as completed Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cuda libraries Stuff about CUDA library wrappers. speculative Not sure about this one yet.
Projects
None yet
Development

No branches or pull requests

1 participant