Public bug reported:

Trying to run a basic OpenCL demo on a AMD Tonga series card on Ubuntu
16.04 gives:

$ ./hello 
Error: Failed to build program executable!
fatal error: cannot open file '/usr/lib/clc/tonga-amdgcn--.bc': No such file or 
directory

I have installed the appropriate icd packages and it reports fine:

1. Device: AMD TONGA (DRM 3.1.0, LLVM 3.8.0)
 1.1 Hardware version: OpenCL 1.1 MESA 11.2.0
 1.2 Software version: 11.2.0
 1.3 OpenCL C version: OpenCL C 1.1 
 1.4 Parallel compute units: 28

But it appears that a bitcode blob is missing. Looking in /usr/lib/clc/
there are other amdgcn-* blobs, but not for my card.

https://bugzilla.redhat.com/show_bug.cgi?id=1304903 is a similar issue.
I think it is resolved by upgrading libclc.

** Affects: libclc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to libclc in Ubuntu.
https://bugs.launchpad.net/bugs/1577835

Title:
  libclc missing support for Tonga

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libclc/+bug/1577835/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to