开发者

How can I use OpenCL in my system

开发者 https://www.devze.com 2023-04-04 06:29 出处:网络
I have a laptop running Ubuntu, it has a 32 Bits processor (Intel Core 2 Duo T6400 2.00GHz) and a graphics card Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller. I would like t

I have a laptop running Ubuntu, it has a 32 Bits processor (Intel Core 2 Duo T6400 2.00GHz) and a graphics card Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller. I would like to know if I can program with OpenCL in this system. If yes what do I need?

I have been searching Google, ofcourse. I found this page:

http://software.intel.com/en-us/articles/download-intel-opencl-sdk/

But I only found a RPM package in the Linux sec开发者_StackOverflow中文版tion. I can install it in my Ubuntu system, but the package is for a 64 bit system.


Unfortunately you will need the following distributions:

http://software.intel.com/en-us/articles/opencl-release-notes/

Novell* SUSE* Linux Enterprise Server 11 Service Pack 1 (64-bit version) Red Hat* Enterprise Linux 6 (64-bit version).

If you cannot change distribution, an alternate way is to use NVIDIA's CUDA SDK in emulation mode. It will be slow, but will work.


Try AMD's APP SDK (link). It has 32 bit version and runs on Intel CPUs without any problems.

Using Intel GPUs for OpenCL is impossible right now.


Intel does not support GPU accelerated OpenCL as of now. The OpenCL SDK you linked in your question will run on your CPU. So yes, no matter what GPU you have in your system, you will be able to do OpenCL -- albeit on the CPU.

Furthermore Intel only provides an RPM. You can try to use Alien to install it on your Ubuntu system, if you had a 64bit CPU. The only thing you could do now would be to get an NVIDIA or AMD GPU and use their OpenCL SDKs respectively. Or get a new computer with Intel CPU / and 64 bit support.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号