I'm trying to run the SDK Samples on Windows Vista using Visual Studio 2008. My laptop has an Intel Core 2 Duo P8400 and an onboard graphics accelerator so I'm trying to run the samples in CPU mode (--device cpu). The applications fail to start, giving the following message:
Error: clGetPlatformIDs failed. Error code : unknown error code
The error is thrown at the line
status = clGetPlatformIDs(0, NULL, &numPlatforms);
where status gets the value -1001.
I've seen other posts about this error but they were all on linux. Am I doing something wrong ?
Thanks in advance,
this is problem with registering ICD. try reinstall SDK.