Searched refs:number_platforms (Results 1 – 1 of 1) sorted by relevance
2309 number_platforms; in LoadOpenCLDevices() local2314 number_platforms=0; in LoadOpenCLDevices()2315 if (openCL_library->clGetPlatformIDs(0,NULL,&number_platforms) != CL_SUCCESS) in LoadOpenCLDevices()2317 if (number_platforms == 0) in LoadOpenCLDevices()2319 platforms=(cl_platform_id *) AcquireQuantumMemory(1,number_platforms* in LoadOpenCLDevices()2323 if (openCL_library->clGetPlatformIDs(number_platforms,platforms,NULL) != CL_SUCCESS) in LoadOpenCLDevices()2328 for (i = 0; i < number_platforms; i++) in LoadOpenCLDevices()2368 clEnv->number_contexts=(size_t) number_platforms; in LoadOpenCLDevices()2380 for (i = 0; i < number_platforms; i++) in LoadOpenCLDevices()