I am writing code under WIN8 (Metro style app) and have problems using OpenCL.
My project works very well when I compile it and run it as a WIN8 desktop application. But when I change it to a Win store application (Metro style), then I can no longer use OpenCL.
//get platform id error = clGetPlatformIDs(1, &platformID, &numPlatforms); if(error != CL_SUCCESS) return;
clGetPlatformIDs returns an error code of -1001 .
Can't I use the Metro-style OpenCL app? Someone, please help me deal with the problem. I'm new to WIN8
source share