Class CLImpl11

  • All Implemented Interfaces:
    CL, CL11

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

      • CLImpl11

        public CLImpl11()
    • 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 CL11
        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 CL11
        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 CL11
        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 CL11
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • 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 CL11
      • 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 CL11
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • 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 CL11
        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 CL11
      • 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 CL11
      • 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 CL11
      • 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 CL11
        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 CL11
        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 CL11
        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 CL11
        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 CL11
        Parameters:
        buffer_create_info - a direct or array-backed Buffer
      • 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 CL11
        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 CL11
        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 CL11
        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 CL11
        Parameters:
        host_ptr - a direct or array-backed Buffer
      • 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 CL11
      • 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 CL11
      • 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 CL11
        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 CL11
      • 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 CL11
        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 CL11
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only PointerBuffer
      • 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 CL11
        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 CL11
      • 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 CL11
      • 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 CL11
      • 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 CL11
        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 CL11
        Parameters:
        lengths - a direct only PointerBuffer
        errcode_ret - a direct only IntBuffer
      • 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 CL11
      • 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 CL11
      • clUnloadCompiler

        public int clUnloadCompiler()
        Entry point (through function pointer) to C language function:
        cl_int ()
        Specified by:
        clUnloadCompiler in interface CL
        Specified by:
        clUnloadCompiler in interface CL11
      • 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 CL11
        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 CL11
        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 CL11
        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 CL11
      • 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 CL11
        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 CL11
      • 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 CL11
      • 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 CL11
        Parameters:
        arg_value - a direct only 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 CL11
        Parameters:
        param_value - a direct only Buffer
        param_value_size_ret - a direct only 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 CL11
        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 CL11
        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 CL11
        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 CL11
        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 CL11
      • 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 CL11
      • 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 CL11
      • 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 CL11
      • 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 CL11
        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 CL11
      • 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 CL11
      • clEnqueueReadBuffer

        public int clEnqueueReadBuffer​(long command_queue,
                                       long buffer,
                                       int blocking_read,
                                       long offset,
                                       long cb,
                                       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 cb, 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 CL11
        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_origin,
                                           PointerBuffer host_origin,
                                           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_origin, const size_t * host_origin, 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 CL11
        Parameters:
        buffer_origin - a direct only PointerBuffer
        host_origin - 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 cb,
                                        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 cb, 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 CL11
        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_origin,
                                            PointerBuffer host_origin,
                                            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_origin, const size_t * host_origin, 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 CL11
        Parameters:
        buffer_origin - a direct only PointerBuffer
        host_origin - 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
      • clEnqueueCopyBuffer

        public int clEnqueueCopyBuffer​(long command_queue,
                                       long src_buffer,
                                       long dst_buffer,
                                       long src_offset,
                                       long dst_offset,
                                       long cb,
                                       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 cb, 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 CL11
        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 CL11
        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 CL11
        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 CL11
        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
      • 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 CL11
        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 CL11
        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 cb,
                                             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 cb, 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 CL11
        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 CL11
        Parameters:
        mapped_ptr - a direct only Buffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only 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 CL11
        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
      • 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 CL11
        Parameters:
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • 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 CL11
        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 CL11
        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 CL11
      • 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 CL11
      • 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 CL11
      • 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 CL11
        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 CL11
        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 CL11
      • 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 CL11
        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 CL11
      • 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 CL11
        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 CL11
      • 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 CL11
        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 CL11
      • 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 CL11
        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 CL11
      • 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 CL11
        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 CL11
        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 CL11
        Parameters:
        mem_objects - a direct only PointerBuffer
        event_wait_list - a direct only PointerBuffer
        event - a direct only PointerBuffer
      • 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 CL11
        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 CL11
        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 CL11
      • 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