Searched refs:number_platforms (Results 1 – 1 of 1) sorted by relevance
2256 number_platforms; in LoadOpenCLDevices() local2261 number_platforms=0; in LoadOpenCLDevices()2262 if (openCL_library->clGetPlatformIDs(0,NULL,&number_platforms) != CL_SUCCESS) in LoadOpenCLDevices()2264 if (number_platforms == 0) in LoadOpenCLDevices()2266 platforms=(cl_platform_id *) AcquireMagickMemory(number_platforms* in LoadOpenCLDevices()2270 if (openCL_library->clGetPlatformIDs(number_platforms,platforms,NULL) != CL_SUCCESS) in LoadOpenCLDevices()2275 for (i = 0; i < number_platforms; i++) in LoadOpenCLDevices()2306 clEnv->number_contexts=(size_t) number_platforms; in LoadOpenCLDevices()2317 for (i = 0; i < number_platforms; i++) in LoadOpenCLDevices()