Lines Matching refs:MagickCLDevice
142 static MagickCLDevice
143 RelinquishMagickCLDevice(MagickCLDevice);
172 static inline MagickBooleanType IsSameOpenCLDevice(MagickCLDevice a, in IsSameOpenCLDevice()
173 MagickCLDevice b) in IsSameOpenCLDevice()
186 static inline MagickBooleanType IsBenchmarkedOpenCLDevice(MagickCLDevice a, in IsBenchmarkedOpenCLDevice()
205 if (clEnv->devices != (MagickCLDevice *) NULL) in RelinquishMagickCLDevices()
209 clEnv->devices=(MagickCLDevice *) RelinquishMagickMemory(clEnv->devices); in RelinquishMagickCLDevices()
388 MagickCLDevice in SelectOpenCLDevice()
411 MagickCLDevice in SelectOpenCLDevice()
480 MagickPrivate cl_mem CreateOpenCLBuffer(MagickCLDevice device, in CreateOpenCLBuffer()
537 MagickPrivate MagickCLCacheInfo AcquireMagickCLCacheInfo(MagickCLDevice device, in AcquireMagickCLCacheInfo()
583 static MagickCLDevice AcquireMagickCLDevice() in AcquireMagickCLDevice()
585 MagickCLDevice in AcquireMagickCLDevice()
588 device=(MagickCLDevice) AcquireMagickMemory(sizeof(*device)); in AcquireMagickCLDevice()
665 MagickPrivate cl_command_queue AcquireOpenCLCommandQueue(MagickCLDevice device) in AcquireOpenCLCommandQueue()
673 assert(device != (MagickCLDevice) NULL); in AcquireOpenCLCommandQueue()
721 MagickPrivate cl_kernel AcquireOpenCLKernel(MagickCLDevice device, in AcquireOpenCLKernel()
727 assert(device != (MagickCLDevice) NULL); in AcquireOpenCLKernel()
832 MagickCLDevice in LoadOpenCLDeviceBenchmark()
1123 MagickCLDevice device) in RunDeviceBenckmark()
1129 testEnv->devices[0]=(MagickCLDevice) NULL; in RunDeviceBenckmark()
1140 MagickCLDevice in CacheOpenCLBenchmarks()
1191 MagickCLDevice in BenchmarkOpenCLDevices()
1205 testEnv->devices=(MagickCLDevice *) AcquireCriticalMemory( in BenchmarkOpenCLDevices()
1206 sizeof(MagickCLDevice)); in BenchmarkOpenCLDevices()
1223 MagickCLDevice in BenchmarkOpenCLDevices()
1275 static void CacheOpenCLKernel(MagickCLDevice device,char *filename, in CacheOpenCLKernel()
1309 static MagickBooleanType LoadCachedOpenCLKernels(MagickCLDevice device, in LoadCachedOpenCLKernels()
1341 static void LogOpenCLBuildFailure(MagickCLDevice device,const char *kernel, in LogOpenCLBuildFailure()
1371 static MagickBooleanType CompileOpenCLKernel(MagickCLDevice device, in CompileOpenCLKernel()
1582 MagickCLDevice in DumpOpenCLProfileData()
1826 const MagickCLDevice device) in GetOpenCLDeviceBenchmarkScore()
1828 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceBenchmarkScore()
1856 const MagickCLDevice device) in GetOpenCLDeviceEnabled()
1858 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceEnabled()
1885 MagickExport const char *GetOpenCLDeviceName(const MagickCLDevice device) in GetOpenCLDeviceName()
1887 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceName()
1914 MagickExport const char *GetOpenCLDeviceVendorName(const MagickCLDevice device) in GetOpenCLDeviceVendorName()
1916 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceVendorName()
1948 MagickExport MagickCLDevice *GetOpenCLDevices(size_t *length, in GetOpenCLDevices()
1959 return((MagickCLDevice *) NULL); in GetOpenCLDevices()
1990 const MagickCLDevice device) in GetOpenCLDeviceType()
1992 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceType()
2023 MagickExport const char *GetOpenCLDeviceVersion(const MagickCLDevice device) in GetOpenCLDeviceVersion()
2025 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceVersion()
2084 const MagickCLDevice device,size_t *length) in GetOpenCLKernelProfileRecords()
2086 if ((device == (const MagickCLDevice) NULL) || (device->profile_records == in GetOpenCLKernelProfileRecords()
2188 MagickCLDevice in HasOpenCLDevices()
2350 clEnv->devices=(MagickCLDevice *) AcquireQuantumMemory(clEnv->number_devices, in LoadOpenCLDevices()
2351 sizeof(MagickCLDevice)); in LoadOpenCLDevices()
2352 if (clEnv->devices == (MagickCLDevice *) NULL) in LoadOpenCLDevices()
2358 (void) memset(clEnv->devices,0,clEnv->number_devices*sizeof(MagickCLDevice)); in LoadOpenCLDevices()
2400 MagickCLDevice in LoadOpenCLDevices()
2404 if (device == (MagickCLDevice) NULL) in LoadOpenCLDevices()
2661 MagickCLDevice device,ExceptionInfo *exception,const char *module, in OpenCLThrowMagickException()
2668 assert(device != (MagickCLDevice) NULL); in OpenCLThrowMagickException()
2730 MagickPrivate MagickBooleanType RecordProfileData(MagickCLDevice device, in RecordProfileData()
2842 MagickPrivate void ReleaseOpenCLCommandQueue(MagickCLDevice device, in ReleaseOpenCLCommandQueue()
2848 assert(device != (MagickCLDevice) NULL); in ReleaseOpenCLCommandQueue()
2888 MagickPrivate void ReleaseOpenCLDevice(MagickCLDevice device) in ReleaseOpenCLDevice()
2890 assert(device != (MagickCLDevice) NULL); in ReleaseOpenCLDevice()
2998 static MagickCLDevice RelinquishMagickCLDevice(MagickCLDevice device) in RelinquishMagickCLDevice()
3000 if (device == (MagickCLDevice) NULL) in RelinquishMagickCLDevice()
3001 return((MagickCLDevice) NULL); in RelinquishMagickCLDevice()
3013 return((MagickCLDevice) RelinquishMagickMemory(device)); in RelinquishMagickCLDevice()
3081 MagickPrivate MagickCLDevice RequestOpenCLDevice(MagickCLEnv clEnv) in RequestOpenCLDevice()
3083 MagickCLDevice in RequestOpenCLDevice()
3094 return((MagickCLDevice) NULL); in RequestOpenCLDevice()
3101 return((MagickCLDevice) NULL); in RequestOpenCLDevice()
3104 device=(MagickCLDevice) NULL; in RequestOpenCLDevice()
3114 if ((device == (MagickCLDevice) NULL) || (score < best_score)) in RequestOpenCLDevice()
3120 if (device != (MagickCLDevice)NULL) in RequestOpenCLDevice()
3152 MagickExport void SetOpenCLDeviceEnabled(MagickCLDevice device, in SetOpenCLDeviceEnabled()
3155 if (device == (MagickCLDevice) NULL) in SetOpenCLDeviceEnabled()
3187 MagickExport void SetOpenCLKernelProfileEnabled(MagickCLDevice device, in SetOpenCLKernelProfileEnabled()
3190 if (device == (MagickCLDevice) NULL) in SetOpenCLKernelProfileEnabled()
3232 const MagickCLDevice magick_unused(device)) in GetOpenCLDeviceBenchmarkScore()
3239 const MagickCLDevice magick_unused(device)) in GetOpenCLDeviceEnabled()
3246 const MagickCLDevice magick_unused(device)) in GetOpenCLDeviceName()
3252 MagickExport MagickCLDevice *GetOpenCLDevices(size_t *length, in GetOpenCLDevices()
3258 return((MagickCLDevice *) NULL); in GetOpenCLDevices()
3262 const MagickCLDevice magick_unused(device)) in GetOpenCLDeviceType()
3269 const MagickCLDevice magick_unused(device),size_t *length) in GetOpenCLKernelProfileRecords()
3278 const MagickCLDevice magick_unused(device)) in GetOpenCLDeviceVersion()
3290 MagickCLDevice magick_unused(device), in SetOpenCLDeviceEnabled()
3305 MagickCLDevice magick_unused(device), in SetOpenCLKernelProfileEnabled()