4package com.jogamp.opencl.llb;
6import com.jogamp.opencl.llb.impl.CLImageFormatImpl;
7import com.jogamp.opencl.CLErrorHandler;
8import com.jogamp.opencl.llb.impl.BuildProgramCallback;
9import com.jogamp.opencl.llb.impl.CLMemObjectDestructorCallback;
10import com.jogamp.opencl.llb.impl.CLEventCallback;
11import com.jogamp.gluegen.runtime.*;
12import com.jogamp.common.os.*;
13import com.jogamp.common.nio.*;
15import com.jogamp.common.util.*;
18import java.util.HashMap;
19import java.nio.charset.Charset;
20import java.nio.charset.StandardCharsets;
85 public static final int CL_INT_MIN = ( - 0x7fffffff - 0x1 );
129 public static final float CL_M_2_PI = 0.6366197723675814f;
195 public static final float CL_M_1_PI = 0.3183098861837907f;
225 public static final double CL_DBL_MAX = 1.7976931348623157E308;
275 public static final float CL_M_E = 2.718281828459045f;
287 public static final float CL_FLT_MIN = 1.1754943508222875E-38f;
391 public static final int CL_R = 0x10b0;
409 public static final int CL_A = 0x10b1;
445 public static final float CL_M_PI = 3.141592653589793f;
449 public static final int CL_RA = 0x10b3;
453 public static final double CL_DBL_MIN = 2.2250738585072014E-308;
467 public static final int CL_RG = 0x10b2;
479 public static final int CL_Rx = 0x10ba;
501 public static final float CL_M_PI_F = 3.14159274101257f;
503 public static final float CL_M_PI_4 = 0.7853981633974483f;
507 public static final float CL_M_PI_2 = 1.5707963267948966f;
511 public static final float CL_M_E_F = 2.71828174591064f;
527 public static final float CL_M_LN2 = 0.6931471805599453f;
539 public static final float CL_FLT_MAX = 3.4028234663852886E38f;
567 public static final float CL_M_LN10 = 2.302585092994046f;
814 public int clGetPlatformIDs(
int num_entries, PointerBuffer platforms, IntBuffer num_platforms);
819 public int clGetPlatformInfo(
long platform,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
824 public int clGetDeviceIDs(
long platform,
long device_type,
int num_entries, PointerBuffer devices, IntBuffer num_devices);
829 public int clGetDeviceInfo(
long device,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
840 public int clGetContextInfo(
long context,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
847 public long clCreateCommandQueue(
long context,
long device,
long properties,
int[] errcode_ret,
int errcode_ret_offset);
858 public int clGetCommandQueueInfo(
long command_queue,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
863 public long clCreateBuffer(
long context,
long flags,
long size, Buffer host_ptr, IntBuffer errcode_ret);
867 public long clCreateBuffer(
long context,
long flags,
long size, Buffer host_ptr,
int[] errcode_ret,
int errcode_ret_offset);
872 public long clCreateSubBuffer(
long buffer,
long flags,
int buffer_create_type, Buffer buffer_create_info, IntBuffer errcode_ret);
876 public long clCreateSubBuffer(
long buffer,
long flags,
int buffer_create_type, Buffer buffer_create_info,
int[] errcode_ret,
int errcode_ret_offset);
881 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);
885 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);
890 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);
894 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);
912 public int clGetMemObjectInfo(
long memobj,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
917 public int clGetImageInfo(
long image,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
921 public long clCreateSampler(
long context,
int normalized_coords,
int addressing_mode,
int filter_mode, IntBuffer errcode_ret);
924 public long clCreateSampler(
long context,
int normalized_coords,
int addressing_mode,
int filter_mode,
int[] errcode_ret,
int errcode_ret_offset);
935 public int clGetSamplerInfo(
long sampler,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
948 public long clCreateProgramWithBinary(
long context,
int num_devices, PointerBuffer device_list, PointerBuffer lengths, PointerBuffer binaries, IntBuffer binary_status, IntBuffer errcode_ret);
962 public int clGetProgramInfo(
long program,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
967 public int clGetProgramBuildInfo(
long program,
long device,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
971 public long clCreateKernel(
long program, String kernel_name, IntBuffer errcode_ret);
974 public long clCreateKernel(
long program, String kernel_name,
int[] errcode_ret,
int errcode_ret_offset);
989 public int clSetKernelArg(
long kernel,
int arg_index,
long arg_size, Buffer arg_value);
994 public int clGetKernelInfo(
long kernel,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
999 public int clGetKernelWorkGroupInfo(
long kernel,
long device,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
1008 public int clGetEventInfo(
long event,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
1029 public int clGetEventProfilingInfo(
long event,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
1041 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);
1050 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);
1056 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);
1065 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);
1070 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);
1078 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);
1086 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);
1094 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);
1102 public int clEnqueueCopyImage(
long command_queue,
long src_image,
long dst_image, PointerBuffer arg3, PointerBuffer arg4, PointerBuffer arg5,
int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event);
1109 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);
1116 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);
1122 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);
1132 public ByteBuffer
clEnqueueMapImage(
long command_queue,
long image,
int blocking_map,
long map_flags, PointerBuffer arg4, PointerBuffer arg5, PointerBuffer image_row_pitch, PointerBuffer image_slice_pitch,
int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event, IntBuffer errcode_ret);
1138 public int clEnqueueUnmapMemObject(
long command_queue,
long memobj, Buffer mapped_ptr,
int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event);
1146 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);
1151 public int clEnqueueTask(
long command_queue,
long kernel,
int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event);
1183 public int clCreateSubDevicesEXT(
long arg0,
long[] arg1,
int arg1_offset,
int arg2, PointerBuffer arg3,
int[] arg4,
int arg4_offset);
1197 public long clCreateFromGLTexture2D(
long context,
long flags,
int target,
int miplevel,
int texture,
int[] errcode_ret,
int errcode_ret_offset);
1204 public long clCreateFromGLTexture3D(
long context,
long flags,
int target,
int miplevel,
int texture,
int[] errcode_ret,
int errcode_ret_offset);
1219 public int clGetGLObjectInfo(
long memobj,
int[] gl_object_type,
int gl_object_type_offset,
int[] gl_object_name,
int gl_object_name_offset);
1224 public int clGetGLTextureInfo(
long memobj,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
1230 public int clEnqueueAcquireGLObjects(
long command_queue,
int num_objects, PointerBuffer mem_objects,
int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event);
1236 public int clEnqueueReleaseGLObjects(
long command_queue,
int num_objects, PointerBuffer mem_objects,
int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event);
1242 public int clGetGLContextInfoKHR(PointerBuffer properties,
int param_name,
long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
Experimental: the api may change in future, feedback appreciated.
Java bindings to OpenCL, the Open Computing Language.
static final int CL_PROFILING_COMMAND_QUEUED
Define "CL_PROFILING_COMMAND_QUEUED" with expression '0x1280', CType: int.
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE" with expression '0x103B', CType: int.
static final float CL_M_LN2_F
Define "CL_M_LN2_F" with expression '0.69314718246460f', CType: float.
static final float CL_M_LOG2E_F
Define "CL_M_LOG2E_F" with expression '1.44269502162933f', CType: float.
int clRetainDeviceEXT(long arg0)
Interface to C language function: cl_int {@native clRetainDeviceEXT}(cl_device_id)
static final int CL_DEVICE_HOST_UNIFIED_MEMORY
Define "CL_DEVICE_HOST_UNIFIED_MEMORY" with expression '0x1035', CType: int.
static final int CL_INT_MIN
Define "CL_INT_MIN" with expression '(-2147483647-1)', CType: int.
int clEnqueueCopyImage(long command_queue, long src_image, long dst_image, PointerBuffer arg3, PointerBuffer arg4, PointerBuffer arg5, int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event)
Interface to C language function: cl_int {@native clEnqueueCopyImage}(cl_command_queue command_queu...
static final int CL_SAMPLER_ADDRESSING_MODE
Define "CL_SAMPLER_ADDRESSING_MODE" with expression '0x1153', CType: int.
static final int CL_MEM_REFERENCE_COUNT
Define "CL_MEM_REFERENCE_COUNT" with expression '0x1105', CType: int.
static final int CL_GL_OBJECT_RENDERBUFFER
Define "CL_GL_OBJECT_RENDERBUFFER" with expression '0x2003', CType: int.
long clCreateProgramWithBinary(long context, int num_devices, PointerBuffer device_list, PointerBuffer lengths, PointerBuffer binaries, IntBuffer binary_status, IntBuffer errcode_ret)
Interface to C language function: cl_program {@native clCreateProgramWithBinary}(cl_context context...
static final int CL_COMMAND_RELEASE_GL_OBJECTS
Define "CL_COMMAND_RELEASE_GL_OBJECTS" with expression '0x1200', CType: int.
int clEnqueueWaitForEvents(long command_queue, int num_events, PointerBuffer event_list)
Interface to C language function: cl_int {@native clEnqueueWaitForEvents}(cl_command_queue command_...
static final float CL_M_LOG10E_F
Define "CL_M_LOG10E_F" with expression '0.43429449200630f', CType: float.
static final int CL_UNORM_SHORT_555
Define "CL_UNORM_SHORT_555" with expression '0x10D5', CType: int.
long clCreateKernel(long program, String kernel_name, IntBuffer errcode_ret)
Interface to C language function: cl_kernel {@native clCreateKernel}(cl_program program,...
int clIcdGetPlatformIDsKHR(int arg0, PointerBuffer arg1, IntBuffer arg2)
Interface to C language function: cl_int {@native clIcdGetPlatformIDsKHR}(cl_uint,...
int clRetainEvent(long event)
Interface to C language function: cl_int {@native clRetainEvent}(cl_event event)
static final int CL_INVALID_ARG_INDEX
Define "CL_INVALID_ARG_INDEX" with expression '-49', CType: int.
long clCreateFromGLRenderbuffer(long context, long flags, int renderbuffer, int[] errcode_ret, int errcode_ret_offset)
Interface to C language function: cl_mem {@native clCreateFromGLRenderbuffer}(cl_context context,...
static final int CL_FP_INF_NAN
Define "CL_FP_INF_NAN" with expression '(1 << 1)', CType: int.
static final int CL_IMAGE_SLICE_PITCH
Define "CL_IMAGE_SLICE_PITCH" with expression '0x1113', CType: int.
static final int CL_FP_DENORM
Define "CL_FP_DENORM" with expression '(1 << 0)', CType: int.
static final int CL_KERNEL_PROGRAM
Define "CL_KERNEL_PROGRAM" with expression '0x1194', CType: int.
static final int CL_KERNEL_CONTEXT
Define "CL_KERNEL_CONTEXT" with expression '0x1193', CType: int.
static final int CL_INVALID_BINARY
Define "CL_INVALID_BINARY" with expression '-42', CType: int.
int clBuildProgram(long program, int deviceCount, PointerBuffer devices, String options, BuildProgramCallback cb)
Interface to C language function: int32_t {@native clBuildProgram}(cl_program, uint32_t,...
static final int CL_CHAR_MAX
Define "CL_CHAR_MAX" with expression '127', CType: int.
long clCreateFromGLTexture2D(long context, long flags, int target, int miplevel, int texture, int[] errcode_ret, int errcode_ret_offset)
Interface to C language function: cl_mem {@native clCreateFromGLTexture2D}(cl_context context,...
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)
Interface to C language function: cl_mem {@native clCreateImage2D}(cl_context context,...
static final int CL_KERNEL_PRIVATE_MEM_SIZE
Define "CL_KERNEL_PRIVATE_MEM_SIZE" with expression '0x11B4', CType: int.
static final float CL_MAXFLOAT
Define "CL_MAXFLOAT" with expression '0x1.fffffep127f', CType: float.
static final int CL_DEVICE_AVAILABLE
Define "CL_DEVICE_AVAILABLE" with expression '0x1027', CType: int.
static final float CL_M_1_PI
Define "CL_M_1_PI" with expression '0.318309886183790691216', CType: float.
static final int CL_DEVICE_NOT_AVAILABLE
Define "CL_DEVICE_NOT_AVAILABLE" with expression '-2', CType: int.
static final int CL_COMMAND_COPY_IMAGE
Define "CL_COMMAND_COPY_IMAGE" with expression '0x11F8', CType: int.
static final int CL_MAP_WRITE
Define "CL_MAP_WRITE" with expression '(1 << 1)', CType: int.
int clGetKernelInfo(long kernel, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetKernelInfo}(cl_kernel kernel,...
static final int CL_DEVICE_LOCAL_MEM_SIZE
Define "CL_DEVICE_LOCAL_MEM_SIZE" with expression '0x1023', CType: int.
int clCreateSubDevicesEXT(long arg0, long[] arg1, int arg1_offset, int arg2, PointerBuffer arg3, int[] arg4, int arg4_offset)
Interface to C language function: cl_int {@native clCreateSubDevicesEXT}(cl_device_id,...
static final int CL_INVALID_WORK_ITEM_SIZE
Define "CL_INVALID_WORK_ITEM_SIZE" with expression '-55', CType: int.
int clWaitForEvents(int num_events, PointerBuffer event_list)
Interface to C language function: cl_int {@native clWaitForEvents}(cl_uint num_events,...
static final int cl_ext_device_fission
Define "cl_ext_device_fission" with expression '1', CType: int.
static final int CL_DEVICE_MAX_MEM_ALLOC_SIZE
Define "CL_DEVICE_MAX_MEM_ALLOC_SIZE" with expression '0x1010', CType: int.
static final int CL_ADDRESS_NONE
Define "CL_ADDRESS_NONE" with expression '0x1130', CType: int.
static final int CL_PROFILING_INFO_NOT_AVAILABLE
Define "CL_PROFILING_INFO_NOT_AVAILABLE" with expression '-7', CType: int.
static final int CL_COMPLETE
Define "CL_COMPLETE" with expression '0x0', CType: int.
static final float CL_M_PI
Define "CL_M_PI" with expression '3.141592653589793115998', CType: float.
static final int CL_DEVICE_TYPE_CPU
Define "CL_DEVICE_TYPE_CPU" with expression '(1 << 1)', CType: int.
static final int CL_PROGRAM_NUM_DEVICES
Define "CL_PROGRAM_NUM_DEVICES" with expression '0x1162', CType: int.
int clGetImageInfo(long image, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetImageInfo}(cl_mem image, cl_image_info param...
static final int cl_khr_gl_sharing
Define "cl_khr_gl_sharing" with expression '1', CType: int.
static final int CL_A
Define "CL_A" with expression '0x10B1', CType: int.
ByteBuffer clEnqueueMapImage(long command_queue, long image, int blocking_map, long map_flags, PointerBuffer arg4, PointerBuffer arg5, PointerBuffer image_row_pitch, PointerBuffer image_slice_pitch, int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event, IntBuffer errcode_ret)
Interface to C language function: void * {@native clEnqueueMapImage}(cl_command_queue command_queue...
static final int CL_INVALID_DEVICE
Define "CL_INVALID_DEVICE" with expression '-33', CType: int.
int clGetDeviceIDs(long platform, long device_type, int num_entries, PointerBuffer devices, IntBuffer num_devices)
Interface to C language function: cl_int {@native clGetDeviceIDs}(cl_platform_id platform,...
int clGetGLContextInfoKHR(PointerBuffer properties, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetGLContextInfoKHR}(const cl_context_propertie...
static final int CL_QUEUE_REFERENCE_COUNT
Define "CL_QUEUE_REFERENCE_COUNT" with expression '0x1092', CType: int.
static final float CL_M_PI_4
Define "CL_M_PI_4" with expression '0.785398163397448278999', CType: float.
static final int CL_PLATFORM_VERSION
Define "CL_PLATFORM_VERSION" with expression '0x0901', CType: int.
static final int CL_INVALID_GLOBAL_OFFSET
Define "CL_INVALID_GLOBAL_OFFSET" with expression '-56', CType: int.
static final int CL_MEM_HOST_PTR
Define "CL_MEM_HOST_PTR" with expression '0x1103', CType: int.
long clCreateSubBuffer(long buffer, long flags, int buffer_create_type, Buffer buffer_create_info, IntBuffer errcode_ret)
Interface to C language function: cl_mem {@native clCreateSubBuffer}(cl_mem buffer,...
static final int CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE
To be used on Mac OSX instead of CL_CGL_SHAREGROUP_KHR}.
static final int CL_PROGRAM_BUILD_STATUS
Define "CL_PROGRAM_BUILD_STATUS" with expression '0x1181', CType: int.
static final float CL_M_1_PI_F
Define "CL_M_1_PI_F" with expression '0.31830987334251f', CType: float.
static final int CL_COMMAND_COPY_BUFFER_RECT
Define "CL_COMMAND_COPY_BUFFER_RECT" with expression '0x1203', CType: int.
int clGetProgramInfo(long program, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetProgramInfo}(cl_program program,...
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF" with expression '0x103C', CType: int.
static final int CL_UCHAR_MAX
Define "CL_UCHAR_MAX" with expression '255', CType: int.
static final int CL_DEVICE_PARTITION_STYLE_EXT
Define "CL_DEVICE_PARTITION_STYLE_EXT" with expression '0x4058', CType: int.
static final int CL_PROFILING_COMMAND_START
Define "CL_PROFILING_COMMAND_START" with expression '0x1282', CType: int.
static final int CL_MISALIGNED_SUB_BUFFER_OFFSET
Define "CL_MISALIGNED_SUB_BUFFER_OFFSET" with expression '-13', CType: int.
static final int KHRONOS_SUPPORT_INT64
Define "KHRONOS_SUPPORT_INT64" with expression '1', CType: int.
static final int CL_AFFINITY_DOMAIN_L2_CACHE_EXT
Define "CL_AFFINITY_DOMAIN_L2_CACHE_EXT" with expression '0x2', CType: int.
static final int CL_FLT_MIN_10_EXP
Define "CL_FLT_MIN_10_EXP" with expression '-37', CType: int.
static final int CL_DEVICE_NAME
Define "CL_DEVICE_NAME" with expression '0x102B', CType: int.
static final int CL_ADDRESS_REPEAT
Define "CL_ADDRESS_REPEAT" with expression '0x1133', CType: int.
static final int CL_SAMPLER_REFERENCE_COUNT
Define "CL_SAMPLER_REFERENCE_COUNT" with expression '0x1150', CType: int.
static final double CL_DBL_MIN
Define "CL_DBL_MIN" with expression '0x1.0p-1022', CType: double.
int clReleaseKernel(long kernel)
Interface to C language function: cl_int {@native clReleaseKernel}(cl_kernel kernel)
static final int CL_DRIVER_VERSION
Define "CL_DRIVER_VERSION" with expression '0x102D', CType: int.
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT" with expression '0x1007', CType: int.
static final int CL_INVALID_BUILD_OPTIONS
Define "CL_INVALID_BUILD_OPTIONS" with expression '-43', CType: int.
int clEnqueueTask(long command_queue, long kernel, int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event)
Interface to C language function: cl_int {@native clEnqueueTask}(cl_command_queue command_queue,...
static final int CL_VERSION_1_0
Define "CL_VERSION_1_0" with expression '1', CType: int.
static final int CL_RGBx
Define "CL_RGBx" with expression '0x10BC', CType: int.
static final int CL_DEVICE_OPENCL_C_VERSION
Define "CL_DEVICE_OPENCL_C_VERSION" with expression '0x103D', CType: int.
long clCreateBuffer(long context, long flags, long size, Buffer host_ptr, IntBuffer errcode_ret)
Interface to C language function: cl_mem {@native clCreateBuffer}(cl_context context,...
static final int CL_PROGRAM_SOURCE
Define "CL_PROGRAM_SOURCE" with expression '0x1164', CType: int.
static final int CL_IMAGE_FORMAT
Define "CL_IMAGE_FORMAT" with expression '0x1110', CType: int.
static final int CL_DEVICE_PARENT_DEVICE_EXT
Define "CL_DEVICE_PARENT_DEVICE_EXT" with expression '0x4054', CType: int.
static final int CL_FLT_MIN_EXP
Define "CL_FLT_MIN_EXP" with expression '-125', CType: int.
static final int CL_INVALID_VALUE
Define "CL_INVALID_VALUE" with expression '-30', CType: int.
static final int KHRONOS_BOOLEAN_ENUM_FORCE_SIZE
Defined as part of enum type "khronos_boolean_enum_t" with expression '0x7FFFFFFF',...
static final int CL_DEVICE_IMAGE2D_MAX_WIDTH
Define "CL_DEVICE_IMAGE2D_MAX_WIDTH" with expression '0x1011', CType: int.
static final int CL_GL_MIPMAP_LEVEL
Define "CL_GL_MIPMAP_LEVEL" with expression '0x2005', CType: int.
int clReleaseDeviceEXT(long arg0)
Interface to C language function: cl_int {@native clReleaseDeviceEXT}(cl_device_id)
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_INT
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_INT" with expression '0x1038', CType: int.
int clReleaseContext(long context)
Interface to C language function: cl_int {@native clReleaseContext}(cl_context context)
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)
Interface to C language function: void * {@native clEnqueueMapBuffer}(cl_command_queue command_queu...
static final int CL_RGB
Define "CL_RGB" with expression '0x10B4', CType: int.
static final int CL_MEM_TYPE
Define "CL_MEM_TYPE" with expression '0x1100', CType: int.
static final int CL_EVENT_COMMAND_TYPE
Define "CL_EVENT_COMMAND_TYPE" with expression '0x11D1', CType: int.
static final int CL_R
Define "CL_R" with expression '0x10B0', CType: int.
static final float CL_M_LOG10E
Define "CL_M_LOG10E" with expression '0.434294481903251816668', CType: float.
static final int CL_READ_ONLY_CACHE
Define "CL_READ_ONLY_CACHE" with expression '0x1', CType: int.
static final int CL_CHAR_BIT
Define "CL_CHAR_BIT" with expression '8', CType: int.
static final int CL_RGBA
Define "CL_RGBA" with expression '0x10B5', CType: int.
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)
Interface to C language function: cl_int {@native clEnqueueWriteImage}(cl_command_queue command_que...
static final int CL_DEVICE_TYPE
Define "CL_DEVICE_TYPE" with expression '0x1000', CType: int.
static final int CL_FILTER_NEAREST
Define "CL_FILTER_NEAREST" with expression '0x1140', CType: int.
static final int CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE
Define "CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE" with expression '(1 << 0)', CType: int.
static final int CL_DEVICE_SINGLE_FP_CONFIG
Define "CL_DEVICE_SINGLE_FP_CONFIG" with expression '0x101B', CType: int.
static final int CL_FP_ROUND_TO_INF
Define "CL_FP_ROUND_TO_INF" with expression '(1 << 4)', CType: int.
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)
Interface to C language function: cl_mem {@native clCreateImage3D}(cl_context context,...
static final int CL_UNSIGNED_INT8
Define "CL_UNSIGNED_INT8" with expression '0x10DA', CType: int.
static final int CL_DEVICE_WARP_SIZE_NV
Define "CL_DEVICE_WARP_SIZE_NV" with expression '0x4003', CType: int.
static final int CL_DEVICE_MAX_WORK_GROUP_SIZE
Define "CL_DEVICE_MAX_WORK_GROUP_SIZE" with expression '0x1004', CType: int.
long clCreateFromGLTexture3D(long context, long flags, int target, int miplevel, int texture, int[] errcode_ret, int errcode_ret_offset)
Interface to C language function: cl_mem {@native clCreateFromGLTexture3D}(cl_context context,...
static final int CL_RG
Define "CL_RG" with expression '0x10B2', CType: int.
static final int CL_DEVICE_MAX_WRITE_IMAGE_ARGS
Define "CL_DEVICE_MAX_WRITE_IMAGE_ARGS" with expression '0x100F', CType: int.
static final int CL_MAP_READ
Define "CL_MAP_READ" with expression '(1 << 0)', CType: int.
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)
Interface to C language function: cl_int {@native clEnqueueCopyBuffer}(cl_command_queue command_que...
static final int CL_INVALID_EVENT
Define "CL_INVALID_EVENT" with expression '-58', CType: int.
static final int CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS
Define "CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS" with expression '0x1003', CType: int.
static final int CL_DEVICE_PLATFORM
Define "CL_DEVICE_PLATFORM" with expression '0x1031', CType: int.
static final int CL_UNSIGNED_INT16
Define "CL_UNSIGNED_INT16" with expression '0x10DB', CType: int.
static final int CL_DBL_MAX_10_EXP
Define "CL_DBL_MAX_10_EXP" with expression '+308', CType: int.
int clGetEventInfo(long event, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetEventInfo}(cl_event event,...
static final int CL_DEVICE_IMAGE_SUPPORT
Define "CL_DEVICE_IMAGE_SUPPORT" with expression '0x1016', CType: int.
static final int CL_DEVICE_AFFINITY_DOMAINS_EXT
Define "CL_DEVICE_AFFINITY_DOMAINS_EXT" with expression '0x4056', CType: int.
static final int CL_MEM_USE_HOST_PTR
Define "CL_MEM_USE_HOST_PTR" with expression '(1 << 3)', CType: int.
int clReleaseSampler(long sampler)
Interface to C language function: cl_int {@native clReleaseSampler}(cl_sampler sampler)
static final int CL_DEVICE_VENDOR
Define "CL_DEVICE_VENDOR" with expression '0x102C', CType: int.
static final int CL_INVALID_SAMPLER
Define "CL_INVALID_SAMPLER" with expression '-41', CType: int.
static final int CL_DEVICE_MAX_CLOCK_FREQUENCY
Define "CL_DEVICE_MAX_CLOCK_FREQUENCY" with expression '0x100C', CType: int.
static final int CL_CGL_SHAREGROUP_KHR
Define "CL_CGL_SHAREGROUP_KHR" with expression '0x200C', CType: int.
static final float CL_M_2_SQRTPI_F
Define "CL_M_2_SQRTPI_F" with expression '1.12837922573090f', CType: float.
int clGetContextInfo(long context, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetContextInfo}(cl_context context,...
static final int CL_COMMAND_TASK
Define "CL_COMMAND_TASK" with expression '0x11F1', CType: int.
int clGetPlatformIDs(int num_entries, PointerBuffer platforms, IntBuffer num_platforms)
Interface to C language function: cl_int {@native clGetPlatformIDs}(cl_uint num_entries,...
static final float CL_M_LN10
Define "CL_M_LN10" with expression '2.302585092994045901094', CType: float.
static final int CL_UNORM_INT8
Define "CL_UNORM_INT8" with expression '0x10D2', CType: int.
static final int CL_DBL_MIN_EXP
Define "CL_DBL_MIN_EXP" with expression '-1021', CType: int.
static final int CL_INVALID_PROGRAM_EXECUTABLE
Define "CL_INVALID_PROGRAM_EXECUTABLE" with expression '-45', CType: int.
static final int CL_ADDRESS_CLAMP_TO_EDGE
Define "CL_ADDRESS_CLAMP_TO_EDGE" with expression '0x1131', CType: int.
static final int CL_GL_OBJECT_TEXTURE2D
Define "CL_GL_OBJECT_TEXTURE2D" with expression '0x2001', CType: int.
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG" with expression '0x1009', CType: int.
static final int CL_PROGRAM_BINARY_SIZES
Define "CL_PROGRAM_BINARY_SIZES" with expression '0x1165', CType: int.
static final int CL_DEVICE_PARTITION_TYPES_EXT
Define "CL_DEVICE_PARTITION_TYPES_EXT" with expression '0x4055', CType: int.
static final int CL_PLATFORM_NAME
Define "CL_PLATFORM_NAME" with expression '0x0902', CType: int.
static final int CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST
Define "CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST" with expression '-14', CType: int.
static final int CL_COMMAND_MAP_BUFFER
Define "CL_COMMAND_MAP_BUFFER" with expression '0x11FB', CType: int.
static final int CL_CONTEXT_DEVICES
Define "CL_CONTEXT_DEVICES" with expression '0x1081', CType: int.
static final int CL_OUT_OF_RESOURCES
Define "CL_OUT_OF_RESOURCES" with expression '-5', CType: int.
static final int CL_KERNEL_COMPILE_WORK_GROUP_SIZE
Define "CL_KERNEL_COMPILE_WORK_GROUP_SIZE" with expression '0x11B1', CType: int.
static final int CL_INVALID_WORK_GROUP_SIZE
Define "CL_INVALID_WORK_GROUP_SIZE" with expression '-54', CType: int.
static final int CL_DEVICE_EXECUTION_CAPABILITIES
Define "CL_DEVICE_EXECUTION_CAPABILITIES" with expression '0x1029', CType: int.
int clGetDeviceInfo(long device, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetDeviceInfo}(cl_device_id device,...
static final int CL_SIGNED_INT16
Define "CL_SIGNED_INT16" with expression '0x10D8', CType: int.
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)
Interface to C language function: cl_int {@native clEnqueueWriteBuffer}(cl_command_queue command_qu...
static final int CL_DEVICE_IMAGE3D_MAX_WIDTH
Define "CL_DEVICE_IMAGE3D_MAX_WIDTH" with expression '0x1013', CType: int.
static final int CL_UNORM_SHORT_565
Define "CL_UNORM_SHORT_565" with expression '0x10D4', CType: int.
static final int CL_PROFILING_COMMAND_SUBMIT
Define "CL_PROFILING_COMMAND_SUBMIT" with expression '0x1281', CType: int.
static final int CL_MEM_OBJECT_ALLOCATION_FAILURE
Define "CL_MEM_OBJECT_ALLOCATION_FAILURE" with expression '-4', CType: int.
static final int CL_DEVICE_IMAGE3D_MAX_DEPTH
Define "CL_DEVICE_IMAGE3D_MAX_DEPTH" with expression '0x1015', CType: int.
int clCreateSubDevicesEXT(long arg0, LongBuffer arg1, int arg2, PointerBuffer arg3, IntBuffer arg4)
Interface to C language function: cl_int {@native clCreateSubDevicesEXT}(cl_device_id,...
int clGetSupportedImageFormats(long context, long flags, int image_type, int num_entries, CLImageFormatImpl image_formats, IntBuffer num_image_formats)
Interface to C language function: cl_int {@native clGetSupportedImageFormats}(cl_context context,...
static final int CL_FP_ROUND_TO_NEAREST
Define "CL_FP_ROUND_TO_NEAREST" with expression '(1 << 2)', CType: int.
int clGetEventProfilingInfo(long event, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetEventProfilingInfo}(cl_event event,...
static final int CL_COMMAND_COPY_BUFFER_TO_IMAGE
Define "CL_COMMAND_COPY_BUFFER_TO_IMAGE" with expression '0x11FA', CType: int.
static final int CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE
Define "CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE" with expression '0x101A', CType: int.
static final int CL_CONTEXT_NUM_DEVICES
Define "CL_CONTEXT_NUM_DEVICES" with expression '0x1083', CType: int.
static final int CL_INVALID_GL_OBJECT
Define "CL_INVALID_GL_OBJECT" with expression '-60', CType: int.
static final int CL_DBL_RADIX
Define "CL_DBL_RADIX" with expression '2', CType: int.
static final int CL_DEVICE_IMAGE3D_MAX_HEIGHT
Define "CL_DEVICE_IMAGE3D_MAX_HEIGHT" with expression '0x1014', CType: int.
static final int CL_UNORM_INT_101010
Define "CL_UNORM_INT_101010" with expression '0x10D6', CType: int.
static final int CL_INT_MAX
Define "CL_INT_MAX" with expression '2147483647', CType: int.
static final int CL_INVALID_KERNEL_DEFINITION
Define "CL_INVALID_KERNEL_DEFINITION" with expression '-47', CType: int.
static final int CL_MAP_FAILURE
Define "CL_MAP_FAILURE" with expression '-12', CType: int.
static final int CL_GL_OBJECT_TEXTURE3D
Define "CL_GL_OBJECT_TEXTURE3D" with expression '0x2002', CType: int.
static final int CL_INVALID_EVENT_WAIT_LIST
Define "CL_INVALID_EVENT_WAIT_LIST" with expression '-57', CType: int.
static final int cl_khr_icd
Define "cl_khr_icd" with expression '1', CType: int.
static final int HAS_STDDEF
Define "HAS_STDDEF" with expression '1', CType: int.
static final float CL_M_LN2
Define "CL_M_LN2" with expression '0.693147180559945286227', CType: float.
static final int CL_MEM_READ_ONLY
Define "CL_MEM_READ_ONLY" with expression '(1 << 2)', CType: int.
static final int CL_IMAGE_DEPTH
Define "CL_IMAGE_DEPTH" with expression '0x1116', CType: int.
static final int CL_SHRT_MAX
Define "CL_SHRT_MAX" with expression '32767', CType: int.
static final int CL_TRUE
Define "CL_TRUE" with expression '1', CType: int.
int clRetainKernel(long kernel)
Interface to C language function: cl_int {@native clRetainKernel}(cl_kernel kernel)
static final float CL_M_E
Define "CL_M_E" with expression '2.718281828459045090796', CType: float.
static final int CL_DEVICE_MAX_SAMPLERS
Define "CL_DEVICE_MAX_SAMPLERS" with expression '0x1018', CType: int.
int clEnqueueUnmapMemObject(long command_queue, long memobj, Buffer mapped_ptr, int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event)
Interface to C language function: cl_int {@native clEnqueueUnmapMemObject}(cl_command_queue command...
static final int CL_IMAGE_HEIGHT
Define "CL_IMAGE_HEIGHT" with expression '0x1115', CType: int.
static final float CL_M_SQRT1_2
Define "CL_M_SQRT1_2" with expression '0.707106781186547572737', CType: float.
int clCreateKernelsInProgram(long program, int num_kernels, PointerBuffer kernels, IntBuffer num_kernels_ret)
Interface to C language function: cl_int {@native clCreateKernelsInProgram}(cl_program program,...
long clCreateCommandQueue(long context, long device, long properties, int[] errcode_ret, int errcode_ret_offset)
Interface to C language function: cl_command_queue {@native clCreateCommandQueue}(cl_context contex...
static final int CL_DEVICE_PARTITION_BY_COUNTS_EXT
Define "CL_DEVICE_PARTITION_BY_COUNTS_EXT" with expression '0x4051', CType: int.
static final int CL_INVALID_PARTITION_NAME_EXT
Define "CL_INVALID_PARTITION_NAME_EXT" with expression '-1059', CType: int.
static final int CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV
Define "CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV" with expression '0x4001', CType: int.
int clReleaseMemObject(long memobj)
Interface to C language function: cl_int {@native clReleaseMemObject}(cl_mem memobj)
static final int CL_EVENT_COMMAND_QUEUE
Define "CL_EVENT_COMMAND_QUEUE" with expression '0x11D0', CType: int.
long clCreateSubBuffer(long buffer, long flags, int buffer_create_type, Buffer buffer_create_info, int[] errcode_ret, int errcode_ret_offset)
Interface to C language function: cl_mem {@native clCreateSubBuffer}(cl_mem buffer,...
static final int CL_INTENSITY
Define "CL_INTENSITY" with expression '0x10B8', CType: int.
static final int CL_MEM_OBJECT_IMAGE3D
Define "CL_MEM_OBJECT_IMAGE3D" with expression '0x10F2', CType: int.
static final int CL_COMMAND_MARKER
Define "CL_COMMAND_MARKER" with expression '0x11FE', CType: int.
static final float CL_M_PI_2_F
Define "CL_M_PI_2_F" with expression '1.57079637050629f', CType: float.
long clCreateEventFromGLsyncKHR(long arg0, long arg1, IntBuffer arg2)
Interface to C language function: cl_event {@native clCreateEventFromGLsyncKHR}(cl_context,...
static final float CL_M_LOG2E
Define "CL_M_LOG2E" with expression '1.442695040888963387005', CType: float.
static final float CL_M_PI_2
Define "CL_M_PI_2" with expression '1.570796326794896557999', CType: float.
static final int CL_DEVICES_FOR_GL_CONTEXT_KHR
Define "CL_DEVICES_FOR_GL_CONTEXT_KHR" with expression '0x2007', CType: int.
static final int CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR
Define "CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR" with expression '0x2006', CType: int.
static final int CL_SCHAR_MAX
Define "CL_SCHAR_MAX" with expression '127', CType: int.
static final int CL_BUILD_NONE
Define "CL_BUILD_NONE" with expression '-1', CType: int.
static final int CL_CHAR_MIN
Define "CL_CHAR_MIN" with expression '(-127-1)', CType: int.
static final int CL_EVENT_REFERENCE_COUNT
Define "CL_EVENT_REFERENCE_COUNT" with expression '0x11D2', CType: int.
int clSetMemObjectDestructorCallback(long memObjID, CLMemObjectDestructorCallback cb)
Interface to C language function: int32_t {@native clSetMemObjectDestructorCallback}(cl_mem memobj...
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE" with expression '0x100B', CType: int.
static final int CL_FALSE
Define "CL_FALSE" with expression '0', CType: int.
static final int CL_DEVICE_LOCAL_MEM_TYPE
Define "CL_DEVICE_LOCAL_MEM_TYPE" with expression '0x1022', CType: int.
static final int CL_BUILD_IN_PROGRESS
Define "CL_BUILD_IN_PROGRESS" with expression '-3', CType: int.
static final float CL_M_2_PI
Define "CL_M_2_PI" with expression '0.636619772367581382433', CType: float.
static final int CL_PLATFORM_NOT_FOUND_KHR
Define "CL_PLATFORM_NOT_FOUND_KHR" with expression '-1001', CType: int.
static final int CL_PROGRAM_BUILD_LOG
Define "CL_PROGRAM_BUILD_LOG" with expression '0x1183', CType: int.
static final float CL_M_PI_4_F
Define "CL_M_PI_4_F" with expression '0.78539818525314f', CType: float.
static final int CL_PROGRAM_BUILD_OPTIONS
Define "CL_PROGRAM_BUILD_OPTIONS" with expression '0x1182', CType: int.
long clCreateKernel(long program, String kernel_name, int[] errcode_ret, int errcode_ret_offset)
Interface to C language function: cl_kernel {@native clCreateKernel}(cl_program program,...
static final int CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT
Define "CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT" with expression '0x100', CType: int.
static final int CL_MEM_FLAGS
Define "CL_MEM_FLAGS" with expression '0x1101', CType: int.
static final int CL_DEVICE_MAX_WORK_ITEM_SIZES
Define "CL_DEVICE_MAX_WORK_ITEM_SIZES" with expression '0x1005', CType: int.
static final int CL_VERSION_1_1
Define "CL_VERSION_1_1" with expression '1', CType: int.
static final int CL_DEVICE_REGISTERS_PER_BLOCK_NV
Define "CL_DEVICE_REGISTERS_PER_BLOCK_NV" with expression '0x4002', CType: int.
static final int CL_DBL_MAX_EXP
Define "CL_DBL_MAX_EXP" with expression '+1024', CType: int.
static final int KHRONOS_TRUE
Defined as part of enum type "khronos_boolean_enum_t" with expression '1', CType: int.
static final int CL_EVENT_COMMAND_EXECUTION_STATUS
Define "CL_EVENT_COMMAND_EXECUTION_STATUS" with expression '0x11D3', CType: int.
static final float CL_FLT_MIN
Define "CL_FLT_MIN" with expression '0x1.0p-126f', CType: float.
static final int CL_COMMAND_NDRANGE_KERNEL
Define "CL_COMMAND_NDRANGE_KERNEL" with expression '0x11F0', CType: int.
static final int CL_READ_WRITE_CACHE
Define "CL_READ_WRITE_CACHE" with expression '0x2', CType: int.
static final int CL_INVALID_QUEUE_PROPERTIES
Define "CL_INVALID_QUEUE_PROPERTIES" with expression '-35', CType: int.
static final int CL_BUILD_ERROR
Define "CL_BUILD_ERROR" with expression '-2', CType: int.
int clReleaseEvent(long event)
Interface to C language function: cl_int {@native clReleaseEvent}(cl_event event)
static final double CL_DBL_MAX
Define "CL_DBL_MAX" with expression '0x1.fffffffffffffp1023', CType: double.
int clSetKernelArg(long kernel, int arg_index, long arg_size, Buffer arg_value)
Interface to C language function: cl_int {@native clSetKernelArg}(cl_kernel kernel,...
static final float CL_M_SQRT1_2_F
Define "CL_M_SQRT1_2_F" with expression '0.70710676908493f', CType: float.
static final int CL_GLOBAL
Define "CL_GLOBAL" with expression '0x2', CType: int.
static final int CL_ADDRESS_CLAMP
Define "CL_ADDRESS_CLAMP" with expression '0x1132', CType: int.
int clGetProgramBuildInfo(long program, long device, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetProgramBuildInfo}(cl_program program,...
static final int CL_MEM_CONTEXT
Define "CL_MEM_CONTEXT" with expression '0x1106', CType: int.
static final int CL_AFFINITY_DOMAIN_L4_CACHE_EXT
Define "CL_AFFINITY_DOMAIN_L4_CACHE_EXT" with expression '0x4', CType: int.
static final int CL_COMMAND_WRITE_BUFFER
Define "CL_COMMAND_WRITE_BUFFER" with expression '0x11F4', CType: int.
static final int CL_CONTEXT_PROPERTIES
Define "CL_CONTEXT_PROPERTIES" with expression '0x1082', CType: int.
static final int CL_EVENT_CONTEXT
Define "CL_EVENT_CONTEXT" with expression '0x11D4', CType: int.
int clRetainProgram(long program)
Interface to C language function: cl_int {@native clRetainProgram}(cl_program program)
int clReleaseProgram(long program)
Interface to C language function: cl_int {@native clReleaseProgram}(cl_program program)
static final int CL_RA
Define "CL_RA" with expression '0x10B3', CType: int.
static final int CL_FLT_MAX_EXP
Define "CL_FLT_MAX_EXP" with expression '+128', CType: int.
static final int CL_INVALID_IMAGE_SIZE
Define "CL_INVALID_IMAGE_SIZE" with expression '-40', CType: int.
long clCreateFromGLTexture3D(long context, long flags, int target, int miplevel, int texture, IntBuffer errcode_ret)
Interface to C language function: cl_mem {@native clCreateFromGLTexture3D}(cl_context context,...
static final int CL_INVALID_IMAGE_FORMAT_DESCRIPTOR
Define "CL_INVALID_IMAGE_FORMAT_DESCRIPTOR" with expression '-39', CType: int.
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG" with expression '0x1039', CType: int.
static final int CL_INVALID_HOST_PTR
Define "CL_INVALID_HOST_PTR" with expression '-37', CType: int.
static final int CL_INVALID_ARG_SIZE
Define "CL_INVALID_ARG_SIZE" with expression '-51', CType: int.
static final int CL_DBL_DIG
Define "CL_DBL_DIG" with expression '15', CType: int.
static final int CL_FILTER_LINEAR
Define "CL_FILTER_LINEAR" with expression '0x1141', CType: int.
static final int CL_AFFINITY_DOMAIN_NUMA_EXT
Define "CL_AFFINITY_DOMAIN_NUMA_EXT" with expression '0x10', CType: int.
static final float CL_FLT_EPSILON
Define "CL_FLT_EPSILON" with expression '0x1.0p-23f', CType: float.
static final float CL_DBL_EPSILON
Define "CL_DBL_EPSILON" with expression '0x1.0p-52', CType: float.
static final int CL_FLT_RADIX
Define "CL_FLT_RADIX" with expression '2', CType: int.
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)
Interface to C language function: cl_mem {@native clCreateImage2D}(cl_context context,...
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)
Interface to C language function: cl_int {@native clEnqueueCopyImageToBuffer}(cl_command_queue comm...
static final int CL_PROGRAM_REFERENCE_COUNT
Define "CL_PROGRAM_REFERENCE_COUNT" with expression '0x1160', CType: int.
static final int CL_PRINTF_BUFFERSIZE_ARM
Define "CL_PRINTF_BUFFERSIZE_ARM" with expression '0x40B1', CType: int.
static final int CL_FP_ROUND_TO_ZERO
Define "CL_FP_ROUND_TO_ZERO" with expression '(1 << 3)', CType: int.
static final int CL_PRINTF_CALLBACK_ARM
Define "CL_PRINTF_CALLBACK_ARM" with expression '0x40B0', CType: int.
static final int CL_FP_SOFT_FLOAT
Define "CL_FP_SOFT_FLOAT" with expression '(1 << 6)', CType: int.
int clEnqueueReleaseGLObjects(long command_queue, int num_objects, PointerBuffer mem_objects, int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event)
Interface to C language function: cl_int {@native clEnqueueReleaseGLObjects}(cl_command_queue comma...
static final int CL_INVALID_PROGRAM
Define "CL_INVALID_PROGRAM" with expression '-44', CType: int.
static final int CL_DEVICE_MAX_COMPUTE_UNITS
Define "CL_DEVICE_MAX_COMPUTE_UNITS" with expression '0x1002', CType: int.
static final int CL_RGx
Define "CL_RGx" with expression '0x10BB', CType: int.
static final int CL_PLATFORM_PROFILE
Define "CL_PLATFORM_PROFILE" with expression '0x0900', CType: int.
static final int CL_KERNEL_REFERENCE_COUNT
Define "CL_KERNEL_REFERENCE_COUNT" with expression '0x1192', CType: int.
static final int CL_UNSIGNED_INT32
Define "CL_UNSIGNED_INT32" with expression '0x10DC', CType: int.
static final int CL_COMMAND_WRITE_IMAGE
Define "CL_COMMAND_WRITE_IMAGE" with expression '0x11F7', CType: int.
static final int CL_DEVICE_PARTITION_FAILED_EXT
Define "CL_DEVICE_PARTITION_FAILED_EXT" with expression '-1057', CType: int.
static final int CL_QUEUE_PROPERTIES
Define "CL_QUEUE_PROPERTIES" with expression '0x1093', CType: int.
static final int CL_FLT_MAX_10_EXP
Define "CL_FLT_MAX_10_EXP" with expression '+38', CType: int.
int clGetGLTextureInfo(long memobj, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetGLTextureInfo}(cl_mem memobj,...
long clCreateFromGLBuffer(long context, long flags, int bufobj, int[] errcode_ret, int errcode_ret_offset)
Interface to C language function: cl_mem {@native clCreateFromGLBuffer}(cl_context context,...
static final int CL_DEVICE_IMAGE2D_MAX_HEIGHT
Define "CL_DEVICE_IMAGE2D_MAX_HEIGHT" with expression '0x1012', CType: int.
static final int CL_BUILD_PROGRAM_FAILURE
Define "CL_BUILD_PROGRAM_FAILURE" with expression '-11', CType: int.
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)
Interface to C language function: cl_int {@native clEnqueueReadBuffer}(cl_command_queue command_que...
static final int CL_INVALID_GLOBAL_WORK_SIZE
Define "CL_INVALID_GLOBAL_WORK_SIZE" with expression '-63', CType: int.
static final int CL_COMMAND_USER
Define "CL_COMMAND_USER" with expression '0x1204', CType: int.
static final int CL_DEVICE_PROFILE
Define "CL_DEVICE_PROFILE" with expression '0x102E', CType: int.
static final int CL_SNORM_INT16
Define "CL_SNORM_INT16" with expression '0x10D1', CType: int.
static final int CL_SAMPLER_FILTER_MODE
Define "CL_SAMPLER_FILTER_MODE" with expression '0x1154', CType: int.
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)
Interface to C language function: cl_int {@native clEnqueueCopyBufferRect}(cl_command_queue command...
static final int CL_GL_TEXTURE_TARGET
Define "CL_GL_TEXTURE_TARGET" with expression '0x2004', CType: int.
static final int CL_DEVICE_REFERENCE_COUNT_EXT
Define "CL_DEVICE_REFERENCE_COUNT_EXT" with expression '0x4057', CType: int.
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)
Interface to C language function: cl_int {@native clEnqueueReadImage}(cl_command_queue command_queu...
static final int CL_DEVICE_PROFILING_TIMER_RESOLUTION
Define "CL_DEVICE_PROFILING_TIMER_RESOLUTION" with expression '0x1025', CType: int.
static final int CL_PLATFORM_EXTENSIONS
Define "CL_PLATFORM_EXTENSIONS" with expression '0x0904', CType: int.
int clRetainCommandQueue(long command_queue)
Interface to C language function: cl_int {@native clRetainCommandQueue}(cl_command_queue command_qu...
static final int CL_IMAGE_WIDTH
Define "CL_IMAGE_WIDTH" with expression '0x1114', CType: int.
static final int CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT
Define "CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT" with expression '0x4053', CType: int.
long clCreateFromGLRenderbuffer(long context, long flags, int renderbuffer, IntBuffer errcode_ret)
Interface to C language function: cl_mem {@native clCreateFromGLRenderbuffer}(cl_context context,...
static final int CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR
Define "CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR" with expression '-1000', CType: int.
static final int CL_HALF_FLOAT
Define "CL_HALF_FLOAT" with expression '0x10DD', CType: int.
static final int CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV
Define "CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV" with expression '0x4000', CType: int.
static final int CL_DEVICE_GLOBAL_MEM_SIZE
Define "CL_DEVICE_GLOBAL_MEM_SIZE" with expression '0x101F', CType: int.
static final int CL_SUCCESS
Define "CL_SUCCESS" with expression '0', CType: int.
static final int CL_SAMPLER_NORMALIZED_COORDS
Define "CL_SAMPLER_NORMALIZED_COORDS" with expression '0x1152', CType: int.
static final int CL_DEVICE_MAX_READ_IMAGE_ARGS
Define "CL_DEVICE_MAX_READ_IMAGE_ARGS" with expression '0x100E', CType: int.
static final int CL_COMMAND_UNMAP_MEM_OBJECT
Define "CL_COMMAND_UNMAP_MEM_OBJECT" with expression '0x11FD', CType: int.
static final int CL_COMMAND_COPY_BUFFER
Define "CL_COMMAND_COPY_BUFFER" with expression '0x11F5', CType: int.
static final int CL_COMMAND_COPY_IMAGE_TO_BUFFER
Define "CL_COMMAND_COPY_IMAGE_TO_BUFFER" with expression '0x11F9', CType: int.
static final int CL_INVALID_PARTITION_COUNT_EXT
Define "CL_INVALID_PARTITION_COUNT_EXT" with expression '-1058', CType: int.
static final int CL_QUEUE_DEVICE
Define "CL_QUEUE_DEVICE" with expression '0x1091', CType: int.
static final int CL_MEM_ALLOC_HOST_PTR
Define "CL_MEM_ALLOC_HOST_PTR" with expression '(1 << 4)', CType: int.
int clFlush(long command_queue)
Interface to C language function: cl_int {@native clFlush}(cl_command_queue command_queue)
static final int CL_SNORM_INT8
Define "CL_SNORM_INT8" with expression '0x10D0', CType: int.
static final int CL_BGRA
Define "CL_BGRA" with expression '0x10B6', CType: int.
static final int CL_PROGRAM_BINARIES
Define "CL_PROGRAM_BINARIES" with expression '0x1166', CType: int.
static final int CL_Rx
Define "CL_Rx" with expression '0x10BA', CType: int.
static final int KHRONOS_FALSE
Defined as part of enum type "khronos_boolean_enum_t" with expression '0', CType: int.
static final int CL_MEM_COPY_HOST_PTR
Define "CL_MEM_COPY_HOST_PTR" with expression '(1 << 5)', CType: int.
static final int CL_MEM_COPY_OVERLAP
Define "CL_MEM_COPY_OVERLAP" with expression '-8', CType: int.
static final int CL_MEM_READ_WRITE
Define "CL_MEM_READ_WRITE" with expression '(1 << 0)', CType: int.
static final int CL_SHRT_MIN
Define "CL_SHRT_MIN" with expression '(-32767-1)', CType: int.
int clGetCommandQueueInfo(long command_queue, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetCommandQueueInfo}(cl_command_queue command_q...
static final int KHRONOS_SUPPORT_FLOAT
Define "KHRONOS_SUPPORT_FLOAT" with expression '1', CType: int.
int clEnqueueAcquireGLObjects(long command_queue, int num_objects, PointerBuffer mem_objects, int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event)
Interface to C language function: cl_int {@native clEnqueueAcquireGLObjects}(cl_command_queue comma...
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)
Interface to C language function: cl_int {@native clEnqueueWriteBufferRect}(cl_command_queue comman...
static final int CL_FLT_DIG
Define "CL_FLT_DIG" with expression '6', CType: int.
long clCreateUserEvent(long context, int[] errcode_ret, int errcode_ret_offset)
Interface to C language function: cl_event {@native clCreateUserEvent}(cl_context context,...
static final int CL_OUT_OF_HOST_MEMORY
Define "CL_OUT_OF_HOST_MEMORY" with expression '-6', CType: int.
int clGetGLObjectInfo(long memobj, IntBuffer gl_object_type, IntBuffer gl_object_name)
Interface to C language function: cl_int {@native clGetGLObjectInfo}(cl_mem memobj,...
static final int CL_FLT_MANT_DIG
Define "CL_FLT_MANT_DIG" with expression '24', CType: int.
int clRetainContext(long context)
Interface to C language function: cl_int {@native clRetainContext}(cl_context context)
static final int CL_LUMINANCE
Define "CL_LUMINANCE" with expression '0x10B9', CType: int.
static final int CL_INVALID_KERNEL_ARGS
Define "CL_INVALID_KERNEL_ARGS" with expression '-52', CType: int.
static final int CL_PROGRAM_CONTEXT
Define "CL_PROGRAM_CONTEXT" with expression '0x1161', CType: int.
static final int CL_DEVICE_GLOBAL_MEM_CACHE_TYPE
Define "CL_DEVICE_GLOBAL_MEM_CACHE_TYPE" with expression '0x101C', CType: int.
static final int CL_COMMAND_WRITE_BUFFER_RECT
Define "CL_COMMAND_WRITE_BUFFER_RECT" with expression '0x1202', CType: int.
static final int CL_LOCAL
Define "CL_LOCAL" with expression '0x1', CType: int.
static final int CL_COMMAND_READ_BUFFER_RECT
Define "CL_COMMAND_READ_BUFFER_RECT" with expression '0x1201', CType: int.
int clReleaseCommandQueue(long command_queue)
Interface to C language function: cl_int {@native clReleaseCommandQueue}(cl_command_queue command_q...
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)
Interface to C language function: cl_mem {@native clCreateImage3D}(cl_context context,...
static final int CL_KERNEL_NUM_ARGS
Define "CL_KERNEL_NUM_ARGS" with expression '0x1191', CType: int.
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR" with expression '0x1006', CType: int.
static final int CL_INVALID_OPERATION
Define "CL_INVALID_OPERATION" with expression '-59', CType: int.
static final int CL_SUBMITTED
Define "CL_SUBMITTED" with expression '0x2', CType: int.
static final int GLEXT_64_TYPES_DEFINED
Define "GLEXT_64_TYPES_DEFINED" with expression '1', CType: int.
static final int CL_DEVICE_TYPE_GPU
Define "CL_DEVICE_TYPE_GPU" with expression '(1 << 2)', CType: int.
static final int CL_DEVICE_PARTITION_BY_NAMES_EXT
Define "CL_DEVICE_PARTITION_BY_NAMES_EXT" with expression '0x4052', CType: int.
static final int CL_COMMAND_NATIVE_KERNEL
Define "CL_COMMAND_NATIVE_KERNEL" with expression '0x11F2', CType: int.
static final float CL_M_2_PI_F
Define "CL_M_2_PI_F" with expression '0.63661974668503f', CType: float.
static final int CL_MEM_OBJECT_BUFFER
Define "CL_MEM_OBJECT_BUFFER" with expression '0x10F0', CType: int.
long clCreateBuffer(long context, long flags, long size, Buffer host_ptr, int[] errcode_ret, int errcode_ret_offset)
Interface to C language function: cl_mem {@native clCreateBuffer}(cl_context context,...
static final int CL_BUFFER_CREATE_TYPE_REGION
Define "CL_BUFFER_CREATE_TYPE_REGION" with expression '0x1220', CType: int.
static final int CL_DEVICE_GPU_OVERLAP_NV
Define "CL_DEVICE_GPU_OVERLAP_NV" with expression '0x4004', CType: int.
long clCreateSampler(long context, int normalized_coords, int addressing_mode, int filter_mode, IntBuffer errcode_ret)
Interface to C language function: cl_sampler {@native clCreateSampler}(cl_context context,...
static final int CL_QUEUE_CONTEXT
Define "CL_QUEUE_CONTEXT" with expression '0x1090', CType: int.
static final int CL_FP_FMA
Define "CL_FP_FMA" with expression '(1 << 5)', CType: int.
static final int CL_INVALID_CONTEXT
Define "CL_INVALID_CONTEXT" with expression '-34', CType: int.
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT" with expression '0x1037', CType: int.
static final long CL_DEVICE_TYPE_ALL
Define "CL_DEVICE_TYPE_ALL" with expression '0xFFFFFFFF', CType: long.
static final int CL_MEM_OBJECT_IMAGE2D
Define "CL_MEM_OBJECT_IMAGE2D" with expression '0x10F1', CType: int.
int clGetPlatformInfo(long platform, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetPlatformInfo}(cl_platform_id platform,...
static final int CL_DEVICE_MAX_PARAMETER_SIZE
Define "CL_DEVICE_MAX_PARAMETER_SIZE" with expression '0x1017', CType: int.
int clSetUserEventStatus(long event, int execution_status)
Interface to C language function: cl_int {@native clSetUserEventStatus}(cl_event event,...
static final int CL_RUNNING
Define "CL_RUNNING" with expression '0x1', CType: int.
static final int CL_DEVICE_TYPE_DEFAULT
Define "CL_DEVICE_TYPE_DEFAULT" with expression '(1 << 0)', CType: int.
static final float CL_FLT_MAX
Define "CL_FLT_MAX" with expression '0x1.fffffep127f', CType: float.
static final int CL_DEVICE_TYPE_ACCELERATOR
Define "CL_DEVICE_TYPE_ACCELERATOR" with expression '(1 << 3)', CType: int.
static final int CL_DEVICE_PROFILING_TIMER_OFFSET_AMD
Define "CL_DEVICE_PROFILING_TIMER_OFFSET_AMD" with expression '0x4036', CType: int.
static final int CL_USHRT_MAX
Define "CL_USHRT_MAX" with expression '65535', CType: int.
static final int CL_INVALID_COMMAND_QUEUE
Define "CL_INVALID_COMMAND_QUEUE" with expression '-36', CType: int.
static final int CL_INVALID_ARG_VALUE
Define "CL_INVALID_ARG_VALUE" with expression '-50', CType: int.
static final int CL_SIGNED_INT8
Define "CL_SIGNED_INT8" with expression '0x10D7', CType: int.
static final int CL_DBL_MANT_DIG
Define "CL_DBL_MANT_DIG" with expression '53', CType: int.
static final int CL_INVALID_BUFFER_SIZE
Define "CL_INVALID_BUFFER_SIZE" with expression '-61', CType: int.
int clGetSupportedImageFormats(long context, long flags, int image_type, int num_entries, CLImageFormatImpl image_formats, int[] num_image_formats, int num_image_formats_offset)
Interface to C language function: cl_int {@native clGetSupportedImageFormats}(cl_context context,...
static final int CL_CONTEXT_REFERENCE_COUNT
Define "CL_CONTEXT_REFERENCE_COUNT" with expression '0x1080', CType: int.
int clRetainSampler(long sampler)
Interface to C language function: cl_int {@native clRetainSampler}(cl_sampler sampler)
static final int CL_DEVICE_QUEUE_PROPERTIES
Define "CL_DEVICE_QUEUE_PROPERTIES" with expression '0x102A', CType: int.
static final int CL_DEVICE_ADDRESS_BITS
Define "CL_DEVICE_ADDRESS_BITS" with expression '0x100D', CType: int.
static final int CL_DEVICE_COMPILER_AVAILABLE
Define "CL_DEVICE_COMPILER_AVAILABLE" with expression '0x1028', CType: int.
static final int CL_DEVICE_VENDOR_ID
Define "CL_DEVICE_VENDOR_ID" with expression '0x1001', CType: int.
static final int CL_DEVICE_DOUBLE_FP_CONFIG
Define "CL_DEVICE_DOUBLE_FP_CONFIG" with expression '0x1032', CType: int.
static final int CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE
Define "CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE" with expression '0x101D', CType: int.
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT" with expression '0x100A', CType: int.
static final int CL_DEVICE_VERSION
Define "CL_DEVICE_VERSION" with expression '0x102F', CType: int.
static final int CL_INVALID_MEM_OBJECT
Define "CL_INVALID_MEM_OBJECT" with expression '-38', CType: int.
static final int CL_INVALID_PROPERTY
Define "CL_INVALID_PROPERTY" with expression '-64', CType: int.
long clCreateContextFromType(PointerBuffer properties, long device_type, CLErrorHandler pfn_notify, IntBuffer errcode_ret)
Interface to C language function: cl_context {@native clCreateContextFromType}(cl_context_properti...
long clCreateProgramWithSource(long context, int count, String[] strings, PointerBuffer lengths, IntBuffer errcode_ret)
Interface to C language function: cl_program {@native clCreateProgramWithSource}(cl_context context...
static final int CL_GL_CONTEXT_KHR
Define "CL_GL_CONTEXT_KHR" with expression '0x2008', CType: int.
static final int CL_DEVICE_ENDIAN_LITTLE
Define "CL_DEVICE_ENDIAN_LITTLE" with expression '0x1026', CType: int.
static final int CL_INVALID_WORK_DIMENSION
Define "CL_INVALID_WORK_DIMENSION" with expression '-53', CType: int.
static final int CL_COMMAND_READ_BUFFER
Define "CL_COMMAND_READ_BUFFER" with expression '0x11F3', CType: int.
static final int CL_BUILD_SUCCESS
Define "CL_BUILD_SUCCESS" with expression '0', CType: int.
int clGetMemObjectInfo(long memobj, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetMemObjectInfo}(cl_mem memobj,...
static final float CL_M_E_F
Define "CL_M_E_F" with expression '2.71828174591064f', CType: float.
long clCreateEventFromGLsyncKHR(long arg0, long arg1, int[] arg2, int arg2_offset)
Interface to C language function: cl_event {@native clCreateEventFromGLsyncKHR}(cl_context,...
static final int CL_COMMAND_MAP_IMAGE
Define "CL_COMMAND_MAP_IMAGE" with expression '0x11FC', CType: int.
int clGetGLObjectInfo(long memobj, int[] gl_object_type, int gl_object_type_offset, int[] gl_object_name, int gl_object_name_offset)
Interface to C language function: cl_int {@native clGetGLObjectInfo}(cl_mem memobj,...
static final int CL_DEVICE_HALF_FP_CONFIG
Define "CL_DEVICE_HALF_FP_CONFIG" with expression '0x1033', CType: int.
static final int CL_IMAGE_ELEMENT_SIZE
Define "CL_IMAGE_ELEMENT_SIZE" with expression '0x1111', CType: int.
static final int CL_SAMPLER_CONTEXT
Define "CL_SAMPLER_CONTEXT" with expression '0x1151', CType: int.
long clCreateFromGLTexture2D(long context, long flags, int target, int miplevel, int texture, IntBuffer errcode_ret)
Interface to C language function: cl_mem {@native clCreateFromGLTexture2D}(cl_context context,...
static final int CL_QUEUED
Define "CL_QUEUED" with expression '0x3', CType: int.
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR" with expression '0x1036', CType: int.
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)
Interface to C language function: cl_int {@native clEnqueueNDRangeKernel}(cl_command_queue command_...
static final int CL_INVALID_MIP_LEVEL
Define "CL_INVALID_MIP_LEVEL" with expression '-62', CType: int.
static final int CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV
Define "CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV" with expression '0x4005', CType: int.
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)
Interface to C language function: cl_int {@native clEnqueueReadBufferRect}(cl_command_queue command...
int clFinish(long command_queue)
Interface to C language function: cl_int {@native clFinish}(cl_command_queue command_queue)
static final int CL_KERNEL_WORK_GROUP_SIZE
Define "CL_KERNEL_WORK_GROUP_SIZE" with expression '0x11B0', CType: int.
static final int CL_PROFILING_COMMAND_END
Define "CL_PROFILING_COMMAND_END" with expression '0x1283', CType: int.
static final int CL_INVALID_PLATFORM
Define "CL_INVALID_PLATFORM" with expression '-32', CType: int.
static final int CL_DEVICE_GLOBAL_MEM_CACHE_SIZE
Define "CL_DEVICE_GLOBAL_MEM_CACHE_SIZE" with expression '0x101E', CType: int.
static final int CL_ADDRESS_MIRRORED_REPEAT
Define "CL_ADDRESS_MIRRORED_REPEAT" with expression '0x1134', CType: int.
int clRetainMemObject(long memobj)
Interface to C language function: cl_int {@native clRetainMemObject}(cl_mem memobj)
static final int CL_MEM_ASSOCIATED_MEMOBJECT
Define "CL_MEM_ASSOCIATED_MEMOBJECT" with expression '0x1107', CType: int.
static final int CL_DEVICE_MEM_BASE_ADDR_ALIGN
Define "CL_DEVICE_MEM_BASE_ADDR_ALIGN" with expression '0x1019', CType: int.
static final int CL_COMPILER_NOT_AVAILABLE
Define "CL_COMPILER_NOT_AVAILABLE" with expression '-3', CType: int.
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF" with expression '0x1034', CType: int.
static final int CL_AFFINITY_DOMAIN_L3_CACHE_EXT
Define "CL_AFFINITY_DOMAIN_L3_CACHE_EXT" with expression '0x3', CType: int.
static final int CL_WGL_HDC_KHR
Define "CL_WGL_HDC_KHR" with expression '0x200B', CType: int.
static final int CL_GL_OBJECT_BUFFER
Define "CL_GL_OBJECT_BUFFER" with expression '0x2000', CType: int.
static final int CL_NONE
Define "CL_NONE" with expression '0x0', CType: int.
static final int CL_PROGRAM_DEVICES
Define "CL_PROGRAM_DEVICES" with expression '0x1163', CType: int.
static final int CL_COMMAND_ACQUIRE_GL_OBJECTS
Define "CL_COMMAND_ACQUIRE_GL_OBJECTS" with expression '0x11FF', CType: int.
static final float CL_M_SQRT2
Define "CL_M_SQRT2" with expression '1.414213562373095145475', CType: float.
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)
Interface to C language function: cl_int {@native clEnqueueCopyBufferToImage}(cl_command_queue comm...
static final int CL_INVALID_KERNEL_NAME
Define "CL_INVALID_KERNEL_NAME" with expression '-46', CType: int.
static final int CL_MEM_OFFSET
Define "CL_MEM_OFFSET" with expression '0x1108', CType: int.
static final int CL_MEM_WRITE_ONLY
Define "CL_MEM_WRITE_ONLY" with expression '(1 << 1)', CType: int.
static final int CL_SIGNED_INT32
Define "CL_SIGNED_INT32" with expression '0x10D9', CType: int.
static final int CL_UNORM_INT16
Define "CL_UNORM_INT16" with expression '0x10D3', CType: int.
static final int CL_AFFINITY_DOMAIN_L1_CACHE_EXT
Define "CL_AFFINITY_DOMAIN_L1_CACHE_EXT" with expression '0x1', CType: int.
static final int CL_INVALID_KERNEL
Define "CL_INVALID_KERNEL" with expression '-48', CType: int.
static final int CL_INVALID_DEVICE_TYPE
Define "CL_INVALID_DEVICE_TYPE" with expression '-31', CType: int.
static final float CL_M_SQRT2_F
Define "CL_M_SQRT2_F" with expression '1.41421353816986f', CType: float.
int clGetSamplerInfo(long sampler, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetSamplerInfo}(cl_sampler sampler,...
long clCreateCommandQueue(long context, long device, long properties, IntBuffer errcode_ret)
Interface to C language function: cl_command_queue {@native clCreateCommandQueue}(cl_context contex...
static final int CL_QUEUE_PROFILING_ENABLE
Define "CL_QUEUE_PROFILING_ENABLE" with expression '(1 << 1)', CType: int.
static final int CL_MEM_SIZE
Define "CL_MEM_SIZE" with expression '0x1102', CType: int.
static final int CL_DEVICE_INTEGRATED_MEMORY_NV
Define "CL_DEVICE_INTEGRATED_MEMORY_NV" with expression '0x4006', CType: int.
static final float CL_M_PI_F
Define "CL_M_PI_F" with expression '3.14159274101257f', CType: float.
static final int CL_IMAGE_FORMAT_NOT_SUPPORTED
Define "CL_IMAGE_FORMAT_NOT_SUPPORTED" with expression '-10', CType: int.
static final int CL_IMAGE_FORMAT_MISMATCH
Define "CL_IMAGE_FORMAT_MISMATCH" with expression '-9', CType: int.
int clSetEventCallback(long event, int type, CLEventCallback cb)
Interface to C language function: int32_t {@native clSetEventCallback}(cl_event event,...
static final int CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE
Define "CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE" with expression '0x1020', CType: int.
static final int CL_DEVICE_MAX_CONSTANT_ARGS
Define "CL_DEVICE_MAX_CONSTANT_ARGS" with expression '0x1021', CType: int.
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT" with expression '0x103A', CType: int.
static final int CL_ARGB
Define "CL_ARGB" with expression '0x10B7', CType: int.
static final int CL_PLATFORM_ICD_SUFFIX_KHR
Define "CL_PLATFORM_ICD_SUFFIX_KHR" with expression '0x0920', CType: int.
static final int CL_IMAGE_ROW_PITCH
Define "CL_IMAGE_ROW_PITCH" with expression '0x1112', CType: int.
static final int CL_GLX_DISPLAY_KHR
Define "CL_GLX_DISPLAY_KHR" with expression '0x200A', CType: int.
static final int CL_CONTEXT_PLATFORM
Define "CL_CONTEXT_PLATFORM" with expression '0x1084', CType: int.
static final float CL_M_LN10_F
Define "CL_M_LN10_F" with expression '2.30258512496948f', CType: float.
static final int CL_PLATFORM_VENDOR
Define "CL_PLATFORM_VENDOR" with expression '0x0903', CType: int.
static final int CL_EXEC_KERNEL
Define "CL_EXEC_KERNEL" with expression '(1 << 0)', CType: int.
static final int CL_DEVICE_NOT_FOUND
Define "CL_DEVICE_NOT_FOUND" with expression '-1', CType: int.
int clUnloadCompiler()
Interface to C language function: cl_int {@native clUnloadCompiler}()
static final int CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE
Define "CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE" with expression '0x11B3', CType: int.
static final int KHRONOS_MAX_ENUM
Define "KHRONOS_MAX_ENUM" with expression '0x7FFFFFFF', CType: int.
static final int CL_FLOAT
Define "CL_FLOAT" with expression '0x10DE', CType: int.
int clGetKernelWorkGroupInfo(long kernel, long device, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
Interface to C language function: cl_int {@native clGetKernelWorkGroupInfo}(cl_kernel kernel,...
int clEnqueueBarrier(long command_queue)
Interface to C language function: cl_int {@native clEnqueueBarrier}(cl_command_queue command_queue)
static final int CL_MEM_MAP_COUNT
Define "CL_MEM_MAP_COUNT" with expression '0x1104', CType: int.
long clCreateSampler(long context, int normalized_coords, int addressing_mode, int filter_mode, int[] errcode_ret, int errcode_ret_offset)
Interface to C language function: cl_sampler {@native clCreateSampler}(cl_context context,...
long clCreateFromGLBuffer(long context, long flags, int bufobj, IntBuffer errcode_ret)
Interface to C language function: cl_mem {@native clCreateFromGLBuffer}(cl_context context,...
int clEnqueueMarker(long command_queue, PointerBuffer event)
Interface to C language function: cl_int {@native clEnqueueMarker}(cl_command_queue command_queue,...
static final int CL_EGL_DISPLAY_KHR
Define "CL_EGL_DISPLAY_KHR" with expression '0x2009', CType: int.
static final int CL_SCHAR_MIN
Define "CL_SCHAR_MIN" with expression '(-127-1)', CType: int.
static final int CL_DBL_MIN_10_EXP
Define "CL_DBL_MIN_10_EXP" with expression '-307', CType: int.
static final int CL_KERNEL_FUNCTION_NAME
Define "CL_KERNEL_FUNCTION_NAME" with expression '0x1190', CType: int.
long clCreateContext(PointerBuffer properties, PointerBuffer devices, CLErrorHandler pfn_notify, IntBuffer errcode_ret)
Interface to C language function: cl_context {@native clCreateContext}(intptr_t * ,...
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT" with expression '0x1008', CType: int.
static final int CL_DEVICE_EXTENSIONS
Define "CL_DEVICE_EXTENSIONS" with expression '0x1030', CType: int.
static final int CL_EXEC_NATIVE_KERNEL
Define "CL_EXEC_NATIVE_KERNEL" with expression '(1 << 1)', CType: int.
static final float CL_M_2_SQRTPI
Define "CL_M_2_SQRTPI" with expression '1.128379167095512558561', CType: float.
static final int CL_COMMAND_READ_IMAGE
Define "CL_COMMAND_READ_IMAGE" with expression '0x11F6', CType: int.
long clCreateUserEvent(long context, IntBuffer errcode_ret)
Interface to C language function: cl_event {@native clCreateUserEvent}(cl_context context,...
static final int CL_KERNEL_LOCAL_MEM_SIZE
Define "CL_KERNEL_LOCAL_MEM_SIZE" with expression '0x11B2', CType: int.
static final int CL_DEVICE_PARTITION_EQUALLY_EXT
Define "CL_DEVICE_PARTITION_EQUALLY_EXT" with expression '0x4050', CType: int.
static final int CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR
Define "CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR" with expression '0x200D', CType: int.
static final int CL_DEVICE_ERROR_CORRECTION_SUPPORT
Define "CL_DEVICE_ERROR_CORRECTION_SUPPORT" with expression '0x1024', CType: int.
A callback an application can register to be called when the program executable has been built (succe...
A callback for a specific command execution status.
A callback which is invoked by the OpenCL implementation when the memory object is deleted and its re...