Lines Matching refs:opencl
13 % MagickCore OpenCL Methods %
70 #include "MagickCore/opencl.h"
71 #include "MagickCore/opencl-private.h"
150 /* OpenCL library */
154 /* Default OpenCL environment */
162 /* Cached location of the OpenCL cache files */
443 Provide call to OpenCL library methods
480 % AcquireMagickCLCacheInfo() acquires an OpenCL cache info structure.
489 % o device: the OpenCL device.
538 % AcquireMagickCLDevice() acquires an OpenCL device
611 % AcquireOpenCLCommandQueue() acquires an OpenCL command queue
619 % o device: the OpenCL device.
662 % AcquireOpenCLKernel() acquires an OpenCL kernel
671 % o clEnv: the OpenCL environment.
673 % o program: the OpenCL program module that the kernel belongs to.
711 % o clEnv: the OpenCL environment.
1007 % BenchmarkOpenCLDevices() benchmarks the OpenCL devices and the CPU to help
1016 % o clEnv: the OpenCL environment.
1072 if (cache_info->opencl != (MagickCLCacheInfo) NULL)
1073 openCL_library->clWaitForEvents(cache_info->opencl->event_count,
1074 cache_info->opencl->events);
1229 % o device: the OpenCL device.
1404 % o info: the OpenCL cache info.
1532 % EnqueueOpenCLKernel() enques the specified kernel and registers the OpenCL
1544 % o kernel: the OpenCL kernel.
1609 assert(input_info->opencl != (MagickCLCacheInfo) NULL);
1610 event_count=input_info->opencl->event_count;
1611 events=input_info->opencl->events;
1617 assert(output_info->opencl != (MagickCLCacheInfo) NULL);
1618 if (output_info->opencl->event_count > 0)
1623 event_count+=output_info->opencl->event_count;
1629 if (i < (ssize_t) input_info->opencl->event_count)
1630 events[i]=input_info->opencl->events[i];
1632 events[i]=output_info->opencl->events[i-
1633 input_info->opencl->event_count];
1640 (output_info->opencl->event_count > 0))
1644 (void) OpenCLThrowMagickException(input_info->opencl->device,exception,
1649 if (RecordProfileData(input_info->opencl->device,kernel,event) == MagickFalse)
1651 RegisterCacheEvent(input_info->opencl,event);
1653 RegisterCacheEvent(output_info->opencl,event);
1670 % GetCurrentOpenCLEnv() returns the current OpenCL env
1724 % o device: the OpenCL device.
1754 % o device: the OpenCL device.
1784 % o device: the OpenCL device.
1805 % GetOpenCLDevices() returns the devices of the OpenCL environment at sets the
1859 % o device: the OpenCL device.
1893 % o device: the OpenCL device.
1914 % GetOpenCLEnabled() returns true if OpenCL acceleration is enabled.
1988 % HasOpenCLDevices() checks if the OpenCL environment has devices that are
1999 % o clEnv: the OpenCL environment.
2101 % InitializeOpenCL() is used to initialize the OpenCL environment. This method
2125 if (strncmp(version, "OpenCL 1.0 ", 11) == 0)
2315 % LoadOpenCLLibrary() load and binds the OpenCL library.
2344 library=(void *)LoadLibraryA("OpenCL.dll");
2458 % OpenCLThrowMagickException logs an OpenCL exception as determined by the log
2503 /* Workaround for Intel OpenCL CPU runtime bug */
2504 /* Turn off OpenCL when a problem is detected! */
2550 % o device: the OpenCL device that did the operation.
2652 % ReleaseOpenCLCommandQueue() releases the OpenCL command queue
2661 % o device: the OpenCL device.
2663 % o queue: the OpenCL queue to be released.
2700 % ReleaseOpenCLDevice() returns the OpenCL device to the environment
2708 % o device: the OpenCL device to be released.
2741 % o info: the OpenCL cache info.
2804 % RelinquishMagickCLDevice() releases the OpenCL device
2812 % o device: the OpenCL device to be released.
2844 % RelinquishMagickCLEnv() releases the OpenCL environment
2852 % o clEnv: the OpenCL environment to be released.
2886 % RequestOpenCLDevice() returns one of the enabled OpenCL devices.
2894 % o clEnv: the OpenCL environment.
2963 % o device: the OpenCL device.
2997 % o device: the OpenCL device.
3022 % SetOpenCLEnabled() can be used to enable or disable OpenCL acceleration.
3030 % o value: specify true to enable OpenCL acceleration