Package Details: intel-opencl 4.1.r61547-1

Git Clone URL: https://aur.archlinux.org/intel-opencl.git (read-only)
Package Base: intel-opencl
Description: OpenCL(TM) 2.0 Driver for Intel(R) HD, Iris(TM), and Iris(TM) Pro Graphics for Linux
Upstream URL: https://software.intel.com/en-us/articles/opencl-drivers#latest_linux_driver
Licenses: custom:intel
Provides: opencl
Submitter: intelfx
Maintainer: intelfx
Last Packager: francoism90
Votes: 18
Popularity: 0.583781
First Submitted: 2016-07-01 01:01
Last Updated: 2017-04-22 15:16

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

dsx commented on 2017-08-11 19:05

@craeckie,

thanks for the patch but it misses 'numactl' and 'ncurses5-compat-libs' dependencies:

-depends=('zlib' 'libdrm')
+depends=('zlib' 'libdrm' 'numactl' 'ncurses5-compat-libs')

with this addition works fine (I've tried x264 --opencl)

craeckie commented on 2017-07-03 09:54

Patch for new version 5.0:

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
# Contributor: Wei-Ning Huang <aitjcize@gmail.com>

pkgname=intel-opencl
-_pkgver=4.1-61547
+_pkgver="5.0-63503"
pkgver="${_pkgver/-/.r}"
pkgrel=1
pkgdesc="OpenCL(TM) 2.0 Driver for Intel(R) HD, Iris(TM), and Iris(TM) Pro Graphics for Linux"
@@ -16,8 +16,8 @@ license=('custom:intel')
depends=('zlib' 'libdrm')
optdepends=('intel-opencl-sdk: Intel SDK for OpenCL Applications')
provides=('opencl')
-source=("${pkgname}-${pkgver}-linux64.zip::http://registrationcenter-download.intel.com/akdlm/irc_nas/11396/SRB4.1_linux64.zip")
-sha256sums=('d29ff894efe9b3f7cde4e52c499b63eafa449cc4efdfbfaf03b424939523be5d')
+source=("${pkgname}-${pkgver}-linux64.zip::http://registrationcenter-download.intel.com/akdlm/irc_nas/11396/SRB5.0_linux64.zip")
+sha256sums=('a3989a7a00f216b1a50bad37dc49629c3f7ce65104a2ca665e59d8c699bf7443')

_package_internal=("intel-opencl-r${_pkgver}.x86_64.tar.xz"
"intel-opencl-cpu-r${_pkgver}.x86_64.tar.xz")

intelfx commented on 2017-03-13 07:24

Bumped, sorry for the latency.
Anyone wants to maintain this? Beignet serves my needs better, so I don't use this anymore.

francoism90 commented on 2017-03-12 19:15

Please update.

<newpkg for 4.*>:
# Maintainer: Ivan Shapovalov <intelfx@intelfx.name>
# Contributor: ava1ar <mail@ava1ar.me>
# Contributor: Duong Pham <dthpham@gmail.com>
# Contributor: Eric Quackenbush <mail@ericquackenbush.com>
# Contributor: Wei-Ning Huang <aitjcize@gmail.com>

pkgname=intel-opencl
_pkgver=4.0-59481
pkgver="${_pkgver/-/.r}"
pkgrel=1
pkgdesc="OpenCL(TM) 2.0 Driver for Intel(R) HD, Iris(TM), and Iris(TM) Pro Graphics for Linux"
arch=('x86_64')
url="https://software.intel.com/en-us/articles/opencl-drivers#latest_linux_driver"
license=('custom:intel')
depends=('zlib' 'libdrm')
optdepends=('intel-opencl-sdk: Intel SDK for OpenCL Applications')
provides=('opencl')
source=("https://software.intel.com/file/533571/download")
sha256sums=('d5c3c69c51b80df6705fc4c5e724b5ad613217ea514dd7d2e259159a3ddff782')

_package_internal=("intel-opencl-r${_pkgver}.x86_64.tar.xz"
"intel-opencl-cpu-r${_pkgver}.x86_64.tar.xz")

package() {
for p in "${_package_internal[@]}"; do
tar -xf "$p" -C "$pkgdir"
done

# Copy license
mkdir -p "$pkgdir/usr/share/licenses/intel-opencl"
mv "$pkgdir/opt/intel/opencl/LICENSE" "$pkgdir/usr/share/licenses/intel-opencl/LICENSE"

# Do not conflict with intel-opencl-runtime
mv "$pkgdir/etc/OpenCL/vendors/intel"{,-gpu}.icd

# sanitize permissions
chown root:root -R "$pkgdir"
chmod go-w -R "$pkgdir"
}

Fandekasp commented on 2017-02-22 03:53

@intelfx, can you update the package to r4.0 ?

intelfx commented on 2016-11-12 23:28

@sirocco: sorry, I forgot to regenerate .SRCINFO.

intelfx commented on 2016-11-12 04:57

@archer666: no idea. Works out of the box on my Haswell; I have no other hardware to test.

archer666 commented on 2016-11-05 08:25

Trying this on my Lenovo P50 (P530 GPU) on Arch (4.8.6 kernel) with no luck.

Nvidia is switched off completely (rmmod nvidia, /proc/acpi/bbswitch shows OFF) , /etc/OpenCL/verdors contains

-rw-r--r-- 1 root root 36 Jun 15 10:50 intel-gpu.icd
-rw-r--r-- 1 root root 22 Oct 28 08:18 nvidia.icd

while intel-gpu.icd contains /opt/intel/opencl/libIntelOpenCL.so (which is there)

oclinfo (own) shows nothing, clinfo (amd) dumps core, haven't found any intel tool to check environment in intel-opencl-sdk (other package ofc).

What am I missing?

tonnz commented on 2016-09-02 18:52

This is great news!
Really, i have been trying to get the patch to work on newer kernels for quite
a while now. Maybe i should have just tried running ocl without the patches. Hmm.
Anyways, thanks for putting this up!

intelfx commented on 2016-09-02 18:07

Yes, this OpenCL implementation passes CLBlast unit tests on Haswell i7-4700MQ / Intel HD Graphics 4600 (both the previous version and the one just uploaded, kernel 4.6).

If there are any out-of-tree kernel patches, they must be optional.

All comments