OpenCL generates clCreateBuffer error after built with debug symbols
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 17
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
The error /libnomp/src/opencl.c:41 clCreateBuffer failed with error code: -2125574144 is repeatedly occurring as the cause for most of the test cases when the project is built with debug symbols. This issue is specific to the OpenCL implementation, while the CUDA backend appears to be functioning correctly.
To reproduce the steps:
- Build the libnomp project with debug symbols:
./lncfg -b debug && ./lninstall --no. - Run the tests with the OpenCL backend:
lnrun t -b opencl -v 2.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with ./lncfg -b debug && ./lninstall --no, then run lnrun t -b opencl -v 2. Start at libnomp/src/opencl.c:41 and inspect the OpenCL buffer-creation path and the reported error code. Done means the debug-symbol build no longer produces this clCreateBuffer failure and the OpenCL test cases run successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- backend, hpc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100