You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Build on <pyopencl.Device 'Oclgrind Simulator' on 'Oclgrind' at 0x556af9fc7900>:
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!
The text was updated successfully, but these errors were encountered:
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 <pyopencl.Device 'Oclgrind Simulator' on 'Oclgrind' at 0x556af9fc7900>:
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!
The text was updated successfully, but these errors were encountered: