Page 1 of 1

OpenCL

PostPosted: Jun 10th, '14, 22:00
by valdemar
Hello,

I would like to have support for OpenCL in my Mageia 4 64bit install. I have an Intel GPU. Installing Intel's runtime OpenCL, I get the following errors during install:

Code: Select all
[root@localhost opencl_runtime_14.1_x64_4.4.0.117]# ./install-cpu.sh
In case of failure, refer to release notes at https://software.intel.com/en-us/vcsource/tools/opencl-sdk
warning: opencl-1.2-base-4.4.0.117-1.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID f789186f: NOKEY
Preparing...                          ################################# [100%]
Updating / installing...
   1:opencl-1.2-base-1:4.4.0.117-1    ################################# [ 50%]
   2:opencl-1.2-intel-cpu-1:4.4.0.117-################################# [100%]
/var/tmp/rpm-tmp.CDdUim: line 4: /intel/opencl-1.2-4.4.0.117/etc/intel64.icd.rpmnew: No such file or directory
warning: %post(opencl-1.2-intel-cpu-1:4.4.0.117-1.x86_64) scriptlet failed, exit status 1
Done.


Can anyone provide help?

Thanks,
Valdemar

Re: OpenCL

PostPosted: Jun 11th, '14, 00:28
by daniewicz
Do you have the nonfree repository enabled?

There are opencl packages ready for install using the Mageia Control Center under Tools --> System Tools

Re: OpenCL

PostPosted: Jun 11th, '14, 12:37
by valdemar
Yes, I do have nonfree enabled. There I only find packages supporting AMD and nVidia. I use an Intel GPU.

Thanks,
Valdemar

Re: OpenCL

PostPosted: Jun 11th, '14, 13:50
by pete910
All Intel gpu's don't support it, only haswell on windows iirc , Info seems lacking .


You would be better off with a proper GPU ;) to be frank(AMD is best for opencl) . The speed difference between CPU and GPU is outstanding!

Edit: found a snip bit of info as to why?

Intel will *likely never* support linux OpenCL on its Core processors. You just to have to follow the gigaflops to understand why...

Intel sell a *lot* of Xeons into supercomputing centers, where Xeons are bought hundreds, sometimes thousands at a time. These centers tend to run OpenCL on linux. Which is great...only not. If you look at a Xeon that was released in any given quarter, and then look at a Core released the same quarter, the Xeon tends to be $100-200 more expensive. Which is fine - it can pull more gflops, right? No, not on OpenCL (with a driver). Go look at that Xeon again, its gigaflops. Now look at the Core...but this time, look at the glops on the GPU. Add that to the gflops from the CPU. The Core has more total gigaflops, right? OpenCL doesn't care if the CPU or the GPU is the thread - that's the point of heterogenous computing. And the point of why Intel won't support it on linux.

So, if Intel were to support Core CPU/iGPU's on linux, somebody would eventually figure out that they can save thousands of dollars, and get more performance for their 1000-node supercomputer if they built it on Core. So, don't expect to see a linux Core OpenCL driver any time soon...unfortunately Intel will protect their interests on this one.