PDA

View Full Version : opencl sample codes



paviraj_1989
03-17-2011, 08:39 AM
kindly let me know where i can get open cl codes that can be run on intel cpu

sean.settle
03-17-2011, 09:30 PM
If you Google for "Intel OpenCL SDK" it'll be the first link. Download and install (sorry Windows only at this time) and within are several source code samples. They're not particularly that different from other vendor SDK samples, except with GPU changed to CPU. So if you take take other SDK samples and switch them to CPU instead of GPU they'll work, but may require very different optimization techniques.

For your convenience here are several links:
http://software.intel.com/en-us/article ... pencl-sdk/ (http://software.intel.com/en-us/articles/intel-opencl-sdk/)
http://developer.amd.com/gpu/AMDAPPSDK/ ... fault.aspx (http://developer.amd.com/gpu/AMDAPPSDK/downloads/Pages/default.aspx)
http://developer.nvidia.com/object/cuda ... loads.html (http://developer.nvidia.com/object/cuda_3_2_downloads.html)
http://www.alphaworks.ibm.com/tech/opencl/download

ibbles
03-18-2011, 12:17 AM
Also, AMD's OpenCL implementation works just fine on Intel CPUs as well.

http://developer.amd.com/zones/OpenCLZone/pages/GettingStarted.aspx