Class CLImpl20

  • All Implemented Interfaces:
    CL, CL20

    public class CLImpl20
    extends Object
    implements CL20
    Java bindings to OpenCL, the Open Computing Language (generated).
    Author:
    Michael Bien, GlueGen, et al.
    • Constructor Detail

      • CLImpl20

        public CLImpl20()
    • Method Detail

      • clGetPlatformIDs

        public int clGetPlatformIDs​(int num_entries,
                                    PointerBuffer platforms,
                                    IntBuffer num_platforms)
        Entry point (through function pointer) to C language function:
        cl_int (cl_uint num_entries, cl_platform_id * platforms, cl_uint * num_platforms)
        Specified by:
        clGetPlatformIDs in interface CL
        Specified by:
        clGetPlatformIDs in interface CL20
        Parameters:
        platforms - a direct only PointerBuffer
        num_platforms - a direct only IntBuffer
      • clGetPlatformInfo

        public int clGetPlatformInfo​(long platform,
                                     int param_name,
                                     long param_value_size,
                                     Buffer param_value,
                                     PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetPlatformInfo in interface CL
        Specified by:
        clGetPlatformInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clGetDeviceIDs

        public int clGetDeviceIDs​(long platform,
                                  long device_type,
                                  int num_entries,
                                  PointerBuffer devices,
                                  IntBuffer num_devices)
        Entry point (through function pointer) to C language function:
        cl_int (cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id * devices, cl_uint * num_devices)
        Specified by:
        clGetDeviceIDs in interface CL
        Specified by:
        clGetDeviceIDs in interface CL20
        Parameters:
        devices - a direct only PointerBuffer
        num_devices - a direct only IntBuffer
      • clGetDeviceInfo

        public int clGetDeviceInfo​(long device,
                                   int param_name,
                                   long param_value_size,
                                   Buffer param_value,
                                   PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_device_id device, cl_device_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetDeviceInfo in interface CL
        Specified by:
        clGetDeviceInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clCreateSubDevices

        public int clCreateSubDevices​(long in_device,
                                      PointerBuffer properties,
                                      int num_devices,
                                      PointerBuffer out_devices,
                                      IntBuffer num_devices_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_device_id in_device, const cl_device_partition_property * properties, cl_uint num_devices, cl_device_id * out_devices, cl_uint * num_devices_ret)
        Specified by:
        clCreateSubDevices in interface CL20
        Parameters:
        properties - a direct or array-backed PointerBuffer
        out_devices - a direct or array-backed PointerBuffer
        num_devices_ret - a direct or array-backed IntBuffer
      • clCreateSubDevices

        public int clCreateSubDevices​(long in_device,
                                      PointerBuffer properties,
                                      int num_devices,
                                      PointerBuffer out_devices,
                                      int[] num_devices_ret,
                                      int num_devices_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_int (cl_device_id in_device, const cl_device_partition_property * properties, cl_uint num_devices, cl_device_id * out_devices, cl_uint * num_devices_ret)
        Specified by:
        clCreateSubDevices in interface CL20
        Parameters:
        properties - a direct or array-backed PointerBuffer
        out_devices - a direct or array-backed PointerBuffer
      • clRetainDevice

        public int clRetainDevice​(long device)
        Entry point (through function pointer) to C language function:
        cl_int (cl_device_id device)
        Specified by:
        clRetainDevice in interface CL20
      • clReleaseDevice

        public int clReleaseDevice​(long device)
        Entry point (through function pointer) to C language function:
        cl_int (cl_device_id device)
        Specified by:
        clReleaseDevice in interface CL20
      • clRetainContext

        public int clRetainContext​(long context)
        Entry point (through function pointer) to C language function:
        cl_int (cl_context context)
        Specified by:
        clRetainContext in interface CL
        Specified by:
        clRetainContext in interface CL20
      • clGetContextInfo

        public int clGetContextInfo​(long context,
                                    int param_name,
                                    long param_value_size,
                                    Buffer param_value,
                                    PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_context context, cl_context_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetContextInfo in interface CL
        Specified by:
        clGetContextInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clCreateCommandQueueWithProperties

        public long clCreateCommandQueueWithProperties​(long context,
                                                       long device,
                                                       LongBuffer properties,
                                                       IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_command_queue (cl_context context, cl_device_id device, const cl_queue_properties * properties, cl_int * errcode_ret)
        Specified by:
        clCreateCommandQueueWithProperties in interface CL20
        Parameters:
        properties - a direct or array-backed LongBuffer
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateCommandQueueWithProperties

        public long clCreateCommandQueueWithProperties​(long context,
                                                       long device,
                                                       long[] properties,
                                                       int properties_offset,
                                                       int[] errcode_ret,
                                                       int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_command_queue (cl_context context, cl_device_id device, const cl_queue_properties * properties, cl_int * errcode_ret)
        Specified by:
        clCreateCommandQueueWithProperties in interface CL20
      • clRetainCommandQueue

        public int clRetainCommandQueue​(long command_queue)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue)
        Specified by:
        clRetainCommandQueue in interface CL
        Specified by:
        clRetainCommandQueue in interface CL20
      • clReleaseCommandQueue

        public int clReleaseCommandQueue​(long command_queue)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue)
        Specified by:
        clReleaseCommandQueue in interface CL
        Specified by:
        clReleaseCommandQueue in interface CL20
      • clGetCommandQueueInfo

        public int clGetCommandQueueInfo​(long command_queue,
                                         int param_name,
                                         long param_value_size,
                                         Buffer param_value,
                                         PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_command_queue_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetCommandQueueInfo in interface CL
        Specified by:
        clGetCommandQueueInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clCreateBuffer

        public long clCreateBuffer​(long context,
                                   long flags,
                                   long size,
                                   Buffer host_ptr,
                                   IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, size_t size, void * host_ptr, cl_int * errcode_ret)
        Specified by:
        clCreateBuffer in interface CL
        Specified by:
        clCreateBuffer in interface CL20
        Parameters:
        host_ptr - a direct or array-backed Buffer
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateBuffer

        public long clCreateBuffer​(long context,
                                   long flags,
                                   long size,
                                   Buffer host_ptr,
                                   int[] errcode_ret,
                                   int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, size_t size, void * host_ptr, cl_int * errcode_ret)
        Specified by:
        clCreateBuffer in interface CL
        Specified by:
        clCreateBuffer in interface CL20
        Parameters:
        host_ptr - a direct or array-backed Buffer
      • clCreateSubBuffer

        public long clCreateSubBuffer​(long buffer,
                                      long flags,
                                      int buffer_create_type,
                                      Buffer buffer_create_info,
                                      IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_mem buffer, cl_mem_flags flags, cl_buffer_create_type buffer_create_type, const void * buffer_create_info, cl_int * errcode_ret)
        Specified by:
        clCreateSubBuffer in interface CL
        Specified by:
        clCreateSubBuffer in interface CL20
        Parameters:
        buffer_create_info - a direct or array-backed Buffer
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateSubBuffer

        public long clCreateSubBuffer​(long buffer,
                                      long flags,
                                      int buffer_create_type,
                                      Buffer buffer_create_info,
                                      int[] errcode_ret,
                                      int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_mem buffer, cl_mem_flags flags, cl_buffer_create_type buffer_create_type, const void * buffer_create_info, cl_int * errcode_ret)
        Specified by:
        clCreateSubBuffer in interface CL
        Specified by:
        clCreateSubBuffer in interface CL20
        Parameters:
        buffer_create_info - a direct or array-backed Buffer
      • clCreateImage

        public long clCreateImage​(long context,
                                  long flags,
                                  CLImageFormatImpl image_format,
                                  CLImageDescImpl image_desc,
                                  Buffer host_ptr,
                                  IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, const cl_image_format * image_format, const cl_image_desc * image_desc, void * host_ptr, cl_int * errcode_ret)
        Specified by:
        clCreateImage in interface CL20
        Parameters:
        host_ptr - a direct or array-backed Buffer
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateImage

        public long clCreateImage​(long context,
                                  long flags,
                                  CLImageFormatImpl image_format,
                                  CLImageDescImpl image_desc,
                                  Buffer host_ptr,
                                  int[] errcode_ret,
                                  int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, const cl_image_format * image_format, const cl_image_desc * image_desc, void * host_ptr, cl_int * errcode_ret)
        Specified by:
        clCreateImage in interface CL20
        Parameters:
        host_ptr - a direct or array-backed Buffer
      • clCreatePipe

        public long clCreatePipe​(long context,
                                 long flags,
                                 int pipe_packet_size,
                                 int pipe_max_packets,
                                 PointerBuffer properties,
                                 IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_uint pipe_packet_size, cl_uint pipe_max_packets, const cl_pipe_properties * properties, cl_int * errcode_ret)
        Specified by:
        clCreatePipe in interface CL20
        Parameters:
        properties - a direct or array-backed PointerBuffer
        errcode_ret - a direct or array-backed IntBuffer
      • clCreatePipe

        public long clCreatePipe​(long context,
                                 long flags,
                                 int pipe_packet_size,
                                 int pipe_max_packets,
                                 PointerBuffer properties,
                                 int[] errcode_ret,
                                 int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_uint pipe_packet_size, cl_uint pipe_max_packets, const cl_pipe_properties * properties, cl_int * errcode_ret)
        Specified by:
        clCreatePipe in interface CL20
        Parameters:
        properties - a direct or array-backed PointerBuffer
      • clRetainMemObject

        public int clRetainMemObject​(long memobj)
        Entry point (through function pointer) to C language function:
        cl_int (cl_mem memobj)
        Specified by:
        clRetainMemObject in interface CL
        Specified by:
        clRetainMemObject in interface CL20
      • clReleaseMemObject

        public int clReleaseMemObject​(long memobj)
        Entry point (through function pointer) to C language function:
        cl_int (cl_mem memobj)
        Specified by:
        clReleaseMemObject in interface CL
        Specified by:
        clReleaseMemObject in interface CL20
      • clGetSupportedImageFormats

        public int clGetSupportedImageFormats​(long context,
                                              long flags,
                                              int image_type,
                                              int num_entries,
                                              CLImageFormatImpl image_formats,
                                              IntBuffer num_image_formats)
        Entry point (through function pointer) to C language function:
        cl_int (cl_context context, cl_mem_flags flags, cl_mem_object_type image_type, cl_uint num_entries, cl_image_format * image_formats, cl_uint * num_image_formats)
        Specified by:
        clGetSupportedImageFormats in interface CL
        Specified by:
        clGetSupportedImageFormats in interface CL20
        Parameters:
        num_image_formats - a direct or array-backed IntBuffer
      • clGetSupportedImageFormats

        public int clGetSupportedImageFormats​(long context,
                                              long flags,
                                              int image_type,
                                              int num_entries,
                                              CLImageFormatImpl image_formats,
                                              int[] num_image_formats,
                                              int num_image_formats_offset)
        Entry point (through function pointer) to C language function:
        cl_int (cl_context context, cl_mem_flags flags, cl_mem_object_type image_type, cl_uint num_entries, cl_image_format * image_formats, cl_uint * num_image_formats)
        Specified by:
        clGetSupportedImageFormats in interface CL
        Specified by:
        clGetSupportedImageFormats in interface CL20
      • clGetMemObjectInfo

        public int clGetMemObjectInfo​(long memobj,
                                      int param_name,
                                      long param_value_size,
                                      Buffer param_value,
                                      PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_mem memobj, cl_mem_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetMemObjectInfo in interface CL
        Specified by:
        clGetMemObjectInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clGetImageInfo

        public int clGetImageInfo​(long image,
                                  int param_name,
                                  long param_value_size,
                                  Buffer param_value,
                                  PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_mem image, cl_image_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetImageInfo in interface CL
        Specified by:
        clGetImageInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clGetPipeInfo

        public int clGetPipeInfo​(long pipe,
                                 int param_name,
                                 long param_value_size,
                                 Buffer param_value,
                                 PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_mem pipe, cl_pipe_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetPipeInfo in interface CL20
        Parameters:
        param_value - a direct or array-backed Buffer
        param_value_size_ret - a direct or array-backed PointerBuffer
      • clSVMAlloc

        public ByteBuffer clSVMAlloc​(long context,
                                     long flags,
                                     long size,
                                     int alignment)
        Entry point (through function pointer) to C language function:
        void * (cl_context context, cl_svm_mem_flags flags, size_t size, cl_uint alignment)
        Specified by:
        clSVMAlloc in interface CL20
      • clSVMFree

        public void clSVMFree​(long context,
                              Buffer svm_pointer)
        Entry point (through function pointer) to C language function:
        void (cl_context context, void * svm_pointer)
        Specified by:
        clSVMFree in interface CL20
        Parameters:
        svm_pointer - a direct or array-backed Buffer
      • clCreateSamplerWithProperties

        public long clCreateSamplerWithProperties​(long context,
                                                  LongBuffer normalized_coords,
                                                  IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_sampler (cl_context context, const cl_sampler_properties * normalized_coords, cl_int * errcode_ret)
        Specified by:
        clCreateSamplerWithProperties in interface CL20
        Parameters:
        normalized_coords - a direct or array-backed LongBuffer
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateSamplerWithProperties

        public long clCreateSamplerWithProperties​(long context,
                                                  long[] normalized_coords,
                                                  int normalized_coords_offset,
                                                  int[] errcode_ret,
                                                  int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_sampler (cl_context context, const cl_sampler_properties * normalized_coords, cl_int * errcode_ret)
        Specified by:
        clCreateSamplerWithProperties in interface CL20
      • clRetainSampler

        public int clRetainSampler​(long sampler)
        Entry point (through function pointer) to C language function:
        cl_int (cl_sampler sampler)
        Specified by:
        clRetainSampler in interface CL
        Specified by:
        clRetainSampler in interface CL20
      • clReleaseSampler

        public int clReleaseSampler​(long sampler)
        Entry point (through function pointer) to C language function:
        cl_int (cl_sampler sampler)
        Specified by:
        clReleaseSampler in interface CL
        Specified by:
        clReleaseSampler in interface CL20
      • clGetSamplerInfo

        public int clGetSamplerInfo​(long sampler,
                                    int param_name,
                                    long param_value_size,
                                    Buffer param_value,
                                    PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_sampler sampler, cl_sampler_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetSamplerInfo in interface CL
        Specified by:
        clGetSamplerInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clCreateProgramWithSource

        public long clCreateProgramWithSource​(long context,
                                              int count,
                                              String[] strings,
                                              PointerBuffer lengths,
                                              IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_program (cl_context context, cl_uint count, const char * * strings, const size_t * lengths, cl_int * errcode_ret)
        Specified by:
        clCreateProgramWithSource in interface CL
        Specified by:
        clCreateProgramWithSource in interface CL20
        Parameters:
        lengths - a direct only PointerBuffer
        errcode_ret - a direct only IntBuffer
      • clCreateProgramWithBuiltInKernels

        public long clCreateProgramWithBuiltInKernels​(long context,
                                                      int num_devices,
                                                      PointerBuffer device_list,
                                                      ByteBuffer kernel_names,
                                                      IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_program (cl_context context, cl_uint num_devices, const cl_device_id * device_list, const char * kernel_names, cl_int * errcode_ret)
        Specified by:
        clCreateProgramWithBuiltInKernels in interface CL20
        Parameters:
        device_list - a direct or array-backed PointerBuffer
        kernel_names - a direct or array-backed ByteBuffer
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateProgramWithBuiltInKernels

        public long clCreateProgramWithBuiltInKernels​(long context,
                                                      int num_devices,
                                                      PointerBuffer device_list,
                                                      byte[] kernel_names,
                                                      int kernel_names_offset,
                                                      int[] errcode_ret,
                                                      int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_program (cl_context context, cl_uint num_devices, const cl_device_id * device_list, const char * kernel_names, cl_int * errcode_ret)
        Specified by:
        clCreateProgramWithBuiltInKernels in interface CL20
        Parameters:
        device_list - a direct or array-backed PointerBuffer
      • clRetainProgram

        public int clRetainProgram​(long program)
        Entry point (through function pointer) to C language function:
        cl_int (cl_program program)
        Specified by:
        clRetainProgram in interface CL
        Specified by:
        clRetainProgram in interface CL20
      • clReleaseProgram

        public int clReleaseProgram​(long program)
        Entry point (through function pointer) to C language function:
        cl_int (cl_program program)
        Specified by:
        clReleaseProgram in interface CL
        Specified by:
        clReleaseProgram in interface CL20
      • clUnloadPlatformCompiler

        public int clUnloadPlatformCompiler​(long platform)
        Entry point (through function pointer) to C language function:
        cl_int (cl_platform_id platform)
        Specified by:
        clUnloadPlatformCompiler in interface CL20
      • clGetProgramInfo

        public int clGetProgramInfo​(long program,
                                    int param_name,
                                    long param_value_size,
                                    Buffer param_value,
                                    PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_program program, cl_program_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetProgramInfo in interface CL
        Specified by:
        clGetProgramInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clGetProgramBuildInfo

        public int clGetProgramBuildInfo​(long program,
                                         long device,
                                         int param_name,
                                         long param_value_size,
                                         Buffer param_value,
                                         PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_program program, cl_device_id device, cl_program_build_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetProgramBuildInfo in interface CL
        Specified by:
        clGetProgramBuildInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clCreateKernel

        public long clCreateKernel​(long program,
                                   String kernel_name,
                                   IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_kernel (cl_program program, const char * kernel_name, cl_int * errcode_ret)
        Specified by:
        clCreateKernel in interface CL
        Specified by:
        clCreateKernel in interface CL20
        Parameters:
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateKernel

        public long clCreateKernel​(long program,
                                   String kernel_name,
                                   int[] errcode_ret,
                                   int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_kernel (cl_program program, const char * kernel_name, cl_int * errcode_ret)
        Specified by:
        clCreateKernel in interface CL
        Specified by:
        clCreateKernel in interface CL20
      • clCreateKernelsInProgram

        public int clCreateKernelsInProgram​(long program,
                                            int num_kernels,
                                            PointerBuffer kernels,
                                            IntBuffer num_kernels_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_program program, cl_uint num_kernels, cl_kernel * kernels, cl_uint * num_kernels_ret)
        Specified by:
        clCreateKernelsInProgram in interface CL
        Specified by:
        clCreateKernelsInProgram in interface CL20
        Parameters:
        kernels - a direct only PointerBuffer
        num_kernels_ret - a direct only IntBuffer
      • clRetainKernel

        public int clRetainKernel​(long kernel)
        Entry point (through function pointer) to C language function:
        cl_int (cl_kernel kernel)
        Specified by:
        clRetainKernel in interface CL
        Specified by:
        clRetainKernel in interface CL20
      • clReleaseKernel

        public int clReleaseKernel​(long kernel)
        Entry point (through function pointer) to C language function:
        cl_int (cl_kernel kernel)
        Specified by:
        clReleaseKernel in interface CL
        Specified by:
        clReleaseKernel in interface CL20
      • clSetKernelArg

        public int clSetKernelArg​(long kernel,
                                  int arg_index,
                                  long arg_size,
                                  Buffer arg_value)
        Entry point (through function pointer) to C language function:
        cl_int (cl_kernel kernel, cl_uint arg_index, size_t arg_size, const void * arg_value)
        Specified by:
        clSetKernelArg in interface CL
        Specified by:
        clSetKernelArg in interface CL20
        Parameters:
        arg_value - a direct only Buffer
      • clSetKernelArgSVMPointer

        public int clSetKernelArgSVMPointer​(long kernel,
                                            int arg_index,
                                            Buffer arg_value)
        Entry point (through function pointer) to C language function:
        cl_int (cl_kernel kernel, cl_uint arg_index, const void * arg_value)
        Specified by:
        clSetKernelArgSVMPointer in interface CL20
        Parameters:
        arg_value - a direct or array-backed Buffer
      • clSetKernelExecInfo

        public int clSetKernelExecInfo​(long kernel,
                                       int param_name,
                                       long param_value_size,
                                       Buffer param_value)
        Entry point (through function pointer) to C language function:
        cl_int (cl_kernel kernel, cl_kernel_exec_info param_name, size_t param_value_size, const void * param_value)
        Specified by:
        clSetKernelExecInfo in interface CL20
        Parameters:
        param_value - a direct or array-backed Buffer
      • clGetKernelInfo

        public int clGetKernelInfo​(long kernel,
                                   int param_name,
                                   long param_value_size,
                                   Buffer param_value,
                                   PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_kernel kernel, cl_kernel_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetKernelInfo in interface CL
        Specified by:
        clGetKernelInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clGetKernelArgInfo

        public int clGetKernelArgInfo​(long kernel,
                                      int arg_indx,
                                      int param_name,
                                      long param_value_size,
                                      Buffer param_value,
                                      PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_kernel kernel, cl_uint arg_indx, cl_kernel_arg_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetKernelArgInfo in interface CL20
        Parameters:
        param_value - a direct or array-backed Buffer
        param_value_size_ret - a direct or array-backed PointerBuffer
      • clGetKernelWorkGroupInfo

        public int clGetKernelWorkGroupInfo​(long kernel,
                                            long device,
                                            int param_name,
                                            long param_value_size,
                                            Buffer param_value,
                                            PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_kernel kernel, cl_device_id device, cl_kernel_work_group_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetKernelWorkGroupInfo in interface CL
        Specified by:
        clGetKernelWorkGroupInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clWaitForEvents

        public int clWaitForEvents​(int num_events,
                                   PointerBuffer event_list)
        Entry point (through function pointer) to C language function:
        cl_int (cl_uint num_events, const cl_event * event_list)
        Specified by:
        clWaitForEvents in interface CL
        Specified by:
        clWaitForEvents in interface CL20
        Parameters:
        event_list - a direct only PointerBuffer
      • clGetEventInfo

        public int clGetEventInfo​(long event,
                                  int param_name,
                                  long param_value_size,
                                  Buffer param_value,
                                  PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_event event, cl_event_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetEventInfo in interface CL
        Specified by:
        clGetEventInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clCreateUserEvent

        public long clCreateUserEvent​(long context,
                                      IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_event (cl_context context, cl_int * errcode_ret)
        Specified by:
        clCreateUserEvent in interface CL
        Specified by:
        clCreateUserEvent in interface CL20
        Parameters:
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateUserEvent

        public long clCreateUserEvent​(long context,
                                      int[] errcode_ret,
                                      int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_event (cl_context context, cl_int * errcode_ret)
        Specified by:
        clCreateUserEvent in interface CL
        Specified by:
        clCreateUserEvent in interface CL20
      • clRetainEvent

        public int clRetainEvent​(long event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_event event)
        Specified by:
        clRetainEvent in interface CL
        Specified by:
        clRetainEvent in interface CL20
      • clReleaseEvent

        public int clReleaseEvent​(long event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_event event)
        Specified by:
        clReleaseEvent in interface CL
        Specified by:
        clReleaseEvent in interface CL20
      • clSetUserEventStatus

        public int clSetUserEventStatus​(long event,
                                        int execution_status)
        Entry point (through function pointer) to C language function:
        cl_int (cl_event event, cl_int execution_status)
        Specified by:
        clSetUserEventStatus in interface CL
        Specified by:
        clSetUserEventStatus in interface CL20
      • clGetEventProfilingInfo

        public int clGetEventProfilingInfo​(long event,
                                           int param_name,
                                           long param_value_size,
                                           Buffer param_value,
                                           PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_event event, cl_profiling_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetEventProfilingInfo in interface CL
        Specified by:
        clGetEventProfilingInfo in interface CL20
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clFlush

        public int clFlush​(long command_queue)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue)
        Specified by:
        clFlush in interface CL
        Specified by:
        clFlush in interface CL20
      • clFinish

        public int clFinish​(long command_queue)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue)
        Specified by:
        clFinish in interface CL
        Specified by:
        clFinish in interface CL20
      • clEnqueueReadBuffer

        public int clEnqueueReadBuffer​(long command_queue,
                                       long buffer,
                                       int blocking_read,
                                       long offset,
                                       long size,
                                       Buffer ptr,
                                       int num_events_in_wait_list,
                                       PointerBuffer event_wait_list,
                                       PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read, size_t offset, size_t size, void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueReadBuffer in interface CL
        Specified by:
        clEnqueueReadBuffer in interface CL20
        Parameters:
        ptr - a direct only Buffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueReadBufferRect

        public int clEnqueueReadBufferRect​(long command_queue,
                                           long buffer,
                                           int blocking_read,
                                           PointerBuffer buffer_offset,
                                           PointerBuffer host_offset,
                                           PointerBuffer region,
                                           long buffer_row_pitch,
                                           long buffer_slice_pitch,
                                           long host_row_pitch,
                                           long host_slice_pitch,
                                           Buffer ptr,
                                           int num_events_in_wait_list,
                                           PointerBuffer event_wait_list,
                                           PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read, const size_t * buffer_offset, const size_t * host_offset, const size_t * region, size_t buffer_row_pitch, size_t buffer_slice_pitch, size_t host_row_pitch, size_t host_slice_pitch, void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueReadBufferRect in interface CL
        Specified by:
        clEnqueueReadBufferRect in interface CL20
        Parameters:
        buffer_offset - a direct only PointerBuffer
        host_offset - a direct only PointerBuffer
        region - a direct only PointerBuffer
        ptr - a direct only Buffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueWriteBuffer

        public int clEnqueueWriteBuffer​(long command_queue,
                                        long buffer,
                                        int blocking_write,
                                        long offset,
                                        long size,
                                        Buffer ptr,
                                        int num_events_in_wait_list,
                                        PointerBuffer event_wait_list,
                                        PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_write, size_t offset, size_t size, const void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueWriteBuffer in interface CL
        Specified by:
        clEnqueueWriteBuffer in interface CL20
        Parameters:
        ptr - a direct only Buffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueWriteBufferRect

        public int clEnqueueWriteBufferRect​(long command_queue,
                                            long buffer,
                                            int blocking_write,
                                            PointerBuffer buffer_offset,
                                            PointerBuffer host_offset,
                                            PointerBuffer region,
                                            long buffer_row_pitch,
                                            long buffer_slice_pitch,
                                            long host_row_pitch,
                                            long host_slice_pitch,
                                            Buffer ptr,
                                            int num_events_in_wait_list,
                                            PointerBuffer event_wait_list,
                                            PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_write, const size_t * buffer_offset, const size_t * host_offset, const size_t * region, size_t buffer_row_pitch, size_t buffer_slice_pitch, size_t host_row_pitch, size_t host_slice_pitch, const void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueWriteBufferRect in interface CL
        Specified by:
        clEnqueueWriteBufferRect in interface CL20
        Parameters:
        buffer_offset - a direct only PointerBuffer
        host_offset - a direct only PointerBuffer
        region - a direct only PointerBuffer
        ptr - a direct only Buffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueFillBuffer

        public int clEnqueueFillBuffer​(long command_queue,
                                       long buffer,
                                       Buffer pattern,
                                       long pattern_size,
                                       long offset,
                                       long size,
                                       int num_events_in_wait_list,
                                       PointerBuffer event_wait_list,
                                       PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem buffer, const void * pattern, size_t pattern_size, size_t offset, size_t size, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueFillBuffer in interface CL20
        Parameters:
        pattern - a direct or array-backed Buffer
        event_wait_list - a direct or array-backed PointerBuffer
        event - a direct or array-backed PointerBuffer
      • clEnqueueCopyBuffer

        public int clEnqueueCopyBuffer​(long command_queue,
                                       long src_buffer,
                                       long dst_buffer,
                                       long src_offset,
                                       long dst_offset,
                                       long size,
                                       int num_events_in_wait_list,
                                       PointerBuffer event_wait_list,
                                       PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, size_t src_offset, size_t dst_offset, size_t size, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueCopyBuffer in interface CL
        Specified by:
        clEnqueueCopyBuffer in interface CL20
        Parameters:
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueCopyBufferRect

        public int clEnqueueCopyBufferRect​(long command_queue,
                                           long src_buffer,
                                           long dst_buffer,
                                           PointerBuffer src_origin,
                                           PointerBuffer dst_origin,
                                           PointerBuffer region,
                                           long src_row_pitch,
                                           long src_slice_pitch,
                                           long dst_row_pitch,
                                           long dst_slice_pitch,
                                           int num_events_in_wait_list,
                                           PointerBuffer event_wait_list,
                                           PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, const size_t * src_origin, const size_t * dst_origin, const size_t * region, size_t src_row_pitch, size_t src_slice_pitch, size_t dst_row_pitch, size_t dst_slice_pitch, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueCopyBufferRect in interface CL
        Specified by:
        clEnqueueCopyBufferRect in interface CL20
        Parameters:
        src_origin - a direct only PointerBuffer
        dst_origin - a direct only PointerBuffer
        region - a direct only PointerBuffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueReadImage

        public int clEnqueueReadImage​(long command_queue,
                                      long image,
                                      int blocking_read,
                                      PointerBuffer arg3,
                                      PointerBuffer arg4,
                                      long row_pitch,
                                      long slice_pitch,
                                      Buffer ptr,
                                      int num_events_in_wait_list,
                                      PointerBuffer event_wait_list,
                                      PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem image, cl_bool blocking_read, const size_t * , const size_t * , size_t row_pitch, size_t slice_pitch, void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueReadImage in interface CL
        Specified by:
        clEnqueueReadImage in interface CL20
        Parameters:
        arg3 - a direct only PointerBuffer
        arg4 - a direct only PointerBuffer
        ptr - a direct only Buffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueWriteImage

        public int clEnqueueWriteImage​(long command_queue,
                                       long image,
                                       int blocking_write,
                                       PointerBuffer arg3,
                                       PointerBuffer arg4,
                                       long input_row_pitch,
                                       long input_slice_pitch,
                                       Buffer ptr,
                                       int num_events_in_wait_list,
                                       PointerBuffer event_wait_list,
                                       PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem image, cl_bool blocking_write, const size_t * , const size_t * , size_t input_row_pitch, size_t input_slice_pitch, const void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueWriteImage in interface CL
        Specified by:
        clEnqueueWriteImage in interface CL20
        Parameters:
        arg3 - a direct only PointerBuffer
        arg4 - a direct only PointerBuffer
        ptr - a direct only Buffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueFillImage

        public int clEnqueueFillImage​(long command_queue,
                                      long image,
                                      Buffer fill_color,
                                      PointerBuffer arg3,
                                      PointerBuffer arg4,
                                      int num_events_in_wait_list,
                                      PointerBuffer event_wait_list,
                                      PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem image, const void * fill_color, const size_t * , const size_t * , cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueFillImage in interface CL20
        Parameters:
        fill_color - a direct or array-backed Buffer
        arg3 - a direct or array-backed PointerBuffer
        arg4 - a direct or array-backed PointerBuffer
        event_wait_list - a direct or array-backed PointerBuffer
        event - a direct or array-backed PointerBuffer
      • clEnqueueCopyImageToBuffer

        public int clEnqueueCopyImageToBuffer​(long command_queue,
                                              long src_image,
                                              long dst_buffer,
                                              PointerBuffer arg3,
                                              PointerBuffer arg4,
                                              long dst_offset,
                                              int num_events_in_wait_list,
                                              PointerBuffer event_wait_list,
                                              PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem src_image, cl_mem dst_buffer, const size_t * , const size_t * , size_t dst_offset, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueCopyImageToBuffer in interface CL
        Specified by:
        clEnqueueCopyImageToBuffer in interface CL20
        Parameters:
        arg3 - a direct only PointerBuffer
        arg4 - a direct only PointerBuffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueCopyBufferToImage

        public int clEnqueueCopyBufferToImage​(long command_queue,
                                              long src_buffer,
                                              long dst_image,
                                              long src_offset,
                                              PointerBuffer arg4,
                                              PointerBuffer arg5,
                                              int num_events_in_wait_list,
                                              PointerBuffer event_wait_list,
                                              PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_image, size_t src_offset, const size_t * , const size_t * , cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueCopyBufferToImage in interface CL
        Specified by:
        clEnqueueCopyBufferToImage in interface CL20
        Parameters:
        arg4 - a direct only PointerBuffer
        arg5 - a direct only PointerBuffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueMapBuffer

        public ByteBuffer clEnqueueMapBuffer​(long command_queue,
                                             long buffer,
                                             int blocking_map,
                                             long map_flags,
                                             long offset,
                                             long size,
                                             int num_events_in_wait_list,
                                             PointerBuffer event_wait_list,
                                             PointerBuffer event,
                                             IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        void * (cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_map, cl_map_flags map_flags, size_t offset, size_t size, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event, cl_int * errcode_ret)
        Specified by:
        clEnqueueMapBuffer in interface CL
        Specified by:
        clEnqueueMapBuffer in interface CL20
        Parameters:
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
        errcode_ret - a direct only IntBuffer
      • clEnqueueUnmapMemObject

        public int clEnqueueUnmapMemObject​(long command_queue,
                                           long memobj,
                                           Buffer mapped_ptr,
                                           int num_events_in_wait_list,
                                           PointerBuffer event_wait_list,
                                           PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_mem memobj, void * mapped_ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueUnmapMemObject in interface CL
        Specified by:
        clEnqueueUnmapMemObject in interface CL20
        Parameters:
        mapped_ptr - a direct only Buffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueMigrateMemObjects

        public int clEnqueueMigrateMemObjects​(long command_queue,
                                              int num_mem_objects,
                                              PointerBuffer mem_objects,
                                              long flags,
                                              int num_events_in_wait_list,
                                              PointerBuffer event_wait_list,
                                              PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_uint num_mem_objects, const cl_mem * mem_objects, cl_mem_migration_flags flags, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueMigrateMemObjects in interface CL20
        Parameters:
        mem_objects - a direct or array-backed PointerBuffer
        event_wait_list - a direct or array-backed PointerBuffer
        event - a direct or array-backed PointerBuffer
      • clEnqueueNDRangeKernel

        public int clEnqueueNDRangeKernel​(long command_queue,
                                          long kernel,
                                          int work_dim,
                                          PointerBuffer global_work_offset,
                                          PointerBuffer global_work_size,
                                          PointerBuffer local_work_size,
                                          int num_events_in_wait_list,
                                          PointerBuffer event_wait_list,
                                          PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_kernel kernel, cl_uint work_dim, const size_t * global_work_offset, const size_t * global_work_size, const size_t * local_work_size, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueNDRangeKernel in interface CL
        Specified by:
        clEnqueueNDRangeKernel in interface CL20
        Parameters:
        global_work_offset - a direct only PointerBuffer
        global_work_size - a direct only PointerBuffer
        local_work_size - a direct only PointerBuffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueMarkerWithWaitList

        public int clEnqueueMarkerWithWaitList​(long command_queue,
                                               int num_events_in_wait_list,
                                               PointerBuffer event_wait_list,
                                               PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueMarkerWithWaitList in interface CL20
        Parameters:
        event_wait_list - a direct or array-backed PointerBuffer
        event - a direct or array-backed PointerBuffer
      • clEnqueueBarrierWithWaitList

        public int clEnqueueBarrierWithWaitList​(long command_queue,
                                                int num_events_in_wait_list,
                                                PointerBuffer event_wait_list,
                                                PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueBarrierWithWaitList in interface CL20
        Parameters:
        event_wait_list - a direct or array-backed PointerBuffer
        event - a direct or array-backed PointerBuffer
      • clEnqueueSVMFree

        public int clEnqueueSVMFree​(long command_queue,
                                    int num_svm_pointers,
                                    PointerBuffer arg2,
                                    Buffer arg3,
                                    Buffer user_data,
                                    int num_events_in_wait_list,
                                    PointerBuffer event_wait_list,
                                    PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_uint num_svm_pointers, void * * , void * , void * user_data, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueSVMFree in interface CL20
        Parameters:
        arg2 - a direct or array-backed PointerBuffer
        arg3 - a direct or array-backed Buffer
        user_data - a direct or array-backed Buffer
        event_wait_list - a direct or array-backed PointerBuffer
        event - a direct or array-backed PointerBuffer
      • clEnqueueSVMMemcpy

        public int clEnqueueSVMMemcpy​(long command_queue,
                                      int blocking_copy,
                                      Buffer dst_ptr,
                                      Buffer src_ptr,
                                      long size,
                                      int num_events_in_wait_list,
                                      PointerBuffer event_wait_list,
                                      PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_bool blocking_copy, void * dst_ptr, const void * src_ptr, size_t size, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueSVMMemcpy in interface CL20
        Parameters:
        dst_ptr - a direct or array-backed Buffer
        src_ptr - a direct or array-backed Buffer
        event_wait_list - a direct or array-backed PointerBuffer
        event - a direct or array-backed PointerBuffer
      • clEnqueueSVMMemFill

        public int clEnqueueSVMMemFill​(long command_queue,
                                       Buffer svm_ptr,
                                       Buffer pattern,
                                       long pattern_size,
                                       long size,
                                       int num_events_in_wait_list,
                                       PointerBuffer event_wait_list,
                                       PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, void * svm_ptr, const void * pattern, size_t pattern_size, size_t size, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueSVMMemFill in interface CL20
        Parameters:
        svm_ptr - a direct or array-backed Buffer
        pattern - a direct or array-backed Buffer
        event_wait_list - a direct or array-backed PointerBuffer
        event - a direct or array-backed PointerBuffer
      • clEnqueueSVMMap

        public int clEnqueueSVMMap​(long command_queue,
                                   int blocking_map,
                                   long flags,
                                   Buffer svm_ptr,
                                   long size,
                                   int num_events_in_wait_list,
                                   PointerBuffer event_wait_list,
                                   PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_bool blocking_map, cl_map_flags flags, void * svm_ptr, size_t size, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueSVMMap in interface CL20
        Parameters:
        svm_ptr - a direct or array-backed Buffer
        event_wait_list - a direct or array-backed PointerBuffer
        event - a direct or array-backed PointerBuffer
      • clEnqueueSVMUnmap

        public int clEnqueueSVMUnmap​(long command_queue,
                                     Buffer svm_ptr,
                                     int num_events_in_wait_list,
                                     PointerBuffer event_wait_list,
                                     PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, void * svm_ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueSVMUnmap in interface CL20
        Parameters:
        svm_ptr - a direct or array-backed Buffer
        event_wait_list - a direct or array-backed PointerBuffer
        event - a direct or array-backed PointerBuffer
      • clGetExtensionFunctionAddressForPlatform

        public ByteBuffer clGetExtensionFunctionAddressForPlatform​(long platform,
                                                                   ByteBuffer func_name)
        Entry point (through function pointer) to C language function:
        void * (cl_platform_id platform, const char * func_name)
        Specified by:
        clGetExtensionFunctionAddressForPlatform in interface CL20
        Parameters:
        func_name - a direct or array-backed ByteBuffer
      • clGetExtensionFunctionAddressForPlatform

        public ByteBuffer clGetExtensionFunctionAddressForPlatform​(long platform,
                                                                   byte[] func_name,
                                                                   int func_name_offset)
        Entry point (through function pointer) to C language function:
        void * (cl_platform_id platform, const char * func_name)
        Specified by:
        clGetExtensionFunctionAddressForPlatform in interface CL20
      • clCreateImage2D

        public long clCreateImage2D​(long context,
                                    long flags,
                                    CLImageFormatImpl image_format,
                                    long image_width,
                                    long image_height,
                                    long image_row_pitch,
                                    Buffer host_ptr,
                                    IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, const cl_image_format * image_format, size_t image_width, size_t image_height, size_t image_row_pitch, void * host_ptr, cl_int * errcode_ret)
        Specified by:
        clCreateImage2D in interface CL
        Specified by:
        clCreateImage2D in interface CL20
        Parameters:
        host_ptr - a direct or array-backed Buffer
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateImage2D

        public long clCreateImage2D​(long context,
                                    long flags,
                                    CLImageFormatImpl image_format,
                                    long image_width,
                                    long image_height,
                                    long image_row_pitch,
                                    Buffer host_ptr,
                                    int[] errcode_ret,
                                    int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, const cl_image_format * image_format, size_t image_width, size_t image_height, size_t image_row_pitch, void * host_ptr, cl_int * errcode_ret)
        Specified by:
        clCreateImage2D in interface CL
        Specified by:
        clCreateImage2D in interface CL20
        Parameters:
        host_ptr - a direct or array-backed Buffer
      • clCreateImage3D

        public long clCreateImage3D​(long context,
                                    long flags,
                                    CLImageFormatImpl image_format,
                                    long image_width,
                                    long image_height,
                                    long image_depth,
                                    long image_row_pitch,
                                    long image_slice_pitch,
                                    Buffer host_ptr,
                                    IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, const cl_image_format * image_format, size_t image_width, size_t image_height, size_t image_depth, size_t image_row_pitch, size_t image_slice_pitch, void * host_ptr, cl_int * errcode_ret)
        Specified by:
        clCreateImage3D in interface CL
        Specified by:
        clCreateImage3D in interface CL20
        Parameters:
        host_ptr - a direct or array-backed Buffer
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateImage3D

        public long clCreateImage3D​(long context,
                                    long flags,
                                    CLImageFormatImpl image_format,
                                    long image_width,
                                    long image_height,
                                    long image_depth,
                                    long image_row_pitch,
                                    long image_slice_pitch,
                                    Buffer host_ptr,
                                    int[] errcode_ret,
                                    int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, const cl_image_format * image_format, size_t image_width, size_t image_height, size_t image_depth, size_t image_row_pitch, size_t image_slice_pitch, void * host_ptr, cl_int * errcode_ret)
        Specified by:
        clCreateImage3D in interface CL
        Specified by:
        clCreateImage3D in interface CL20
        Parameters:
        host_ptr - a direct or array-backed Buffer
      • clEnqueueMarker

        public int clEnqueueMarker​(long command_queue,
                                   PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_event * event)
        Specified by:
        clEnqueueMarker in interface CL
        Specified by:
        clEnqueueMarker in interface CL20
        Parameters:
        event - a direct only PointerBuffer
      • clEnqueueWaitForEvents

        public int clEnqueueWaitForEvents​(long command_queue,
                                          int num_events,
                                          PointerBuffer event_list)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_uint num_events, const cl_event * event_list)
        Specified by:
        clEnqueueWaitForEvents in interface CL
        Specified by:
        clEnqueueWaitForEvents in interface CL20
        Parameters:
        event_list - a direct only PointerBuffer
      • clEnqueueBarrier

        public int clEnqueueBarrier​(long command_queue)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue)
        Specified by:
        clEnqueueBarrier in interface CL
        Specified by:
        clEnqueueBarrier in interface CL20
      • clUnloadCompiler

        public int clUnloadCompiler()
        Entry point (through function pointer) to C language function:
        cl_int (void)
        Specified by:
        clUnloadCompiler in interface CL
        Specified by:
        clUnloadCompiler in interface CL20
      • clCreateCommandQueue

        public long clCreateCommandQueue​(long context,
                                         long device,
                                         long properties,
                                         IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_command_queue (cl_context context, cl_device_id device, cl_command_queue_properties properties, cl_int * errcode_ret)
        Specified by:
        clCreateCommandQueue in interface CL
        Specified by:
        clCreateCommandQueue in interface CL20
        Parameters:
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateCommandQueue

        public long clCreateCommandQueue​(long context,
                                         long device,
                                         long properties,
                                         int[] errcode_ret,
                                         int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_command_queue (cl_context context, cl_device_id device, cl_command_queue_properties properties, cl_int * errcode_ret)
        Specified by:
        clCreateCommandQueue in interface CL
        Specified by:
        clCreateCommandQueue in interface CL20
      • clCreateSampler

        public long clCreateSampler​(long context,
                                    int normalized_coords,
                                    int addressing_mode,
                                    int filter_mode,
                                    IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_sampler (cl_context context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int * errcode_ret)
        Specified by:
        clCreateSampler in interface CL
        Specified by:
        clCreateSampler in interface CL20
        Parameters:
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateSampler

        public long clCreateSampler​(long context,
                                    int normalized_coords,
                                    int addressing_mode,
                                    int filter_mode,
                                    int[] errcode_ret,
                                    int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_sampler (cl_context context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int * errcode_ret)
        Specified by:
        clCreateSampler in interface CL
        Specified by:
        clCreateSampler in interface CL20
      • clEnqueueTask

        public int clEnqueueTask​(long command_queue,
                                 long kernel,
                                 int num_events_in_wait_list,
                                 PointerBuffer event_wait_list,
                                 PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_kernel kernel, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueTask in interface CL
        Specified by:
        clEnqueueTask in interface CL20
        Parameters:
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clTerminateContextKHR

        public int clTerminateContextKHR​(long arg0)
        Entry point (through function pointer) to C language function:
        cl_int (cl_context)
        Specified by:
        clTerminateContextKHR in interface CL20
      • clReleaseDeviceEXT

        public int clReleaseDeviceEXT​(long arg0)
        Entry point (through function pointer) to C language function:
        cl_int (cl_device_id)
        Specified by:
        clReleaseDeviceEXT in interface CL
        Specified by:
        clReleaseDeviceEXT in interface CL20
      • clRetainDeviceEXT

        public int clRetainDeviceEXT​(long arg0)
        Entry point (through function pointer) to C language function:
        cl_int (cl_device_id)
        Specified by:
        clRetainDeviceEXT in interface CL
        Specified by:
        clRetainDeviceEXT in interface CL20
      • clCreateSubDevicesEXT

        public int clCreateSubDevicesEXT​(long arg0,
                                         long[] arg1,
                                         int arg1_offset,
                                         int arg2,
                                         PointerBuffer arg3,
                                         int[] arg4,
                                         int arg4_offset)
        Entry point (through function pointer) to C language function:
        cl_int (cl_device_id, const cl_device_partition_property_ext * , cl_uint, cl_device_id * , cl_uint * )
        Specified by:
        clCreateSubDevicesEXT in interface CL
        Specified by:
        clCreateSubDevicesEXT in interface CL20
        Parameters:
        arg3 - a direct or array-backed PointerBuffer
      • clCreateFromGLBuffer

        public long clCreateFromGLBuffer​(long context,
                                         long flags,
                                         int bufobj,
                                         IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_GLuint bufobj, int * errcode_ret)
        Specified by:
        clCreateFromGLBuffer in interface CL
        Specified by:
        clCreateFromGLBuffer in interface CL20
        Parameters:
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateFromGLBuffer

        public long clCreateFromGLBuffer​(long context,
                                         long flags,
                                         int bufobj,
                                         int[] errcode_ret,
                                         int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_GLuint bufobj, int * errcode_ret)
        Specified by:
        clCreateFromGLBuffer in interface CL
        Specified by:
        clCreateFromGLBuffer in interface CL20
      • clCreateFromGLTexture

        public long clCreateFromGLTexture​(long context,
                                          long flags,
                                          int target,
                                          int miplevel,
                                          int texture,
                                          IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int * errcode_ret)
        Specified by:
        clCreateFromGLTexture in interface CL20
        Parameters:
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateFromGLTexture

        public long clCreateFromGLTexture​(long context,
                                          long flags,
                                          int target,
                                          int miplevel,
                                          int texture,
                                          int[] errcode_ret,
                                          int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int * errcode_ret)
        Specified by:
        clCreateFromGLTexture in interface CL20
      • clCreateFromGLRenderbuffer

        public long clCreateFromGLRenderbuffer​(long context,
                                               long flags,
                                               int renderbuffer,
                                               IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_GLuint renderbuffer, cl_int * errcode_ret)
        Specified by:
        clCreateFromGLRenderbuffer in interface CL
        Specified by:
        clCreateFromGLRenderbuffer in interface CL20
        Parameters:
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateFromGLRenderbuffer

        public long clCreateFromGLRenderbuffer​(long context,
                                               long flags,
                                               int renderbuffer,
                                               int[] errcode_ret,
                                               int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_GLuint renderbuffer, cl_int * errcode_ret)
        Specified by:
        clCreateFromGLRenderbuffer in interface CL
        Specified by:
        clCreateFromGLRenderbuffer in interface CL20
      • clGetGLObjectInfo

        public int clGetGLObjectInfo​(long memobj,
                                     IntBuffer gl_object_type,
                                     IntBuffer gl_object_name)
        Entry point (through function pointer) to C language function:
        cl_int (cl_mem memobj, cl_gl_object_type * gl_object_type, cl_GLuint * gl_object_name)
        Specified by:
        clGetGLObjectInfo in interface CL
        Specified by:
        clGetGLObjectInfo in interface CL20
        Parameters:
        gl_object_type - a direct or array-backed IntBuffer
        gl_object_name - a direct or array-backed IntBuffer
      • clGetGLObjectInfo

        public int clGetGLObjectInfo​(long memobj,
                                     int[] gl_object_type,
                                     int gl_object_type_offset,
                                     int[] gl_object_name,
                                     int gl_object_name_offset)
        Entry point (through function pointer) to C language function:
        cl_int (cl_mem memobj, cl_gl_object_type * gl_object_type, cl_GLuint * gl_object_name)
        Specified by:
        clGetGLObjectInfo in interface CL
        Specified by:
        clGetGLObjectInfo in interface CL20
      • clGetGLTextureInfo

        public int clGetGLTextureInfo​(long memobj,
                                      int param_name,
                                      long param_value_size,
                                      Buffer param_value,
                                      PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (cl_mem memobj, cl_gl_texture_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetGLTextureInfo in interface CL
        Specified by:
        clGetGLTextureInfo in interface CL20
        Parameters:
        param_value - a direct or array-backed Buffer
        param_value_size_ret - a direct or array-backed PointerBuffer
      • clEnqueueAcquireGLObjects

        public int clEnqueueAcquireGLObjects​(long command_queue,
                                             int num_objects,
                                             PointerBuffer mem_objects,
                                             int num_events_in_wait_list,
                                             PointerBuffer event_wait_list,
                                             PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_uint num_objects, const cl_mem * mem_objects, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueAcquireGLObjects in interface CL
        Specified by:
        clEnqueueAcquireGLObjects in interface CL20
        Parameters:
        mem_objects - a direct only PointerBuffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clEnqueueReleaseGLObjects

        public int clEnqueueReleaseGLObjects​(long command_queue,
                                             int num_objects,
                                             PointerBuffer mem_objects,
                                             int num_events_in_wait_list,
                                             PointerBuffer event_wait_list,
                                             PointerBuffer event)
        Entry point (through function pointer) to C language function:
        cl_int (cl_command_queue command_queue, cl_uint num_objects, const cl_mem * mem_objects, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)
        Specified by:
        clEnqueueReleaseGLObjects in interface CL
        Specified by:
        clEnqueueReleaseGLObjects in interface CL20
        Parameters:
        mem_objects - a direct only PointerBuffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • clCreateFromGLTexture2D

        public long clCreateFromGLTexture2D​(long context,
                                            long flags,
                                            int target,
                                            int miplevel,
                                            int texture,
                                            IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int * errcode_ret)
        Specified by:
        clCreateFromGLTexture2D in interface CL
        Specified by:
        clCreateFromGLTexture2D in interface CL20
        Parameters:
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateFromGLTexture2D

        public long clCreateFromGLTexture2D​(long context,
                                            long flags,
                                            int target,
                                            int miplevel,
                                            int texture,
                                            int[] errcode_ret,
                                            int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int * errcode_ret)
        Specified by:
        clCreateFromGLTexture2D in interface CL
        Specified by:
        clCreateFromGLTexture2D in interface CL20
      • clCreateFromGLTexture3D

        public long clCreateFromGLTexture3D​(long context,
                                            long flags,
                                            int target,
                                            int miplevel,
                                            int texture,
                                            IntBuffer errcode_ret)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int * errcode_ret)
        Specified by:
        clCreateFromGLTexture3D in interface CL
        Specified by:
        clCreateFromGLTexture3D in interface CL20
        Parameters:
        errcode_ret - a direct or array-backed IntBuffer
      • clCreateFromGLTexture3D

        public long clCreateFromGLTexture3D​(long context,
                                            long flags,
                                            int target,
                                            int miplevel,
                                            int texture,
                                            int[] errcode_ret,
                                            int errcode_ret_offset)
        Entry point (through function pointer) to C language function:
        cl_mem (cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int * errcode_ret)
        Specified by:
        clCreateFromGLTexture3D in interface CL
        Specified by:
        clCreateFromGLTexture3D in interface CL20
      • clGetGLContextInfoKHR

        public int clGetGLContextInfoKHR​(PointerBuffer properties,
                                         int param_name,
                                         long param_value_size,
                                         Buffer param_value,
                                         PointerBuffer param_value_size_ret)
        Entry point (through function pointer) to C language function:
        cl_int (const cl_context_properties * properties, cl_gl_context_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
        Specified by:
        clGetGLContextInfoKHR in interface CL
        Specified by:
        clGetGLContextInfoKHR in interface CL20
        Parameters:
        properties - a direct only PointerBuffer
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • clCreateEventFromGLsyncKHR

        public long clCreateEventFromGLsyncKHR​(long arg0,
                                               long arg1,
                                               IntBuffer arg2)
        Entry point (through function pointer) to C language function:
        cl_event (cl_context, cl_GLsync, cl_int * )
        Specified by:
        clCreateEventFromGLsyncKHR in interface CL
        Specified by:
        clCreateEventFromGLsyncKHR in interface CL20
        Parameters:
        arg2 - a direct or array-backed IntBuffer
      • clCreateEventFromGLsyncKHR

        public long clCreateEventFromGLsyncKHR​(long arg0,
                                               long arg1,
                                               int[] arg2,
                                               int arg2_offset)
        Entry point (through function pointer) to C language function:
        cl_event (cl_context, cl_GLsync, cl_int * )
        Specified by:
        clCreateEventFromGLsyncKHR in interface CL
        Specified by:
        clCreateEventFromGLsyncKHR in interface CL20
      • init

        protected void init()
      • isAvailable

        public static boolean isAvailable()
        Accessor.
      • clCreateContext

        public long clCreateContext​(PointerBuffer properties,
                                    PointerBuffer devices,
                                    CLErrorHandler pfn_notify,
                                    IntBuffer errcode_ret)
        Description copied from interface: CL
        Interface to C language function:
        cl_context (intptr_t * , uint32_t, cl_device_id * , void (*pfn_notify)(const char *, const void *, size_t, void *), void *, int32_t * );
        Specified by:
        clCreateContext in interface CL
      • clCreateContextFromType

        public long clCreateContextFromType​(PointerBuffer properties,
                                            long device_type,
                                            CLErrorHandler pfn_notify,
                                            IntBuffer errcode_ret)
        Description copied from interface: CL
        Interface to C language function:
        cl_context (cl_context_properties *properties, cl_device_type device_type, void (*pfn_notify)(const char *errinfo, const void *private_info, size_t cb, void *user_data), void *user_data, cl_int *errcode_ret) ;
        Specified by:
        clCreateContextFromType in interface CL
      • clReleaseContext

        public int clReleaseContext​(long context)
        Description copied from interface: CL
        Interface to C language function:
        cl_int (cl_context context)
        Specified by:
        clReleaseContext in interface CL
      • clReleaseContextImpl

        public int clReleaseContextImpl​(long context,
                                        long global,
                                        long address)
        Interface to C language function:
        int32_t (cl_context context);
      • clBuildProgram

        public int clBuildProgram​(long program,
                                  int deviceCount,
                                  PointerBuffer deviceList,
                                  String options,
                                  BuildProgramCallback cb)
        Interface to C language function:
        int32_t clBuildProgram(cl_program, uint32_t, cl_device_id * , const char * , void * );
        Specified by:
        clBuildProgram in interface CL
      • clSetEventCallback

        public int clSetEventCallback​(long event,
                                      int trigger,
                                      CLEventCallback callback)
        Description copied from interface: CL
        Interface to C language function:
        int32_t (cl_event event, cl_int command_exec_callback_type, void (CL_CALLBACK *pfn_event_notify) (cl_event event, cl_int event_command_exec_status, void *user_data), void *user_data);
        Specified by:
        clSetEventCallback in interface CL
      • clSetMemObjectDestructorCallback

        public int clSetMemObjectDestructorCallback​(long memObjID,
                                                    CLMemObjectDestructorCallback cb)
        Description copied from interface: CL
        Interface to C language function:
        int32_t (cl_mem memobj, void (CL_CALLBACK *pfn_notify) (cl_mem memobj, void *user_data), void *user_data);
        Specified by:
        clSetMemObjectDestructorCallback in interface CL