Lines Matching refs:number_devices
207 for (i = 0; i < clEnv->number_devices; i++) in RelinquishMagickCLDevices()
211 clEnv->number_devices=0; in RelinquishMagickCLDevices()
397 for (i = 0; i < clEnv->number_devices; i++) in SelectOpenCLDevice()
400 for (i = 0; i < clEnv->number_devices; i++) in SelectOpenCLDevice()
409 for (j = i+1; j < clEnv->number_devices; j++) in SelectOpenCLDevice()
838 for (i = 0; i < clEnv->number_devices; i++) in LoadOpenCLDeviceBenchmark()
959 for (i = 0; i < clEnv->number_devices; i++) in LoadOpenCLBenchmarks()
1003 for (i = 0; i < clEnv->number_devices; i++) in AutoSelectOpenCLDevices()
1017 for (i = 0; i < clEnv->number_devices; i++) in AutoSelectOpenCLDevices()
1020 for (i = 0; i < clEnv->number_devices; i++) in AutoSelectOpenCLDevices()
1157 for (i = 0; i < clEnv->number_devices; i++) in CacheOpenCLBenchmarks()
1207 testEnv->number_devices=1; in BenchmarkOpenCLDevices()
1211 for (i = 0; i < clEnv->number_devices; i++) in BenchmarkOpenCLDevices()
1214 for (i = 0; i < clEnv->number_devices; i++) in BenchmarkOpenCLDevices()
1221 for (j = i+1; j < clEnv->number_devices; j++) in BenchmarkOpenCLDevices()
1568 for (i = 0; i < default_CLEnv->number_devices; i++) in DumpOpenCLProfileData()
1571 if (i == default_CLEnv->number_devices) in DumpOpenCLProfileData()
1580 for (i = 0; i < default_CLEnv->number_devices; i++) in DumpOpenCLProfileData()
1963 *length=clEnv->number_devices; in GetOpenCLDevices()
2149 for (i = 0; i < clEnv->number_devices; i++) in HasOpenCLDevices()
2154 if (i == clEnv->number_devices) in HasOpenCLDevices()
2159 for (i = 0; i < clEnv->number_devices; i++) in HasOpenCLDevices()
2186 for (i = 0; i < clEnv->number_devices; i++) in HasOpenCLDevices()
2308 number_devices, in LoadOpenCLDevices() local
2333 number_devices=0; in LoadOpenCLDevices()
2338 number_devices=GetOpenCLDeviceCount(clEnv,platforms[i]); in LoadOpenCLDevices()
2339 clEnv->number_devices+=number_devices; in LoadOpenCLDevices()
2342 if (number_devices == 0) in LoadOpenCLDevices()
2345 if (clEnv->number_devices == 0) in LoadOpenCLDevices()
2350 clEnv->devices=(MagickCLDevice *) AcquireQuantumMemory(clEnv->number_devices, in LoadOpenCLDevices()
2358 (void) memset(clEnv->devices,0,clEnv->number_devices*sizeof(MagickCLDevice)); in LoadOpenCLDevices()
2359 devices=(cl_device_id *) AcquireQuantumMemory(clEnv->number_devices, in LoadOpenCLDevices()
2367 (void) memset(devices,0,clEnv->number_devices*sizeof(cl_device_id)); in LoadOpenCLDevices()
2386 CL_DEVICE_TYPE_GPU,(cl_uint) clEnv->number_devices,devices,&number_devices); in LoadOpenCLDevices()
2393 clEnv->contexts[i]=openCL_library->clCreateContext(properties,number_devices, in LoadOpenCLDevices()
2398 for (j = 0; j < number_devices; j++,next++) in LoadOpenCLDevices()
2437 if (next != clEnv->number_devices) in LoadOpenCLDevices()
2459 if (clEnv->number_devices > 0) in InitializeOpenCL()
2464 for (i=0; i < (ssize_t) clEnv->number_devices; i++) in InitializeOpenCL()
3096 if (clEnv->number_devices == 1) in RequestOpenCLDevice()
3107 for (i = 0; i < clEnv->number_devices; i++) in RequestOpenCLDevice()