I want to utilize the Intel Iris Pro with OpenCL, preferably 1.2, on a mac (10.9.4) with C++ bindings.
I am extremely new to Mac and I have struggled a bit with XCode in getting a simple OpenCL code compiled even after going through Apple's OpenCL documentation. I think I would be much more comfortable with the command line as opposed to GUI solutions.
So how do I go about getting C++ API of OpenCL 1.2 working for Iris Pro? Would Intel OpenCL SDK work on OSX? Is there any way to just add to the libraries already provided on Mac?
Official C++ bindings from Khronos are header-only. You can get cl.hpp at Khronos OpenCL registry . BTW, look at your OpenCL SDK, usually it's available out of the box. If not, include mentioned C++ header, and that's it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.