Package Details: intel-opencl-sdk 2017_7.0.0.2568-2

Git Clone URL: https://aur.archlinux.org/intel-opencl-sdk.git (read-only)
Package Base: intel-opencl-sdk
Description: Intel SDK for OpenCL Applications
Upstream URL: https://software.intel.com/en-us/intel-opencl/download
Licenses: custom:intel
Submitter: big_gie
Maintainer: ava1ar
Last Packager: ava1ar
Votes: 85
Popularity: 0.000010
First Submitted: 2011-05-13 13:53
Last Updated: 2018-11-01 04:58

Latest Comments

« First ‹ Previous ... 6 7 8 9 10 11

kralyk commented on 2011-05-13 15:38

Okay, few tips:
→ you don't need the ld.so.conf.d entry
→ in /etc/OpenCL/vendors should be only one file "intelocl64.icd" (not directory) containing the intel so name - "libintelocl.so"
→ .so files should go in /usr/lib (not lib64) and they should be symlinked properly, not the way it's done in rpm (or maybe it's the extracotr fault). (See amdsteram)
→ I'm not sure about the .rtl files, but I think they can go to /usr/lib as well
→ don't install "llc" at all, instead add 'llvm' in dependencies
→ use the install command instead of cp (along with correct permissons, see man install)
→ omit the include directory entirely, we don't need d3d10 stuff on linux afaik

Hope everything works for ya ;-)

big_gie commented on 2011-05-13 15:29

Ok I fixed the ICD, or I think I did. My code still fails with:
open("/etc/OpenCL/vendors/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5
getdents(5, /* 3 entries */, 32768) = 80
getdents(5, /* 0 entries */, 32768) = 0
close(5) = 0
write(1, " Error -1001 in clGetPlatformIDs"..., 42 Error -1001 in clGetPlatformIDs Call !!!
) = 42
write(1, "ERROR calling oclGetPlatformID()"..., 80ERROR calling oclGetPlatformID() (src/OclUtils.cpp line 178): Unspecified Error
) = 80
write(3, " Error -1001 in clGetPlatformIDs"..., 122) = 122
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(23380, 23380, SIGABRT) = 0

Any idea?

big_gie commented on 2011-05-13 14:55

Ok got it, strace revealed what needed to be done.

big_gie commented on 2011-05-13 14:53

Are you talking about $srcdir/usr/lib64/OpenCL/vendors/intel/intelocl64.icd that would need to be in /etc?

kralyk commented on 2011-05-13 14:46

Ah, never mind, found the ICD, but you need to install that in /etc anyway...

kralyk commented on 2011-05-13 14:45

The RPM is kind of empty... Where is the ICD registration for example? And OpenCL shared object (libOpenCL.so)?

big_gie commented on 2011-05-13 14:07

I can't run my code though. I can't obtain a platform calling clGetPlatformIDs():
Error -1001 in clGetPlatformIDs Call !!!
ERROR calling oclGetPlatformID() (src/OclUtils.cpp line 178): Unspecified Error
Aborted

kralyk commented on 2011-05-13 14:04

Oh I see you made the pkg. I was just about to make it :D

big_gie commented on 2011-05-13 13:54

New Intel's OpenCL SDK. See github ( https://github.com/nbigaouette/PKGBUILDs/tree/master/intel-opencl-sdk ) for latest version.