OpenCL Template for VS2010


Could you, please, point me to a template for OpenCL VS2010 project?


Just take a look at the samples included with the NVIDIA GPU Computing SDK 4.0 (in the OpenCL\src directory). They come with VS2010, VS2008 and VS2005 project files.

Exactly there is no template just include the proper libraries and headers, OpenCL in contrast with CUDA does not have a compiler only DLLs so there is no need of a template. So load an example of a Simple OpenCL example from the SDK and see what is included and linked. Use the same in your projects…