lanyuer

why clGetDeviceIDs returns -1?

Discussion created by lanyuer on Jan 15, 2011
Latest reply on Jan 17, 2011 by rick.weber

My Gpu is HD5470, and I've installed the newest Catalyst & Stream SDK.

Once I run the examples in the opencl demos, when it runs up to the line:

status = clGetDeviceIDs(platform, deviceType, 0, NULL, &deviceCount);

the variable "status" returns -1, and the program crashed!

I wanna to know what does that mean and how can I fix it?

Outcomes