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()
379 MagickCLDevice in SelectOpenCLDevice()
398 MagickCLDevice in SelectOpenCLDevice()
467 MagickPrivate cl_mem CreateOpenCLBuffer(MagickCLDevice device, in CreateOpenCLBuffer()
524 MagickPrivate MagickCLCacheInfo AcquireMagickCLCacheInfo(MagickCLDevice device, in AcquireMagickCLCacheInfo()
570 static MagickCLDevice AcquireMagickCLDevice() in AcquireMagickCLDevice()
572 MagickCLDevice in AcquireMagickCLDevice()
575 device=(MagickCLDevice) AcquireMagickMemory(sizeof(*device)); in AcquireMagickCLDevice()
647 MagickPrivate cl_command_queue AcquireOpenCLCommandQueue(MagickCLDevice device) in AcquireOpenCLCommandQueue()
655 assert(device != (MagickCLDevice) NULL); in AcquireOpenCLCommandQueue()
703 MagickPrivate cl_kernel AcquireOpenCLKernel(MagickCLDevice device, in AcquireOpenCLKernel()
709 assert(device != (MagickCLDevice) NULL); in AcquireOpenCLKernel()
812 MagickCLDevice in LoadOpenCLDeviceBenchmark()
1105 MagickCLDevice device) in RunDeviceBenckmark()
1111 testEnv->devices[0]=(MagickCLDevice) NULL; in RunDeviceBenckmark()
1122 MagickCLDevice in CacheOpenCLBenchmarks()
1173 MagickCLDevice in BenchmarkOpenCLDevices()
1185 testEnv->devices=(MagickCLDevice *) AcquireCriticalMemory( in BenchmarkOpenCLDevices()
1186 sizeof(MagickCLDevice)); in BenchmarkOpenCLDevices()
1203 MagickCLDevice in BenchmarkOpenCLDevices()
1255 static void CacheOpenCLKernel(MagickCLDevice device,char *filename, in CacheOpenCLKernel()
1285 static MagickBooleanType LoadCachedOpenCLKernel(MagickCLDevice device, in LoadCachedOpenCLKernel()
1315 static void LogOpenCLBuildFailure(MagickCLDevice device,const char *kernel, in LogOpenCLBuildFailure()
1345 static MagickBooleanType CompileOpenCLKernel(MagickCLDevice device, in CompileOpenCLKernel()
1559 MagickCLDevice in DumpOpenCLProfileData()
1803 const MagickCLDevice device) in GetOpenCLDeviceBenchmarkScore()
1805 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceBenchmarkScore()
1833 const MagickCLDevice device) in GetOpenCLDeviceEnabled()
1835 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceEnabled()
1862 MagickExport const char *GetOpenCLDeviceName(const MagickCLDevice device) in GetOpenCLDeviceName()
1864 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceName()
1891 MagickExport const char *GetOpenCLDeviceVendorName(const MagickCLDevice device) in GetOpenCLDeviceVendorName()
1893 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceVendorName()
1925 MagickExport MagickCLDevice *GetOpenCLDevices(size_t *length, in GetOpenCLDevices()
1936 return((MagickCLDevice *) NULL); in GetOpenCLDevices()
1967 const MagickCLDevice device) in GetOpenCLDeviceType()
1969 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceType()
2000 MagickExport const char *GetOpenCLDeviceVersion(const MagickCLDevice device) in GetOpenCLDeviceVersion()
2002 if (device == (MagickCLDevice) NULL) in GetOpenCLDeviceVersion()
2061 const MagickCLDevice device,size_t *length) in GetOpenCLKernelProfileRecords()
2063 if ((device == (const MagickCLDevice) NULL) || (device->profile_records == in GetOpenCLKernelProfileRecords()
2165 MagickCLDevice in HasOpenCLDevices()
2288 clEnv->devices=(MagickCLDevice *) AcquireQuantumMemory(clEnv->number_devices, in LoadOpenCLDevices()
2289 sizeof(MagickCLDevice)); in LoadOpenCLDevices()
2290 if (clEnv->devices == (MagickCLDevice *) NULL) in LoadOpenCLDevices()
2297 sizeof(MagickCLDevice)); in LoadOpenCLDevices()
2337 MagickCLDevice in LoadOpenCLDevices()
2341 if (device == (MagickCLDevice) NULL) in LoadOpenCLDevices()
2612 MagickCLDevice device,ExceptionInfo *exception,const char *module, in OpenCLThrowMagickException()
2619 assert(device != (MagickCLDevice) NULL); in OpenCLThrowMagickException()
2681 MagickPrivate MagickBooleanType RecordProfileData(MagickCLDevice device, in RecordProfileData()
2793 MagickPrivate void ReleaseOpenCLCommandQueue(MagickCLDevice device, in ReleaseOpenCLCommandQueue()
2799 assert(device != (MagickCLDevice) NULL); in ReleaseOpenCLCommandQueue()
2839 MagickPrivate void ReleaseOpenCLDevice(MagickCLDevice device) in ReleaseOpenCLDevice()
2841 assert(device != (MagickCLDevice) NULL); in ReleaseOpenCLDevice()
2949 static MagickCLDevice RelinquishMagickCLDevice(MagickCLDevice device) in RelinquishMagickCLDevice()
2951 if (device == (MagickCLDevice) NULL) in RelinquishMagickCLDevice()
2952 return((MagickCLDevice) NULL); in RelinquishMagickCLDevice()
2964 return((MagickCLDevice) RelinquishMagickMemory(device)); in RelinquishMagickCLDevice()
3032 MagickPrivate MagickCLDevice RequestOpenCLDevice(MagickCLEnv clEnv) in RequestOpenCLDevice()
3034 MagickCLDevice in RequestOpenCLDevice()
3045 return((MagickCLDevice) NULL); in RequestOpenCLDevice()
3052 return((MagickCLDevice) NULL); in RequestOpenCLDevice()
3055 device=(MagickCLDevice) NULL; in RequestOpenCLDevice()
3065 if ((device == (MagickCLDevice) NULL) || (score < best_score)) in RequestOpenCLDevice()
3071 if (device != (MagickCLDevice)NULL) in RequestOpenCLDevice()
3103 MagickExport void SetOpenCLDeviceEnabled(MagickCLDevice device, in SetOpenCLDeviceEnabled()
3106 if (device == (MagickCLDevice) NULL) in SetOpenCLDeviceEnabled()
3138 MagickExport void SetOpenCLKernelProfileEnabled(MagickCLDevice device, in SetOpenCLKernelProfileEnabled()
3141 if (device == (MagickCLDevice) NULL) in SetOpenCLKernelProfileEnabled()
3183 const MagickCLDevice magick_unused(device)) in GetOpenCLDeviceBenchmarkScore()
3190 const MagickCLDevice magick_unused(device)) in GetOpenCLDeviceEnabled()
3197 const MagickCLDevice magick_unused(device)) in GetOpenCLDeviceName()
3203 MagickExport MagickCLDevice *GetOpenCLDevices(size_t *length, in GetOpenCLDevices()
3209 return((MagickCLDevice *) NULL); in GetOpenCLDevices()
3213 const MagickCLDevice magick_unused(device)) in GetOpenCLDeviceType()
3220 const MagickCLDevice magick_unused(device),size_t *length) in GetOpenCLKernelProfileRecords()
3229 const MagickCLDevice magick_unused(device)) in GetOpenCLDeviceVersion()
3241 MagickCLDevice magick_unused(device), in SetOpenCLDeviceEnabled()
3256 MagickCLDevice magick_unused(device), in SetOpenCLKernelProfileEnabled()