cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

Wyk3d
Journeyman III

clGetPlatformIDs fails with unknown error code on Windows

Hello

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,

Istvan

0 Likes
1 Reply
nou
Exemplar

this is problem with registering ICD. try reinstall SDK.

0 Likes