Searched refs:numPlatforms (Results 1 - 1 of 1) sorted by relevance

/gem5/tests/test-progs/gpu-hello/src/
H A Dgpu-hello.cpp104 cl_uint numPlatforms; local
106 status = clGetPlatformIDs(0, NULL, &numPlatforms);
112 if (numPlatforms > 0) {
113 cl_platform_id *platforms = new cl_platform_id[numPlatforms];
114 status = clGetPlatformIDs(numPlatforms, platforms, NULL);
119 for (int i = 0; i < numPlatforms; ++i) {

Completed in 4 milliseconds