Lines Matching refs:device_benchmark

751     *device_benchmark;  in LoadOpenCLDeviceBenchmark()  local
759 device_benchmark=(MagickCLDeviceBenchmark *) NULL; in LoadOpenCLDeviceBenchmark()
794 device_benchmark=(MagickCLDeviceBenchmark *) AcquireMagickMemory( in LoadOpenCLDeviceBenchmark()
795 sizeof(*device_benchmark)); in LoadOpenCLDeviceBenchmark()
796 if (device_benchmark == (MagickCLDeviceBenchmark *) NULL) in LoadOpenCLDeviceBenchmark()
798 (void) memset(device_benchmark,0,sizeof(*device_benchmark)); in LoadOpenCLDeviceBenchmark()
799 device_benchmark->score=MAGICKCORE_OPENCL_UNDEFINED_SCORE; in LoadOpenCLDeviceBenchmark()
802 if (device_benchmark == (MagickCLDeviceBenchmark *) NULL) in LoadOpenCLDeviceBenchmark()
806 if (device_benchmark->score != MAGICKCORE_OPENCL_UNDEFINED_SCORE) in LoadOpenCLDeviceBenchmark()
808 if (LocaleCompare(device_benchmark->name, "CPU") == 0) in LoadOpenCLDeviceBenchmark()
809 clEnv->cpu_score=device_benchmark->score; in LoadOpenCLDeviceBenchmark()
821 if (IsBenchmarkedOpenCLDevice(device,device_benchmark)) in LoadOpenCLDeviceBenchmark()
822 device->score=device_benchmark->score; in LoadOpenCLDeviceBenchmark()
827 device_benchmark->platform_name=RelinquishMagickMemory( in LoadOpenCLDeviceBenchmark()
828 device_benchmark->platform_name); in LoadOpenCLDeviceBenchmark()
829 device_benchmark->vendor_name=RelinquishMagickMemory( in LoadOpenCLDeviceBenchmark()
830 device_benchmark->vendor_name); in LoadOpenCLDeviceBenchmark()
831 device_benchmark->name=RelinquishMagickMemory(device_benchmark->name); in LoadOpenCLDeviceBenchmark()
832 device_benchmark->version=RelinquishMagickMemory( in LoadOpenCLDeviceBenchmark()
833 device_benchmark->version); in LoadOpenCLDeviceBenchmark()
834 device_benchmark=(MagickCLDeviceBenchmark *) RelinquishMagickMemory( in LoadOpenCLDeviceBenchmark()
835 device_benchmark); in LoadOpenCLDeviceBenchmark()
850 device_benchmark->max_clock_frequency=StringToInteger(token); in LoadOpenCLDeviceBenchmark()
855 device_benchmark->max_compute_units=StringToInteger(token); in LoadOpenCLDeviceBenchmark()
864 device_benchmark->name=ConstantString(token); in LoadOpenCLDeviceBenchmark()
871 device_benchmark->platform_name=ConstantString(token); in LoadOpenCLDeviceBenchmark()
878 device_benchmark->score=StringToDouble(token,(char **) NULL); in LoadOpenCLDeviceBenchmark()
885 device_benchmark->vendor_name=ConstantString(token); in LoadOpenCLDeviceBenchmark()
887 device_benchmark->version=ConstantString(token); in LoadOpenCLDeviceBenchmark()
895 device_benchmark=(MagickCLDeviceBenchmark *) RelinquishMagickMemory( in LoadOpenCLDeviceBenchmark()
896 device_benchmark); in LoadOpenCLDeviceBenchmark()