This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

open cl error - cannot retrieve platform id

I am running open cl on a linux machine with ARM processor and Mali GPU. But it is giving an error something like "Unknown error: cannot retrieve platform id" at clGetPlatformId().

I tried both

  

cl_uint numPlatforms;//the NO. of platforms
cl_platform_id platform = NULL;//the chosen platform
cl_intstatus = clGetPlatformIDs(0, NULL, &numPlatforms);

and

cl_uint numPlatforms;//the NO. of platforms
cl_platform_id platform = NULL;//the chosen platform
cl_intstatus = clGetPlatformIDs(1, &platform, &numPlatforms);

but for both, I am getting the same error. What could be the reason?

Parents Reply Children
No data