-
Notifications
You must be signed in to change notification settings - Fork 241
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
UHD Graphics 600 | Calling kernel + enqueue_copy more than once, results in OUT_OF_RESOURCES error or freeze #711
Comments
My guesses are: Either I understood something completly wrong about how something works, pyopencl issue or an issue with the drivers themeselves. I lean more to 3 or 1 but decided to post the issue here |
Could you check if things work OK with OpenCL called from C, e.g. |
Runs just fine with pocl-CPU but again fails GPU with the same type of error, here's the output:
Now, where do I have to report this issue :P ... at least i'm feeling slightly well that my original code was fine (not the basic example) lol |
https://github.com/intel/compute-runtime looks like a good starting point to report. At any rate, not looking like a pyopencl issue. |
🦠 Describe the bug
Every time I call a kernel and
enqueue_copy
in a loop more than once, it either results inOUT_OF_RESOURCES
-error or freeze^1. This only happens with the GPU-option^2 and not when using the CPU-pocl-option^3 or when running it on another computer.💥 To Reproduce
Steps to reproduce the behavior:
UHD Graphics 600
Expand to see the basic example
☝️ Expected behavior
Based on another, more advanced test, in another computer with intel graphics, it worked and didn't result into this error or freeze.So I guess it should work on this GPU too?
💻 Environment
Arch Linux
ocl-icd-2.3.2-1
pocl-4.0-2
Intel GeminiLake [UHD Graphics 600]
Python 3.11.6
python-pyopencl 1:2023.1-2
➕ Additional context
I've also think I found a related issue here JPaulMora/Pyrit#641 .
[1] (in some rare cases it might run more than once but max 2)
[2]
[0] <pyopencl.Platform 'Intel(R) OpenCL Graphics' at 0x5597a2db72a0>
[3]
[1] <pyopencl.Platform 'Portable Computing Language' at 0x7f6d966595d8>
Any Idea?
The text was updated successfully, but these errors were encountered: