I'm trying to compile and run a simple example for adding two vectors. At the beginning of my program I need to get the platform id, which is done as:
cl_platform_id clSelectedPlatformID = NULL;
result = oclGetPlatformIDs (0, NULL, &numPlatforms);
NVidia provides the file oclUtils.h where the function oclGetPlatformIDs is defined, but that file it is not provided by ATI.
Which file should I include to solve this problem ?
remove o at the begining. and use plain OpenCL or C++ bindings.