JOCL v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java™ (public API).
CL.java
Go to the documentation of this file.
1/* !---- DO NOT EDIT: This file autogenerated by com/jogamp/gluegen/JavaEmitter.java on Tue Jul 22 05:27:24 CEST 2025 ----! */
2/* !---- Java-Unit: [pkg com.jogamp.opencl.llb, cls CL], ../build/gensrc/java/com/jogamp/opencl/llb/CL.java ----! */
3
4package com.jogamp.opencl.llb;
5
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.*;
14import java.nio.*;
15import com.jogamp.common.util.*;
16import java.util.Set;
17import java.util.Map;
18import java.util.HashMap;
19import java.nio.charset.Charset;
20import java.nio.charset.StandardCharsets;
21
22 /**
23 * Java bindings to OpenCL, the Open Computing Language.
24 * @author Michael Bien, GlueGen, et al.
25 */
26public interface CL {
27
28 /** Defined as part of enum type "khronos_boolean_enum_t" with expression '<code>0</code>', CType: int */
29 public static final int KHRONOS_FALSE = 0x0;
30 /** Defined as part of enum type "khronos_boolean_enum_t" with expression '<code>1</code>', CType: int */
31 public static final int KHRONOS_TRUE = 0x1;
32 /** Defined as part of enum type "khronos_boolean_enum_t" with expression '<code>0x7FFFFFFF</code>', CType: int */
33 public static final int KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = 0x7fffffff;
34 /** Define "CL_INVALID_WORK_ITEM_SIZE" with expression '<code>-55</code>', CType: int */
35 public static final int CL_INVALID_WORK_ITEM_SIZE = -55;
36 /** Define "CL_INVALID_GLOBAL_WORK_SIZE" with expression '<code>-63</code>', CType: int */
37 public static final int CL_INVALID_GLOBAL_WORK_SIZE = -63;
38 /** Define "CL_BGRA" with expression '<code>0x10B6</code>', CType: int */
39 public static final int CL_BGRA = 0x10b6;
40 /** Define "CL_SNORM_INT8" with expression '<code>0x10D0</code>', CType: int */
41 public static final int CL_SNORM_INT8 = 0x10d0;
42 /** Define "CL_MEM_OBJECT_ALLOCATION_FAILURE" with expression '<code>-4</code>', CType: int */
43 public static final int CL_MEM_OBJECT_ALLOCATION_FAILURE = -4;
44 /** Define "CL_PROGRAM_BUILD_STATUS" with expression '<code>0x1181</code>', CType: int */
45 public static final int CL_PROGRAM_BUILD_STATUS = 0x1181;
46 /** Define "CL_SAMPLER_ADDRESSING_MODE" with expression '<code>0x1153</code>', CType: int */
47 public static final int CL_SAMPLER_ADDRESSING_MODE = 0x1153;
48 /** Define "CL_DEVICE_IMAGE2D_MAX_HEIGHT" with expression '<code>0x1012</code>', CType: int */
49 public static final int CL_DEVICE_IMAGE2D_MAX_HEIGHT = 0x1012;
50 /** Define "CL_DEVICE_TYPE_GPU" with expression '<code>(1 << 2)</code>', CType: int */
51 public static final int CL_DEVICE_TYPE_GPU = ( 0x1 << 0x2 );
52 /** Define "CL_RGBA" with expression '<code>0x10B5</code>', CType: int */
53 public static final int CL_RGBA = 0x10b5;
54 /** Define "CL_KERNEL_CONTEXT" with expression '<code>0x1193</code>', CType: int */
55 public static final int CL_KERNEL_CONTEXT = 0x1193;
56 /** Define "CL_SAMPLER_FILTER_MODE" with expression '<code>0x1154</code>', CType: int */
57 public static final int CL_SAMPLER_FILTER_MODE = 0x1154;
58 /** Define "CL_DEVICE_IMAGE3D_MAX_HEIGHT" with expression '<code>0x1014</code>', CType: int */
59 public static final int CL_DEVICE_IMAGE3D_MAX_HEIGHT = 0x1014;
60 /** Define "CL_IMAGE_HEIGHT" with expression '<code>0x1115</code>', CType: int */
61 public static final int CL_IMAGE_HEIGHT = 0x1115;
62 /** Define "CL_DBL_MAX_10_EXP" with expression '<code>+308</code>', CType: int */
63 public static final int CL_DBL_MAX_10_EXP = 0x134;
64 /** Define "CL_FLT_MIN_EXP" with expression '<code>-125</code>', CType: int */
65 public static final int CL_FLT_MIN_EXP = -125;
66 /** Define "CL_FP_INF_NAN" with expression '<code>(1 << 1)</code>', CType: int */
67 public static final int CL_FP_INF_NAN = ( 0x1 << 0x1 );
68 /** Define "CL_M_2_SQRTPI_F" with expression '<code>1.12837922573090f</code>', CType: float */
69 public static final float CL_M_2_SQRTPI_F = 1.1283792257309f;
70 /** Define "CL_PROFILING_INFO_NOT_AVAILABLE" with expression '<code>-7</code>', CType: int */
71 public static final int CL_PROFILING_INFO_NOT_AVAILABLE = -7;
72 /** Define "CL_MEM_READ_ONLY" with expression '<code>(1 << 2)</code>', CType: int */
73 public static final int CL_MEM_READ_ONLY = ( 0x1 << 0x2 );
74 /** Define "CL_BUILD_PROGRAM_FAILURE" with expression '<code>-11</code>', CType: int */
75 public static final int CL_BUILD_PROGRAM_FAILURE = -11;
76 /** Define "CL_INVALID_KERNEL_ARGS" with expression '<code>-52</code>', CType: int */
77 public static final int CL_INVALID_KERNEL_ARGS = -52;
78 /** Define "CL_SAMPLER_NORMALIZED_COORDS" with expression '<code>0x1152</code>', CType: int */
79 public static final int CL_SAMPLER_NORMALIZED_COORDS = 0x1152;
80 /** Define "CL_DEVICE_IMAGE3D_MAX_DEPTH" with expression '<code>0x1015</code>', CType: int */
81 public static final int CL_DEVICE_IMAGE3D_MAX_DEPTH = 0x1015;
82 /** Define "CL_DEVICE_REFERENCE_COUNT_EXT" with expression '<code>0x4057</code>', CType: int */
83 public static final int CL_DEVICE_REFERENCE_COUNT_EXT = 0x4057;
84 /** Define "CL_INT_MIN" with expression '<code>(-2147483647-1)</code>', CType: int */
85 public static final int CL_INT_MIN = ( - 0x7fffffff - 0x1 );
86 /** Define "CL_IMAGE_SLICE_PITCH" with expression '<code>0x1113</code>', CType: int */
87 public static final int CL_IMAGE_SLICE_PITCH = 0x1113;
88 /** Define "CL_DEVICES_FOR_GL_CONTEXT_KHR" with expression '<code>0x2007</code>', CType: int */
89 public static final int CL_DEVICES_FOR_GL_CONTEXT_KHR = 0x2007;
90 /** Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE" with expression '<code>0x100B</code>', CType: int */
91 public static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE = 0x100b;
92 /** Define "CL_DEVICE_TYPE" with expression '<code>0x1000</code>', CType: int */
93 public static final int CL_DEVICE_TYPE = 0x1000;
94 /** Define "CL_MEM_HOST_PTR" with expression '<code>0x1103</code>', CType: int */
95 public static final int CL_MEM_HOST_PTR = 0x1103;
96 /** Define "CL_AFFINITY_DOMAIN_NUMA_EXT" with expression '<code>0x10</code>', CType: int */
97 public static final int CL_AFFINITY_DOMAIN_NUMA_EXT = 0x10;
98 /** Define "CL_DEVICE_PROFILING_TIMER_RESOLUTION" with expression '<code>0x1025</code>', CType: int */
99 public static final int CL_DEVICE_PROFILING_TIMER_RESOLUTION = 0x1025;
100 /** Define "CL_ADDRESS_NONE" with expression '<code>0x1130</code>', CType: int */
101 public static final int CL_ADDRESS_NONE = 0x1130;
102 /** Define "CL_INVALID_PARTITION_NAME_EXT" with expression '<code>-1059</code>', CType: int */
103 public static final int CL_INVALID_PARTITION_NAME_EXT = -1059;
104 /** Define "CL_DBL_DIG" with expression '<code>15</code>', CType: int */
105 public static final int CL_DBL_DIG = 0xf;
106 /** Define "CL_PROGRAM_BINARIES" with expression '<code>0x1166</code>', CType: int */
107 public static final int CL_PROGRAM_BINARIES = 0x1166;
108 /** Define "CL_INVALID_MIP_LEVEL" with expression '<code>-62</code>', CType: int */
109 public static final int CL_INVALID_MIP_LEVEL = -62;
110 /** Define "CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV" with expression '<code>0x4001</code>', CType: int */
111 public static final int CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV = 0x4001;
112 /** Define "CL_DBL_RADIX" with expression '<code>2</code>', CType: int */
113 public static final int CL_DBL_RADIX = 0x2;
114 /** Define "CL_DEVICE_MAX_COMPUTE_UNITS" with expression '<code>0x1002</code>', CType: int */
115 public static final int CL_DEVICE_MAX_COMPUTE_UNITS = 0x1002;
116 /** Define "CL_UNORM_INT_101010" with expression '<code>0x10D6</code>', CType: int */
117 public static final int CL_UNORM_INT_101010 = 0x10d6;
118 /** Define "CL_ADDRESS_CLAMP" with expression '<code>0x1132</code>', CType: int */
119 public static final int CL_ADDRESS_CLAMP = 0x1132;
120 /** Define "CL_COMMAND_COPY_BUFFER" with expression '<code>0x11F5</code>', CType: int */
121 public static final int CL_COMMAND_COPY_BUFFER = 0x11f5;
122 /** Define "CL_INVALID_ARG_INDEX" with expression '<code>-49</code>', CType: int */
123 public static final int CL_INVALID_ARG_INDEX = -49;
124 /** Define "CL_FILTER_LINEAR" with expression '<code>0x1141</code>', CType: int */
125 public static final int CL_FILTER_LINEAR = 0x1141;
126 /** Define "CL_PROGRAM_REFERENCE_COUNT" with expression '<code>0x1160</code>', CType: int */
127 public static final int CL_PROGRAM_REFERENCE_COUNT = 0x1160;
128 /** Define "CL_M_2_PI" with expression '<code>0.636619772367581382433</code>', CType: float */
129 public static final float CL_M_2_PI = 0.6366197723675814f;
130 /** Define "CL_FLOAT" with expression '<code>0x10DE</code>', CType: int */
131 public static final int CL_FLOAT = 0x10de;
132 /** Define "CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV" with expression '<code>0x4005</code>', CType: int */
133 public static final int CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV = 0x4005;
134 /** Define "CL_KERNEL_NUM_ARGS" with expression '<code>0x1191</code>', CType: int */
135 public static final int CL_KERNEL_NUM_ARGS = 0x1191;
136 /** Define "CL_PLATFORM_VERSION" with expression '<code>0x0901</code>', CType: int */
137 public static final int CL_PLATFORM_VERSION = 0x901;
138 /** Define "CL_OUT_OF_RESOURCES" with expression '<code>-5</code>', CType: int */
139 public static final int CL_OUT_OF_RESOURCES = -5;
140 /** Define "CL_VERSION_1_1" with expression '<code>1</code>', CType: int */
141 public static final int CL_VERSION_1_1 = 0x1;
142 /** Define "CL_VERSION_1_0" with expression '<code>1</code>', CType: int */
143 public static final int CL_VERSION_1_0 = 0x1;
144 /** Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT" with expression '<code>0x100A</code>', CType: int */
145 public static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT = 0x100a;
146 /** Define "CL_INVALID_PLATFORM" with expression '<code>-32</code>', CType: int */
147 public static final int CL_INVALID_PLATFORM = -32;
148 /** Define "CL_M_PI_2_F" with expression '<code>1.57079637050629f</code>', CType: float */
149 public static final float CL_M_PI_2_F = 1.57079637050629f;
150 /** Define "CL_PROGRAM_BUILD_OPTIONS" with expression '<code>0x1182</code>', CType: int */
151 public static final int CL_PROGRAM_BUILD_OPTIONS = 0x1182;
152 /** Define "CL_BUILD_NONE" with expression '<code>-1</code>', CType: int */
153 public static final int CL_BUILD_NONE = -1;
154 /** Define "CL_RUNNING" with expression '<code>0x1</code>', CType: int */
155 public static final int CL_RUNNING = 0x1;
156 /** Define "CL_INVALID_KERNEL" with expression '<code>-48</code>', CType: int */
157 public static final int CL_INVALID_KERNEL = -48;
158 /** Define "CL_IMAGE_FORMAT_NOT_SUPPORTED" with expression '<code>-10</code>', CType: int */
159 public static final int CL_IMAGE_FORMAT_NOT_SUPPORTED = -10;
160 /** Define "CL_CHAR_MAX" with expression '<code>127</code>', CType: int */
161 public static final int CL_CHAR_MAX = 0x7f;
162 /** Define "CL_QUEUE_PROFILING_ENABLE" with expression '<code>(1 << 1)</code>', CType: int */
163 public static final int CL_QUEUE_PROFILING_ENABLE = ( 0x1 << 0x1 );
164 /** Define "CL_M_LN10_F" with expression '<code>2.30258512496948f</code>', CType: float */
165 public static final float CL_M_LN10_F = 2.30258512496948f;
166 /** Define "CL_IMAGE_DEPTH" with expression '<code>0x1116</code>', CType: int */
167 public static final int CL_IMAGE_DEPTH = 0x1116;
168 /** Define "CL_UNORM_INT16" with expression '<code>0x10D3</code>', CType: int */
169 public static final int CL_UNORM_INT16 = 0x10d3;
170 /** Define "CL_MAP_WRITE" with expression '<code>(1 << 1)</code>', CType: int */
171 public static final int CL_MAP_WRITE = ( 0x1 << 0x1 );
172 /** Define "CL_SCHAR_MAX" with expression '<code>127</code>', CType: int */
173 public static final int CL_SCHAR_MAX = 0x7f;
174 /** Define "GLEXT_64_TYPES_DEFINED" with expression '<code>1</code>', CType: int */
175 public static final int GLEXT_64_TYPES_DEFINED = 0x1;
176 /** Define "CL_PROFILING_COMMAND_END" with expression '<code>0x1283</code>', CType: int */
177 public static final int CL_PROFILING_COMMAND_END = 0x1283;
178 /** Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG" with expression '<code>0x1009</code>', CType: int */
179 public static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG = 0x1009;
180 /** Define "CL_CHAR_BIT" with expression '<code>8</code>', CType: int */
181 public static final int CL_CHAR_BIT = 0x8;
182 /** Define "CL_MEM_WRITE_ONLY" with expression '<code>(1 << 1)</code>', CType: int */
183 public static final int CL_MEM_WRITE_ONLY = ( 0x1 << 0x1 );
184 /** Define "CL_RGBx" with expression '<code>0x10BC</code>', CType: int */
185 public static final int CL_RGBx = 0x10bc;
186 /** Define "CL_MAP_FAILURE" with expression '<code>-12</code>', CType: int */
187 public static final int CL_MAP_FAILURE = -12;
188 /** Define "CL_MEM_COPY_OVERLAP" with expression '<code>-8</code>', CType: int */
189 public static final int CL_MEM_COPY_OVERLAP = -8;
190 /** Define "CL_DBL_MIN_10_EXP" with expression '<code>-307</code>', CType: int */
191 public static final int CL_DBL_MIN_10_EXP = -307;
192 /** Define "CL_PROFILING_COMMAND_SUBMIT" with expression '<code>0x1281</code>', CType: int */
193 public static final int CL_PROFILING_COMMAND_SUBMIT = 0x1281;
194 /** Define "CL_M_1_PI" with expression '<code>0.318309886183790691216</code>', CType: float */
195 public static final float CL_M_1_PI = 0.3183098861837907f;
196 /** Define "CL_QUEUE_PROPERTIES" with expression '<code>0x1093</code>', CType: int */
197 public static final int CL_QUEUE_PROPERTIES = 0x1093;
198 /** Define "CL_PROFILING_COMMAND_QUEUED" with expression '<code>0x1280</code>', CType: int */
199 public static final int CL_PROFILING_COMMAND_QUEUED = 0x1280;
200 /** Define "CL_INVALID_PROGRAM_EXECUTABLE" with expression '<code>-45</code>', CType: int */
201 public static final int CL_INVALID_PROGRAM_EXECUTABLE = -45;
202 /** Define "KHRONOS_MAX_ENUM" with expression '<code>0x7FFFFFFF</code>', CType: int */
203 public static final int KHRONOS_MAX_ENUM = 0x7fffffff;
204 /** Define "CL_MAXFLOAT" with expression '<code>0x1.fffffep127f</code>', CType: float */
205 public static final float CL_MAXFLOAT = 3.4028234663852886E38f;
206 /** Define "CL_COMMAND_NATIVE_KERNEL" with expression '<code>0x11F2</code>', CType: int */
207 public static final int CL_COMMAND_NATIVE_KERNEL = 0x11f2;
208 /** Define "CL_ADDRESS_REPEAT" with expression '<code>0x1133</code>', CType: int */
209 public static final int CL_ADDRESS_REPEAT = 0x1133;
210 /** Define "CL_TRUE" with expression '<code>1</code>', CType: int */
211 public static final int CL_TRUE = 0x1;
212 /** Define "CL_KERNEL_LOCAL_MEM_SIZE" with expression '<code>0x11B2</code>', CType: int */
213 public static final int CL_KERNEL_LOCAL_MEM_SIZE = 0x11b2;
214 /** Define "CL_FLT_EPSILON" with expression '<code>0x1.0p-23f</code>', CType: float */
215 public static final float CL_FLT_EPSILON = 1.1920928955078125E-7f;
216 /** Define "CL_DEVICE_GPU_OVERLAP_NV" with expression '<code>0x4004</code>', CType: int */
217 public static final int CL_DEVICE_GPU_OVERLAP_NV = 0x4004;
218 /** Define "CL_DEVICE_PARTITION_TYPES_EXT" with expression '<code>0x4055</code>', CType: int */
219 public static final int CL_DEVICE_PARTITION_TYPES_EXT = 0x4055;
220 /** Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT" with expression '<code>0x1037</code>', CType: int */
221 public static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT = 0x1037;
222 /** Define "CL_AFFINITY_DOMAIN_L3_CACHE_EXT" with expression '<code>0x3</code>', CType: int */
223 public static final int CL_AFFINITY_DOMAIN_L3_CACHE_EXT = 0x3;
224 /** Define "CL_DBL_MAX" with expression '<code>0x1.fffffffffffffp1023</code>', CType: double */
225 public static final double CL_DBL_MAX = 1.7976931348623157E308;
226 /** Define "CL_SUBMITTED" with expression '<code>0x2</code>', CType: int */
227 public static final int CL_SUBMITTED = 0x2;
228 /** Define "CL_PROGRAM_SOURCE" with expression '<code>0x1164</code>', CType: int */
229 public static final int CL_PROGRAM_SOURCE = 0x1164;
230 /** Define "CL_DEVICE_LOCAL_MEM_TYPE" with expression '<code>0x1022</code>', CType: int */
231 public static final int CL_DEVICE_LOCAL_MEM_TYPE = 0x1022;
232 /** Define "CL_M_PI_4_F" with expression '<code>0.78539818525314f</code>', CType: float */
233 public static final float CL_M_PI_4_F = 0.78539818525314f;
234 /** Define "CL_PLATFORM_VENDOR" with expression '<code>0x0903</code>', CType: int */
235 public static final int CL_PLATFORM_VENDOR = 0x903;
236 /** Define "CL_COMMAND_USER" with expression '<code>0x1204</code>', CType: int */
237 public static final int CL_COMMAND_USER = 0x1204;
238 /** Define "CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST" with expression '<code>-14</code>', CType: int */
239 public static final int CL_EXEC_STATUS_ERROR_FOR_EVENTS_IN_WAIT_LIST = -14;
240 /** Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG" with expression '<code>0x1039</code>', CType: int */
241 public static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG = 0x1039;
242 /** Define "CL_DEVICE_PARTITION_BY_NAMES_EXT" with expression '<code>0x4052</code>', CType: int */
243 public static final int CL_DEVICE_PARTITION_BY_NAMES_EXT = 0x4052;
244 /** Define "CL_COMMAND_COPY_BUFFER_TO_IMAGE" with expression '<code>0x11FA</code>', CType: int */
245 public static final int CL_COMMAND_COPY_BUFFER_TO_IMAGE = 0x11fa;
246 /** Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE" with expression '<code>0x103B</code>', CType: int */
247 public static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE = 0x103b;
248 /** Define "CL_BUILD_IN_PROGRESS" with expression '<code>-3</code>', CType: int */
249 public static final int CL_BUILD_IN_PROGRESS = -3;
250 /** Define "CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE" with expression '<code>0x11B3</code>', CType: int */
251 public static final int CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE = 0x11b3;
252 /** Define "KHRONOS_SUPPORT_FLOAT" with expression '<code>1</code>', CType: int */
253 public static final int KHRONOS_SUPPORT_FLOAT = 0x1;
254 /** Define "CL_INVALID_SAMPLER" with expression '<code>-41</code>', CType: int */
255 public static final int CL_INVALID_SAMPLER = -41;
256 /** Define "CL_DEVICE_VENDOR" with expression '<code>0x102C</code>', CType: int */
257 public static final int CL_DEVICE_VENDOR = 0x102c;
258 /** Define "CL_COMMAND_WRITE_BUFFER" with expression '<code>0x11F4</code>', CType: int */
259 public static final int CL_COMMAND_WRITE_BUFFER = 0x11f4;
260 /** Define "CL_BUILD_SUCCESS" with expression '<code>0</code>', CType: int */
261 public static final int CL_BUILD_SUCCESS = 0x0;
262 /** Define "CL_COMMAND_UNMAP_MEM_OBJECT" with expression '<code>0x11FD</code>', CType: int */
263 public static final int CL_COMMAND_UNMAP_MEM_OBJECT = 0x11fd;
264 /** Define "CL_M_SQRT2_F" with expression '<code>1.41421353816986f</code>', CType: float */
265 public static final float CL_M_SQRT2_F = 1.41421353816986f;
266 /** Define "CL_MEM_FLAGS" with expression '<code>0x1101</code>', CType: int */
267 public static final int CL_MEM_FLAGS = 0x1101;
268 /** Define "CL_FLT_MIN_10_EXP" with expression '<code>-37</code>', CType: int */
269 public static final int CL_FLT_MIN_10_EXP = -37;
270 /** Define "CL_INVALID_CONTEXT" with expression '<code>-34</code>', CType: int */
271 public static final int CL_INVALID_CONTEXT = -34;
272 /** Define "CL_DEVICE_MAX_WRITE_IMAGE_ARGS" with expression '<code>0x100F</code>', CType: int */
273 public static final int CL_DEVICE_MAX_WRITE_IMAGE_ARGS = 0x100f;
274 /** Define "CL_M_E" with expression '<code>2.718281828459045090796</code>', CType: float */
275 public static final float CL_M_E = 2.718281828459045f;
276 /** Define "CL_LOCAL" with expression '<code>0x1</code>', CType: int */
277 public static final int CL_LOCAL = 0x1;
278 /** Define "CL_DEVICE_EXECUTION_CAPABILITIES" with expression '<code>0x1029</code>', CType: int */
279 public static final int CL_DEVICE_EXECUTION_CAPABILITIES = 0x1029;
280 /** Define "CL_EXEC_KERNEL" with expression '<code>(1 << 0)</code>', CType: int */
281 public static final int CL_EXEC_KERNEL = ( 0x1 << 0x0 );
282 /** Define "CL_INT_MAX" with expression '<code>2147483647</code>', CType: int */
283 public static final int CL_INT_MAX = 0x7fffffff;
284 /** Define "CL_FP_DENORM" with expression '<code>(1 << 0)</code>', CType: int */
285 public static final int CL_FP_DENORM = ( 0x1 << 0x0 );
286 /** Define "CL_FLT_MIN" with expression '<code>0x1.0p-126f</code>', CType: float */
287 public static final float CL_FLT_MIN = 1.1754943508222875E-38f;
288 /** Define "CL_DBL_MAX_EXP" with expression '<code>+1024</code>', CType: int */
289 public static final int CL_DBL_MAX_EXP = 0x400;
290 /** Define "CL_RGB" with expression '<code>0x10B4</code>', CType: int */
291 public static final int CL_RGB = 0x10b4;
292 /** Define "CL_DEVICE_GLOBAL_MEM_CACHE_TYPE" with expression '<code>0x101C</code>', CType: int */
293 public static final int CL_DEVICE_GLOBAL_MEM_CACHE_TYPE = 0x101c;
294 /** Define "CL_DEVICE_MAX_SAMPLERS" with expression '<code>0x1018</code>', CType: int */
295 public static final int CL_DEVICE_MAX_SAMPLERS = 0x1018;
296 /** Define "CL_AFFINITY_DOMAIN_L4_CACHE_EXT" with expression '<code>0x4</code>', CType: int */
297 public static final int CL_AFFINITY_DOMAIN_L4_CACHE_EXT = 0x4;
298 /** Define "CL_M_SQRT1_2" with expression '<code>0.707106781186547572737</code>', CType: float */
299 public static final float CL_M_SQRT1_2 = 0.7071067811865476f;
300 /** Define "CL_DEVICE_HALF_FP_CONFIG" with expression '<code>0x1033</code>', CType: int */
301 public static final int CL_DEVICE_HALF_FP_CONFIG = 0x1033;
302 /** Define "CL_DEVICE_TYPE_ACCELERATOR" with expression '<code>(1 << 3)</code>', CType: int */
303 public static final int CL_DEVICE_TYPE_ACCELERATOR = ( 0x1 << 0x3 );
304 /** Define "CL_DEVICE_COMPILER_AVAILABLE" with expression '<code>0x1028</code>', CType: int */
305 public static final int CL_DEVICE_COMPILER_AVAILABLE = 0x1028;
306 /** Define "CL_COMMAND_ACQUIRE_GL_OBJECTS" with expression '<code>0x11FF</code>', CType: int */
307 public static final int CL_COMMAND_ACQUIRE_GL_OBJECTS = 0x11ff;
308 /** Define "CL_INVALID_PARTITION_COUNT_EXT" with expression '<code>-1058</code>', CType: int */
309 public static final int CL_INVALID_PARTITION_COUNT_EXT = -1058;
310 /** Define "CL_MEM_USE_HOST_PTR" with expression '<code>(1 << 3)</code>', CType: int */
311 public static final int CL_MEM_USE_HOST_PTR = ( 0x1 << 0x3 );
312 /** Define "CL_DEVICE_IMAGE2D_MAX_WIDTH" with expression '<code>0x1011</code>', CType: int */
313 public static final int CL_DEVICE_IMAGE2D_MAX_WIDTH = 0x1011;
314 /** Define "CL_EVENT_COMMAND_EXECUTION_STATUS" with expression '<code>0x11D3</code>', CType: int */
315 public static final int CL_EVENT_COMMAND_EXECUTION_STATUS = 0x11d3;
316 /** Define "CL_DEVICE_PLATFORM" with expression '<code>0x1031</code>', CType: int */
317 public static final int CL_DEVICE_PLATFORM = 0x1031;
318 /** Define "CL_INVALID_ARG_VALUE" with expression '<code>-50</code>', CType: int */
319 public static final int CL_INVALID_ARG_VALUE = -50;
320 /** Define "CL_DEVICE_MAX_MEM_ALLOC_SIZE" with expression '<code>0x1010</code>', CType: int */
321 public static final int CL_DEVICE_MAX_MEM_ALLOC_SIZE = 0x1010;
322 /** Define "CL_INVALID_DEVICE_TYPE" with expression '<code>-31</code>', CType: int */
323 public static final int CL_INVALID_DEVICE_TYPE = -31;
324 /** Define "CL_SUCCESS" with expression '<code>0</code>', CType: int */
325 public static final int CL_SUCCESS = 0x0;
326 /** Define "CL_UNORM_SHORT_565" with expression '<code>0x10D4</code>', CType: int */
327 public static final int CL_UNORM_SHORT_565 = 0x10d4;
328 /** Define "CL_DEVICE_PARTITION_EQUALLY_EXT" with expression '<code>0x4050</code>', CType: int */
329 public static final int CL_DEVICE_PARTITION_EQUALLY_EXT = 0x4050;
330 /** Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT" with expression '<code>0x103A</code>', CType: int */
331 public static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT = 0x103a;
332 /** Define "CL_IMAGE_FORMAT" with expression '<code>0x1110</code>', CType: int */
333 public static final int CL_IMAGE_FORMAT = 0x1110;
334 /** Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR" with expression '<code>0x1006</code>', CType: int */
335 public static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR = 0x1006;
336 /** Define "CL_IMAGE_ELEMENT_SIZE" with expression '<code>0x1111</code>', CType: int */
337 public static final int CL_IMAGE_ELEMENT_SIZE = 0x1111;
338 /** Define "CL_PROFILING_COMMAND_START" with expression '<code>0x1282</code>', CType: int */
339 public static final int CL_PROFILING_COMMAND_START = 0x1282;
340 /** Define "CL_INVALID_BUILD_OPTIONS" with expression '<code>-43</code>', CType: int */
341 public static final int CL_INVALID_BUILD_OPTIONS = -43;
342 /** Define "CL_COMMAND_WRITE_BUFFER_RECT" with expression '<code>0x1202</code>', CType: int */
343 public static final int CL_COMMAND_WRITE_BUFFER_RECT = 0x1202;
344 /** Define "CL_M_LN2_F" with expression '<code>0.69314718246460f</code>', CType: float */
345 public static final float CL_M_LN2_F = 0.6931471824646f;
346 /** Define "CL_INVALID_VALUE" with expression '<code>-30</code>', CType: int */
347 public static final int CL_INVALID_VALUE = -30;
348 /** Define "CL_CONTEXT_NUM_DEVICES" with expression '<code>0x1083</code>', CType: int */
349 public static final int CL_CONTEXT_NUM_DEVICES = 0x1083;
350 /** Define "CL_ARGB" with expression '<code>0x10B7</code>', CType: int */
351 public static final int CL_ARGB = 0x10b7;
352 /** Define "CL_DEVICE_MAX_CLOCK_FREQUENCY" with expression '<code>0x100C</code>', CType: int */
353 public static final int CL_DEVICE_MAX_CLOCK_FREQUENCY = 0x100c;
354 /** Define "CL_SIGNED_INT8" with expression '<code>0x10D7</code>', CType: int */
355 public static final int CL_SIGNED_INT8 = 0x10d7;
356 /** Define "CL_COMPLETE" with expression '<code>0x0</code>', CType: int */
357 public static final int CL_COMPLETE = 0x0;
358 /** Define "CL_FP_FMA" with expression '<code>(1 << 5)</code>', CType: int */
359 public static final int CL_FP_FMA = ( 0x1 << 0x5 );
360 /** Define "CL_INTENSITY" with expression '<code>0x10B8</code>', CType: int */
361 public static final int CL_INTENSITY = 0x10b8;
362 /** Define "CL_DEVICE_PARTITION_STYLE_EXT" with expression '<code>0x4058</code>', CType: int */
363 public static final int CL_DEVICE_PARTITION_STYLE_EXT = 0x4058;
364 /** Define "CL_DEVICE_NOT_AVAILABLE" with expression '<code>-2</code>', CType: int */
365 public static final int CL_DEVICE_NOT_AVAILABLE = -2;
366 /** Define "CL_DEVICE_MAX_PARAMETER_SIZE" with expression '<code>0x1017</code>', CType: int */
367 public static final int CL_DEVICE_MAX_PARAMETER_SIZE = 0x1017;
368 /** Define "CL_IMAGE_FORMAT_MISMATCH" with expression '<code>-9</code>', CType: int */
369 public static final int CL_IMAGE_FORMAT_MISMATCH = -9;
370 /** Define "CL_KERNEL_FUNCTION_NAME" with expression '<code>0x1190</code>', CType: int */
371 public static final int CL_KERNEL_FUNCTION_NAME = 0x1190;
372 /** Define "CL_PLATFORM_NOT_FOUND_KHR" with expression '<code>-1001</code>', CType: int */
373 public static final int CL_PLATFORM_NOT_FOUND_KHR = -1001;
374 /** Define "cl_khr_icd" with expression '<code>1</code>', CType: int */
375 public static final int cl_khr_icd = 0x1;
376 /** Define "CL_INVALID_BUFFER_SIZE" with expression '<code>-61</code>', CType: int */
377 public static final int CL_INVALID_BUFFER_SIZE = -61;
378 /** Define "CL_DEVICE_EXTENSIONS" with expression '<code>0x1030</code>', CType: int */
379 public static final int CL_DEVICE_EXTENSIONS = 0x1030;
380 /** Define "CL_DEVICE_PARTITION_BY_COUNTS_EXT" with expression '<code>0x4051</code>', CType: int */
381 public static final int CL_DEVICE_PARTITION_BY_COUNTS_EXT = 0x4051;
382 /** Define "CL_FLT_MAX_EXP" with expression '<code>+128</code>', CType: int */
383 public static final int CL_FLT_MAX_EXP = 0x80;
384 /** Define "CL_COMMAND_READ_IMAGE" with expression '<code>0x11F6</code>', CType: int */
385 public static final int CL_COMMAND_READ_IMAGE = 0x11f6;
386 /** Define "CL_UNSIGNED_INT32" with expression '<code>0x10DC</code>', CType: int */
387 public static final int CL_UNSIGNED_INT32 = 0x10dc;
388 /** Define "CL_COMPILER_NOT_AVAILABLE" with expression '<code>-3</code>', CType: int */
389 public static final int CL_COMPILER_NOT_AVAILABLE = -3;
390 /** Define "CL_R" with expression '<code>0x10B0</code>', CType: int */
391 public static final int CL_R = 0x10b0;
392 /** Define "CL_GL_OBJECT_RENDERBUFFER" with expression '<code>0x2003</code>', CType: int */
393 public static final int CL_GL_OBJECT_RENDERBUFFER = 0x2003;
394 /** Define "CL_UNSIGNED_INT16" with expression '<code>0x10DB</code>', CType: int */
395 public static final int CL_UNSIGNED_INT16 = 0x10db;
396 /** Define "CL_INVALID_EVENT" with expression '<code>-58</code>', CType: int */
397 public static final int CL_INVALID_EVENT = -58;
398 /** Define "CL_UNORM_INT8" with expression '<code>0x10D2</code>', CType: int */
399 public static final int CL_UNORM_INT8 = 0x10d2;
400 /** Define "CL_KERNEL_PROGRAM" with expression '<code>0x1194</code>', CType: int */
401 public static final int CL_KERNEL_PROGRAM = 0x1194;
402 /** Define "CL_PLATFORM_PROFILE" with expression '<code>0x0900</code>', CType: int */
403 public static final int CL_PLATFORM_PROFILE = 0x900;
404 /** Define "CL_READ_ONLY_CACHE" with expression '<code>0x1</code>', CType: int */
405 public static final int CL_READ_ONLY_CACHE = 0x1;
406 /** Define "CL_EVENT_REFERENCE_COUNT" with expression '<code>0x11D2</code>', CType: int */
407 public static final int CL_EVENT_REFERENCE_COUNT = 0x11d2;
408 /** Define "CL_A" with expression '<code>0x10B1</code>', CType: int */
409 public static final int CL_A = 0x10b1;
410 /** Define "CL_GL_MIPMAP_LEVEL" with expression '<code>0x2005</code>', CType: int */
411 public static final int CL_GL_MIPMAP_LEVEL = 0x2005;
412 /** Define "CL_PRINTF_CALLBACK_ARM" with expression '<code>0x40B0</code>', CType: int */
413 public static final int CL_PRINTF_CALLBACK_ARM = 0x40b0;
414 /** Define "CL_SHRT_MAX" with expression '<code>32767</code>', CType: int */
415 public static final int CL_SHRT_MAX = 0x7fff;
416 /** Define "CL_UNORM_SHORT_555" with expression '<code>0x10D5</code>', CType: int */
417 public static final int CL_UNORM_SHORT_555 = 0x10d5;
418 /** Define "CL_CONTEXT_PLATFORM" with expression '<code>0x1084</code>', CType: int */
419 public static final int CL_CONTEXT_PLATFORM = 0x1084;
420 /** Define "CL_DEVICE_MAX_WORK_ITEM_SIZES" with expression '<code>0x1005</code>', CType: int */
421 public static final int CL_DEVICE_MAX_WORK_ITEM_SIZES = 0x1005;
422 /** Define "CL_EGL_DISPLAY_KHR" with expression '<code>0x2009</code>', CType: int */
423 public static final int CL_EGL_DISPLAY_KHR = 0x2009;
424 /** Define "CL_M_2_SQRTPI" with expression '<code>1.128379167095512558561</code>', CType: float */
425 public static final float CL_M_2_SQRTPI = 1.1283791670955126f;
426 /** Define "CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS" with expression '<code>0x1003</code>', CType: int */
427 public static final int CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS = 0x1003;
428 /** Define "CL_GL_TEXTURE_TARGET" with expression '<code>0x2004</code>', CType: int */
429 public static final int CL_GL_TEXTURE_TARGET = 0x2004;
430 /** Define "CL_DEVICE_OPENCL_C_VERSION" with expression '<code>0x103D</code>', CType: int */
431 public static final int CL_DEVICE_OPENCL_C_VERSION = 0x103d;
432 /** Define "CL_MEM_TYPE" with expression '<code>0x1100</code>', CType: int */
433 public static final int CL_MEM_TYPE = 0x1100;
434 /** Define "CL_INVALID_WORK_GROUP_SIZE" with expression '<code>-54</code>', CType: int */
435 public static final int CL_INVALID_WORK_GROUP_SIZE = -54;
436 /** Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR" with expression '<code>0x1036</code>', CType: int */
437 public static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR = 0x1036;
438 /** Define "CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT" with expression '<code>0x4053</code>', CType: int */
439 public static final int CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT = 0x4053;
440 /** Define "CL_COMMAND_COPY_IMAGE" with expression '<code>0x11F8</code>', CType: int */
441 public static final int CL_COMMAND_COPY_IMAGE = 0x11f8;
442 /** Define "CL_FP_ROUND_TO_INF" with expression '<code>(1 << 4)</code>', CType: int */
443 public static final int CL_FP_ROUND_TO_INF = ( 0x1 << 0x4 );
444 /** Define "CL_M_PI" with expression '<code>3.141592653589793115998</code>', CType: float */
445 public static final float CL_M_PI = 3.141592653589793f;
446 /** Define "CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE" with expression '<code>0x101A</code>', CType: int */
447 public static final int CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE = 0x101a;
448 /** Define "CL_RA" with expression '<code>0x10B3</code>', CType: int */
449 public static final int CL_RA = 0x10b3;
450 /** Define "CL_FLT_MANT_DIG" with expression '<code>24</code>', CType: int */
451 public static final int CL_FLT_MANT_DIG = 0x18;
452 /** Define "CL_DBL_MIN" with expression '<code>0x1.0p-1022</code>', CType: double */
453 public static final double CL_DBL_MIN = 2.2250738585072014E-308;
454 /** Define "CL_COMMAND_COPY_IMAGE_TO_BUFFER" with expression '<code>0x11F9</code>', CType: int */
455 public static final int CL_COMMAND_COPY_IMAGE_TO_BUFFER = 0x11f9;
456 /** Define "cl_khr_gl_sharing" with expression '<code>1</code>', CType: int */
457 public static final int cl_khr_gl_sharing = 0x1;
458 /** Define "CL_DEVICE_MAX_CONSTANT_ARGS" with expression '<code>0x1021</code>', CType: int */
459 public static final int CL_DEVICE_MAX_CONSTANT_ARGS = 0x1021;
460 /** Define "CL_DEVICE_GLOBAL_MEM_SIZE" with expression '<code>0x101F</code>', CType: int */
461 public static final int CL_DEVICE_GLOBAL_MEM_SIZE = 0x101f;
462 /** Define "CL_NONE" with expression '<code>0x0</code>', CType: int */
463 public static final int CL_NONE = 0x0;
464 /** Define "CL_CONTEXT_REFERENCE_COUNT" with expression '<code>0x1080</code>', CType: int */
465 public static final int CL_CONTEXT_REFERENCE_COUNT = 0x1080;
466 /** Define "CL_RG" with expression '<code>0x10B2</code>', CType: int */
467 public static final int CL_RG = 0x10b2;
468 /** Define "CL_FLT_RADIX" with expression '<code>2</code>', CType: int */
469 public static final int CL_FLT_RADIX = 0x2;
470 /** Define "CL_KERNEL_COMPILE_WORK_GROUP_SIZE" with expression '<code>0x11B1</code>', CType: int */
471 public static final int CL_KERNEL_COMPILE_WORK_GROUP_SIZE = 0x11b1;
472 /** Define "CL_M_1_PI_F" with expression '<code>0.31830987334251f</code>', CType: float */
473 public static final float CL_M_1_PI_F = 0.31830987334251f;
474 /** Define "CL_DEVICE_ADDRESS_BITS" with expression '<code>0x100D</code>', CType: int */
475 public static final int CL_DEVICE_ADDRESS_BITS = 0x100d;
476 /** Define "CL_CGL_SHAREGROUP_KHR" with expression '<code>0x200C</code>', CType: int */
477 public static final int CL_CGL_SHAREGROUP_KHR = 0x200c;
478 /** Define "CL_Rx" with expression '<code>0x10BA</code>', CType: int */
479 public static final int CL_Rx = 0x10ba;
480 /** Define "CL_INVALID_KERNEL_NAME" with expression '<code>-46</code>', CType: int */
481 public static final int CL_INVALID_KERNEL_NAME = -46;
482 /** Define "CL_BUILD_ERROR" with expression '<code>-2</code>', CType: int */
483 public static final int CL_BUILD_ERROR = -2;
484 /** Define "CL_ADDRESS_CLAMP_TO_EDGE" with expression '<code>0x1131</code>', CType: int */
485 public static final int CL_ADDRESS_CLAMP_TO_EDGE = 0x1131;
486 /** Define "CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR" with expression '<code>0x200D</code>', CType: int */
487 public static final int CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR = 0x200d;
488 /** Define "CL_DEVICE_GLOBAL_MEM_CACHE_SIZE" with expression '<code>0x101E</code>', CType: int */
489 public static final int CL_DEVICE_GLOBAL_MEM_CACHE_SIZE = 0x101e;
490 /** Define "CL_MEM_CONTEXT" with expression '<code>0x1106</code>', CType: int */
491 public static final int CL_MEM_CONTEXT = 0x1106;
492 /** Define "CL_COMMAND_READ_BUFFER" with expression '<code>0x11F3</code>', CType: int */
493 public static final int CL_COMMAND_READ_BUFFER = 0x11f3;
494 /** Define "CL_FP_ROUND_TO_ZERO" with expression '<code>(1 << 3)</code>', CType: int */
495 public static final int CL_FP_ROUND_TO_ZERO = ( 0x1 << 0x3 );
496 /** Define "CL_IMAGE_ROW_PITCH" with expression '<code>0x1112</code>', CType: int */
497 public static final int CL_IMAGE_ROW_PITCH = 0x1112;
498 /** Define "CL_DEVICE_WARP_SIZE_NV" with expression '<code>0x4003</code>', CType: int */
499 public static final int CL_DEVICE_WARP_SIZE_NV = 0x4003;
500 /** Define "CL_M_PI_F" with expression '<code>3.14159274101257f</code>', CType: float */
501 public static final float CL_M_PI_F = 3.14159274101257f;
502 /** Define "CL_M_PI_4" with expression '<code>0.785398163397448278999</code>', CType: float */
503 public static final float CL_M_PI_4 = 0.7853981633974483f;
504 /** Define "CL_PLATFORM_EXTENSIONS" with expression '<code>0x0904</code>', CType: int */
505 public static final int CL_PLATFORM_EXTENSIONS = 0x904;
506 /** Define "CL_M_PI_2" with expression '<code>1.570796326794896557999</code>', CType: float */
507 public static final float CL_M_PI_2 = 1.5707963267948966f;
508 /** Define "CL_PROGRAM_CONTEXT" with expression '<code>0x1161</code>', CType: int */
509 public static final int CL_PROGRAM_CONTEXT = 0x1161;
510 /** Define "CL_M_E_F" with expression '<code>2.71828174591064f</code>', CType: float */
511 public static final float CL_M_E_F = 2.71828174591064f;
512 /** Define "CL_COMMAND_READ_BUFFER_RECT" with expression '<code>0x1201</code>', CType: int */
513 public static final int CL_COMMAND_READ_BUFFER_RECT = 0x1201;
514 /** Define "CL_M_SQRT1_2_F" with expression '<code>0.70710676908493f</code>', CType: float */
515 public static final float CL_M_SQRT1_2_F = 0.70710676908493f;
516 /** Define "CL_MEM_MAP_COUNT" with expression '<code>0x1104</code>', CType: int */
517 public static final int CL_MEM_MAP_COUNT = 0x1104;
518 /** Define "CL_DEVICE_IMAGE3D_MAX_WIDTH" with expression '<code>0x1013</code>', CType: int */
519 public static final int CL_DEVICE_IMAGE3D_MAX_WIDTH = 0x1013;
520 /** Define "CL_EVENT_CONTEXT" with expression '<code>0x11D4</code>', CType: int */
521 public static final int CL_EVENT_CONTEXT = 0x11d4;
522 /** Define "CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT" with expression '<code>0x100</code>', CType: int */
523 public static final int CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT = 0x100;
524 /** Define "CL_DBL_MIN_EXP" with expression '<code>-1021</code>', CType: int */
525 public static final int CL_DBL_MIN_EXP = -1021;
526 /** Define "CL_M_LN2" with expression '<code>0.693147180559945286227</code>', CType: float */
527 public static final float CL_M_LN2 = 0.6931471805599453f;
528 /** Define "CL_SIGNED_INT16" with expression '<code>0x10D8</code>', CType: int */
529 public static final int CL_SIGNED_INT16 = 0x10d8;
530 /** Define "CL_DBL_EPSILON" with expression '<code>0x1.0p-52</code>', CType: float */
531 public static final float CL_DBL_EPSILON = 2.220446049250313E-16f;
532 /** Define "CL_INVALID_COMMAND_QUEUE" with expression '<code>-36</code>', CType: int */
533 public static final int CL_INVALID_COMMAND_QUEUE = -36;
534 /** Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_INT" with expression '<code>0x1038</code>', CType: int */
535 public static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_INT = 0x1038;
536 /** Define "CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE" with expression '<code>(1 << 0)</code>', CType: int */
537 public static final int CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE = ( 0x1 << 0x0 );
538 /** Define "CL_FLT_MAX" with expression '<code>0x1.fffffep127f</code>', CType: float */
539 public static final float CL_FLT_MAX = 3.4028234663852886E38f;
540 /** Define "CL_LUMINANCE" with expression '<code>0x10B9</code>', CType: int */
541 public static final int CL_LUMINANCE = 0x10b9;
542 /** Define "CL_DEVICE_AVAILABLE" with expression '<code>0x1027</code>', CType: int */
543 public static final int CL_DEVICE_AVAILABLE = 0x1027;
544 /** Define "CL_UCHAR_MAX" with expression '<code>255</code>', CType: int */
545 public static final int CL_UCHAR_MAX = 0xff;
546 /** Define "CL_DEVICE_IMAGE_SUPPORT" with expression '<code>0x1016</code>', CType: int */
547 public static final int CL_DEVICE_IMAGE_SUPPORT = 0x1016;
548 /** Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF" with expression '<code>0x1034</code>', CType: int */
549 public static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF = 0x1034;
550 /** Define "CL_DEVICE_REGISTERS_PER_BLOCK_NV" with expression '<code>0x4002</code>', CType: int */
551 public static final int CL_DEVICE_REGISTERS_PER_BLOCK_NV = 0x4002;
552 /** Define "CL_GLX_DISPLAY_KHR" with expression '<code>0x200A</code>', CType: int */
553 public static final int CL_GLX_DISPLAY_KHR = 0x200a;
554 /** Define "CL_PROGRAM_NUM_DEVICES" with expression '<code>0x1162</code>', CType: int */
555 public static final int CL_PROGRAM_NUM_DEVICES = 0x1162;
556 /** Define "CL_INVALID_BINARY" with expression '<code>-42</code>', CType: int */
557 public static final int CL_INVALID_BINARY = -42;
558 /** Define "CL_DEVICE_PARENT_DEVICE_EXT" with expression '<code>0x4054</code>', CType: int */
559 public static final int CL_DEVICE_PARENT_DEVICE_EXT = 0x4054;
560 /** Define "CL_MEM_OFFSET" with expression '<code>0x1108</code>', CType: int */
561 public static final int CL_MEM_OFFSET = 0x1108;
562 /** Define "CL_INVALID_ARG_SIZE" with expression '<code>-51</code>', CType: int */
563 public static final int CL_INVALID_ARG_SIZE = -51;
564 /** Define "CL_FLT_DIG" with expression '<code>6</code>', CType: int */
565 public static final int CL_FLT_DIG = 0x6;
566 /** Define "CL_M_LN10" with expression '<code>2.302585092994045901094</code>', CType: float */
567 public static final float CL_M_LN10 = 2.302585092994046f;
568 /** Define "CL_UNSIGNED_INT8" with expression '<code>0x10DA</code>', CType: int */
569 public static final int CL_UNSIGNED_INT8 = 0x10da;
570 /** Define "CL_PROGRAM_BUILD_LOG" with expression '<code>0x1183</code>', CType: int */
571 public static final int CL_PROGRAM_BUILD_LOG = 0x1183;
572 /** Define "CL_INVALID_EVENT_WAIT_LIST" with expression '<code>-57</code>', CType: int */
573 public static final int CL_INVALID_EVENT_WAIT_LIST = -57;
574 /** Define "CL_COMMAND_MARKER" with expression '<code>0x11FE</code>', CType: int */
575 public static final int CL_COMMAND_MARKER = 0x11fe;
576 /** Define "CL_DEVICE_TYPE_DEFAULT" with expression '<code>(1 << 0)</code>', CType: int */
577 public static final int CL_DEVICE_TYPE_DEFAULT = ( 0x1 << 0x0 );
578 /** Define "CL_SIGNED_INT32" with expression '<code>0x10D9</code>', CType: int */
579 public static final int CL_SIGNED_INT32 = 0x10d9;
580 /** Define "CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE" with expression '<code>0x101D</code>', CType: int */
581 public static final int CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE = 0x101d;
582 /** Define "CL_PLATFORM_NAME" with expression '<code>0x0902</code>', CType: int */
583 public static final int CL_PLATFORM_NAME = 0x902;
584 /** Define "CL_EVENT_COMMAND_TYPE" with expression '<code>0x11D1</code>', CType: int */
585 public static final int CL_EVENT_COMMAND_TYPE = 0x11d1;
586 /** Define "CL_READ_WRITE_CACHE" with expression '<code>0x2</code>', CType: int */
587 public static final int CL_READ_WRITE_CACHE = 0x2;
588 /** Define "CL_BUFFER_CREATE_TYPE_REGION" with expression '<code>0x1220</code>', CType: int */
589 public static final int CL_BUFFER_CREATE_TYPE_REGION = 0x1220;
590 /** Define "CL_RGx" with expression '<code>0x10BB</code>', CType: int */
591 public static final int CL_RGx = 0x10bb;
592 /** Define "CL_PRINTF_BUFFERSIZE_ARM" with expression '<code>0x40B1</code>', CType: int */
593 public static final int CL_PRINTF_BUFFERSIZE_ARM = 0x40b1;
594 /** Define "CL_M_LOG2E_F" with expression '<code>1.44269502162933f</code>', CType: float */
595 public static final float CL_M_LOG2E_F = 1.44269502162933f;
596 /** Define "CL_EVENT_COMMAND_QUEUE" with expression '<code>0x11D0</code>', CType: int */
597 public static final int CL_EVENT_COMMAND_QUEUE = 0x11d0;
598 /** Define "CL_M_LOG10E" with expression '<code>0.434294481903251816668</code>', CType: float */
599 public static final float CL_M_LOG10E = 0.4342944819032518f;
600 /** Define "CL_INVALID_PROGRAM" with expression '<code>-44</code>', CType: int */
601 public static final int CL_INVALID_PROGRAM = -44;
602 /** Define "CL_DEVICE_LOCAL_MEM_SIZE" with expression '<code>0x1023</code>', CType: int */
603 public static final int CL_DEVICE_LOCAL_MEM_SIZE = 0x1023;
604 /** Define "CL_PROGRAM_DEVICES" with expression '<code>0x1163</code>', CType: int */
605 public static final int CL_PROGRAM_DEVICES = 0x1163;
606 /** Define "CL_INVALID_IMAGE_SIZE" with expression '<code>-40</code>', CType: int */
607 public static final int CL_INVALID_IMAGE_SIZE = -40;
608 /** Define "CL_FILTER_NEAREST" with expression '<code>0x1140</code>', CType: int */
609 public static final int CL_FILTER_NEAREST = 0x1140;
610 /** Define "CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR" with expression '<code>0x2006</code>', CType: int */
611 public static final int CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR = 0x2006;
612 /** Define "CL_DEVICE_PROFILE" with expression '<code>0x102E</code>', CType: int */
613 public static final int CL_DEVICE_PROFILE = 0x102e;
614 /** Define "CL_DEVICE_HOST_UNIFIED_MEMORY" with expression '<code>0x1035</code>', CType: int */
615 public static final int CL_DEVICE_HOST_UNIFIED_MEMORY = 0x1035;
616 /** Define "CL_QUEUE_DEVICE" with expression '<code>0x1091</code>', CType: int */
617 public static final int CL_QUEUE_DEVICE = 0x1091;
618 /** Define "CL_IMAGE_WIDTH" with expression '<code>0x1114</code>', CType: int */
619 public static final int CL_IMAGE_WIDTH = 0x1114;
620 /** Define "CL_SAMPLER_REFERENCE_COUNT" with expression '<code>0x1150</code>', CType: int */
621 public static final int CL_SAMPLER_REFERENCE_COUNT = 0x1150;
622 /** Define "CL_FP_SOFT_FLOAT" with expression '<code>(1 << 6)</code>', CType: int */
623 public static final int CL_FP_SOFT_FLOAT = ( 0x1 << 0x6 );
624 /** Define "CL_GL_OBJECT_BUFFER" with expression '<code>0x2000</code>', CType: int */
625 public static final int CL_GL_OBJECT_BUFFER = 0x2000;
626 /** Define "CL_INVALID_HOST_PTR" with expression '<code>-37</code>', CType: int */
627 public static final int CL_INVALID_HOST_PTR = -37;
628 /** Define "CL_M_SQRT2" with expression '<code>1.414213562373095145475</code>', CType: float */
629 public static final float CL_M_SQRT2 = 1.4142135623730951f;
630 /** Define "CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV" with expression '<code>0x4000</code>', CType: int */
631 public static final int CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV = 0x4000;
632 /** Define "CL_SHRT_MIN" with expression '<code>(-32767-1)</code>', CType: int */
633 public static final int CL_SHRT_MIN = ( - 0x7fff - 0x1 );
634 /** Define "CL_GL_CONTEXT_KHR" with expression '<code>0x2008</code>', CType: int */
635 public static final int CL_GL_CONTEXT_KHR = 0x2008;
636 /** Define "CL_KERNEL_WORK_GROUP_SIZE" with expression '<code>0x11B0</code>', CType: int */
637 public static final int CL_KERNEL_WORK_GROUP_SIZE = 0x11b0;
638 /** Define "CL_MEM_COPY_HOST_PTR" with expression '<code>(1 << 5)</code>', CType: int */
639 public static final int CL_MEM_COPY_HOST_PTR = ( 0x1 << 0x5 );
640 /** Define "CL_PROGRAM_BINARY_SIZES" with expression '<code>0x1165</code>', CType: int */
641 public static final int CL_PROGRAM_BINARY_SIZES = 0x1165;
642 /** Define "CL_WGL_HDC_KHR" with expression '<code>0x200B</code>', CType: int */
643 public static final int CL_WGL_HDC_KHR = 0x200b;
644 /** Define "CL_INVALID_DEVICE" with expression '<code>-33</code>', CType: int */
645 public static final int CL_INVALID_DEVICE = -33;
646 /** Define "CL_DEVICE_TYPE_ALL" with expression '<code>0xFFFFFFFF</code>', CType: long */
647 public static final long CL_DEVICE_TYPE_ALL = 0xffffffffL;
648 /** Define "CL_INVALID_WORK_DIMENSION" with expression '<code>-53</code>', CType: int */
649 public static final int CL_INVALID_WORK_DIMENSION = -53;
650 /** Define "CL_DEVICE_DOUBLE_FP_CONFIG" with expression '<code>0x1032</code>', CType: int */
651 public static final int CL_DEVICE_DOUBLE_FP_CONFIG = 0x1032;
652 /** Define "CL_DEVICE_NAME" with expression '<code>0x102B</code>', CType: int */
653 public static final int CL_DEVICE_NAME = 0x102b;
654 /** Define "CL_COMMAND_MAP_BUFFER" with expression '<code>0x11FB</code>', CType: int */
655 public static final int CL_COMMAND_MAP_BUFFER = 0x11fb;
656 /** Define "CL_MEM_ASSOCIATED_MEMOBJECT" with expression '<code>0x1107</code>', CType: int */
657 public static final int CL_MEM_ASSOCIATED_MEMOBJECT = 0x1107;
658 /** Define "CL_HALF_FLOAT" with expression '<code>0x10DD</code>', CType: int */
659 public static final int CL_HALF_FLOAT = 0x10dd;
660 /** Define "CL_DEVICE_TYPE_CPU" with expression '<code>(1 << 1)</code>', CType: int */
661 public static final int CL_DEVICE_TYPE_CPU = ( 0x1 << 0x1 );
662 /** Define "CL_COMMAND_NDRANGE_KERNEL" with expression '<code>0x11F0</code>', CType: int */
663 public static final int CL_COMMAND_NDRANGE_KERNEL = 0x11f0;
664 /** Define "CL_AFFINITY_DOMAIN_L2_CACHE_EXT" with expression '<code>0x2</code>', CType: int */
665 public static final int CL_AFFINITY_DOMAIN_L2_CACHE_EXT = 0x2;
666 /** Define "CL_INVALID_PROPERTY" with expression '<code>-64</code>', CType: int */
667 public static final int CL_INVALID_PROPERTY = -64;
668 /** Define "CL_DEVICE_VERSION" with expression '<code>0x102F</code>', CType: int */
669 public static final int CL_DEVICE_VERSION = 0x102f;
670 /** Define "CL_DEVICE_SINGLE_FP_CONFIG" with expression '<code>0x101B</code>', CType: int */
671 public static final int CL_DEVICE_SINGLE_FP_CONFIG = 0x101b;
672 /** Define "CL_QUEUED" with expression '<code>0x3</code>', CType: int */
673 public static final int CL_QUEUED = 0x3;
674 /** Define "CL_DEVICE_MEM_BASE_ADDR_ALIGN" with expression '<code>0x1019</code>', CType: int */
675 public static final int CL_DEVICE_MEM_BASE_ADDR_ALIGN = 0x1019;
676 /** Define "CL_DEVICE_PROFILING_TIMER_OFFSET_AMD" with expression '<code>0x4036</code>', CType: int */
677 public static final int CL_DEVICE_PROFILING_TIMER_OFFSET_AMD = 0x4036;
678 /** Define "CL_INVALID_OPERATION" with expression '<code>-59</code>', CType: int */
679 public static final int CL_INVALID_OPERATION = -59;
680 /** Define "CL_MEM_OBJECT_IMAGE3D" with expression '<code>0x10F2</code>', CType: int */
681 public static final int CL_MEM_OBJECT_IMAGE3D = 0x10f2;
682 /** Define "CL_MEM_ALLOC_HOST_PTR" with expression '<code>(1 << 4)</code>', CType: int */
683 public static final int CL_MEM_ALLOC_HOST_PTR = ( 0x1 << 0x4 );
684 /** Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT" with expression '<code>0x1007</code>', CType: int */
685 public static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT = 0x1007;
686 /** Define "KHRONOS_SUPPORT_INT64" with expression '<code>1</code>', CType: int */
687 public static final int KHRONOS_SUPPORT_INT64 = 0x1;
688 /** Define "CL_DEVICE_MAX_READ_IMAGE_ARGS" with expression '<code>0x100E</code>', CType: int */
689 public static final int CL_DEVICE_MAX_READ_IMAGE_ARGS = 0x100e;
690 /** Define "CL_CONTEXT_DEVICES" with expression '<code>0x1081</code>', CType: int */
691 public static final int CL_CONTEXT_DEVICES = 0x1081;
692 /** Define "CL_KERNEL_REFERENCE_COUNT" with expression '<code>0x1192</code>', CType: int */
693 public static final int CL_KERNEL_REFERENCE_COUNT = 0x1192;
694 /** Define "CL_DEVICE_PARTITION_FAILED_EXT" with expression '<code>-1057</code>', CType: int */
695 public static final int CL_DEVICE_PARTITION_FAILED_EXT = -1057;
696 /** Define "CL_DEVICE_NOT_FOUND" with expression '<code>-1</code>', CType: int */
697 public static final int CL_DEVICE_NOT_FOUND = -1;
698 /** Define "CL_MEM_OBJECT_IMAGE2D" with expression '<code>0x10F1</code>', CType: int */
699 public static final int CL_MEM_OBJECT_IMAGE2D = 0x10f1;
700 /** Define "CL_DEVICE_AFFINITY_DOMAINS_EXT" with expression '<code>0x4056</code>', CType: int */
701 public static final int CL_DEVICE_AFFINITY_DOMAINS_EXT = 0x4056;
702 /** Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT" with expression '<code>0x1008</code>', CType: int */
703 public static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT = 0x1008;
704 /** Define "CL_INVALID_KERNEL_DEFINITION" with expression '<code>-47</code>', CType: int */
705 public static final int CL_INVALID_KERNEL_DEFINITION = -47;
706 /** Define "CL_M_2_PI_F" with expression '<code>0.63661974668503f</code>', CType: float */
707 public static final float CL_M_2_PI_F = 0.63661974668503f;
708 /** Define "CL_KERNEL_PRIVATE_MEM_SIZE" with expression '<code>0x11B4</code>', CType: int */
709 public static final int CL_KERNEL_PRIVATE_MEM_SIZE = 0x11b4;
710 /** Define "CL_INVALID_GLOBAL_OFFSET" with expression '<code>-56</code>', CType: int */
711 public static final int CL_INVALID_GLOBAL_OFFSET = -56;
712 /** Define "CL_COMMAND_COPY_BUFFER_RECT" with expression '<code>0x1203</code>', CType: int */
713 public static final int CL_COMMAND_COPY_BUFFER_RECT = 0x1203;
714 /** Define "CL_PLATFORM_ICD_SUFFIX_KHR" with expression '<code>0x0920</code>', CType: int */
715 public static final int CL_PLATFORM_ICD_SUFFIX_KHR = 0x920;
716 /** Define "CL_CONTEXT_PROPERTIES" with expression '<code>0x1082</code>', CType: int */
717 public static final int CL_CONTEXT_PROPERTIES = 0x1082;
718 /** Define "CL_COMMAND_TASK" with expression '<code>0x11F1</code>', CType: int */
719 public static final int CL_COMMAND_TASK = 0x11f1;
720 /** Define "CL_QUEUE_CONTEXT" with expression '<code>0x1090</code>', CType: int */
721 public static final int CL_QUEUE_CONTEXT = 0x1090;
722 /** Define "CL_DEVICE_QUEUE_PROPERTIES" with expression '<code>0x102A</code>', CType: int */
723 public static final int CL_DEVICE_QUEUE_PROPERTIES = 0x102a;
724 /** Define "CL_MEM_OBJECT_BUFFER" with expression '<code>0x10F0</code>', CType: int */
725 public static final int CL_MEM_OBJECT_BUFFER = 0x10f0;
726 /** Define "CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR" with expression '<code>-1000</code>', CType: int */
727 public static final int CL_INVALID_GL_SHAREGROUP_REFERENCE_KHR = -1000;
728 /** Define "CL_AFFINITY_DOMAIN_L1_CACHE_EXT" with expression '<code>0x1</code>', CType: int */
729 public static final int CL_AFFINITY_DOMAIN_L1_CACHE_EXT = 0x1;
730 /** Define "CL_INVALID_GL_OBJECT" with expression '<code>-60</code>', CType: int */
731 public static final int CL_INVALID_GL_OBJECT = -60;
732 /** Define "CL_MISALIGNED_SUB_BUFFER_OFFSET" with expression '<code>-13</code>', CType: int */
733 public static final int CL_MISALIGNED_SUB_BUFFER_OFFSET = -13;
734 /** Define "CL_COMMAND_RELEASE_GL_OBJECTS" with expression '<code>0x1200</code>', CType: int */
735 public static final int CL_COMMAND_RELEASE_GL_OBJECTS = 0x1200;
736 /** Define "CL_GL_OBJECT_TEXTURE2D" with expression '<code>0x2001</code>', CType: int */
737 public static final int CL_GL_OBJECT_TEXTURE2D = 0x2001;
738 /** Define "CL_USHRT_MAX" with expression '<code>65535</code>', CType: int */
739 public static final int CL_USHRT_MAX = 0xffff;
740 /** Define "CL_SNORM_INT16" with expression '<code>0x10D1</code>', CType: int */
741 public static final int CL_SNORM_INT16 = 0x10d1;
742 /** Define "CL_INVALID_IMAGE_FORMAT_DESCRIPTOR" with expression '<code>-39</code>', CType: int */
743 public static final int CL_INVALID_IMAGE_FORMAT_DESCRIPTOR = -39;
744 /** Define "CL_CHAR_MIN" with expression '<code>(-127-1)</code>', CType: int */
745 public static final int CL_CHAR_MIN = ( - 0x7f - 0x1 );
746 /** Define "CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE" with expression '<code>0x1020</code>', CType: int */
747 public static final int CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE = 0x1020;
748 /** Define "CL_DEVICE_MAX_WORK_GROUP_SIZE" with expression '<code>0x1004</code>', CType: int */
749 public static final int CL_DEVICE_MAX_WORK_GROUP_SIZE = 0x1004;
750 /** Define "CL_ADDRESS_MIRRORED_REPEAT" with expression '<code>0x1134</code>', CType: int */
751 public static final int CL_ADDRESS_MIRRORED_REPEAT = 0x1134;
752 /** Define "CL_COMMAND_MAP_IMAGE" with expression '<code>0x11FC</code>', CType: int */
753 public static final int CL_COMMAND_MAP_IMAGE = 0x11fc;
754 /** Define "CL_GLOBAL" with expression '<code>0x2</code>', CType: int */
755 public static final int CL_GLOBAL = 0x2;
756 /** Define "cl_ext_device_fission" with expression '<code>1</code>', CType: int */
757 public static final int cl_ext_device_fission = 0x1;
758 /** Define "CL_INVALID_QUEUE_PROPERTIES" with expression '<code>-35</code>', CType: int */
759 public static final int CL_INVALID_QUEUE_PROPERTIES = -35;
760 /** Define "CL_MEM_REFERENCE_COUNT" with expression '<code>0x1105</code>', CType: int */
761 public static final int CL_MEM_REFERENCE_COUNT = 0x1105;
762 /** Define "CL_GL_OBJECT_TEXTURE3D" with expression '<code>0x2002</code>', CType: int */
763 public static final int CL_GL_OBJECT_TEXTURE3D = 0x2002;
764 /** Define "CL_DRIVER_VERSION" with expression '<code>0x102D</code>', CType: int */
765 public static final int CL_DRIVER_VERSION = 0x102d;
766 /** Define "CL_DEVICE_VENDOR_ID" with expression '<code>0x1001</code>', CType: int */
767 public static final int CL_DEVICE_VENDOR_ID = 0x1001;
768 /** Define "CL_SAMPLER_CONTEXT" with expression '<code>0x1151</code>', CType: int */
769 public static final int CL_SAMPLER_CONTEXT = 0x1151;
770 /** Define "HAS_STDDEF" with expression '<code>1</code>', CType: int */
771 public static final int HAS_STDDEF = 0x1;
772 /** Define "CL_FLT_MAX_10_EXP" with expression '<code>+38</code>', CType: int */
773 public static final int CL_FLT_MAX_10_EXP = 0x26;
774 /** Define "CL_M_LOG10E_F" with expression '<code>0.43429449200630f</code>', CType: float */
775 public static final float CL_M_LOG10E_F = 0.4342944920063f;
776 /** Define "CL_FP_ROUND_TO_NEAREST" with expression '<code>(1 << 2)</code>', CType: int */
777 public static final int CL_FP_ROUND_TO_NEAREST = ( 0x1 << 0x2 );
778 /** Define "CL_DEVICE_ERROR_CORRECTION_SUPPORT" with expression '<code>0x1024</code>', CType: int */
779 public static final int CL_DEVICE_ERROR_CORRECTION_SUPPORT = 0x1024;
780 /** Define "CL_DEVICE_ENDIAN_LITTLE" with expression '<code>0x1026</code>', CType: int */
781 public static final int CL_DEVICE_ENDIAN_LITTLE = 0x1026;
782 /** Define "CL_EXEC_NATIVE_KERNEL" with expression '<code>(1 << 1)</code>', CType: int */
783 public static final int CL_EXEC_NATIVE_KERNEL = ( 0x1 << 0x1 );
784 /** Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF" with expression '<code>0x103C</code>', CType: int */
785 public static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF = 0x103c;
786 /** Define "CL_COMMAND_WRITE_IMAGE" with expression '<code>0x11F7</code>', CType: int */
787 public static final int CL_COMMAND_WRITE_IMAGE = 0x11f7;
788 /** Define "CL_SCHAR_MIN" with expression '<code>(-127-1)</code>', CType: int */
789 public static final int CL_SCHAR_MIN = ( - 0x7f - 0x1 );
790 /** Define "CL_OUT_OF_HOST_MEMORY" with expression '<code>-6</code>', CType: int */
791 public static final int CL_OUT_OF_HOST_MEMORY = -6;
792 /** Define "CL_M_LOG2E" with expression '<code>1.442695040888963387005</code>', CType: float */
793 public static final float CL_M_LOG2E = 1.4426950408889634f;
794 /** Define "CL_MEM_READ_WRITE" with expression '<code>(1 << 0)</code>', CType: int */
795 public static final int CL_MEM_READ_WRITE = ( 0x1 << 0x0 );
796 /** Define "CL_INVALID_MEM_OBJECT" with expression '<code>-38</code>', CType: int */
797 public static final int CL_INVALID_MEM_OBJECT = -38;
798 /** Define "CL_MAP_READ" with expression '<code>(1 << 0)</code>', CType: int */
799 public static final int CL_MAP_READ = ( 0x1 << 0x0 );
800 /** Define "CL_FALSE" with expression '<code>0</code>', CType: int */
801 public static final int CL_FALSE = 0x0;
802 /** Define "CL_QUEUE_REFERENCE_COUNT" with expression '<code>0x1092</code>', CType: int */
803 public static final int CL_QUEUE_REFERENCE_COUNT = 0x1092;
804 /** Define "CL_DBL_MANT_DIG" with expression '<code>53</code>', CType: int */
805 public static final int CL_DBL_MANT_DIG = 0x35;
806 /** Define "CL_DEVICE_INTEGRATED_MEMORY_NV" with expression '<code>0x4006</code>', CType: int */
807 public static final int CL_DEVICE_INTEGRATED_MEMORY_NV = 0x4006;
808 /** Define "CL_MEM_SIZE" with expression '<code>0x1102</code>', CType: int */
809 public static final int CL_MEM_SIZE = 0x1102;
810
811 /** Interface to C language function: <br> <code>cl_int {@native clGetPlatformIDs}(cl_uint num_entries, cl_platform_id * platforms, cl_uint * num_platforms)</code><br>
812 @param platforms a direct only {@link com.jogamp.common.nio.PointerBuffer}
813 @param num_platforms a direct only {@link java.nio.IntBuffer} */
814 public int clGetPlatformIDs(int num_entries, PointerBuffer platforms, IntBuffer num_platforms);
815
816 /** Interface to C language function: <br> <code>cl_int {@native clGetPlatformInfo}(cl_platform_id platform, cl_platform_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
817 @param param_value a direct only {@link java.nio.Buffer}
818 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
819 public int clGetPlatformInfo(long platform, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
820
821 /** Interface to C language function: <br> <code>cl_int {@native clGetDeviceIDs}(cl_platform_id platform, cl_device_type device_type, cl_uint num_entries, cl_device_id * devices, cl_uint * num_devices)</code><br>
822 @param devices a direct only {@link com.jogamp.common.nio.PointerBuffer}
823 @param num_devices a direct only {@link java.nio.IntBuffer} */
824 public int clGetDeviceIDs(long platform, long device_type, int num_entries, PointerBuffer devices, IntBuffer num_devices);
825
826 /** Interface to C language function: <br> <code>cl_int {@native clGetDeviceInfo}(cl_device_id device, cl_device_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
827 @param param_value a direct only {@link java.nio.Buffer}
828 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
829 public int clGetDeviceInfo(long device, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
830
831 /** Interface to C language function: <br> <code>cl_int {@native clRetainContext}(cl_context context)</code><br> */
832 public int clRetainContext(long context);
833
834 /** Interface to C language function: <br> <code>cl_int {@native clReleaseContext}(cl_context context)</code><br> */
835 public int clReleaseContext(long context);
836
837 /** Interface to C language function: <br> <code>cl_int {@native clGetContextInfo}(cl_context context, cl_context_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
838 @param param_value a direct only {@link java.nio.Buffer}
839 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
840 public int clGetContextInfo(long context, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
841
842 /** Interface to C language function: <br> <code>cl_command_queue {@native clCreateCommandQueue}(cl_context context, cl_device_id device, cl_command_queue_properties properties, cl_int * errcode_ret)</code><br>
843 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
844 public long clCreateCommandQueue(long context, long device, long properties, IntBuffer errcode_ret);
845
846 /** Interface to C language function: <br> <code>cl_command_queue {@native clCreateCommandQueue}(cl_context context, cl_device_id device, cl_command_queue_properties properties, cl_int * errcode_ret)</code><br> */
847 public long clCreateCommandQueue(long context, long device, long properties, int[] errcode_ret, int errcode_ret_offset);
848
849 /** Interface to C language function: <br> <code>cl_int {@native clRetainCommandQueue}(cl_command_queue command_queue)</code><br> */
850 public int clRetainCommandQueue(long command_queue);
851
852 /** Interface to C language function: <br> <code>cl_int {@native clReleaseCommandQueue}(cl_command_queue command_queue)</code><br> */
853 public int clReleaseCommandQueue(long command_queue);
854
855 /** Interface to C language function: <br> <code>cl_int {@native clGetCommandQueueInfo}(cl_command_queue command_queue, cl_command_queue_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
856 @param param_value a direct only {@link java.nio.Buffer}
857 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
858 public int clGetCommandQueueInfo(long command_queue, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
859
860 /** Interface to C language function: <br> <code>cl_mem {@native clCreateBuffer}(cl_context context, cl_mem_flags flags, size_t size, void * host_ptr, cl_int * errcode_ret)</code><br>
861 @param host_ptr a direct or array-backed {@link java.nio.Buffer}
862 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
863 public long clCreateBuffer(long context, long flags, long size, Buffer host_ptr, IntBuffer errcode_ret);
864
865 /** Interface to C language function: <br> <code>cl_mem {@native clCreateBuffer}(cl_context context, cl_mem_flags flags, size_t size, void * host_ptr, cl_int * errcode_ret)</code><br>
866 @param host_ptr a direct or array-backed {@link java.nio.Buffer} */
867 public long clCreateBuffer(long context, long flags, long size, Buffer host_ptr, int[] errcode_ret, int errcode_ret_offset);
868
869 /** Interface to C language function: <br> <code>cl_mem {@native clCreateSubBuffer}(cl_mem buffer, cl_mem_flags flags, cl_buffer_create_type buffer_create_type, const void * buffer_create_info, cl_int * errcode_ret)</code><br>
870 @param buffer_create_info a direct or array-backed {@link java.nio.Buffer}
871 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
872 public long clCreateSubBuffer(long buffer, long flags, int buffer_create_type, Buffer buffer_create_info, IntBuffer errcode_ret);
873
874 /** Interface to C language function: <br> <code>cl_mem {@native clCreateSubBuffer}(cl_mem buffer, cl_mem_flags flags, cl_buffer_create_type buffer_create_type, const void * buffer_create_info, cl_int * errcode_ret)</code><br>
875 @param buffer_create_info a direct or array-backed {@link java.nio.Buffer} */
876 public long clCreateSubBuffer(long buffer, long flags, int buffer_create_type, Buffer buffer_create_info, int[] errcode_ret, int errcode_ret_offset);
877
878 /** Interface to C language function: <br> <code>cl_mem {@native clCreateImage2D}(cl_context context, cl_mem_flags flags, const cl_image_format * image_format, size_t image_width, size_t image_height, size_t image_row_pitch, void * host_ptr, cl_int * errcode_ret)</code><br>
879 @param host_ptr a direct or array-backed {@link java.nio.Buffer}
880 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
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);
882
883 /** Interface to C language function: <br> <code>cl_mem {@native clCreateImage2D}(cl_context context, cl_mem_flags flags, const cl_image_format * image_format, size_t image_width, size_t image_height, size_t image_row_pitch, void * host_ptr, cl_int * errcode_ret)</code><br>
884 @param host_ptr a direct or array-backed {@link java.nio.Buffer} */
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);
886
887 /** Interface to C language function: <br> <code>cl_mem {@native clCreateImage3D}(cl_context context, cl_mem_flags flags, const cl_image_format * image_format, size_t image_width, size_t image_height, size_t image_depth, size_t image_row_pitch, size_t image_slice_pitch, void * host_ptr, cl_int * errcode_ret)</code><br>
888 @param host_ptr a direct or array-backed {@link java.nio.Buffer}
889 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
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);
891
892 /** Interface to C language function: <br> <code>cl_mem {@native clCreateImage3D}(cl_context context, cl_mem_flags flags, const cl_image_format * image_format, size_t image_width, size_t image_height, size_t image_depth, size_t image_row_pitch, size_t image_slice_pitch, void * host_ptr, cl_int * errcode_ret)</code><br>
893 @param host_ptr a direct or array-backed {@link java.nio.Buffer} */
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);
895
896 /** Interface to C language function: <br> <code>cl_int {@native clRetainMemObject}(cl_mem memobj)</code><br> */
897 public int clRetainMemObject(long memobj);
898
899 /** Interface to C language function: <br> <code>cl_int {@native clReleaseMemObject}(cl_mem memobj)</code><br> */
900 public int clReleaseMemObject(long memobj);
901
902 /** Interface to C language function: <br> <code>cl_int {@native clGetSupportedImageFormats}(cl_context context, cl_mem_flags flags, cl_mem_object_type image_type, cl_uint num_entries, cl_image_format * image_formats, cl_uint * num_image_formats)</code><br>
903 @param num_image_formats a direct or array-backed {@link java.nio.IntBuffer} */
904 public int clGetSupportedImageFormats(long context, long flags, int image_type, int num_entries, CLImageFormatImpl image_formats, IntBuffer num_image_formats);
905
906 /** Interface to C language function: <br> <code>cl_int {@native clGetSupportedImageFormats}(cl_context context, cl_mem_flags flags, cl_mem_object_type image_type, cl_uint num_entries, cl_image_format * image_formats, cl_uint * num_image_formats)</code><br> */
907 public int clGetSupportedImageFormats(long context, long flags, int image_type, int num_entries, CLImageFormatImpl image_formats, int[] num_image_formats, int num_image_formats_offset);
908
909 /** Interface to C language function: <br> <code>cl_int {@native clGetMemObjectInfo}(cl_mem memobj, cl_mem_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
910 @param param_value a direct only {@link java.nio.Buffer}
911 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
912 public int clGetMemObjectInfo(long memobj, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
913
914 /** Interface to C language function: <br> <code>cl_int {@native clGetImageInfo}(cl_mem image, cl_image_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
915 @param param_value a direct only {@link java.nio.Buffer}
916 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
917 public int clGetImageInfo(long image, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
918
919 /** Interface to C language function: <br> <code>cl_sampler {@native clCreateSampler}(cl_context context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int * errcode_ret)</code><br>
920 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
921 public long clCreateSampler(long context, int normalized_coords, int addressing_mode, int filter_mode, IntBuffer errcode_ret);
922
923 /** Interface to C language function: <br> <code>cl_sampler {@native clCreateSampler}(cl_context context, cl_bool normalized_coords, cl_addressing_mode addressing_mode, cl_filter_mode filter_mode, cl_int * errcode_ret)</code><br> */
924 public long clCreateSampler(long context, int normalized_coords, int addressing_mode, int filter_mode, int[] errcode_ret, int errcode_ret_offset);
925
926 /** Interface to C language function: <br> <code>cl_int {@native clRetainSampler}(cl_sampler sampler)</code><br> */
927 public int clRetainSampler(long sampler);
928
929 /** Interface to C language function: <br> <code>cl_int {@native clReleaseSampler}(cl_sampler sampler)</code><br> */
930 public int clReleaseSampler(long sampler);
931
932 /** Interface to C language function: <br> <code>cl_int {@native clGetSamplerInfo}(cl_sampler sampler, cl_sampler_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
933 @param param_value a direct only {@link java.nio.Buffer}
934 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
935 public int clGetSamplerInfo(long sampler, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
936
937 /** Interface to C language function: <br> <code>cl_program {@native clCreateProgramWithSource}(cl_context context, cl_uint count, const char * * strings, const size_t * lengths, cl_int * errcode_ret)</code><br>
938 @param lengths a direct only {@link com.jogamp.common.nio.PointerBuffer}
939 @param errcode_ret a direct only {@link java.nio.IntBuffer} */
940 public long clCreateProgramWithSource(long context, int count, String[] strings, PointerBuffer lengths, IntBuffer errcode_ret);
941
942 /** Interface to C language function: <br> <code>cl_program {@native clCreateProgramWithBinary}(cl_context context, cl_uint num_devices, const cl_device_id * device_list, const size_t * lengths, unsigned const char * * binaries, cl_int * binary_status, cl_int * errcode_ret)</code><br>
943 @param device_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
944 @param lengths a direct only {@link com.jogamp.common.nio.PointerBuffer}
945 @param binaries a direct only {@link com.jogamp.common.nio.PointerBuffer}
946 @param binary_status a direct only {@link java.nio.IntBuffer}
947 @param errcode_ret a direct only {@link java.nio.IntBuffer} */
948 public long clCreateProgramWithBinary(long context, int num_devices, PointerBuffer device_list, PointerBuffer lengths, PointerBuffer binaries, IntBuffer binary_status, IntBuffer errcode_ret);
949
950 /** Interface to C language function: <br> <code>cl_int {@native clRetainProgram}(cl_program program)</code><br> */
951 public int clRetainProgram(long program);
952
953 /** Interface to C language function: <br> <code>cl_int {@native clReleaseProgram}(cl_program program)</code><br> */
954 public int clReleaseProgram(long program);
955
956 /** Interface to C language function: <br> <code>cl_int {@native clUnloadCompiler}()</code><br> */
957 public int clUnloadCompiler();
958
959 /** Interface to C language function: <br> <code>cl_int {@native clGetProgramInfo}(cl_program program, cl_program_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
960 @param param_value a direct only {@link java.nio.Buffer}
961 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
962 public int clGetProgramInfo(long program, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
963
964 /** Interface to C language function: <br> <code>cl_int {@native clGetProgramBuildInfo}(cl_program program, cl_device_id device, cl_program_build_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
965 @param param_value a direct only {@link java.nio.Buffer}
966 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
967 public int clGetProgramBuildInfo(long program, long device, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
968
969 /** Interface to C language function: <br> <code>cl_kernel {@native clCreateKernel}(cl_program program, const char * kernel_name, cl_int * errcode_ret)</code><br>
970 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
971 public long clCreateKernel(long program, String kernel_name, IntBuffer errcode_ret);
972
973 /** Interface to C language function: <br> <code>cl_kernel {@native clCreateKernel}(cl_program program, const char * kernel_name, cl_int * errcode_ret)</code><br> */
974 public long clCreateKernel(long program, String kernel_name, int[] errcode_ret, int errcode_ret_offset);
975
976 /** Interface to C language function: <br> <code>cl_int {@native clCreateKernelsInProgram}(cl_program program, cl_uint num_kernels, cl_kernel * kernels, cl_uint * num_kernels_ret)</code><br>
977 @param kernels a direct only {@link com.jogamp.common.nio.PointerBuffer}
978 @param num_kernels_ret a direct only {@link java.nio.IntBuffer} */
979 public int clCreateKernelsInProgram(long program, int num_kernels, PointerBuffer kernels, IntBuffer num_kernels_ret);
980
981 /** Interface to C language function: <br> <code>cl_int {@native clRetainKernel}(cl_kernel kernel)</code><br> */
982 public int clRetainKernel(long kernel);
983
984 /** Interface to C language function: <br> <code>cl_int {@native clReleaseKernel}(cl_kernel kernel)</code><br> */
985 public int clReleaseKernel(long kernel);
986
987 /** Interface to C language function: <br> <code>cl_int {@native clSetKernelArg}(cl_kernel kernel, cl_uint arg_index, size_t arg_size, const void * arg_value)</code><br>
988 @param arg_value a direct only {@link java.nio.Buffer} */
989 public int clSetKernelArg(long kernel, int arg_index, long arg_size, Buffer arg_value);
990
991 /** Interface to C language function: <br> <code>cl_int {@native clGetKernelInfo}(cl_kernel kernel, cl_kernel_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
992 @param param_value a direct only {@link java.nio.Buffer}
993 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
994 public int clGetKernelInfo(long kernel, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
995
996 /** Interface to C language function: <br> <code>cl_int {@native clGetKernelWorkGroupInfo}(cl_kernel kernel, cl_device_id device, cl_kernel_work_group_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
997 @param param_value a direct only {@link java.nio.Buffer}
998 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
999 public int clGetKernelWorkGroupInfo(long kernel, long device, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
1000
1001 /** Interface to C language function: <br> <code>cl_int {@native clWaitForEvents}(cl_uint num_events, const cl_event * event_list)</code><br>
1002 @param event_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
1003 public int clWaitForEvents(int num_events, PointerBuffer event_list);
1004
1005 /** Interface to C language function: <br> <code>cl_int {@native clGetEventInfo}(cl_event event, cl_event_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
1006 @param param_value a direct only {@link java.nio.Buffer}
1007 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
1008 public int clGetEventInfo(long event, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
1009
1010 /** Interface to C language function: <br> <code>cl_event {@native clCreateUserEvent}(cl_context context, cl_int * errcode_ret)</code><br>
1011 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
1012 public long clCreateUserEvent(long context, IntBuffer errcode_ret);
1013
1014 /** Interface to C language function: <br> <code>cl_event {@native clCreateUserEvent}(cl_context context, cl_int * errcode_ret)</code><br> */
1015 public long clCreateUserEvent(long context, int[] errcode_ret, int errcode_ret_offset);
1016
1017 /** Interface to C language function: <br> <code>cl_int {@native clRetainEvent}(cl_event event)</code><br> */
1018 public int clRetainEvent(long event);
1019
1020 /** Interface to C language function: <br> <code>cl_int {@native clReleaseEvent}(cl_event event)</code><br> */
1021 public int clReleaseEvent(long event);
1022
1023 /** Interface to C language function: <br> <code>cl_int {@native clSetUserEventStatus}(cl_event event, cl_int execution_status)</code><br> */
1024 public int clSetUserEventStatus(long event, int execution_status);
1025
1026 /** Interface to C language function: <br> <code>cl_int {@native clGetEventProfilingInfo}(cl_event event, cl_profiling_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
1027 @param param_value a direct only {@link java.nio.Buffer}
1028 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
1029 public int clGetEventProfilingInfo(long event, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
1030
1031 /** Interface to C language function: <br> <code>cl_int {@native clFlush}(cl_command_queue command_queue)</code><br> */
1032 public int clFlush(long command_queue);
1033
1034 /** Interface to C language function: <br> <code>cl_int {@native clFinish}(cl_command_queue command_queue)</code><br> */
1035 public int clFinish(long command_queue);
1036
1037 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueReadBuffer}(cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read, size_t offset, size_t cb, void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1038 @param ptr a direct only {@link java.nio.Buffer}
1039 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1040 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1042
1043 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueReadBufferRect}(cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_read, const size_t * buffer_origin, const size_t * host_origin, const size_t * region, size_t buffer_row_pitch, size_t buffer_slice_pitch, size_t host_row_pitch, size_t host_slice_pitch, void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1044 @param buffer_origin a direct only {@link com.jogamp.common.nio.PointerBuffer}
1045 @param host_origin a direct only {@link com.jogamp.common.nio.PointerBuffer}
1046 @param region a direct only {@link com.jogamp.common.nio.PointerBuffer}
1047 @param ptr a direct only {@link java.nio.Buffer}
1048 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1049 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1051
1052 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueWriteBuffer}(cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_write, size_t offset, size_t cb, const void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1053 @param ptr a direct only {@link java.nio.Buffer}
1054 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1055 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1057
1058 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueWriteBufferRect}(cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_write, const size_t * buffer_origin, const size_t * host_origin, const size_t * region, size_t buffer_row_pitch, size_t buffer_slice_pitch, size_t host_row_pitch, size_t host_slice_pitch, const void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1059 @param buffer_origin a direct only {@link com.jogamp.common.nio.PointerBuffer}
1060 @param host_origin a direct only {@link com.jogamp.common.nio.PointerBuffer}
1061 @param region a direct only {@link com.jogamp.common.nio.PointerBuffer}
1062 @param ptr a direct only {@link java.nio.Buffer}
1063 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1064 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1066
1067 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueCopyBuffer}(cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, size_t src_offset, size_t dst_offset, size_t cb, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1068 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1069 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1071
1072 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueCopyBufferRect}(cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_buffer, const size_t * src_origin, const size_t * dst_origin, const size_t * region, size_t src_row_pitch, size_t src_slice_pitch, size_t dst_row_pitch, size_t dst_slice_pitch, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1073 @param src_origin a direct only {@link com.jogamp.common.nio.PointerBuffer}
1074 @param dst_origin a direct only {@link com.jogamp.common.nio.PointerBuffer}
1075 @param region a direct only {@link com.jogamp.common.nio.PointerBuffer}
1076 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1077 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1079
1080 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueReadImage}(cl_command_queue command_queue, cl_mem image, cl_bool blocking_read, const size_t * , const size_t * , size_t row_pitch, size_t slice_pitch, void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1081 @param arg3 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1082 @param arg4 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1083 @param ptr a direct only {@link java.nio.Buffer}
1084 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1085 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1087
1088 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueWriteImage}(cl_command_queue command_queue, cl_mem image, cl_bool blocking_write, const size_t * , const size_t * , size_t input_row_pitch, size_t input_slice_pitch, const void * ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1089 @param arg3 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1090 @param arg4 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1091 @param ptr a direct only {@link java.nio.Buffer}
1092 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1093 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1095
1096 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueCopyImage}(cl_command_queue command_queue, cl_mem src_image, cl_mem dst_image, const size_t * , const size_t * , const size_t * , cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1097 @param arg3 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1098 @param arg4 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1099 @param arg5 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1100 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1101 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1103
1104 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueCopyImageToBuffer}(cl_command_queue command_queue, cl_mem src_image, cl_mem dst_buffer, const size_t * , const size_t * , size_t dst_offset, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1105 @param arg3 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1106 @param arg4 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1107 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1108 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1110
1111 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueCopyBufferToImage}(cl_command_queue command_queue, cl_mem src_buffer, cl_mem dst_image, size_t src_offset, const size_t * , const size_t * , cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1112 @param arg4 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1113 @param arg5 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1114 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1115 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1117
1118 /** Interface to C language function: <br> <code>void * {@native clEnqueueMapBuffer}(cl_command_queue command_queue, cl_mem buffer, cl_bool blocking_map, cl_map_flags map_flags, size_t offset, size_t cb, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event, cl_int * errcode_ret)</code><br>
1119 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1120 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer}
1121 @param errcode_ret a direct only {@link java.nio.IntBuffer} */
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);
1123
1124 /** Interface to C language function: <br> <code>void * {@native clEnqueueMapImage}(cl_command_queue command_queue, cl_mem image, cl_bool blocking_map, cl_map_flags map_flags, const size_t * , const size_t * , size_t * image_row_pitch, size_t * image_slice_pitch, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event, cl_int * errcode_ret)</code><br>
1125 @param arg4 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1126 @param arg5 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1127 @param image_row_pitch a direct only {@link com.jogamp.common.nio.PointerBuffer}
1128 @param image_slice_pitch a direct only {@link com.jogamp.common.nio.PointerBuffer}
1129 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1130 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer}
1131 @param errcode_ret a direct only {@link java.nio.IntBuffer} */
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);
1133
1134 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueUnmapMemObject}(cl_command_queue command_queue, cl_mem memobj, void * mapped_ptr, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1135 @param mapped_ptr a direct only {@link java.nio.Buffer}
1136 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1137 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
1138 public int clEnqueueUnmapMemObject(long command_queue, long memobj, Buffer mapped_ptr, int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event);
1139
1140 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueNDRangeKernel}(cl_command_queue command_queue, cl_kernel kernel, cl_uint work_dim, const size_t * global_work_offset, const size_t * global_work_size, const size_t * local_work_size, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1141 @param global_work_offset a direct only {@link com.jogamp.common.nio.PointerBuffer}
1142 @param global_work_size a direct only {@link com.jogamp.common.nio.PointerBuffer}
1143 @param local_work_size a direct only {@link com.jogamp.common.nio.PointerBuffer}
1144 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1145 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1147
1148 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueTask}(cl_command_queue command_queue, cl_kernel kernel, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1149 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1150 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
1151 public int clEnqueueTask(long command_queue, long kernel, int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event);
1152
1153 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueMarker}(cl_command_queue command_queue, cl_event * event)</code><br>
1154 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
1155 public int clEnqueueMarker(long command_queue, PointerBuffer event);
1156
1157 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueWaitForEvents}(cl_command_queue command_queue, cl_uint num_events, const cl_event * event_list)</code><br>
1158 @param event_list a direct only {@link com.jogamp.common.nio.PointerBuffer} */
1159 public int clEnqueueWaitForEvents(long command_queue, int num_events, PointerBuffer event_list);
1160
1161 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueBarrier}(cl_command_queue command_queue)</code><br> */
1162 public int clEnqueueBarrier(long command_queue);
1163
1164 /** Interface to C language function: <br> <code>cl_int {@native clIcdGetPlatformIDsKHR}(cl_uint, cl_platform_id * , cl_uint * )</code><br>
1165 @param arg1 a direct only {@link com.jogamp.common.nio.PointerBuffer}
1166 @param arg2 a direct only {@link java.nio.IntBuffer} */
1167 public int clIcdGetPlatformIDsKHR(int arg0, PointerBuffer arg1, IntBuffer arg2);
1168
1169 /** Interface to C language function: <br> <code>cl_int {@native clReleaseDeviceEXT}(cl_device_id)</code><br> */
1170 public int clReleaseDeviceEXT(long arg0);
1171
1172 /** Interface to C language function: <br> <code>cl_int {@native clRetainDeviceEXT}(cl_device_id)</code><br> */
1173 public int clRetainDeviceEXT(long arg0);
1174
1175 /** Interface to C language function: <br> <code>cl_int {@native clCreateSubDevicesEXT}(cl_device_id, const cl_device_partition_property_ext * , cl_uint, cl_device_id * , cl_uint * )</code><br>
1176 @param arg1 a direct or array-backed {@link java.nio.LongBuffer}
1177 @param arg3 a direct or array-backed {@link com.jogamp.common.nio.PointerBuffer}
1178 @param arg4 a direct or array-backed {@link java.nio.IntBuffer} */
1179 public int clCreateSubDevicesEXT(long arg0, LongBuffer arg1, int arg2, PointerBuffer arg3, IntBuffer arg4);
1180
1181 /** Interface to C language function: <br> <code>cl_int {@native clCreateSubDevicesEXT}(cl_device_id, const cl_device_partition_property_ext * , cl_uint, cl_device_id * , cl_uint * )</code><br>
1182 @param arg3 a direct or array-backed {@link com.jogamp.common.nio.PointerBuffer} */
1183 public int clCreateSubDevicesEXT(long arg0, long[] arg1, int arg1_offset, int arg2, PointerBuffer arg3, int[] arg4, int arg4_offset);
1184
1185 /** Interface to C language function: <br> <code>cl_mem {@native clCreateFromGLBuffer}(cl_context context, cl_mem_flags flags, cl_GLuint bufobj, int * errcode_ret)</code><br>
1186 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
1187 public long clCreateFromGLBuffer(long context, long flags, int bufobj, IntBuffer errcode_ret);
1188
1189 /** Interface to C language function: <br> <code>cl_mem {@native clCreateFromGLBuffer}(cl_context context, cl_mem_flags flags, cl_GLuint bufobj, int * errcode_ret)</code><br> */
1190 public long clCreateFromGLBuffer(long context, long flags, int bufobj, int[] errcode_ret, int errcode_ret_offset);
1191
1192 /** Interface to C language function: <br> <code>cl_mem {@native clCreateFromGLTexture2D}(cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int * errcode_ret)</code><br>
1193 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
1194 public long clCreateFromGLTexture2D(long context, long flags, int target, int miplevel, int texture, IntBuffer errcode_ret);
1195
1196 /** Interface to C language function: <br> <code>cl_mem {@native clCreateFromGLTexture2D}(cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int * errcode_ret)</code><br> */
1197 public long clCreateFromGLTexture2D(long context, long flags, int target, int miplevel, int texture, int[] errcode_ret, int errcode_ret_offset);
1198
1199 /** Interface to C language function: <br> <code>cl_mem {@native clCreateFromGLTexture3D}(cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int * errcode_ret)</code><br>
1200 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
1201 public long clCreateFromGLTexture3D(long context, long flags, int target, int miplevel, int texture, IntBuffer errcode_ret);
1202
1203 /** Interface to C language function: <br> <code>cl_mem {@native clCreateFromGLTexture3D}(cl_context context, cl_mem_flags flags, cl_GLenum target, cl_GLint miplevel, cl_GLuint texture, cl_int * errcode_ret)</code><br> */
1204 public long clCreateFromGLTexture3D(long context, long flags, int target, int miplevel, int texture, int[] errcode_ret, int errcode_ret_offset);
1205
1206 /** Interface to C language function: <br> <code>cl_mem {@native clCreateFromGLRenderbuffer}(cl_context context, cl_mem_flags flags, cl_GLuint renderbuffer, cl_int * errcode_ret)</code><br>
1207 @param errcode_ret a direct or array-backed {@link java.nio.IntBuffer} */
1208 public long clCreateFromGLRenderbuffer(long context, long flags, int renderbuffer, IntBuffer errcode_ret);
1209
1210 /** Interface to C language function: <br> <code>cl_mem {@native clCreateFromGLRenderbuffer}(cl_context context, cl_mem_flags flags, cl_GLuint renderbuffer, cl_int * errcode_ret)</code><br> */
1211 public long clCreateFromGLRenderbuffer(long context, long flags, int renderbuffer, int[] errcode_ret, int errcode_ret_offset);
1212
1213 /** Interface to C language function: <br> <code>cl_int {@native clGetGLObjectInfo}(cl_mem memobj, cl_gl_object_type * gl_object_type, cl_GLuint * gl_object_name)</code><br>
1214 @param gl_object_type a direct or array-backed {@link java.nio.IntBuffer}
1215 @param gl_object_name a direct or array-backed {@link java.nio.IntBuffer} */
1216 public int clGetGLObjectInfo(long memobj, IntBuffer gl_object_type, IntBuffer gl_object_name);
1217
1218 /** Interface to C language function: <br> <code>cl_int {@native clGetGLObjectInfo}(cl_mem memobj, cl_gl_object_type * gl_object_type, cl_GLuint * gl_object_name)</code><br> */
1219 public int clGetGLObjectInfo(long memobj, int[] gl_object_type, int gl_object_type_offset, int[] gl_object_name, int gl_object_name_offset);
1220
1221 /** Interface to C language function: <br> <code>cl_int {@native clGetGLTextureInfo}(cl_mem memobj, cl_gl_texture_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
1222 @param param_value a direct or array-backed {@link java.nio.Buffer}
1223 @param param_value_size_ret a direct or array-backed {@link com.jogamp.common.nio.PointerBuffer} */
1224 public int clGetGLTextureInfo(long memobj, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
1225
1226 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueAcquireGLObjects}(cl_command_queue command_queue, cl_uint num_objects, const cl_mem * mem_objects, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1227 @param mem_objects a direct only {@link com.jogamp.common.nio.PointerBuffer}
1228 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1229 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1231
1232 /** Interface to C language function: <br> <code>cl_int {@native clEnqueueReleaseGLObjects}(cl_command_queue command_queue, cl_uint num_objects, const cl_mem * mem_objects, cl_uint num_events_in_wait_list, const cl_event * event_wait_list, cl_event * event)</code><br>
1233 @param mem_objects a direct only {@link com.jogamp.common.nio.PointerBuffer}
1234 @param event_wait_list a direct only {@link com.jogamp.common.nio.PointerBuffer}
1235 @param event a direct only {@link com.jogamp.common.nio.PointerBuffer} */
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);
1237
1238 /** Interface to C language function: <br> <code>cl_int {@native clGetGLContextInfoKHR}(const cl_context_properties * properties, cl_gl_context_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret)</code><br>
1239 @param properties a direct only {@link com.jogamp.common.nio.PointerBuffer}
1240 @param param_value a direct only {@link java.nio.Buffer}
1241 @param param_value_size_ret a direct only {@link com.jogamp.common.nio.PointerBuffer} */
1242 public int clGetGLContextInfoKHR(PointerBuffer properties, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret);
1243
1244 /** Interface to C language function: <br> <code>cl_event {@native clCreateEventFromGLsyncKHR}(cl_context, cl_GLsync, cl_int * )</code><br>
1245 @param arg2 a direct or array-backed {@link java.nio.IntBuffer} */
1246 public long clCreateEventFromGLsyncKHR(long arg0, long arg1, IntBuffer arg2);
1247
1248 /** Interface to C language function: <br> <code>cl_event {@native clCreateEventFromGLsyncKHR}(cl_context, cl_GLsync, cl_int * )</code><br> */
1249 public long clCreateEventFromGLsyncKHR(long arg0, long arg1, int[] arg2, int arg2_offset);
1250
1251
1252 // --- Begin CustomJavaCode .cfg declarations
1253
1254 /** Interface to C language function: <br> <code> cl_context {@native clCreateContext}(intptr_t * , uint32_t, cl_device_id * , void (*pfn_notify)(const char *, const void *, size_t, void *), void *, int32_t * ); </code> */
1255 public long clCreateContext(PointerBuffer properties, PointerBuffer devices, CLErrorHandler pfn_notify, IntBuffer errcode_ret);
1256
1257 /** Interface to C language function: <br> <code> cl_context {@native clCreateContextFromType}(cl_context_properties *properties, cl_device_type device_type, void (*pfn_notify)(const char *errinfo, const void *private_info, size_t cb, void *user_data), void *user_data, cl_int *errcode_ret) ; </code> */
1258 public long clCreateContextFromType(PointerBuffer properties, long device_type, CLErrorHandler pfn_notify, IntBuffer errcode_ret);
1259
1260 /** Interface to C language function: <br> <code> int32_t {@native clBuildProgram}(cl_program, uint32_t, cl_device_id * , const char * , void (*pfn_notify)(cl_program, void *user_data), void * ); </code> */
1261 public int clBuildProgram(long program, int deviceCount, PointerBuffer devices, String options, BuildProgramCallback cb);
1262
1263 /** Interface to C language function: <br> <code> int32_t {@native clSetMemObjectDestructorCallback}(cl_mem memobj, void (CL_CALLBACK *pfn_notify) (cl_mem memobj, void *user_data), void *user_data); </code> */
1265
1266 /** Interface to C language function: <br> <code> int32_t {@native clSetEventCallback}(cl_event event, cl_int command_exec_callback_type, void (CL_CALLBACK *pfn_event_notify) (cl_event event, cl_int event_command_exec_status, void *user_data), void *user_data); </code> */
1267 public int clSetEventCallback(long event, int type, CLEventCallback cb);
1268 /** To be used on Mac OSX instead of {@link #CL_CGL_SHAREGROUP_KHR}}. FIXME: For all Mac OSX versions? */
1269 public static final int CL_CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE = 0x10000000;
1270 // ---- End CustomJavaCode .cfg declarations
1271} // end of class CL
Struct accessor for cl_image_format.
Experimental: the api may change in future, feedback appreciated.
Java bindings to OpenCL, the Open Computing Language.
Definition: CL.java:26
static final int CL_PROFILING_COMMAND_QUEUED
Define "CL_PROFILING_COMMAND_QUEUED" with expression '0x1280', CType: int.
Definition: CL.java:199
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE" with expression '0x103B', CType: int.
Definition: CL.java:247
static final float CL_M_LN2_F
Define "CL_M_LN2_F" with expression '0.69314718246460f', CType: float.
Definition: CL.java:345
static final float CL_M_LOG2E_F
Define "CL_M_LOG2E_F" with expression '1.44269502162933f', CType: float.
Definition: CL.java:595
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.
Definition: CL.java:615
static final int CL_INT_MIN
Define "CL_INT_MIN" with expression '(-2147483647-1)', CType: int.
Definition: CL.java:85
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.
Definition: CL.java:47
static final int CL_MEM_REFERENCE_COUNT
Define "CL_MEM_REFERENCE_COUNT" with expression '0x1105', CType: int.
Definition: CL.java:761
static final int CL_GL_OBJECT_RENDERBUFFER
Define "CL_GL_OBJECT_RENDERBUFFER" with expression '0x2003', CType: int.
Definition: CL.java:393
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.
Definition: CL.java:735
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.
Definition: CL.java:775
static final int CL_UNORM_SHORT_555
Define "CL_UNORM_SHORT_555" with expression '0x10D5', CType: int.
Definition: CL.java:417
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.
Definition: CL.java:123
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.
Definition: CL.java:67
static final int CL_IMAGE_SLICE_PITCH
Define "CL_IMAGE_SLICE_PITCH" with expression '0x1113', CType: int.
Definition: CL.java:87
static final int CL_FP_DENORM
Define "CL_FP_DENORM" with expression '(1 << 0)', CType: int.
Definition: CL.java:285
static final int CL_KERNEL_PROGRAM
Define "CL_KERNEL_PROGRAM" with expression '0x1194', CType: int.
Definition: CL.java:401
static final int CL_KERNEL_CONTEXT
Define "CL_KERNEL_CONTEXT" with expression '0x1193', CType: int.
Definition: CL.java:55
static final int CL_INVALID_BINARY
Define "CL_INVALID_BINARY" with expression '-42', CType: int.
Definition: CL.java:557
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.
Definition: CL.java:161
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.
Definition: CL.java:709
static final float CL_MAXFLOAT
Define "CL_MAXFLOAT" with expression '0x1.fffffep127f', CType: float.
Definition: CL.java:205
static final int CL_DEVICE_AVAILABLE
Define "CL_DEVICE_AVAILABLE" with expression '0x1027', CType: int.
Definition: CL.java:543
static final float CL_M_1_PI
Define "CL_M_1_PI" with expression '0.318309886183790691216', CType: float.
Definition: CL.java:195
static final int CL_DEVICE_NOT_AVAILABLE
Define "CL_DEVICE_NOT_AVAILABLE" with expression '-2', CType: int.
Definition: CL.java:365
static final int CL_COMMAND_COPY_IMAGE
Define "CL_COMMAND_COPY_IMAGE" with expression '0x11F8', CType: int.
Definition: CL.java:441
static final int CL_MAP_WRITE
Define "CL_MAP_WRITE" with expression '(1 << 1)', CType: int.
Definition: CL.java:171
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.
Definition: CL.java:603
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.
Definition: CL.java:35
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.
Definition: CL.java:757
static final int CL_DEVICE_MAX_MEM_ALLOC_SIZE
Define "CL_DEVICE_MAX_MEM_ALLOC_SIZE" with expression '0x1010', CType: int.
Definition: CL.java:321
static final int CL_ADDRESS_NONE
Define "CL_ADDRESS_NONE" with expression '0x1130', CType: int.
Definition: CL.java:101
static final int CL_PROFILING_INFO_NOT_AVAILABLE
Define "CL_PROFILING_INFO_NOT_AVAILABLE" with expression '-7', CType: int.
Definition: CL.java:71
static final int CL_COMPLETE
Define "CL_COMPLETE" with expression '0x0', CType: int.
Definition: CL.java:357
static final float CL_M_PI
Define "CL_M_PI" with expression '3.141592653589793115998', CType: float.
Definition: CL.java:445
static final int CL_DEVICE_TYPE_CPU
Define "CL_DEVICE_TYPE_CPU" with expression '(1 << 1)', CType: int.
Definition: CL.java:661
static final int CL_PROGRAM_NUM_DEVICES
Define "CL_PROGRAM_NUM_DEVICES" with expression '0x1162', CType: int.
Definition: CL.java:555
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.
Definition: CL.java:457
static final int CL_A
Define "CL_A" with expression '0x10B1', CType: int.
Definition: CL.java:409
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.
Definition: CL.java:645
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.
Definition: CL.java:803
static final float CL_M_PI_4
Define "CL_M_PI_4" with expression '0.785398163397448278999', CType: float.
Definition: CL.java:503
static final int CL_PLATFORM_VERSION
Define "CL_PLATFORM_VERSION" with expression '0x0901', CType: int.
Definition: CL.java:137
static final int CL_INVALID_GLOBAL_OFFSET
Define "CL_INVALID_GLOBAL_OFFSET" with expression '-56', CType: int.
Definition: CL.java:711
static final int CL_MEM_HOST_PTR
Define "CL_MEM_HOST_PTR" with expression '0x1103', CType: int.
Definition: CL.java:95
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}.
Definition: CL.java:1269
static final int CL_PROGRAM_BUILD_STATUS
Define "CL_PROGRAM_BUILD_STATUS" with expression '0x1181', CType: int.
Definition: CL.java:45
static final float CL_M_1_PI_F
Define "CL_M_1_PI_F" with expression '0.31830987334251f', CType: float.
Definition: CL.java:473
static final int CL_COMMAND_COPY_BUFFER_RECT
Define "CL_COMMAND_COPY_BUFFER_RECT" with expression '0x1203', CType: int.
Definition: CL.java:713
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.
Definition: CL.java:785
static final int CL_UCHAR_MAX
Define "CL_UCHAR_MAX" with expression '255', CType: int.
Definition: CL.java:545
static final int CL_DEVICE_PARTITION_STYLE_EXT
Define "CL_DEVICE_PARTITION_STYLE_EXT" with expression '0x4058', CType: int.
Definition: CL.java:363
static final int CL_PROFILING_COMMAND_START
Define "CL_PROFILING_COMMAND_START" with expression '0x1282', CType: int.
Definition: CL.java:339
static final int CL_MISALIGNED_SUB_BUFFER_OFFSET
Define "CL_MISALIGNED_SUB_BUFFER_OFFSET" with expression '-13', CType: int.
Definition: CL.java:733
static final int KHRONOS_SUPPORT_INT64
Define "KHRONOS_SUPPORT_INT64" with expression '1', CType: int.
Definition: CL.java:687
static final int CL_AFFINITY_DOMAIN_L2_CACHE_EXT
Define "CL_AFFINITY_DOMAIN_L2_CACHE_EXT" with expression '0x2', CType: int.
Definition: CL.java:665
static final int CL_FLT_MIN_10_EXP
Define "CL_FLT_MIN_10_EXP" with expression '-37', CType: int.
Definition: CL.java:269
static final int CL_DEVICE_NAME
Define "CL_DEVICE_NAME" with expression '0x102B', CType: int.
Definition: CL.java:653
static final int CL_ADDRESS_REPEAT
Define "CL_ADDRESS_REPEAT" with expression '0x1133', CType: int.
Definition: CL.java:209
static final int CL_SAMPLER_REFERENCE_COUNT
Define "CL_SAMPLER_REFERENCE_COUNT" with expression '0x1150', CType: int.
Definition: CL.java:621
static final double CL_DBL_MIN
Define "CL_DBL_MIN" with expression '0x1.0p-1022', CType: double.
Definition: CL.java:453
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.
Definition: CL.java:765
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT" with expression '0x1007', CType: int.
Definition: CL.java:685
static final int CL_INVALID_BUILD_OPTIONS
Define "CL_INVALID_BUILD_OPTIONS" with expression '-43', CType: int.
Definition: CL.java:341
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.
Definition: CL.java:143
static final int CL_RGBx
Define "CL_RGBx" with expression '0x10BC', CType: int.
Definition: CL.java:185
static final int CL_DEVICE_OPENCL_C_VERSION
Define "CL_DEVICE_OPENCL_C_VERSION" with expression '0x103D', CType: int.
Definition: CL.java:431
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.
Definition: CL.java:229
static final int CL_IMAGE_FORMAT
Define "CL_IMAGE_FORMAT" with expression '0x1110', CType: int.
Definition: CL.java:333
static final int CL_DEVICE_PARENT_DEVICE_EXT
Define "CL_DEVICE_PARENT_DEVICE_EXT" with expression '0x4054', CType: int.
Definition: CL.java:559
static final int CL_FLT_MIN_EXP
Define "CL_FLT_MIN_EXP" with expression '-125', CType: int.
Definition: CL.java:65
static final int CL_INVALID_VALUE
Define "CL_INVALID_VALUE" with expression '-30', CType: int.
Definition: CL.java:347
static final int KHRONOS_BOOLEAN_ENUM_FORCE_SIZE
Defined as part of enum type "khronos_boolean_enum_t" with expression '0x7FFFFFFF',...
Definition: CL.java:33
static final int CL_DEVICE_IMAGE2D_MAX_WIDTH
Define "CL_DEVICE_IMAGE2D_MAX_WIDTH" with expression '0x1011', CType: int.
Definition: CL.java:313
static final int CL_GL_MIPMAP_LEVEL
Define "CL_GL_MIPMAP_LEVEL" with expression '0x2005', CType: int.
Definition: CL.java:411
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.
Definition: CL.java:535
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.
Definition: CL.java:291
static final int CL_MEM_TYPE
Define "CL_MEM_TYPE" with expression '0x1100', CType: int.
Definition: CL.java:433
static final int CL_EVENT_COMMAND_TYPE
Define "CL_EVENT_COMMAND_TYPE" with expression '0x11D1', CType: int.
Definition: CL.java:585
static final int CL_R
Define "CL_R" with expression '0x10B0', CType: int.
Definition: CL.java:391
static final float CL_M_LOG10E
Define "CL_M_LOG10E" with expression '0.434294481903251816668', CType: float.
Definition: CL.java:599
static final int CL_READ_ONLY_CACHE
Define "CL_READ_ONLY_CACHE" with expression '0x1', CType: int.
Definition: CL.java:405
static final int CL_CHAR_BIT
Define "CL_CHAR_BIT" with expression '8', CType: int.
Definition: CL.java:181
static final int CL_RGBA
Define "CL_RGBA" with expression '0x10B5', CType: int.
Definition: CL.java:53
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.
Definition: CL.java:93
static final int CL_FILTER_NEAREST
Define "CL_FILTER_NEAREST" with expression '0x1140', CType: int.
Definition: CL.java:609
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.
Definition: CL.java:537
static final int CL_DEVICE_SINGLE_FP_CONFIG
Define "CL_DEVICE_SINGLE_FP_CONFIG" with expression '0x101B', CType: int.
Definition: CL.java:671
static final int CL_FP_ROUND_TO_INF
Define "CL_FP_ROUND_TO_INF" with expression '(1 << 4)', CType: int.
Definition: CL.java:443
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.
Definition: CL.java:569
static final int CL_DEVICE_WARP_SIZE_NV
Define "CL_DEVICE_WARP_SIZE_NV" with expression '0x4003', CType: int.
Definition: CL.java:499
static final int CL_DEVICE_MAX_WORK_GROUP_SIZE
Define "CL_DEVICE_MAX_WORK_GROUP_SIZE" with expression '0x1004', CType: int.
Definition: CL.java:749
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.
Definition: CL.java:467
static final int CL_DEVICE_MAX_WRITE_IMAGE_ARGS
Define "CL_DEVICE_MAX_WRITE_IMAGE_ARGS" with expression '0x100F', CType: int.
Definition: CL.java:273
static final int CL_MAP_READ
Define "CL_MAP_READ" with expression '(1 << 0)', CType: int.
Definition: CL.java:799
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.
Definition: CL.java:397
static final int CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS
Define "CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS" with expression '0x1003', CType: int.
Definition: CL.java:427
static final int CL_DEVICE_PLATFORM
Define "CL_DEVICE_PLATFORM" with expression '0x1031', CType: int.
Definition: CL.java:317
static final int CL_UNSIGNED_INT16
Define "CL_UNSIGNED_INT16" with expression '0x10DB', CType: int.
Definition: CL.java:395
static final int CL_DBL_MAX_10_EXP
Define "CL_DBL_MAX_10_EXP" with expression '+308', CType: int.
Definition: CL.java:63
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.
Definition: CL.java:547
static final int CL_DEVICE_AFFINITY_DOMAINS_EXT
Define "CL_DEVICE_AFFINITY_DOMAINS_EXT" with expression '0x4056', CType: int.
Definition: CL.java:701
static final int CL_MEM_USE_HOST_PTR
Define "CL_MEM_USE_HOST_PTR" with expression '(1 << 3)', CType: int.
Definition: CL.java:311
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.
Definition: CL.java:257
static final int CL_INVALID_SAMPLER
Define "CL_INVALID_SAMPLER" with expression '-41', CType: int.
Definition: CL.java:255
static final int CL_DEVICE_MAX_CLOCK_FREQUENCY
Define "CL_DEVICE_MAX_CLOCK_FREQUENCY" with expression '0x100C', CType: int.
Definition: CL.java:353
static final int CL_CGL_SHAREGROUP_KHR
Define "CL_CGL_SHAREGROUP_KHR" with expression '0x200C', CType: int.
Definition: CL.java:477
static final float CL_M_2_SQRTPI_F
Define "CL_M_2_SQRTPI_F" with expression '1.12837922573090f', CType: float.
Definition: CL.java:69
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.
Definition: CL.java:719
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.
Definition: CL.java:567
static final int CL_UNORM_INT8
Define "CL_UNORM_INT8" with expression '0x10D2', CType: int.
Definition: CL.java:399
static final int CL_DBL_MIN_EXP
Define "CL_DBL_MIN_EXP" with expression '-1021', CType: int.
Definition: CL.java:525
static final int CL_INVALID_PROGRAM_EXECUTABLE
Define "CL_INVALID_PROGRAM_EXECUTABLE" with expression '-45', CType: int.
Definition: CL.java:201
static final int CL_ADDRESS_CLAMP_TO_EDGE
Define "CL_ADDRESS_CLAMP_TO_EDGE" with expression '0x1131', CType: int.
Definition: CL.java:485
static final int CL_GL_OBJECT_TEXTURE2D
Define "CL_GL_OBJECT_TEXTURE2D" with expression '0x2001', CType: int.
Definition: CL.java:737
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG" with expression '0x1009', CType: int.
Definition: CL.java:179
static final int CL_PROGRAM_BINARY_SIZES
Define "CL_PROGRAM_BINARY_SIZES" with expression '0x1165', CType: int.
Definition: CL.java:641
static final int CL_DEVICE_PARTITION_TYPES_EXT
Define "CL_DEVICE_PARTITION_TYPES_EXT" with expression '0x4055', CType: int.
Definition: CL.java:219
static final int CL_PLATFORM_NAME
Define "CL_PLATFORM_NAME" with expression '0x0902', CType: int.
Definition: CL.java:583
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.
Definition: CL.java:239
static final int CL_COMMAND_MAP_BUFFER
Define "CL_COMMAND_MAP_BUFFER" with expression '0x11FB', CType: int.
Definition: CL.java:655
static final int CL_CONTEXT_DEVICES
Define "CL_CONTEXT_DEVICES" with expression '0x1081', CType: int.
Definition: CL.java:691
static final int CL_OUT_OF_RESOURCES
Define "CL_OUT_OF_RESOURCES" with expression '-5', CType: int.
Definition: CL.java:139
static final int CL_KERNEL_COMPILE_WORK_GROUP_SIZE
Define "CL_KERNEL_COMPILE_WORK_GROUP_SIZE" with expression '0x11B1', CType: int.
Definition: CL.java:471
static final int CL_INVALID_WORK_GROUP_SIZE
Define "CL_INVALID_WORK_GROUP_SIZE" with expression '-54', CType: int.
Definition: CL.java:435
static final int CL_DEVICE_EXECUTION_CAPABILITIES
Define "CL_DEVICE_EXECUTION_CAPABILITIES" with expression '0x1029', CType: int.
Definition: CL.java:279
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.
Definition: CL.java:529
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.
Definition: CL.java:519
static final int CL_UNORM_SHORT_565
Define "CL_UNORM_SHORT_565" with expression '0x10D4', CType: int.
Definition: CL.java:327
static final int CL_PROFILING_COMMAND_SUBMIT
Define "CL_PROFILING_COMMAND_SUBMIT" with expression '0x1281', CType: int.
Definition: CL.java:193
static final int CL_MEM_OBJECT_ALLOCATION_FAILURE
Define "CL_MEM_OBJECT_ALLOCATION_FAILURE" with expression '-4', CType: int.
Definition: CL.java:43
static final int CL_DEVICE_IMAGE3D_MAX_DEPTH
Define "CL_DEVICE_IMAGE3D_MAX_DEPTH" with expression '0x1015', CType: int.
Definition: CL.java:81
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.
Definition: CL.java:777
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.
Definition: CL.java:245
static final int CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE
Define "CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE" with expression '0x101A', CType: int.
Definition: CL.java:447
static final int CL_CONTEXT_NUM_DEVICES
Define "CL_CONTEXT_NUM_DEVICES" with expression '0x1083', CType: int.
Definition: CL.java:349
static final int CL_INVALID_GL_OBJECT
Define "CL_INVALID_GL_OBJECT" with expression '-60', CType: int.
Definition: CL.java:731
static final int CL_DBL_RADIX
Define "CL_DBL_RADIX" with expression '2', CType: int.
Definition: CL.java:113
static final int CL_DEVICE_IMAGE3D_MAX_HEIGHT
Define "CL_DEVICE_IMAGE3D_MAX_HEIGHT" with expression '0x1014', CType: int.
Definition: CL.java:59
static final int CL_UNORM_INT_101010
Define "CL_UNORM_INT_101010" with expression '0x10D6', CType: int.
Definition: CL.java:117
static final int CL_INT_MAX
Define "CL_INT_MAX" with expression '2147483647', CType: int.
Definition: CL.java:283
static final int CL_INVALID_KERNEL_DEFINITION
Define "CL_INVALID_KERNEL_DEFINITION" with expression '-47', CType: int.
Definition: CL.java:705
static final int CL_MAP_FAILURE
Define "CL_MAP_FAILURE" with expression '-12', CType: int.
Definition: CL.java:187
static final int CL_GL_OBJECT_TEXTURE3D
Define "CL_GL_OBJECT_TEXTURE3D" with expression '0x2002', CType: int.
Definition: CL.java:763
static final int CL_INVALID_EVENT_WAIT_LIST
Define "CL_INVALID_EVENT_WAIT_LIST" with expression '-57', CType: int.
Definition: CL.java:573
static final int cl_khr_icd
Define "cl_khr_icd" with expression '1', CType: int.
Definition: CL.java:375
static final int HAS_STDDEF
Define "HAS_STDDEF" with expression '1', CType: int.
Definition: CL.java:771
static final float CL_M_LN2
Define "CL_M_LN2" with expression '0.693147180559945286227', CType: float.
Definition: CL.java:527
static final int CL_MEM_READ_ONLY
Define "CL_MEM_READ_ONLY" with expression '(1 << 2)', CType: int.
Definition: CL.java:73
static final int CL_IMAGE_DEPTH
Define "CL_IMAGE_DEPTH" with expression '0x1116', CType: int.
Definition: CL.java:167
static final int CL_SHRT_MAX
Define "CL_SHRT_MAX" with expression '32767', CType: int.
Definition: CL.java:415
static final int CL_TRUE
Define "CL_TRUE" with expression '1', CType: int.
Definition: CL.java:211
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.
Definition: CL.java:275
static final int CL_DEVICE_MAX_SAMPLERS
Define "CL_DEVICE_MAX_SAMPLERS" with expression '0x1018', CType: int.
Definition: CL.java:295
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.
Definition: CL.java:61
static final float CL_M_SQRT1_2
Define "CL_M_SQRT1_2" with expression '0.707106781186547572737', CType: float.
Definition: CL.java:299
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.
Definition: CL.java:381
static final int CL_INVALID_PARTITION_NAME_EXT
Define "CL_INVALID_PARTITION_NAME_EXT" with expression '-1059', CType: int.
Definition: CL.java:103
static final int CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV
Define "CL_DEVICE_COMPUTE_CAPABILITY_MINOR_NV" with expression '0x4001', CType: int.
Definition: CL.java:111
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.
Definition: CL.java:597
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.
Definition: CL.java:361
static final int CL_MEM_OBJECT_IMAGE3D
Define "CL_MEM_OBJECT_IMAGE3D" with expression '0x10F2', CType: int.
Definition: CL.java:681
static final int CL_COMMAND_MARKER
Define "CL_COMMAND_MARKER" with expression '0x11FE', CType: int.
Definition: CL.java:575
static final float CL_M_PI_2_F
Define "CL_M_PI_2_F" with expression '1.57079637050629f', CType: float.
Definition: CL.java:149
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.
Definition: CL.java:793
static final float CL_M_PI_2
Define "CL_M_PI_2" with expression '1.570796326794896557999', CType: float.
Definition: CL.java:507
static final int CL_DEVICES_FOR_GL_CONTEXT_KHR
Define "CL_DEVICES_FOR_GL_CONTEXT_KHR" with expression '0x2007', CType: int.
Definition: CL.java:89
static final int CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR
Define "CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR" with expression '0x2006', CType: int.
Definition: CL.java:611
static final int CL_SCHAR_MAX
Define "CL_SCHAR_MAX" with expression '127', CType: int.
Definition: CL.java:173
static final int CL_BUILD_NONE
Define "CL_BUILD_NONE" with expression '-1', CType: int.
Definition: CL.java:153
static final int CL_CHAR_MIN
Define "CL_CHAR_MIN" with expression '(-127-1)', CType: int.
Definition: CL.java:745
static final int CL_EVENT_REFERENCE_COUNT
Define "CL_EVENT_REFERENCE_COUNT" with expression '0x11D2', CType: int.
Definition: CL.java:407
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.
Definition: CL.java:91
static final int CL_FALSE
Define "CL_FALSE" with expression '0', CType: int.
Definition: CL.java:801
static final int CL_DEVICE_LOCAL_MEM_TYPE
Define "CL_DEVICE_LOCAL_MEM_TYPE" with expression '0x1022', CType: int.
Definition: CL.java:231
static final int CL_BUILD_IN_PROGRESS
Define "CL_BUILD_IN_PROGRESS" with expression '-3', CType: int.
Definition: CL.java:249
static final float CL_M_2_PI
Define "CL_M_2_PI" with expression '0.636619772367581382433', CType: float.
Definition: CL.java:129
static final int CL_PLATFORM_NOT_FOUND_KHR
Define "CL_PLATFORM_NOT_FOUND_KHR" with expression '-1001', CType: int.
Definition: CL.java:373
static final int CL_PROGRAM_BUILD_LOG
Define "CL_PROGRAM_BUILD_LOG" with expression '0x1183', CType: int.
Definition: CL.java:571
static final float CL_M_PI_4_F
Define "CL_M_PI_4_F" with expression '0.78539818525314f', CType: float.
Definition: CL.java:233
static final int CL_PROGRAM_BUILD_OPTIONS
Define "CL_PROGRAM_BUILD_OPTIONS" with expression '0x1182', CType: int.
Definition: CL.java:151
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.
Definition: CL.java:523
static final int CL_MEM_FLAGS
Define "CL_MEM_FLAGS" with expression '0x1101', CType: int.
Definition: CL.java:267
static final int CL_DEVICE_MAX_WORK_ITEM_SIZES
Define "CL_DEVICE_MAX_WORK_ITEM_SIZES" with expression '0x1005', CType: int.
Definition: CL.java:421
static final int CL_VERSION_1_1
Define "CL_VERSION_1_1" with expression '1', CType: int.
Definition: CL.java:141
static final int CL_DEVICE_REGISTERS_PER_BLOCK_NV
Define "CL_DEVICE_REGISTERS_PER_BLOCK_NV" with expression '0x4002', CType: int.
Definition: CL.java:551
static final int CL_DBL_MAX_EXP
Define "CL_DBL_MAX_EXP" with expression '+1024', CType: int.
Definition: CL.java:289
static final int KHRONOS_TRUE
Defined as part of enum type "khronos_boolean_enum_t" with expression '1', CType: int.
Definition: CL.java:31
static final int CL_EVENT_COMMAND_EXECUTION_STATUS
Define "CL_EVENT_COMMAND_EXECUTION_STATUS" with expression '0x11D3', CType: int.
Definition: CL.java:315
static final float CL_FLT_MIN
Define "CL_FLT_MIN" with expression '0x1.0p-126f', CType: float.
Definition: CL.java:287
static final int CL_COMMAND_NDRANGE_KERNEL
Define "CL_COMMAND_NDRANGE_KERNEL" with expression '0x11F0', CType: int.
Definition: CL.java:663
static final int CL_READ_WRITE_CACHE
Define "CL_READ_WRITE_CACHE" with expression '0x2', CType: int.
Definition: CL.java:587
static final int CL_INVALID_QUEUE_PROPERTIES
Define "CL_INVALID_QUEUE_PROPERTIES" with expression '-35', CType: int.
Definition: CL.java:759
static final int CL_BUILD_ERROR
Define "CL_BUILD_ERROR" with expression '-2', CType: int.
Definition: CL.java:483
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.
Definition: CL.java:225
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.
Definition: CL.java:515
static final int CL_GLOBAL
Define "CL_GLOBAL" with expression '0x2', CType: int.
Definition: CL.java:755
static final int CL_ADDRESS_CLAMP
Define "CL_ADDRESS_CLAMP" with expression '0x1132', CType: int.
Definition: CL.java:119
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.
Definition: CL.java:491
static final int CL_AFFINITY_DOMAIN_L4_CACHE_EXT
Define "CL_AFFINITY_DOMAIN_L4_CACHE_EXT" with expression '0x4', CType: int.
Definition: CL.java:297
static final int CL_COMMAND_WRITE_BUFFER
Define "CL_COMMAND_WRITE_BUFFER" with expression '0x11F4', CType: int.
Definition: CL.java:259
static final int CL_CONTEXT_PROPERTIES
Define "CL_CONTEXT_PROPERTIES" with expression '0x1082', CType: int.
Definition: CL.java:717
static final int CL_EVENT_CONTEXT
Define "CL_EVENT_CONTEXT" with expression '0x11D4', CType: int.
Definition: CL.java:521
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.
Definition: CL.java:449
static final int CL_FLT_MAX_EXP
Define "CL_FLT_MAX_EXP" with expression '+128', CType: int.
Definition: CL.java:383
static final int CL_INVALID_IMAGE_SIZE
Define "CL_INVALID_IMAGE_SIZE" with expression '-40', CType: int.
Definition: CL.java:607
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.
Definition: CL.java:743
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG" with expression '0x1039', CType: int.
Definition: CL.java:241
static final int CL_INVALID_HOST_PTR
Define "CL_INVALID_HOST_PTR" with expression '-37', CType: int.
Definition: CL.java:627
static final int CL_INVALID_ARG_SIZE
Define "CL_INVALID_ARG_SIZE" with expression '-51', CType: int.
Definition: CL.java:563
static final int CL_DBL_DIG
Define "CL_DBL_DIG" with expression '15', CType: int.
Definition: CL.java:105
static final int CL_FILTER_LINEAR
Define "CL_FILTER_LINEAR" with expression '0x1141', CType: int.
Definition: CL.java:125
static final int CL_AFFINITY_DOMAIN_NUMA_EXT
Define "CL_AFFINITY_DOMAIN_NUMA_EXT" with expression '0x10', CType: int.
Definition: CL.java:97
static final float CL_FLT_EPSILON
Define "CL_FLT_EPSILON" with expression '0x1.0p-23f', CType: float.
Definition: CL.java:215
static final float CL_DBL_EPSILON
Define "CL_DBL_EPSILON" with expression '0x1.0p-52', CType: float.
Definition: CL.java:531
static final int CL_FLT_RADIX
Define "CL_FLT_RADIX" with expression '2', CType: int.
Definition: CL.java:469
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.
Definition: CL.java:127
static final int CL_PRINTF_BUFFERSIZE_ARM
Define "CL_PRINTF_BUFFERSIZE_ARM" with expression '0x40B1', CType: int.
Definition: CL.java:593
static final int CL_FP_ROUND_TO_ZERO
Define "CL_FP_ROUND_TO_ZERO" with expression '(1 << 3)', CType: int.
Definition: CL.java:495
static final int CL_PRINTF_CALLBACK_ARM
Define "CL_PRINTF_CALLBACK_ARM" with expression '0x40B0', CType: int.
Definition: CL.java:413
static final int CL_FP_SOFT_FLOAT
Define "CL_FP_SOFT_FLOAT" with expression '(1 << 6)', CType: int.
Definition: CL.java:623
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.
Definition: CL.java:601
static final int CL_DEVICE_MAX_COMPUTE_UNITS
Define "CL_DEVICE_MAX_COMPUTE_UNITS" with expression '0x1002', CType: int.
Definition: CL.java:115
static final int CL_RGx
Define "CL_RGx" with expression '0x10BB', CType: int.
Definition: CL.java:591
static final int CL_PLATFORM_PROFILE
Define "CL_PLATFORM_PROFILE" with expression '0x0900', CType: int.
Definition: CL.java:403
static final int CL_KERNEL_REFERENCE_COUNT
Define "CL_KERNEL_REFERENCE_COUNT" with expression '0x1192', CType: int.
Definition: CL.java:693
static final int CL_UNSIGNED_INT32
Define "CL_UNSIGNED_INT32" with expression '0x10DC', CType: int.
Definition: CL.java:387
static final int CL_COMMAND_WRITE_IMAGE
Define "CL_COMMAND_WRITE_IMAGE" with expression '0x11F7', CType: int.
Definition: CL.java:787
static final int CL_DEVICE_PARTITION_FAILED_EXT
Define "CL_DEVICE_PARTITION_FAILED_EXT" with expression '-1057', CType: int.
Definition: CL.java:695
static final int CL_QUEUE_PROPERTIES
Define "CL_QUEUE_PROPERTIES" with expression '0x1093', CType: int.
Definition: CL.java:197
static final int CL_FLT_MAX_10_EXP
Define "CL_FLT_MAX_10_EXP" with expression '+38', CType: int.
Definition: CL.java:773
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.
Definition: CL.java:49
static final int CL_BUILD_PROGRAM_FAILURE
Define "CL_BUILD_PROGRAM_FAILURE" with expression '-11', CType: int.
Definition: CL.java:75
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.
Definition: CL.java:37
static final int CL_COMMAND_USER
Define "CL_COMMAND_USER" with expression '0x1204', CType: int.
Definition: CL.java:237
static final int CL_DEVICE_PROFILE
Define "CL_DEVICE_PROFILE" with expression '0x102E', CType: int.
Definition: CL.java:613
static final int CL_SNORM_INT16
Define "CL_SNORM_INT16" with expression '0x10D1', CType: int.
Definition: CL.java:741
static final int CL_SAMPLER_FILTER_MODE
Define "CL_SAMPLER_FILTER_MODE" with expression '0x1154', CType: int.
Definition: CL.java:57
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.
Definition: CL.java:429
static final int CL_DEVICE_REFERENCE_COUNT_EXT
Define "CL_DEVICE_REFERENCE_COUNT_EXT" with expression '0x4057', CType: int.
Definition: CL.java:83
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.
Definition: CL.java:99
static final int CL_PLATFORM_EXTENSIONS
Define "CL_PLATFORM_EXTENSIONS" with expression '0x0904', CType: int.
Definition: CL.java:505
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.
Definition: CL.java:619
static final int CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT
Define "CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT" with expression '0x4053', CType: int.
Definition: CL.java:439
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.
Definition: CL.java:727
static final int CL_HALF_FLOAT
Define "CL_HALF_FLOAT" with expression '0x10DD', CType: int.
Definition: CL.java:659
static final int CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV
Define "CL_DEVICE_COMPUTE_CAPABILITY_MAJOR_NV" with expression '0x4000', CType: int.
Definition: CL.java:631
static final int CL_DEVICE_GLOBAL_MEM_SIZE
Define "CL_DEVICE_GLOBAL_MEM_SIZE" with expression '0x101F', CType: int.
Definition: CL.java:461
static final int CL_SUCCESS
Define "CL_SUCCESS" with expression '0', CType: int.
Definition: CL.java:325
static final int CL_SAMPLER_NORMALIZED_COORDS
Define "CL_SAMPLER_NORMALIZED_COORDS" with expression '0x1152', CType: int.
Definition: CL.java:79
static final int CL_DEVICE_MAX_READ_IMAGE_ARGS
Define "CL_DEVICE_MAX_READ_IMAGE_ARGS" with expression '0x100E', CType: int.
Definition: CL.java:689
static final int CL_COMMAND_UNMAP_MEM_OBJECT
Define "CL_COMMAND_UNMAP_MEM_OBJECT" with expression '0x11FD', CType: int.
Definition: CL.java:263
static final int CL_COMMAND_COPY_BUFFER
Define "CL_COMMAND_COPY_BUFFER" with expression '0x11F5', CType: int.
Definition: CL.java:121
static final int CL_COMMAND_COPY_IMAGE_TO_BUFFER
Define "CL_COMMAND_COPY_IMAGE_TO_BUFFER" with expression '0x11F9', CType: int.
Definition: CL.java:455
static final int CL_INVALID_PARTITION_COUNT_EXT
Define "CL_INVALID_PARTITION_COUNT_EXT" with expression '-1058', CType: int.
Definition: CL.java:309
static final int CL_QUEUE_DEVICE
Define "CL_QUEUE_DEVICE" with expression '0x1091', CType: int.
Definition: CL.java:617
static final int CL_MEM_ALLOC_HOST_PTR
Define "CL_MEM_ALLOC_HOST_PTR" with expression '(1 << 4)', CType: int.
Definition: CL.java:683
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.
Definition: CL.java:41
static final int CL_BGRA
Define "CL_BGRA" with expression '0x10B6', CType: int.
Definition: CL.java:39
static final int CL_PROGRAM_BINARIES
Define "CL_PROGRAM_BINARIES" with expression '0x1166', CType: int.
Definition: CL.java:107
static final int CL_Rx
Define "CL_Rx" with expression '0x10BA', CType: int.
Definition: CL.java:479
static final int KHRONOS_FALSE
Defined as part of enum type "khronos_boolean_enum_t" with expression '0', CType: int.
Definition: CL.java:29
static final int CL_MEM_COPY_HOST_PTR
Define "CL_MEM_COPY_HOST_PTR" with expression '(1 << 5)', CType: int.
Definition: CL.java:639
static final int CL_MEM_COPY_OVERLAP
Define "CL_MEM_COPY_OVERLAP" with expression '-8', CType: int.
Definition: CL.java:189
static final int CL_MEM_READ_WRITE
Define "CL_MEM_READ_WRITE" with expression '(1 << 0)', CType: int.
Definition: CL.java:795
static final int CL_SHRT_MIN
Define "CL_SHRT_MIN" with expression '(-32767-1)', CType: int.
Definition: CL.java:633
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.
Definition: CL.java:253
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.
Definition: CL.java:565
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.
Definition: CL.java:791
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.
Definition: CL.java:451
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.
Definition: CL.java:541
static final int CL_INVALID_KERNEL_ARGS
Define "CL_INVALID_KERNEL_ARGS" with expression '-52', CType: int.
Definition: CL.java:77
static final int CL_PROGRAM_CONTEXT
Define "CL_PROGRAM_CONTEXT" with expression '0x1161', CType: int.
Definition: CL.java:509
static final int CL_DEVICE_GLOBAL_MEM_CACHE_TYPE
Define "CL_DEVICE_GLOBAL_MEM_CACHE_TYPE" with expression '0x101C', CType: int.
Definition: CL.java:293
static final int CL_COMMAND_WRITE_BUFFER_RECT
Define "CL_COMMAND_WRITE_BUFFER_RECT" with expression '0x1202', CType: int.
Definition: CL.java:343
static final int CL_LOCAL
Define "CL_LOCAL" with expression '0x1', CType: int.
Definition: CL.java:277
static final int CL_COMMAND_READ_BUFFER_RECT
Define "CL_COMMAND_READ_BUFFER_RECT" with expression '0x1201', CType: int.
Definition: CL.java:513
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.
Definition: CL.java:135
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR" with expression '0x1006', CType: int.
Definition: CL.java:335
static final int CL_INVALID_OPERATION
Define "CL_INVALID_OPERATION" with expression '-59', CType: int.
Definition: CL.java:679
static final int CL_SUBMITTED
Define "CL_SUBMITTED" with expression '0x2', CType: int.
Definition: CL.java:227
static final int GLEXT_64_TYPES_DEFINED
Define "GLEXT_64_TYPES_DEFINED" with expression '1', CType: int.
Definition: CL.java:175
static final int CL_DEVICE_TYPE_GPU
Define "CL_DEVICE_TYPE_GPU" with expression '(1 << 2)', CType: int.
Definition: CL.java:51
static final int CL_DEVICE_PARTITION_BY_NAMES_EXT
Define "CL_DEVICE_PARTITION_BY_NAMES_EXT" with expression '0x4052', CType: int.
Definition: CL.java:243
static final int CL_COMMAND_NATIVE_KERNEL
Define "CL_COMMAND_NATIVE_KERNEL" with expression '0x11F2', CType: int.
Definition: CL.java:207
static final float CL_M_2_PI_F
Define "CL_M_2_PI_F" with expression '0.63661974668503f', CType: float.
Definition: CL.java:707
static final int CL_MEM_OBJECT_BUFFER
Define "CL_MEM_OBJECT_BUFFER" with expression '0x10F0', CType: int.
Definition: CL.java:725
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.
Definition: CL.java:589
static final int CL_DEVICE_GPU_OVERLAP_NV
Define "CL_DEVICE_GPU_OVERLAP_NV" with expression '0x4004', CType: int.
Definition: CL.java:217
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.
Definition: CL.java:721
static final int CL_FP_FMA
Define "CL_FP_FMA" with expression '(1 << 5)', CType: int.
Definition: CL.java:359
static final int CL_INVALID_CONTEXT
Define "CL_INVALID_CONTEXT" with expression '-34', CType: int.
Definition: CL.java:271
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT" with expression '0x1037', CType: int.
Definition: CL.java:221
static final long CL_DEVICE_TYPE_ALL
Define "CL_DEVICE_TYPE_ALL" with expression '0xFFFFFFFF', CType: long.
Definition: CL.java:647
static final int CL_MEM_OBJECT_IMAGE2D
Define "CL_MEM_OBJECT_IMAGE2D" with expression '0x10F1', CType: int.
Definition: CL.java:699
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.
Definition: CL.java:367
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.
Definition: CL.java:155
static final int CL_DEVICE_TYPE_DEFAULT
Define "CL_DEVICE_TYPE_DEFAULT" with expression '(1 << 0)', CType: int.
Definition: CL.java:577
static final float CL_FLT_MAX
Define "CL_FLT_MAX" with expression '0x1.fffffep127f', CType: float.
Definition: CL.java:539
static final int CL_DEVICE_TYPE_ACCELERATOR
Define "CL_DEVICE_TYPE_ACCELERATOR" with expression '(1 << 3)', CType: int.
Definition: CL.java:303
static final int CL_DEVICE_PROFILING_TIMER_OFFSET_AMD
Define "CL_DEVICE_PROFILING_TIMER_OFFSET_AMD" with expression '0x4036', CType: int.
Definition: CL.java:677
static final int CL_USHRT_MAX
Define "CL_USHRT_MAX" with expression '65535', CType: int.
Definition: CL.java:739
static final int CL_INVALID_COMMAND_QUEUE
Define "CL_INVALID_COMMAND_QUEUE" with expression '-36', CType: int.
Definition: CL.java:533
static final int CL_INVALID_ARG_VALUE
Define "CL_INVALID_ARG_VALUE" with expression '-50', CType: int.
Definition: CL.java:319
static final int CL_SIGNED_INT8
Define "CL_SIGNED_INT8" with expression '0x10D7', CType: int.
Definition: CL.java:355
static final int CL_DBL_MANT_DIG
Define "CL_DBL_MANT_DIG" with expression '53', CType: int.
Definition: CL.java:805
static final int CL_INVALID_BUFFER_SIZE
Define "CL_INVALID_BUFFER_SIZE" with expression '-61', CType: int.
Definition: CL.java:377
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.
Definition: CL.java:465
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.
Definition: CL.java:723
static final int CL_DEVICE_ADDRESS_BITS
Define "CL_DEVICE_ADDRESS_BITS" with expression '0x100D', CType: int.
Definition: CL.java:475
static final int CL_DEVICE_COMPILER_AVAILABLE
Define "CL_DEVICE_COMPILER_AVAILABLE" with expression '0x1028', CType: int.
Definition: CL.java:305
static final int CL_DEVICE_VENDOR_ID
Define "CL_DEVICE_VENDOR_ID" with expression '0x1001', CType: int.
Definition: CL.java:767
static final int CL_DEVICE_DOUBLE_FP_CONFIG
Define "CL_DEVICE_DOUBLE_FP_CONFIG" with expression '0x1032', CType: int.
Definition: CL.java:651
static final int CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE
Define "CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE" with expression '0x101D', CType: int.
Definition: CL.java:581
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT" with expression '0x100A', CType: int.
Definition: CL.java:145
static final int CL_DEVICE_VERSION
Define "CL_DEVICE_VERSION" with expression '0x102F', CType: int.
Definition: CL.java:669
static final int CL_INVALID_MEM_OBJECT
Define "CL_INVALID_MEM_OBJECT" with expression '-38', CType: int.
Definition: CL.java:797
static final int CL_INVALID_PROPERTY
Define "CL_INVALID_PROPERTY" with expression '-64', CType: int.
Definition: CL.java:667
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.
Definition: CL.java:635
static final int CL_DEVICE_ENDIAN_LITTLE
Define "CL_DEVICE_ENDIAN_LITTLE" with expression '0x1026', CType: int.
Definition: CL.java:781
static final int CL_INVALID_WORK_DIMENSION
Define "CL_INVALID_WORK_DIMENSION" with expression '-53', CType: int.
Definition: CL.java:649
static final int CL_COMMAND_READ_BUFFER
Define "CL_COMMAND_READ_BUFFER" with expression '0x11F3', CType: int.
Definition: CL.java:493
static final int CL_BUILD_SUCCESS
Define "CL_BUILD_SUCCESS" with expression '0', CType: int.
Definition: CL.java:261
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.
Definition: CL.java:511
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.
Definition: CL.java:753
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.
Definition: CL.java:301
static final int CL_IMAGE_ELEMENT_SIZE
Define "CL_IMAGE_ELEMENT_SIZE" with expression '0x1111', CType: int.
Definition: CL.java:337
static final int CL_SAMPLER_CONTEXT
Define "CL_SAMPLER_CONTEXT" with expression '0x1151', CType: int.
Definition: CL.java:769
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.
Definition: CL.java:673
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR" with expression '0x1036', CType: int.
Definition: CL.java:437
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.
Definition: CL.java:109
static final int CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV
Define "CL_DEVICE_KERNEL_EXEC_TIMEOUT_NV" with expression '0x4005', CType: int.
Definition: CL.java:133
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.
Definition: CL.java:637
static final int CL_PROFILING_COMMAND_END
Define "CL_PROFILING_COMMAND_END" with expression '0x1283', CType: int.
Definition: CL.java:177
static final int CL_INVALID_PLATFORM
Define "CL_INVALID_PLATFORM" with expression '-32', CType: int.
Definition: CL.java:147
static final int CL_DEVICE_GLOBAL_MEM_CACHE_SIZE
Define "CL_DEVICE_GLOBAL_MEM_CACHE_SIZE" with expression '0x101E', CType: int.
Definition: CL.java:489
static final int CL_ADDRESS_MIRRORED_REPEAT
Define "CL_ADDRESS_MIRRORED_REPEAT" with expression '0x1134', CType: int.
Definition: CL.java:751
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.
Definition: CL.java:657
static final int CL_DEVICE_MEM_BASE_ADDR_ALIGN
Define "CL_DEVICE_MEM_BASE_ADDR_ALIGN" with expression '0x1019', CType: int.
Definition: CL.java:675
static final int CL_COMPILER_NOT_AVAILABLE
Define "CL_COMPILER_NOT_AVAILABLE" with expression '-3', CType: int.
Definition: CL.java:389
static final int CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF
Define "CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF" with expression '0x1034', CType: int.
Definition: CL.java:549
static final int CL_AFFINITY_DOMAIN_L3_CACHE_EXT
Define "CL_AFFINITY_DOMAIN_L3_CACHE_EXT" with expression '0x3', CType: int.
Definition: CL.java:223
static final int CL_WGL_HDC_KHR
Define "CL_WGL_HDC_KHR" with expression '0x200B', CType: int.
Definition: CL.java:643
static final int CL_GL_OBJECT_BUFFER
Define "CL_GL_OBJECT_BUFFER" with expression '0x2000', CType: int.
Definition: CL.java:625
static final int CL_NONE
Define "CL_NONE" with expression '0x0', CType: int.
Definition: CL.java:463
static final int CL_PROGRAM_DEVICES
Define "CL_PROGRAM_DEVICES" with expression '0x1163', CType: int.
Definition: CL.java:605
static final int CL_COMMAND_ACQUIRE_GL_OBJECTS
Define "CL_COMMAND_ACQUIRE_GL_OBJECTS" with expression '0x11FF', CType: int.
Definition: CL.java:307
static final float CL_M_SQRT2
Define "CL_M_SQRT2" with expression '1.414213562373095145475', CType: float.
Definition: CL.java:629
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.
Definition: CL.java:481
static final int CL_MEM_OFFSET
Define "CL_MEM_OFFSET" with expression '0x1108', CType: int.
Definition: CL.java:561
static final int CL_MEM_WRITE_ONLY
Define "CL_MEM_WRITE_ONLY" with expression '(1 << 1)', CType: int.
Definition: CL.java:183
static final int CL_SIGNED_INT32
Define "CL_SIGNED_INT32" with expression '0x10D9', CType: int.
Definition: CL.java:579
static final int CL_UNORM_INT16
Define "CL_UNORM_INT16" with expression '0x10D3', CType: int.
Definition: CL.java:169
static final int CL_AFFINITY_DOMAIN_L1_CACHE_EXT
Define "CL_AFFINITY_DOMAIN_L1_CACHE_EXT" with expression '0x1', CType: int.
Definition: CL.java:729
static final int CL_INVALID_KERNEL
Define "CL_INVALID_KERNEL" with expression '-48', CType: int.
Definition: CL.java:157
static final int CL_INVALID_DEVICE_TYPE
Define "CL_INVALID_DEVICE_TYPE" with expression '-31', CType: int.
Definition: CL.java:323
static final float CL_M_SQRT2_F
Define "CL_M_SQRT2_F" with expression '1.41421353816986f', CType: float.
Definition: CL.java:265
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.
Definition: CL.java:163
static final int CL_MEM_SIZE
Define "CL_MEM_SIZE" with expression '0x1102', CType: int.
Definition: CL.java:809
static final int CL_DEVICE_INTEGRATED_MEMORY_NV
Define "CL_DEVICE_INTEGRATED_MEMORY_NV" with expression '0x4006', CType: int.
Definition: CL.java:807
static final float CL_M_PI_F
Define "CL_M_PI_F" with expression '3.14159274101257f', CType: float.
Definition: CL.java:501
static final int CL_IMAGE_FORMAT_NOT_SUPPORTED
Define "CL_IMAGE_FORMAT_NOT_SUPPORTED" with expression '-10', CType: int.
Definition: CL.java:159
static final int CL_IMAGE_FORMAT_MISMATCH
Define "CL_IMAGE_FORMAT_MISMATCH" with expression '-9', CType: int.
Definition: CL.java:369
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.
Definition: CL.java:747
static final int CL_DEVICE_MAX_CONSTANT_ARGS
Define "CL_DEVICE_MAX_CONSTANT_ARGS" with expression '0x1021', CType: int.
Definition: CL.java:459
static final int CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT
Define "CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT" with expression '0x103A', CType: int.
Definition: CL.java:331
static final int CL_ARGB
Define "CL_ARGB" with expression '0x10B7', CType: int.
Definition: CL.java:351
static final int CL_PLATFORM_ICD_SUFFIX_KHR
Define "CL_PLATFORM_ICD_SUFFIX_KHR" with expression '0x0920', CType: int.
Definition: CL.java:715
static final int CL_IMAGE_ROW_PITCH
Define "CL_IMAGE_ROW_PITCH" with expression '0x1112', CType: int.
Definition: CL.java:497
static final int CL_GLX_DISPLAY_KHR
Define "CL_GLX_DISPLAY_KHR" with expression '0x200A', CType: int.
Definition: CL.java:553
static final int CL_CONTEXT_PLATFORM
Define "CL_CONTEXT_PLATFORM" with expression '0x1084', CType: int.
Definition: CL.java:419
static final float CL_M_LN10_F
Define "CL_M_LN10_F" with expression '2.30258512496948f', CType: float.
Definition: CL.java:165
static final int CL_PLATFORM_VENDOR
Define "CL_PLATFORM_VENDOR" with expression '0x0903', CType: int.
Definition: CL.java:235
static final int CL_EXEC_KERNEL
Define "CL_EXEC_KERNEL" with expression '(1 << 0)', CType: int.
Definition: CL.java:281
static final int CL_DEVICE_NOT_FOUND
Define "CL_DEVICE_NOT_FOUND" with expression '-1', CType: int.
Definition: CL.java:697
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.
Definition: CL.java:251
static final int KHRONOS_MAX_ENUM
Define "KHRONOS_MAX_ENUM" with expression '0x7FFFFFFF', CType: int.
Definition: CL.java:203
static final int CL_FLOAT
Define "CL_FLOAT" with expression '0x10DE', CType: int.
Definition: CL.java:131
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.
Definition: CL.java:517
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.
Definition: CL.java:423
static final int CL_SCHAR_MIN
Define "CL_SCHAR_MIN" with expression '(-127-1)', CType: int.
Definition: CL.java:789
static final int CL_DBL_MIN_10_EXP
Define "CL_DBL_MIN_10_EXP" with expression '-307', CType: int.
Definition: CL.java:191
static final int CL_KERNEL_FUNCTION_NAME
Define "CL_KERNEL_FUNCTION_NAME" with expression '0x1190', CType: int.
Definition: CL.java:371
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.
Definition: CL.java:703
static final int CL_DEVICE_EXTENSIONS
Define "CL_DEVICE_EXTENSIONS" with expression '0x1030', CType: int.
Definition: CL.java:379
static final int CL_EXEC_NATIVE_KERNEL
Define "CL_EXEC_NATIVE_KERNEL" with expression '(1 << 1)', CType: int.
Definition: CL.java:783
static final float CL_M_2_SQRTPI
Define "CL_M_2_SQRTPI" with expression '1.128379167095512558561', CType: float.
Definition: CL.java:425
static final int CL_COMMAND_READ_IMAGE
Define "CL_COMMAND_READ_IMAGE" with expression '0x11F6', CType: int.
Definition: CL.java:385
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.
Definition: CL.java:213
static final int CL_DEVICE_PARTITION_EQUALLY_EXT
Define "CL_DEVICE_PARTITION_EQUALLY_EXT" with expression '0x4050', CType: int.
Definition: CL.java:329
static final int CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR
Define "CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR" with expression '0x200D', CType: int.
Definition: CL.java:487
static final int CL_DEVICE_ERROR_CORRECTION_SUPPORT
Define "CL_DEVICE_ERROR_CORRECTION_SUPPORT" with expression '0x1024', CType: int.
Definition: CL.java:779
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...