This is a project to demonstrate a minimal OpenCL project on Windows.
gcc -I Include -L Lib Examples\hello.c -o hello.exe -lopenCL
For C++, Ensure you have MinGW Compat Headers
cloned, generated and CPLUS_INCLUDE_PATH
set to.
g++ -I Include -L Lib Examples\print_info.cpp -o print_info.exe -lopenCL
More details in this article.