cancel
Showing results for 
Search instead for 
Did you mean: 

PC Drivers & Software

Arturek
Journeyman III

[rocM/OpenCL/Linux] clinfo returns 'ERRORL clBuildProgram(-11)'

Hi,
 
I want to use rocM/OpenCL with my following setup:

 

AMD CPU 5950
GPU 7900 XTX
Ubuntu 22.04.1 LTS

 

So I installed the recommend amdgpu-install package, excuted 'amdgpu-install --opencl=rocr', rebooted and tried to compile run a simple OpenCL program - but it did a SIGSEGV.

 

The clinfo output shows me that it cannot build a program:

 

....

 

ERROR: clBuildProgram(-11)

 

The log in my home directory ($HOME/.cache/pocl/kcache/HC/NCOMMENGDMGEMFMJPBGNJKKHLHLCCIGAOFJGH/build.log) shows: 'error: unknown target CPU 'generic''

 

I am stuck right now. Is this this a known bug, or can I fix this?
Any ideas are welcome!



- Artur
1 Solution

You need to open this thread at AMD Developer's Forum by starting here first: https://community.amd.com/t5/newcomers-start-here/bd-p/newcomer-forum

From there Moderator @dipak will Whitelist you to enter the OpenCL Forum.

As for ROCM there are two places to open your thread:

1- https://github.com/RadeonOpenCompute/ROCm/issues

2-https://community.amd.com/t5/rocm/ct-p/amd-rocm

Github might be the better choice for ROCM threads in the respect you might get more answers to your thread.

View solution in original post

2 Replies

You need to open this thread at AMD Developer's Forum by starting here first: https://community.amd.com/t5/newcomers-start-here/bd-p/newcomer-forum

From there Moderator @dipak will Whitelist you to enter the OpenCL Forum.

As for ROCM there are two places to open your thread:

1- https://github.com/RadeonOpenCompute/ROCm/issues

2-https://community.amd.com/t5/rocm/ct-p/amd-rocm

Github might be the better choice for ROCM threads in the respect you might get more answers to your thread.

Like to change my reply from above.

 

There is no more need to first post at "Newcomers" to get access to Developer's Forum. You can go to the different Developer's forums and post directly now.

0 Likes