Searched refs:numberOfPlatforms (Results 1 – 2 of 2) sorted by relevance
246 cl_uint numberOfPlatforms = 0; in initialize() local248 error = clGetPlatformIDs(0, 0, &numberOfPlatforms); in initialize()255 printf("%u number of platforms\n", numberOfPlatforms); in initialize()258 sizeof(cl_platform_id) * numberOfPlatforms, __func__); in initialize()259 error = clGetPlatformIDs(numberOfPlatforms, platforms, 0); in initialize()261 for (indexPlatform = 0; indexPlatform < numberOfPlatforms; indexPlatform++) { in initialize()
691 cl_uint numberOfPlatforms; in MATmul_forceOpenCL_() local692 cl_int status = clGetPlatformIDs (1, & platformIDs, & numberOfPlatforms); in MATmul_forceOpenCL_()