Package Details: pocl-git 0.13.r581.g9ec652ef-1

Git Clone URL: https://aur.archlinux.org/pocl-git.git (read-only)
Package Base: pocl-git
Description: Portable OpenCL is an open-source implementation of OpenCL which can be easily adapted for new targets (git version)
Upstream URL: http://portablecl.org/
Keywords: portablecl
Licenses: GPL
Conflicts: pocl
Provides: pocl
Submitter: jsh6789
Maintainer: jsh6789
Last Packager: jsh6789
Votes: 1
Popularity: 0.000002
First Submitted: 2017-03-26 17:34
Last Updated: 2017-03-26 17:34

Latest Comments

jsh6789 commented on 2017-05-09 20:59

See if this workaround helps:
$ env OCL_ICD_VENDORS="/usr/lib/libpocl.so" clinfo

znmeb commented on 2017-05-09 05:36

Well, turns out this is a bad bug - possible security risk:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=852746

I don't know Arch well enough to suggest patches / workarounds but this is one more piece of evidence that OpenCL is not ready for prime time. :-(

If I'm reading the Debian bug correctly any package with an entry in /etc/OpenCL/vendors needs to be *statically* linked to llvm or bad stuff like this happens.

znmeb commented on 2017-05-05 09:01

The package installs, but after it's installed, 'clinfo' stops working.

Before install:
$ clinfo|head -n 10
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 17.0.5
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA

Platform Name Clover
Number of devices 1
[znmeb@AlgoCompSynth ~]$ clinfo|head -n 10
Number of platforms 1
Platform Name Clover
Platform Vendor Mesa
Platform Version OpenCL 1.1 Mesa 17.0.5
Platform Profile FULL_PROFILE
Platform Extensions cl_khr_icd
Platform Extensions function suffix MESA

Platform Name Clover
Number of devices 1

After install:
$ clinfo|head -n 10
mesa: CommandLine Error: Option 'enable-value-profiling' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options