Package Details: intel-opencl-sdk 2020.3.494-2

Git Clone URL: https://aur.archlinux.org/intel-opencl-sdk.git (read-only, click to copy)
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: batot
Last Packager: batot
Votes: 84
Popularity: 0.000000
First Submitted: 2011-05-13 13:53 (UTC)
Last Updated: 2023-04-07 10:39 (UTC)

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 .. 6 7 8 9 10 11 12 Next › Last »

vojtechkral commented on 2011-07-07 01:49 (UTC)

Ok, it's been updated. Feel free to test. (Please don't report the conflicting libOpenCL.so, I'm working on a sollution. I have to talk about that with TUs, it'll take some more time)

vojtechkral commented on 2011-07-06 22:17 (UTC)

Hello big_gie, and others. First of all, sorry for the huge delay and inactivity on my part in last like month or so. It was mainly due to uni, which was giving me really hard times (exams, etc...). Also some personal troubles, don't mind that. Anyways, I'm back now and ready to roll. I'll be updating this pkg tonight.

big_gie commented on 2011-07-06 21:18 (UTC)

See https://github.com/nbigaouette/PKGBUILDs/tree/c75464ce4504eaf7d3841554117f7c466d85e7b0/intel-opencl-sdk for an updated version. Bumped to 1.1 final. Also, re-organized the install paths. kralyk, you might want to review that. But one thing is sure, putting everything in /etc/OpenCL/vendors/intel is broken. /etc/OpenCL/vendors needs to have only the .icd file. So I've placed all the rest in /opt/intel/opencl-sdk. I just tested it alongside amdstream. There still need to be one libOpenCL.so somewhere: I don't know how one can link with amdstream's libOpenCL.so but run using Intel's driver... Maybe libOpenCL.so is just generic and the .icd file is really what choose the implementation to run on? My OpenCL code works with this. This is good news ;) Also kralyk, when we add the path to /etc/ld.so.conf.d/*.conf, there is no need for the .so file to be in /usr/lib{,64}. I placed intel's one in /opt/intel/opencl-sdk/usr/lib64/. Maybe this could be done with amdstream too? Place everything in /opt/amdstream instead of /usr/lib?

big_gie commented on 2011-05-22 17:10 (UTC)

Hi kralyk, any update on this? Thanks! :)

vojtechkral commented on 2011-05-13 21:53 (UTC)

Everyone please have patience, fixed pkg is being made :)

vojtechkral commented on 2011-05-13 15:38 (UTC)

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 (UTC)

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 (UTC)

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

big_gie commented on 2011-05-13 14:53 (UTC)

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

vojtechkral commented on 2011-05-13 14:46 (UTC)

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