Open Cl repository with sample data structures, and code that will run on an approved open cl device (or one that has open-cl implemented)
Download one of the following implementation of open-cl (AMD,Intel, Nvidia)
- AMD - http://support.amd.com/en-us/kb-articles/Pages/OpenCL2-Driver.aspx
- Intel - https://software.intel.com/en-us/articles/opencl-drivers
- Nvidia - https://developer.nvidia.com/opencl
environment variables called: cl_include => ...path to include folder from download
cl_lib => ... path to lib folder from download
update build.bat with the correct path (note by default set to x64)
Update the makefile with the correct path to where your lib folder is located
Run build.bat
Run make
Run [file-name].exe In powershell
./file-name.exe
Run [file-name].o In Terminal
./file-name.o
If your are using vscode, the configuration should be set in the .vscode
folder. Listed below are some Recommended plugins for vscode , not required but which have been very helpful in implementation :)
- C/C++ (Microsoft)
- change-case (wmaurer)
- Code Spellchecker (Street side software)
- vscode-icons (Roberto Huertas)