libclc missing support for Tonga

Bug #1577835 reported by Wladimir J. van der Laan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libclc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

this is fixed in 16.10

libclc (0.2.0+git20160907-1) experimental; urgency=medium

  * New upstream snapshot (closes: #836960).
  * Build with clang 3.9.
  * Drop devices.patch, upstream.
  * Use https for Vcs-Git field.

 -- Timo Aaltonen <email address hidden> Fri, 16 Sep 2016 09:20:06 +0300

Changed in libclc (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.