RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 247
- Avg merge
- 7h 2m
- Merged PRs (30d)
- 6
Description
**Hi there! Pretty new to opencl and trying to run a nengo neural net with an OCL simulator. When I run the program I get this error message:**
RuntimeError: clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE - clBuildProgram failed: BUILD_PROGRAM_FAILURE
Build on :
fatal error: malformed or corrupted AST file: 'could not find file '/home/culpa/anaconda3/envs/nengoenv/lib/clang/9.0.0/include/opencl-c-base.h
(options: -I /home/culpa/anaconda3/envs/nengoenv/lib/python3.8/site-packages/pyopencl/cl -D PYOPENCL_USING_OCLGRIND)
(source saved as /tmp/tmp1fdqoohq.cl)
**I was expecting the pyopencl.Device to be my AMD GPU not 'Oclgrind Simulator,' so I ran pyopencl.get_platforms() and platform.get_devices() but did not see my GPU listed. Does this mean that pyopencl is not interfacing with the systemwide ICD? Does anyone know how to fix that? Secondarily--it may be possible to run the code with oclgrind as a simulator, but the build program is looking for clang--do I need to install clang to make oclgrind run??? Thanks in advance for any help you have!**
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.