OpenCL-examples
OpenCL-examples copied to clipboard
new API not compatible for mac OS
trying the wget https://www.khronos.org/registry/cl/api/1.1/cl.hpp
fails:
301 Moved Permanently Location: https://www.khronos.org/registry/OpenCL/api/1.1/cl.hpp [following] --2018-05-12 04:14:56-- https://www.khronos.org/registry/OpenCL/api/1.1/cl.hpp Connecting to www.khronos.org (www.khronos.org)|104.236.24.254|:443... connected. HTTP request sent, awaiting response... 404 Not Found 2018-05-12 04:14:56 ERROR 404: Not Found.
and the sudo cp cl.hpp /System/Library/Frameworks/OpenCL.framework/Headers/
also fails
cp: /System/Library/Frameworks/OpenCL.framework/Headers/cl.hpp: Operation not permitted
instead the cl.hpp should be copied to a local folder