1. Create two folders to store head files and library files, in my case named OpenCL_inc and OpenCL_lib.
2. Left click the project and select properties. In Linker -> General -> Additional Library Directories, add OpenCL_lib.
3. In Linker -> Input -> Additional Dependencies, add OpenCL.libkernel32.lib. It should be noticed that the static library file name should be the same as the one in your OpenCL_lib folder.
4. In C/C++ -> General -> Additional Include Directories, add OpenCL_inc.
5. For x64 system, don't forget to change the configuration