KhronosGroup / KhronosGroup/OpenCL-Docs
OpenCL 1.2 clCreateCommandQueue freezes / blocks indefinitely without screen
- Dominant language
- Python
- Stars
- 420
- Forks
- 131
- Avg merge
- 5d 13h
- Merged PRs (30d)
- 11
Description
Steps to reproduce:
1. Windows 10
2. GPU AMD device RX580 for example, driver version does not matter. All versions affected
3. Display OFF or NONE
4. Reproducable 100 of 100 times
#define CL_HPP_TARGET_OPENCL_VERSION 120
clCreateContext() -> returns error code 0
clCreateCommandQueue() -> blocks / freezes until you turn display ON or connect remotely with Windows Remote Desktop session.
Expected behavior:
1. To not block on clCreateCommandQueue() even without screen, this is computational task which should be possible to run perfectly without a screen or remote session up.
Additional information:
This bug has been around 9 or 10 years, maybe its already time to fix mainstream ?
Here is a proof of this happening on MacOS in 2012. https://discussions.apple.com/thread/3695124
It is still reproducable on Windows 10 and I wonder how this is still not yet fixed or nobody uses OpenCL with AMD for computing ?
Contributor guide
Research direction
No repository file or test is named. Start by reading the documentation for clCreateContext() and clCreateCommandQueue() and compare the reported Windows 10 behavior on an AMD RX580 with the documented API expectations. Done should clarify whether the specification or reference documentation needs a change and define the expected behavior when no display is available.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, documentation
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100