cl_int status; // Retrieve the number of platforms cl_uint numPlatforms = 0; status = clGetPlatformIDs(0, NULL, &numPlatforms); if (status != CL_SUCCESS) { std::cout << "Error: Getting platforms!" << std::endl; std::cin.get(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)