what is openCL

Published: 19 Aug 2018 Category: artificial intelligence

1. A Hello World Demo

Get the source code from here openCL Hello World demo, build with msys2 with below commands:

g++ main.cpp -I"%CUDA_PATH%\include" "%CUDA_PATH%\lib\x64\OpenCL.lib"

From this we could know that with openCL computing jobs can be assigned to other device(GPU/DSP/NPU, etc).

comments powered by Disqus