Class CL20

Direct Known Subclasses:
CL21

public class CL20 extends CL12
  • Field Details

    • CL_VERSION_2_0

      public static final int CL_VERSION_2_0
      See Also:
    • CL_INVALID_PIPE_SIZE

      public static final int CL_INVALID_PIPE_SIZE
      See Also:
    • CL_INVALID_DEVICE_QUEUE

      public static final int CL_INVALID_DEVICE_QUEUE
      See Also:
    • CL_DEVICE_QUEUE_ON_HOST_PROPERTIES

      public static final int CL_DEVICE_QUEUE_ON_HOST_PROPERTIES
      See Also:
    • CL_DEVICE_IMAGE_PITCH_ALIGNMENT

      public static final int CL_DEVICE_IMAGE_PITCH_ALIGNMENT
      See Also:
    • CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT

      public static final int CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT
      See Also:
    • CL_DEVICE_MAX_READ_WRITE_IMAGE_ARGS

      public static final int CL_DEVICE_MAX_READ_WRITE_IMAGE_ARGS
      See Also:
    • CL_DEVICE_MAX_GLOBAL_VARIABLE_SIZE

      public static final int CL_DEVICE_MAX_GLOBAL_VARIABLE_SIZE
      See Also:
    • CL_DEVICE_QUEUE_ON_DEVICE_PROPERTIES

      public static final int CL_DEVICE_QUEUE_ON_DEVICE_PROPERTIES
      See Also:
    • CL_DEVICE_QUEUE_ON_DEVICE_PREFERRED_SIZE

      public static final int CL_DEVICE_QUEUE_ON_DEVICE_PREFERRED_SIZE
      See Also:
    • CL_DEVICE_QUEUE_ON_DEVICE_MAX_SIZE

      public static final int CL_DEVICE_QUEUE_ON_DEVICE_MAX_SIZE
      See Also:
    • CL_DEVICE_MAX_ON_DEVICE_QUEUES

      public static final int CL_DEVICE_MAX_ON_DEVICE_QUEUES
      See Also:
    • CL_DEVICE_MAX_ON_DEVICE_EVENTS

      public static final int CL_DEVICE_MAX_ON_DEVICE_EVENTS
      See Also:
    • CL_DEVICE_SVM_CAPABILITIES

      public static final int CL_DEVICE_SVM_CAPABILITIES
      See Also:
    • CL_DEVICE_GLOBAL_VARIABLE_PREFERRED_TOTAL_SIZE

      public static final int CL_DEVICE_GLOBAL_VARIABLE_PREFERRED_TOTAL_SIZE
      See Also:
    • CL_DEVICE_MAX_PIPE_ARGS

      public static final int CL_DEVICE_MAX_PIPE_ARGS
      See Also:
    • CL_DEVICE_PIPE_MAX_ACTIVE_RESERVATIONS

      public static final int CL_DEVICE_PIPE_MAX_ACTIVE_RESERVATIONS
      See Also:
    • CL_DEVICE_PIPE_MAX_PACKET_SIZE

      public static final int CL_DEVICE_PIPE_MAX_PACKET_SIZE
      See Also:
    • CL_DEVICE_PREFERRED_PLATFORM_ATOMIC_ALIGNMENT

      public static final int CL_DEVICE_PREFERRED_PLATFORM_ATOMIC_ALIGNMENT
      See Also:
    • CL_DEVICE_PREFERRED_GLOBAL_ATOMIC_ALIGNMENT

      public static final int CL_DEVICE_PREFERRED_GLOBAL_ATOMIC_ALIGNMENT
      See Also:
    • CL_DEVICE_PREFERRED_LOCAL_ATOMIC_ALIGNMENT

      public static final int CL_DEVICE_PREFERRED_LOCAL_ATOMIC_ALIGNMENT
      See Also:
    • CL_QUEUE_ON_DEVICE

      public static final long CL_QUEUE_ON_DEVICE
      See Also:
    • CL_QUEUE_ON_DEVICE_DEFAULT

      public static final long CL_QUEUE_ON_DEVICE_DEFAULT
      See Also:
    • CL_DEVICE_SVM_COARSE_GRAIN_BUFFER

      public static final long CL_DEVICE_SVM_COARSE_GRAIN_BUFFER
      See Also:
    • CL_DEVICE_SVM_FINE_GRAIN_BUFFER

      public static final long CL_DEVICE_SVM_FINE_GRAIN_BUFFER
      See Also:
    • CL_DEVICE_SVM_FINE_GRAIN_SYSTEM

      public static final long CL_DEVICE_SVM_FINE_GRAIN_SYSTEM
      See Also:
    • CL_DEVICE_SVM_ATOMICS

      public static final long CL_DEVICE_SVM_ATOMICS
      See Also:
    • CL_QUEUE_SIZE

      public static final int CL_QUEUE_SIZE
      See Also:
    • CL_MEM_SVM_FINE_GRAIN_BUFFER

      public static final long CL_MEM_SVM_FINE_GRAIN_BUFFER
      See Also:
    • CL_MEM_SVM_ATOMICS

      public static final long CL_MEM_SVM_ATOMICS
      See Also:
    • CL_MEM_KERNEL_READ_AND_WRITE

      public static final long CL_MEM_KERNEL_READ_AND_WRITE
      See Also:
    • CL_MEM_OBJECT_PIPE

      public static final int CL_MEM_OBJECT_PIPE
      See Also:
    • CL_MEM_USES_SVM_POINTER

      public static final int CL_MEM_USES_SVM_POINTER
      See Also:
    • CL_sRGB

      public static final int CL_sRGB
      See Also:
    • CL_sRGBx

      public static final int CL_sRGBx
      See Also:
    • CL_sRGBA

      public static final int CL_sRGBA
      See Also:
    • CL_sBGRA

      public static final int CL_sBGRA
      See Also:
    • CL_ABGR

      public static final int CL_ABGR
      See Also:
    • CL_PIPE_PACKET_SIZE

      public static final int CL_PIPE_PACKET_SIZE
      See Also:
    • CL_PIPE_MAX_PACKETS

      public static final int CL_PIPE_MAX_PACKETS
      See Also:
    • CL_SAMPLER_MIP_FILTER_MODE

      public static final int CL_SAMPLER_MIP_FILTER_MODE
      See Also:
    • CL_SAMPLER_LOD_MIN

      public static final int CL_SAMPLER_LOD_MIN
      See Also:
    • CL_SAMPLER_LOD_MAX

      public static final int CL_SAMPLER_LOD_MAX
      See Also:
    • CL_PROGRAM_BUILD_GLOBAL_VARIABLE_TOTAL_SIZE

      public static final int CL_PROGRAM_BUILD_GLOBAL_VARIABLE_TOTAL_SIZE
      See Also:
    • CL_KERNEL_ARG_TYPE_PIPE

      public static final long CL_KERNEL_ARG_TYPE_PIPE
      See Also:
    • CL_KERNEL_EXEC_INFO_SVM_PTRS

      public static final int CL_KERNEL_EXEC_INFO_SVM_PTRS
      See Also:
    • CL_KERNEL_EXEC_INFO_SVM_FINE_GRAIN_SYSTEM

      public static final int CL_KERNEL_EXEC_INFO_SVM_FINE_GRAIN_SYSTEM
      See Also:
    • CL_COMMAND_SVM_FREE

      public static final int CL_COMMAND_SVM_FREE
      See Also:
    • CL_COMMAND_SVM_MEMCPY

      public static final int CL_COMMAND_SVM_MEMCPY
      See Also:
    • CL_COMMAND_SVM_MEMFILL

      public static final int CL_COMMAND_SVM_MEMFILL
      See Also:
    • CL_COMMAND_SVM_MAP

      public static final int CL_COMMAND_SVM_MAP
      See Also:
    • CL_COMMAND_SVM_UNMAP

      public static final int CL_COMMAND_SVM_UNMAP
      See Also:
    • CL_PROFILING_COMMAND_COMPLETE

      public static final int CL_PROFILING_COMMAND_COMPLETE
      See Also:
  • Method Details

    • nclCreateCommandQueueWithProperties

      public static long nclCreateCommandQueueWithProperties(long context, long device, long properties, long errcode_ret)
      cl_command_queue clCreateCommandQueueWithProperties(cl_context context, cl_device_id device, cl_queue_properties const * properties, cl_int * errcode_ret)
    • clCreateCommandQueueWithProperties

      @NativeType("cl_command_queue") public static long clCreateCommandQueueWithProperties(@NativeType("cl_context") long context, @NativeType("cl_device_id") long device, @NativeType("cl_queue_properties const *") @Nullable LongBuffer properties, @NativeType("cl_int *") @Nullable IntBuffer errcode_ret)
      cl_command_queue clCreateCommandQueueWithProperties(cl_context context, cl_device_id device, cl_queue_properties const * properties, cl_int * errcode_ret)
    • nclCreatePipe

      public static long nclCreatePipe(long context, long flags, int pipe_packet_size, int pipe_max_packets, long properties, long errcode_ret)
      cl_mem clCreatePipe(cl_context context, cl_mem_flags flags, cl_uint pipe_packet_size, cl_uint pipe_max_packets, cl_pipe_properties const * properties, cl_int * errcode_ret)
    • clCreatePipe

      @NativeType("cl_mem") public static long clCreatePipe(@NativeType("cl_context") long context, @NativeType("cl_mem_flags") long flags, @NativeType("cl_uint") int pipe_packet_size, @NativeType("cl_uint") int pipe_max_packets, @NativeType("cl_pipe_properties const *") @Nullable PointerBuffer properties, @NativeType("cl_int *") @Nullable IntBuffer errcode_ret)
      cl_mem clCreatePipe(cl_context context, cl_mem_flags flags, cl_uint pipe_packet_size, cl_uint pipe_max_packets, cl_pipe_properties const * properties, cl_int * errcode_ret)
    • nclGetPipeInfo

      public static int nclGetPipeInfo(long pipe, int param_name, long param_value_size, long param_value, long param_value_size_ret)
      cl_int clGetPipeInfo(cl_mem pipe, cl_pipe_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
    • clGetPipeInfo

      @NativeType("cl_int") public static int clGetPipeInfo(@NativeType("cl_mem") long pipe, @NativeType("cl_pipe_info") int param_name, @NativeType("void *") @Nullable ByteBuffer param_value, @NativeType("size_t *") @Nullable PointerBuffer param_value_size_ret)
      cl_int clGetPipeInfo(cl_mem pipe, cl_pipe_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
    • clGetPipeInfo

      @NativeType("cl_int") public static int clGetPipeInfo(@NativeType("cl_mem") long pipe, @NativeType("cl_pipe_info") int param_name, @NativeType("void *") @Nullable IntBuffer param_value, @NativeType("size_t *") @Nullable PointerBuffer param_value_size_ret)
      cl_int clGetPipeInfo(cl_mem pipe, cl_pipe_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
    • nclSVMAlloc

      public static long nclSVMAlloc(long context, long flags, long size, int alignment)
      void * clSVMAlloc(cl_context context, cl_svm_mem_flags flags, size_t size, unsigned int alignment)
    • clSVMAlloc

      @NativeType("void *") public static @Nullable ByteBuffer clSVMAlloc(@NativeType("cl_context") long context, @NativeType("cl_svm_mem_flags") long flags, @NativeType("size_t") long size, @NativeType("unsigned int") int alignment)
      void * clSVMAlloc(cl_context context, cl_svm_mem_flags flags, size_t size, unsigned int alignment)
    • nclSVMFree

      public static void nclSVMFree(long context, long svm_pointer)
      void clSVMFree(cl_context context, void * svm_pointer)
    • clSVMFree

      public static void clSVMFree(@NativeType("cl_context") long context, @NativeType("void *") ByteBuffer svm_pointer)
      void clSVMFree(cl_context context, void * svm_pointer)
    • nclEnqueueSVMFree

      public static int nclEnqueueSVMFree(long command_queue, int num_svm_pointers, long svm_pointers, long pfn_free_func, long user_data, int num_events_in_wait_list, long event_wait_list, long event)
      cl_int clEnqueueSVMFree(cl_command_queue command_queue, cl_uint num_svm_pointers, void ** svm_pointers, void (*) (cl_command_queue, cl_uint, void **, void *) pfn_free_func, void * user_data, cl_uint num_events_in_wait_list, cl_event const * event_wait_list, cl_event * event)
    • clEnqueueSVMFree

      @NativeType("cl_int") public static int clEnqueueSVMFree(@NativeType("cl_command_queue") long command_queue, @NativeType("void **") PointerBuffer svm_pointers, @NativeType("void (*) (cl_command_queue, cl_uint, void **, void *)") @Nullable CLSVMFreeCallbackI pfn_free_func, @NativeType("void *") long user_data, @NativeType("cl_event const *") @Nullable PointerBuffer event_wait_list, @NativeType("cl_event *") @Nullable PointerBuffer event)
      cl_int clEnqueueSVMFree(cl_command_queue command_queue, cl_uint num_svm_pointers, void ** svm_pointers, void (*) (cl_command_queue, cl_uint, void **, void *) pfn_free_func, void * user_data, cl_uint num_events_in_wait_list, cl_event const * event_wait_list, cl_event * event)
    • nclEnqueueSVMMemcpy

      public static int nclEnqueueSVMMemcpy(long command_queue, int blocking_copy, long dst_ptr, long src_ptr, long size, int num_events_in_wait_list, long event_wait_list, long event)
      cl_int clEnqueueSVMMemcpy(cl_command_queue command_queue, cl_bool blocking_copy, void * dst_ptr, void const * src_ptr, size_t size, cl_uint num_events_in_wait_list, cl_event const * event_wait_list, cl_event * event)
    • clEnqueueSVMMemcpy

      @NativeType("cl_int") public static int clEnqueueSVMMemcpy(@NativeType("cl_command_queue") long command_queue, @NativeType("cl_bool") boolean blocking_copy, @NativeType("void *") ByteBuffer dst_ptr, @NativeType("void const *") ByteBuffer src_ptr, @NativeType("cl_event const *") @Nullable PointerBuffer event_wait_list, @NativeType("cl_event *") @Nullable PointerBuffer event)
      cl_int clEnqueueSVMMemcpy(cl_command_queue command_queue, cl_bool blocking_copy, void * dst_ptr, void const * src_ptr, size_t size, cl_uint num_events_in_wait_list, cl_event const * event_wait_list, cl_event * event)
    • nclEnqueueSVMMemFill

      public static int nclEnqueueSVMMemFill(long command_queue, long svm_ptr, long pattern, long pattern_size, long size, int num_events_in_wait_list, long event_wait_list, long event)
      cl_int clEnqueueSVMMemFill(cl_command_queue command_queue, void * svm_ptr, void const * pattern, size_t pattern_size, size_t size, cl_uint num_events_in_wait_list, cl_event const * event_wait_list, cl_event * event)
    • clEnqueueSVMMemFill

      @NativeType("cl_int") public static int clEnqueueSVMMemFill(@NativeType("cl_command_queue") long command_queue, @NativeType("void *") ByteBuffer svm_ptr, @NativeType("void const *") ByteBuffer pattern, @NativeType("cl_event const *") @Nullable PointerBuffer event_wait_list, @NativeType("cl_event *") @Nullable PointerBuffer event)
      cl_int clEnqueueSVMMemFill(cl_command_queue command_queue, void * svm_ptr, void const * pattern, size_t pattern_size, size_t size, cl_uint num_events_in_wait_list, cl_event const * event_wait_list, cl_event * event)
    • nclEnqueueSVMMap

      public static int nclEnqueueSVMMap(long command_queue, int blocking_map, long map_flags, long svm_ptr, long size, int num_events_in_wait_list, long event_wait_list, long event)
      cl_int clEnqueueSVMMap(cl_command_queue command_queue, cl_bool blocking_map, cl_map_flags map_flags, void * svm_ptr, size_t size, cl_uint num_events_in_wait_list, cl_event const * event_wait_list, cl_event * event)
    • clEnqueueSVMMap

      @NativeType("cl_int") public static int clEnqueueSVMMap(@NativeType("cl_command_queue") long command_queue, @NativeType("cl_bool") boolean blocking_map, @NativeType("cl_map_flags") long map_flags, @NativeType("void *") ByteBuffer svm_ptr, @NativeType("cl_event const *") @Nullable PointerBuffer event_wait_list, @NativeType("cl_event *") @Nullable PointerBuffer event)
      cl_int clEnqueueSVMMap(cl_command_queue command_queue, cl_bool blocking_map, cl_map_flags map_flags, void * svm_ptr, size_t size, cl_uint num_events_in_wait_list, cl_event const * event_wait_list, cl_event * event)
    • nclEnqueueSVMUnmap

      public static int nclEnqueueSVMUnmap(long command_queue, long svm_ptr, int num_events_in_wait_list, long event_wait_list, long event)
      cl_int clEnqueueSVMUnmap(cl_command_queue command_queue, void * svm_ptr, cl_uint num_events_in_wait_list, cl_event const * event_wait_list, cl_event * event)
    • clEnqueueSVMUnmap

      @NativeType("cl_int") public static int clEnqueueSVMUnmap(@NativeType("cl_command_queue") long command_queue, @NativeType("void *") ByteBuffer svm_ptr, @NativeType("cl_event const *") @Nullable PointerBuffer event_wait_list, @NativeType("cl_event *") @Nullable PointerBuffer event)
      cl_int clEnqueueSVMUnmap(cl_command_queue command_queue, void * svm_ptr, cl_uint num_events_in_wait_list, cl_event const * event_wait_list, cl_event * event)
    • nclSetKernelArgSVMPointer

      public static int nclSetKernelArgSVMPointer(long kernel, int arg_index, long arg_value)
      cl_int clSetKernelArgSVMPointer(cl_kernel kernel, cl_uint arg_index, void const * arg_value)
    • clSetKernelArgSVMPointer

      @NativeType("cl_int") public static int clSetKernelArgSVMPointer(@NativeType("cl_kernel") long kernel, @NativeType("cl_uint") int arg_index, @NativeType("void const *") ByteBuffer arg_value)
      cl_int clSetKernelArgSVMPointer(cl_kernel kernel, cl_uint arg_index, void const * arg_value)
    • nclSetKernelExecInfo

      public static int nclSetKernelExecInfo(long kernel, int param_name, long param_value_size, long param_value)
      cl_int clSetKernelExecInfo(cl_kernel kernel, cl_kernel_exec_info param_name, size_t param_value_size, void const * param_value)
    • clSetKernelExecInfo

      @NativeType("cl_int") public static int clSetKernelExecInfo(@NativeType("cl_kernel") long kernel, @NativeType("cl_kernel_exec_info") int param_name, @NativeType("void const *") ByteBuffer param_value)
      cl_int clSetKernelExecInfo(cl_kernel kernel, cl_kernel_exec_info param_name, size_t param_value_size, void const * param_value)
    • clSetKernelExecInfo

      @NativeType("cl_int") public static int clSetKernelExecInfo(@NativeType("cl_kernel") long kernel, @NativeType("cl_kernel_exec_info") int param_name, @NativeType("void const *") PointerBuffer param_value)
      cl_int clSetKernelExecInfo(cl_kernel kernel, cl_kernel_exec_info param_name, size_t param_value_size, void const * param_value)
    • clSetKernelExecInfo

      @NativeType("cl_int") public static int clSetKernelExecInfo(@NativeType("cl_kernel") long kernel, @NativeType("cl_kernel_exec_info") int param_name, @NativeType("void const *") IntBuffer param_value)
      cl_int clSetKernelExecInfo(cl_kernel kernel, cl_kernel_exec_info param_name, size_t param_value_size, void const * param_value)
    • nclCreateSamplerWithProperties

      public static long nclCreateSamplerWithProperties(long context, long sampler_properties, long errcode_ret)
      cl_sampler clCreateSamplerWithProperties(cl_context context, cl_sampler_properties const * sampler_properties, cl_int * errcode_ret)
    • clCreateSamplerWithProperties

      @NativeType("cl_sampler") public static long clCreateSamplerWithProperties(@NativeType("cl_context") long context, @NativeType("cl_sampler_properties const *") @Nullable LongBuffer sampler_properties, @NativeType("cl_int *") @Nullable IntBuffer errcode_ret)
      cl_sampler clCreateSamplerWithProperties(cl_context context, cl_sampler_properties const * sampler_properties, cl_int * errcode_ret)
    • clCreateCommandQueueWithProperties

      @NativeType("cl_command_queue") public static long clCreateCommandQueueWithProperties(@NativeType("cl_context") long context, @NativeType("cl_device_id") long device, @NativeType("cl_queue_properties const *") long @Nullable [] properties, @NativeType("cl_int *") int @Nullable [] errcode_ret)
      cl_command_queue clCreateCommandQueueWithProperties(cl_context context, cl_device_id device, cl_queue_properties const * properties, cl_int * errcode_ret)
    • clCreatePipe

      @NativeType("cl_mem") public static long clCreatePipe(@NativeType("cl_context") long context, @NativeType("cl_mem_flags") long flags, @NativeType("cl_uint") int pipe_packet_size, @NativeType("cl_uint") int pipe_max_packets, @NativeType("cl_pipe_properties const *") @Nullable PointerBuffer properties, @NativeType("cl_int *") int @Nullable [] errcode_ret)
      cl_mem clCreatePipe(cl_context context, cl_mem_flags flags, cl_uint pipe_packet_size, cl_uint pipe_max_packets, cl_pipe_properties const * properties, cl_int * errcode_ret)
    • clGetPipeInfo

      @NativeType("cl_int") public static int clGetPipeInfo(@NativeType("cl_mem") long pipe, @NativeType("cl_pipe_info") int param_name, @NativeType("void *") int @Nullable [] param_value, @NativeType("size_t *") @Nullable PointerBuffer param_value_size_ret)
      cl_int clGetPipeInfo(cl_mem pipe, cl_pipe_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)
    • clSetKernelExecInfo

      @NativeType("cl_int") public static int clSetKernelExecInfo(@NativeType("cl_kernel") long kernel, @NativeType("cl_kernel_exec_info") int param_name, @NativeType("void const *") int[] param_value)
      cl_int clSetKernelExecInfo(cl_kernel kernel, cl_kernel_exec_info param_name, size_t param_value_size, void const * param_value)
    • clCreateSamplerWithProperties

      @NativeType("cl_sampler") public static long clCreateSamplerWithProperties(@NativeType("cl_context") long context, @NativeType("cl_sampler_properties const *") long @Nullable [] sampler_properties, @NativeType("cl_int *") int @Nullable [] errcode_ret)
      cl_sampler clCreateSamplerWithProperties(cl_context context, cl_sampler_properties const * sampler_properties, cl_int * errcode_ret)