-
-
Notifications
You must be signed in to change notification settings - Fork 83
ERROR: CUDA error: too many resources requested for launch (code #701, ERROR_LAUNCH_OUT_OF_RESOURCES) #211
Comments
Ah, I figured this was Anyhow, you're probably launching too many threads, exhausting the resources of your GPU. I see you're checking Lines 64 to 87 in bac3ce4
maxthreads if you don't care about 2D launch). Also see https://github.com/JuliaGPU/CUDAnative.jl/blob/b0bdecb551f942acdc82309a954fb42c9230b44d/src/execution.jl#L163-L169
Another tip, launch Julia with |
I will try these out tomorrow. Thanks for the tips. Sorry for blasting you with many issues today! |
No problem; you're in luck I have some spare time today 🙂 |
The following script reproduces an error I am not sure how to solve. I could not reduce it to a MWE but the trigger line is the last line in the script test/resources_error.jl which is not long. The actual problematic kernel is here. Interestingly, making the kernel function a no-op by removing all its lines solves the problem!
The error I am getting is:
My
versioninfo()
is:This is quite important to me, so any workaround will do for now. Thanks a lot!
The text was updated successfully, but these errors were encountered: