~ubuntu-branches/ubuntu/trusty/khronos-opencl-man/trusty

« back to all changes in this revision

Viewing changes to enums.xml

  • Committer: Package Import Robot
  • Author(s): Mathieu Malaterre
  • Date: 2013-05-21 18:06:15 UTC
  • Revision ID: package-import@ubuntu.com-20130521180615-6e0s2n3pai95ip2f
Tags: upstream-1.0~svn21772
ImportĀ upstreamĀ versionĀ 1.0~svn21772

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
 
3
              "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
 
4
<refentry>
 
5
 
 
6
    <refentryinfo>
 
7
        <keywordset>
 
8
            <keyword>Enumerated Types</keyword>
 
9
        </keywordset>
 
10
    </refentryinfo>
 
11
    <refmeta>
 
12
        <refentrytitle>Enumerated Types</refentrytitle>
 
13
        <refmiscinfo>
 
14
            <copyright>
 
15
                <year>2007-2011</year>
 
16
                <holder>The Khronos Group Inc.
 
17
 Permission is hereby granted, free of charge, to any person obtaining a
 
18
copy of this software and/or associated documentation files (the
 
19
"Materials"), to deal in the Materials without restriction, including
 
20
without limitation the rights to use, copy, modify, merge, publish,
 
21
distribute, sublicense, and/or sell copies of the Materials, and to
 
22
permit persons to whom the Materials are furnished to do so, subject to
 
23
the condition that this copyright notice and permission notice shall be included
 
24
in all copies or substantial portions of the Materials.</holder>
 
25
            </copyright>
 
26
        </refmiscinfo>
 
27
        <manvolnum>3</manvolnum>
 
28
    </refmeta>
 
29
 
 
30
    <refnamediv id="Enumerators">
 
31
        <refname>Enumerated Types</refname>
 
32
        <refpurpose>Following are the enumerated types and their permitted values.</refpurpose>
 
33
    </refnamediv>
 
34
 
 
35
    <refsect1 id="synopsis"><title></title>
 
36
      <para>
 
37
      <informaltable frame="void"><caption></caption>
 
38
        <tgroup cols="2" align="left" colsep="0" rowsep="0">
 
39
          <colspec colname="col1" colnum="1" />
 
40
          <colspec colname="col2" colnum="2" />
 
41
          <thead>
 
42
            <row>
 
43
              <entry>Enumerated Type</entry>
 
44
              <entry>Permitted Values</entry>
 
45
            </row>
 
46
          </thead>
 
47
 
 
48
          <tbody>
 
49
            <row>
 
50
              <entry><constant><anchor id="cl_addressing_mode"/>cl_addressing_mode</constant></entry>
 
51
              <entry>
 
52
<literallayout><constant>CL_ADDRESS_NONE</constant>
 
53
<constant>CL_ADDRESS_CLAMP_TO_EDGE</constant>
 
54
<constant>CL_ADDRESS_CLAMP</constant>
 
55
<constant>CL_ADDRESS_REPEAT</constant>
 
56
<constant>CL_ADDRESS_MIRRORED_REPEAT</constant>
 
57
</literallayout>
 
58
              </entry>
 
59
            </row>
 
60
 
 
61
            <row>
 
62
              <entry><constant><anchor id="cl_bool"/>cl_bool</constant></entry>
 
63
              <entry>
 
64
<literallayout><constant>CL_FALSE</constant>
 
65
<constant>CL_TRUE</constant>
 
66
<constant>CL_BLOCKING</constant> = <constant>CL_TRUE</constant>
 
67
<constant>CL_NON_BLOCKING</constant> = <constant>CL_FALSE</constant>
 
68
</literallayout>
 
69
                <para>
 
70
                  Note: Unlike cl_ types in cl_platform.h, <type>cl_bool</type> is not guaranteed to be
 
71
                  the same size as the <type>bool</type> in kernels.
 
72
                </para>
 
73
              </entry>
 
74
            </row>
 
75
 
 
76
            <row>
 
77
              <entry><constant><anchor id="cl_buffer_create_type"/>cl_buffer_create_type</constant></entry>
 
78
              <entry>
 
79
<literallayout><constant>CL_BUFFER_CREATE_TYPE_REGION</constant>
 
80
</literallayout>
 
81
              </entry>
 
82
            </row>
 
83
 
 
84
            <row>
 
85
              <entry><constant><anchor id="cl_build_status"/>cl_build_status</constant></entry>
 
86
              <entry>
 
87
<literallayout><constant>CL_BUILD_SUCCESS</constant>
 
88
<constant>CL_BUILD_NONE</constant>
 
89
<constant>CL_BUILD_ERROR</constant>
 
90
<constant>CL_BUILD_IN_PROGRESS</constant>
 
91
</literallayout>
 
92
              </entry>
 
93
            </row>
 
94
 
 
95
            <row>
 
96
              <entry><constant><anchor id="cl_channel_order"/>cl_channel_order</constant></entry>
 
97
              <entry>
 
98
<literallayout><constant>CL_A</constant>
 
99
<constant>CL_R</constant>
 
100
<constant>CL_RG</constant>
 
101
<constant>CL_RA</constant>
 
102
<constant>CL_RGB</constant>
 
103
<constant>CL_RGBA</constant>
 
104
<constant>CL_BGRA</constant>
 
105
<constant>CL_ARGB</constant>
 
106
<constant>CL_INTENSITY</constant>
 
107
<constant>CL_LUMINANCE</constant>
 
108
<constant>CL_Rx</constant>
 
109
<constant>CL_RGx</constant>
 
110
<constant>CL_RGBx</constant>
 
111
</literallayout>
 
112
              </entry>
 
113
            </row>
 
114
 
 
115
            <row>
 
116
              <entry><constant><anchor id="cl_channel_type"/>cl_channel_type</constant></entry>
 
117
              <entry>
 
118
<literallayout><constant>CL_SNORM_INT8</constant>
 
119
<constant>CL_SNORM_INT16</constant>
 
120
<constant>CL_UNORM_INT8</constant>
 
121
<constant>CL_UNORM_INT16</constant>
 
122
<constant>CL_UNORM_SHORT_565</constant>
 
123
<constant>CL_UNORM_SHORT_555</constant>
 
124
<constant>CL_UNORM_INT_101010</constant>
 
125
<constant>CL_SIGNED_INT8</constant>
 
126
<constant>CL_SIGNED_INT16</constant>
 
127
<constant>CL_SIGNED_INT32</constant>
 
128
<constant>CL_UNSIGNED_INT8</constant>
 
129
<constant>CL_UNSIGNED_INT16</constant>
 
130
<constant>CL_UNSIGNED_INT32</constant>
 
131
<constant>CL_HALF_FLOAT</constant>
 
132
<constant>CL_FLOAT</constant>
 
133
</literallayout>
 
134
              </entry>
 
135
            </row>
 
136
 
 
137
            <row>
 
138
              <entry><constant><anchor id="cl_command_queue_info"/>cl_command_queue_info</constant></entry>
 
139
              <entry>
 
140
<literallayout><constant>CL_QUEUE_CONTEXT</constant>
 
141
<constant>CL_QUEUE_DEVICE</constant>
 
142
<constant>CL_QUEUE_REFERENCE_COUNT</constant>
 
143
<constant>CL_QUEUE_PROPERTIES</constant>
 
144
</literallayout>
 
145
              </entry>
 
146
            </row>
 
147
 
 
148
            <row>
 
149
              <entry><constant><anchor id="cl_command_queue_properties"/>cl_command_queue_properties</constant></entry>
 
150
              <entry>
 
151
<literallayout><constant>CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE</constant>
 
152
<constant>CL_QUEUE_PROFILING_ENABLE</constant>
 
153
</literallayout>
 
154
              </entry>
 
155
            </row>
 
156
 
 
157
            <row>
 
158
              <entry><constant><anchor id="cl_command_type"/>cl_command_type</constant></entry>
 
159
              <entry>
 
160
<literallayout><constant>CL_COMMAND_NDRANGE_KERNEL</constant>
 
161
<constant>CL_COMMAND_TASK</constant>
 
162
<constant>CL_COMMAND_NATIVE_KERNEL</constant>
 
163
<constant>CL_COMMAND_READ_BUFFER</constant>
 
164
<constant>CL_COMMAND_WRITE_BUFFER</constant>
 
165
<constant>CL_COMMAND_COPY_BUFFER</constant>
 
166
<constant>CL_COMMAND_READ_IMAGE</constant>
 
167
<constant>CL_COMMAND_WRITE_IMAGE</constant>
 
168
<constant>CL_COMMAND_COPY_IMAGE</constant>
 
169
<constant>CL_COMMAND_COPY_IMAGE_TO_BUFFER</constant>
 
170
<constant>CL_COMMAND_COPY_BUFFER_TO_IMAGE</constant>
 
171
<constant>CL_COMMAND_MAP_BUFFER</constant>
 
172
<constant>CL_COMMAND_MAP_IMAGE</constant>
 
173
<constant>CL_COMMAND_UNMAP_MEM_OBJECT</constant>
 
174
<constant>CL_COMMAND_MARKER</constant>
 
175
<constant>CL_COMMAND_ACQUIRE_GL_OBJECTS</constant>
 
176
<constant>CL_COMMAND_RELEASE_GL_OBJECTS</constant>
 
177
<constant>CL_COMMAND_READ_BUFFER_RECT</constant>
 
178
<constant>CL_COMMAND_WRITE_BUFFER_RECT</constant>
 
179
<constant>CL_COMMAND_COPY_BUFFER_RECT</constant>
 
180
<constant>CL_COMMAND_USER</constant>
 
181
<constant>CL_COMMAND_BARRIER</constant>
 
182
<constant>CL_COMMAND_MIGRATE_MEM_OBJECTS</constant>
 
183
<constant>CL_COMMAND_FILL_BUFFER</constant>
 
184
<constant>CL_COMMAND_FILL_IMAGE</constant>
 
185
<constant>CL_COMMAND_ACQUIRE_D3D10_OBJECTS_KHR</constant>
 
186
<constant>CL_COMMAND_RELEASE_D3D10_OBJECTS_KHR</constant>
 
187
<constant>CL_COMMAND_ACQUIRE_D3D11_OBJECTS_KHR</constant>
 
188
<constant>CL_COMMAND_RELEASE_D3D11_OBJECTS_KHR</constant>
 
189
<constant>CL_COMMAND_ACQUIRE_DX9_MEDIA_SURFACES_KHR</constant>
 
190
<constant>CL_COMMAND_RELEASE_DX9_MEDIA_SURFACES_KHR</constant>
 
191
</literallayout>
 
192
              </entry>
 
193
            </row>
 
194
 
 
195
            <row>
 
196
              <entry><constant><anchor id="cl_context_info"/>cl_context_info</constant></entry>
 
197
              <entry>
 
198
<literallayout><constant>CL_CONTEXT_REFERENCE_COUNT</constant>
 
199
<constant>CL_CONTEXT_DEVICES</constant>
 
200
<constant>CL_CONTEXT_PROPERTIES</constant>
 
201
<constant>CL_CONTEXT_NUM_DEVICES</constant>
 
202
<constant>CL_CONTEXT_D3D10_DEVICE_KHR</constant>
 
203
<constant>CL_CONTEXT_D3D10_PREFER_SHARED_RESOURCES_KHR</constant>
 
204
<constant>CL_CONTEXT_D3D11_DEVICE_KHR</constant>
 
205
<constant>CL_CONTEXT_D3D11_PREFER_SHARED_RESOURCES_KHR</constant>
 
206
<constant>CL_CONTEXT_D3D9_DEVICE_KHR</constant>
 
207
<constant>CL_CONTEXT_D3D9EX_DEVICE_KHR</constant>
 
208
<constant>CL_CONTEXT_DXVA_DEVICE_KHR</constant>
 
209
<constant>CL_GL_CONTEXT_KHR</constant>
 
210
<constant>CL_EGL_DISPLAY_KHR</constant>
 
211
<constant>CL_GLX_DISPLAY_KHR</constant>
 
212
<constant>CL_WGL_HDC_KHR</constant>
 
213
<constant>CL_CGL_SHAREGROUP_KHR</constant>
 
214
</literallayout>
 
215
              </entry>
 
216
            </row>
 
217
 
 
218
            <row>
 
219
              <entry><constant><anchor id="cl_context_properties"/>cl_context_properties</constant></entry>
 
220
              <entry>
 
221
<literallayout><constant>CL_CONTEXT_PLATFORM</constant>
 
222
<constant>CL_CONTEXT_INTEROP_USER_SYNC</constant>
 
223
<constant>CL_GL_CONTEXT_KHR</constant>
 
224
<constant>CL_EGL_DISPLAY_KHR</constant>
 
225
<constant>CL_GLX_DISPLAY_KHR</constant>
 
226
<constant>CL_WGL_HDC_KHR</constant>
 
227
<constant>CL_CGL_SHAREGROUP_KHR</constant>
 
228
</literallayout>
 
229
              </entry>
 
230
            </row>
 
231
 
 
232
            <row><!-- in cl_d3d10.h, but no enumeration constants defined for it -->
 
233
              <entry><constant><anchor id="cl_d3d10_device_set_khr"/>cl_d3d10_device_set_khr</constant></entry>
 
234
              <entry></entry>
 
235
            </row>
 
236
 
 
237
            <row><!-- in cl_d3d10.h, enumeration constants, but the type is undefined -->
 
238
              <entry><code>// cl_d3d10_device_set_nv</code></entry>
 
239
              <entry>
 
240
<literallayout><constant>CL_PREFERRED_DEVICES_FOR_D3D10_KHR</constant>
 
241
<constant>CL_ALL_DEVICES_FOR_D3D10_KHR</constant>
 
242
</literallayout>
 
243
              </entry>
 
244
            </row>
 
245
 
 
246
            <row><!-- in cl_d3d10.h, but no enumeration constants defined for it -->
 
247
              <entry><constant><anchor id="cl_d3d10_device_source_khr"/>cl_d3d10_device_source_khr</constant></entry>
 
248
              <entry></entry>
 
249
            </row>
 
250
 
 
251
            <row><!-- in cl_d3d10.h, enumeration constants, but the type is undefined -->
 
252
              <entry><code>// cl_d3d10_device_source_nv</code></entry>
 
253
              <entry>
 
254
<literallayout><constant>CL_D3D10_DEVICE_KHR</constant>
 
255
<constant>CL_D3D10_DXGI_ADAPTER_KHR</constant>
 
256
</literallayout>
 
257
              </entry>
 
258
            </row>
 
259
 
 
260
            <row><!-- in cl_d3d11.h, the type cl_d3d11_device_set_khr is defined, but no
 
261
                      enumeration constants are defined for it. The constants shown below are
 
262
                      defined for a type with the similar name cl_d3d11_device_set. Perhaps
 
263
                      it was intended to be the same type. -->
 
264
              <entry><constant>cl_d3d11_device_set_khr</constant></entry>
 
265
              <entry>
 
266
<literallayout><constant>CL_PREFERRED_DEVICES_FOR_D3D10_KHR</constant>
 
267
<constant>CL_ALL_DEVICES_FOR_D3D10_KHR</constant>
 
268
</literallayout>
 
269
              </entry>
 
270
            </row>
 
271
 
 
272
            <row><!-- in cl_d3d11.h, the type cl_d3d11_device_source_khr is defined, but no
 
273
                      enumeration constants are defined for it. The constants shown below are
 
274
                      defined for a type with the similar name cl_d3d11_device_source. Perhaps
 
275
                      it was intended to be the same type. -->
 
276
              <entry><constant>cl_d3d11_device_source_khr</constant></entry>
 
277
              <entry>
 
278
<literallayout><constant>CL_D3D11_DEVICE_KHR</constant>
 
279
<constant>CL_D3D11_DXGI_ADAPTER_KHR</constant>
 
280
</literallayout>
 
281
              </entry>
 
282
            </row>
 
283
 
 
284
            <row>
 
285
              <entry><constant><anchor id="cl_device_affinity_domain"/>cl_device_affinity_domain</constant></entry>
 
286
              <entry>
 
287
<literallayout><constant>CL_DEVICE_AFFINITY_DOMAIN_NUMA</constant>
 
288
<constant>CL_DEVICE_AFFINITY_DOMAIN_L4_CACHE</constant>
 
289
<constant>CL_DEVICE_AFFINITY_DOMAIN_L3_CACHE</constant>
 
290
<constant>CL_DEVICE_AFFINITY_DOMAIN_L2_CACHE</constant>
 
291
<constant>CL_DEVICE_AFFINITY_DOMAIN_L1_CACHE</constant>
 
292
<constant>CL_DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE</constant>
 
293
</literallayout>
 
294
              </entry>
 
295
            </row>
 
296
 
 
297
            <row>
 
298
              <!-- this type is defined in cl.h with two enumerants, but the type
 
299
                   does not appear in the spec nor in any other headers. -->
 
300
              <entry><constant><anchor id="cl_device_exec_capabilities"/>cl_device_exec_capabilities</constant></entry>
 
301
              <entry>
 
302
<literallayout><constant>CL_EXEC_KERNEL</constant>
 
303
<constant>CL_EXEC_NATIVE_KERNEL</constant>
 
304
</literallayout>
 
305
              </entry>
 
306
            </row>
 
307
 
 
308
            <row>
 
309
              <!-- this type is defined in cl.h with the enumerants shown below, but the type
 
310
                   does not appear in the spec nor in any other headers. -->
 
311
              <entry><constant><anchor id="cl_device_fp_config"/>cl_device_fp_config</constant></entry>
 
312
              <entry>
 
313
<literallayout><constant>CL_FP_DENORM</constant>
 
314
<constant>CL_FP_INF_NAN</constant>
 
315
<constant>CL_FP_ROUND_TO_NEAREST</constant>
 
316
<constant>CL_FP_ROUND_TO_ZERO </constant>
 
317
<constant>CL_FP_ROUND_TO_INF</constant>
 
318
<constant>CL_FP_FMA</constant>
 
319
<constant>CL_FP_SOFT_FLOAT</constant>
 
320
<constant>CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT</constant>
 
321
</literallayout>
 
322
              </entry>
 
323
            </row>
 
324
 
 
325
            <row>
 
326
              <entry><constant><anchor id="cl_device_info"/>cl_device_info</constant></entry>
 
327
              <entry>
 
328
<!-- This might be easier for the user if it were alphabetical order. However,
 
329
     maintenance will be much easier if arranged in spec (numeric) order -->
 
330
<literallayout><constant>CL_DEVICE_TYPE</constant>
 
331
<constant>CL_DEVICE_VENDOR_ID</constant>
 
332
<constant>CL_DEVICE_MAX_COMPUTE_UNITS</constant>
 
333
<constant>CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS</constant>
 
334
<constant>CL_DEVICE_MAX_WORK_GROUP_SIZE</constant>
 
335
<constant>CL_DEVICE_MAX_WORK_ITEM_SIZES</constant>
 
336
<constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR</constant>
 
337
<constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT</constant>
 
338
<constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT</constant>
 
339
<constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG</constant>
 
340
<constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT</constant>
 
341
<constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE</constant>
 
342
<constant>CL_DEVICE_MAX_CLOCK_FREQUENCY</constant>
 
343
<constant>CL_DEVICE_ADDRESS_BITS</constant>
 
344
<constant>CL_DEVICE_MAX_READ_IMAGE_ARGS</constant>
 
345
<constant>CL_DEVICE_MAX_WRITE_IMAGE_ARGS</constant>
 
346
<constant>CL_DEVICE_MAX_MEM_ALLOC_SIZE</constant>
 
347
<constant>CL_DEVICE_IMAGE2D_MAX_WIDTH</constant>
 
348
<constant>CL_DEVICE_IMAGE2D_MAX_HEIGHT</constant>
 
349
<constant>CL_DEVICE_IMAGE3D_MAX_WIDTH</constant>
 
350
<constant>CL_DEVICE_IMAGE3D_MAX_HEIGHT</constant>
 
351
<constant>CL_DEVICE_IMAGE3D_MAX_DEPTH</constant>
 
352
<constant>CL_DEVICE_IMAGE_SUPPORT</constant>
 
353
<constant>CL_DEVICE_MAX_PARAMETER_SIZE</constant>
 
354
<constant>CL_DEVICE_MAX_SAMPLERS</constant>
 
355
<constant>CL_DEVICE_MEM_BASE_ADDR_ALIGN</constant>
 
356
<constant>CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE</constant>
 
357
<constant>CL_DEVICE_SINGLE_FP_CONFIG</constant>
 
358
<constant>CL_DEVICE_GLOBAL_MEM_CACHE_TYPE</constant>
 
359
<constant>CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE</constant>
 
360
<constant>CL_DEVICE_GLOBAL_MEM_CACHE_SIZE</constant>
 
361
<constant>CL_DEVICE_GLOBAL_MEM_SIZE</constant>
 
362
<constant>CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE</constant>
 
363
<constant>CL_DEVICE_MAX_CONSTANT_ARGS</constant>
 
364
<constant>CL_DEVICE_LOCAL_MEM_TYPE</constant>
 
365
<constant>CL_DEVICE_LOCAL_MEM_SIZE</constant>
 
366
<constant>CL_DEVICE_ERROR_CORRECTION_SUPPORT</constant>
 
367
<constant>CL_DEVICE_PROFILING_TIMER_RESOLUTION</constant>
 
368
<constant>CL_DEVICE_ENDIAN_LITTLE</constant>
 
369
<constant>CL_DEVICE_AVAILABLE</constant>
 
370
<constant>CL_DEVICE_COMPILER_AVAILABLE</constant>
 
371
<constant>CL_DEVICE_EXECUTION_CAPABILITIES</constant>
 
372
<constant>CL_DEVICE_QUEUE_PROPERTIES</constant>
 
373
<constant>CL_DEVICE_NAME</constant>
 
374
<constant>CL_DEVICE_VENDOR</constant>
 
375
<constant>CL_DRIVER_VERSION</constant>
 
376
<constant>CL_DEVICE_PROFILE</constant>
 
377
<constant>CL_DEVICE_VERSION</constant>
 
378
<constant>CL_DEVICE_EXTENSIONS</constant>
 
379
<constant>CL_DEVICE_PLATFORM</constant>
 
380
<constant>CL_DEVICE_DOUBLE_FP_CONFIG</constant>
 
381
<constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF</constant>
 
382
<constant>CL_DEVICE_HOST_UNIFIED_MEMORY</constant>
 
383
<constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR</constant>
 
384
<constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT</constant>
 
385
<constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_INT</constant>
 
386
<constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG</constant>
 
387
<constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT</constant>
 
388
<constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE</constant>
 
389
<constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF</constant>
 
390
<constant>CL_DEVICE_OPENCL_C_VERSION</constant>
 
391
<constant>CL_DEVICE_LINKER_AVAILABLE</constant>
 
392
<constant>CL_DEVICE_BUILT_IN_KERNELS</constant>
 
393
<constant>CL_DEVICE_IMAGE_MAX_BUFFER_SIZE</constant>
 
394
<constant>CL_DEVICE_IMAGE_MAX_ARRAY_SIZE</constant>
 
395
<constant>CL_DEVICE_PARENT_DEVICE</constant>
 
396
<constant>CL_DEVICE_PARTITION_MAX_SUB_DEVICES</constant>
 
397
<constant>CL_DEVICE_PARTITION_PROPERTIES</constant>
 
398
<constant>CL_DEVICE_PARTITION_AFFINITY_DOMAIN</constant>
 
399
<constant>CL_DEVICE_PARTITION_TYPE</constant>
 
400
<constant>CL_DEVICE_REFERENCE_COUNT</constant>
 
401
<constant>CL_DEVICE_PREFERRED_INTEROP_USER_SYNC</constant>
 
402
<constant>CL_DEVICE_PRINTF_BUFFER_SIZE</constant>
 
403
</literallayout>
 
404
              </entry>
 
405
            </row>
 
406
 
 
407
            <row>
 
408
              <entry><constant><anchor id="cl_device_local_mem_type"/>cl_device_local_mem_type</constant></entry>
 
409
              <entry>
 
410
<literallayout><constant>CL_GLOBAL</constant>
 
411
<constant>CL_LOCAL</constant>
 
412
<!-- CL_NONE is a possible value according to the core spec. p. 348 -->
 
413
<constant>CL_NONE</constant>
 
414
</literallayout>
 
415
              </entry>
 
416
            </row>
 
417
 
 
418
            <row>
 
419
              <!-- this type is defined in cl.h with the enumerants shown below, but the type
 
420
                   does not appear in the spec nor in any other headers. -->
 
421
              <entry><constant><anchor id="cl_device_mem_cache_type"/>cl_device_mem_cache_type</constant></entry>
 
422
              <entry>
 
423
<literallayout><constant>CL_NONE</constant>
 
424
<constant>CL_READ_ONLY_CACHE</constant>
 
425
<constant>CL_READ_WRITE_CACHE</constant>
 
426
</literallayout>
 
427
              </entry>
 
428
            </row>
 
429
 
 
430
            <row>
 
431
              <entry><constant><anchor id="cl_device_partition_property"/>cl_device_partition_property</constant></entry>
 
432
              <entry>
 
433
<literallayout><constant>CL_DEVICE_PARTITION_EQUALLY</constant>
 
434
<constant>CL_DEVICE_PARTITION_BY_COUNTS</constant>
 
435
<constant>CL_DEVICE_PARTITION_BY_COUNTS_LIST_END</constant>
 
436
<constant>CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN</constant>
 
437
<!-- the value 0 is a permitted enumerant value according to the core spec. p. 47 -->
 
438
<constant>0</constant>
 
439
</literallayout>
 
440
              </entry>
 
441
            </row>
 
442
 
 
443
            <row>
 
444
              <entry><constant><anchor id="cl_device_type"/>cl_device_type</constant></entry>
 
445
              <entry>
 
446
<literallayout><constant>CL_DEVICE_TYPE_DEFAULT</constant>
 
447
<constant>CL_DEVICE_TYPE_CPU</constant>
 
448
<constant>CL_DEVICE_TYPE_GPU</constant>
 
449
<constant>CL_DEVICE_TYPE_ACCELERATOR</constant>
 
450
<constant>CL_DEVICE_TYPE_CUSTOM</constant>
 
451
<constant>CL_DEVICE_TYPE_ALL</constant>
 
452
</literallayout>
 
453
              </entry>
 
454
            </row>
 
455
 
 
456
            <row>
 
457
              <entry><constant><anchor id="cl_event_info"/>cl_event_info</constant></entry>
 
458
              <entry>
 
459
<literallayout><constant>CL_EVENT_COMMAND_QUEUE</constant>
 
460
<constant>CL_EVENT_COMMAND_TYPE</constant>
 
461
<constant>CL_EVENT_REFERENCE_COUNT</constant>
 
462
<constant>CL_EVENT_COMMAND_EXECUTION_STATUS</constant>
 
463
<constant>CL_EVENT_CONTEXT</constant>
 
464
</literallayout>
 
465
              </entry>
 
466
            </row>
 
467
 
 
468
            <row>
 
469
              <entry><constant><anchor id="cl_filter_mode"/>cl_filter_mode</constant></entry>
 
470
              <entry>
 
471
<literallayout><constant>CL_FILTER_NEAREST</constant>
 
472
<constant>CL_FILTER_LINEAR</constant>
 
473
</literallayout>
 
474
              </entry>
 
475
            </row>
 
476
 
 
477
            <row><!-- in cl_gl.h -->
 
478
              <entry><constant><anchor id="cl_gl_context_info"/>cl_gl_context_info</constant></entry>
 
479
              <entry>
 
480
<literallayout><constant>CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR</constant>
 
481
<constant>CL_DEVICES_FOR_GL_CONTEXT_KHR</constant>
 
482
</literallayout>
 
483
              </entry>
 
484
            </row>
 
485
 
 
486
            <row><!-- in cl_gl.h -->
 
487
              <entry><constant><anchor id="cl_gl_object_type"/>cl_gl_object_type</constant></entry>
 
488
              <entry>
 
489
<literallayout><constant>CL_GL_OBJECT_BUFFER</constant>
 
490
<constant>CL_GL_OBJECT_TEXTURE2D</constant>
 
491
<constant>CL_GL_OBJECT_TEXTURE3D</constant>
 
492
<constant>CL_GL_OBJECT_RENDERBUFFER</constant>
 
493
<constant>CL_GL_OBJECT_TEXTURE2D_ARRAY</constant>
 
494
<constant>CL_GL_OBJECT_TEXTURE1D</constant>
 
495
<constant>CL_GL_OBJECT_TEXTURE1D_ARRAY</constant>
 
496
<constant>CL_GL_OBJECT_TEXTURE_BUFFER</constant>
 
497
</literallayout>
 
498
              </entry>
 
499
            </row>
 
500
 
 
501
            <row><!-- in cl_gl.h -->
 
502
              <entry><constant><anchor id="cl_gl_texture_info"/>cl_gl_texture_info</constant></entry>
 
503
              <entry>
 
504
<literallayout><constant>CL_GL_TEXTURE_TARGET</constant>
 
505
<constant>CL_GL_MIPMAP_LEVEL</constant>
 
506
</literallayout>
 
507
              </entry>
 
508
            </row>
 
509
 
 
510
            <row>
 
511
              <entry><constant><anchor id="cl_image_info"/>cl_image_info</constant></entry>
 
512
              <entry>
 
513
<literallayout><constant>CL_IMAGE_FORMAT</constant>
 
514
<constant>CL_IMAGE_ELEMENT_SIZE</constant>
 
515
<constant>CL_IMAGE_ROW_PITCH</constant>
 
516
<constant>CL_IMAGE_SLICE_PITCH</constant>
 
517
<constant>CL_IMAGE_WIDTH</constant>
 
518
<constant>CL_IMAGE_HEIGHT</constant>
 
519
<constant>CL_IMAGE_DEPTH</constant>
 
520
<constant>CL_IMAGE_ARRAY_SIZE</constant>
 
521
<constant>CL_IMAGE_BUFFER</constant>
 
522
<constant>CL_IMAGE_NUM_MIP_LEVELS</constant>
 
523
<constant>CL_IMAGE_NUM_SAMPLES</constant>
 
524
<constant>CL_IMAGE_D3D10_SUBRESOURCE_KHR</constant>
 
525
<constant>CL_IMAGE_D3D11_SUBRESOURCE_KHR</constant>
 
526
<constant>CL_IMAGE_DX9_MEDIA_PLANE_KHR</constant>
 
527
</literallayout>
 
528
              </entry>
 
529
            </row>
 
530
 
 
531
            <row>
 
532
              <entry><constant><anchor id="cl_kernel_arg_address_qualifier"/>cl_kernel_arg_address_qualifier</constant></entry>
 
533
              <entry>
 
534
<literallayout><constant>CL_KERNEL_ARG_ADDRESS_GLOBAL</constant>
 
535
<constant>CL_KERNEL_ARG_ADDRESS_LOCAL</constant>
 
536
<constant>CL_KERNEL_ARG_ADDRESS_CONSTANT</constant>
 
537
<constant>CL_KERNEL_ARG_ADDRESS_PRIVATE</constant>
 
538
</literallayout>
 
539
              </entry>
 
540
            </row>
 
541
 
 
542
            <row>
 
543
              <entry><constant><anchor id="cl_kernel_arg_access_qualifier"/>cl_kernel_arg_access_qualifier</constant></entry>
 
544
              <entry>
 
545
<literallayout><constant>CL_KERNEL_ARG_ACCESS_READ_ONLY</constant>
 
546
<constant>CL_KERNEL_ARG_ACCESS_WRITE_ONLY</constant>
 
547
<constant>CL_KERNEL_ARG_ACCESS_READ_WRITE</constant>
 
548
<constant>CL_KERNEL_ARG_ACCESS_NONE</constant>
 
549
</literallayout>
 
550
              </entry>
 
551
            </row>
 
552
 
 
553
            <row>
 
554
              <entry><constant><anchor id="cl_kernel_arg_info"/>cl_kernel_arg_info</constant></entry>
 
555
              <entry>
 
556
<literallayout><constant>CL_KERNEL_ARG_ADDRESS_QUALIFIER</constant>
 
557
<constant>CL_KERNEL_ARG_ACCESS_QUALIFIER</constant>
 
558
<constant>CL_KERNEL_ARG_TYPE_NAME</constant>
 
559
<constant>CL_KERNEL_ARG_NAME</constant>
 
560
</literallayout>
 
561
              </entry>
 
562
            </row>
 
563
 
 
564
            <row>
 
565
              <entry><constant><anchor id="cl_kernel_info"/>cl_kernel_info</constant></entry>
 
566
              <entry>
 
567
<literallayout><constant>CL_KERNEL_FUNCTION_NAME</constant>
 
568
<constant>CL_KERNEL_NUM_ARGS</constant>
 
569
<constant>CL_KERNEL_REFERENCE_COUNT</constant>
 
570
<constant>CL_KERNEL_CONTEXT</constant>
 
571
<constant>CL_KERNEL_PROGRAM</constant>
 
572
<constant>CL_KERNEL_ATTRIBUTES</constant>
 
573
</literallayout>
 
574
              </entry>
 
575
            </row>
 
576
 
 
577
            <row>
 
578
              <entry><constant><anchor id="cl_kernel_work_group_info"/>cl_kernel_work_group_info</constant></entry>
 
579
              <entry>
 
580
<literallayout><constant>CL_KERNEL_WORK_GROUP_SIZE</constant>
 
581
<constant>CL_KERNEL_COMPILE_WORK_GROUP_SIZE</constant>
 
582
<constant>CL_KERNEL_LOCAL_MEM_SIZE</constant>
 
583
<constant>CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE</constant>
 
584
<constant>CL_KERNEL_PRIVATE_MEM_SIZE</constant>
 
585
<constant>CL_KERNEL_GLOBAL_WORK_SIZE</constant>
 
586
</literallayout>
 
587
              </entry>
 
588
            </row>
 
589
 
 
590
            <row>
 
591
              <entry><constant><anchor id="cl_map_flags"/>cl_map_flags</constant></entry>
 
592
              <entry>
 
593
<literallayout><constant>CL_MAP_READ</constant>
 
594
<constant>CL_MAP_WRITE</constant>
 
595
<constant>CL_MAP_WRITE_INVALIDATE_REGION</constant>
 
596
</literallayout>
 
597
              </entry>
 
598
            </row>
 
599
 
 
600
            <!-- in cl_dx9_media_sharing.h, the enumeration constants shown below
 
601
                 are defined for cl_media_adapter_set_khr according to a comment, but
 
602
                 the type cl_media_adapter_set_khr is not defined. -->
 
603
            <row>
 
604
              <entry><code>// cl_media_adapter_set_khr</code></entry>
 
605
              <entry>
 
606
<literallayout><constant>CL_PREFERRED_DEVICES_FOR_DX9_MEDIA_ADAPTER_KHR</constant>
 
607
<constant>CL_ALL_DEVICES_FOR_DX9_MEDIA_ADAPTER_KHR</constant>
 
608
</literallayout>
 
609
              </entry>
 
610
            </row>
 
611
 
 
612
            <!-- in cl_dx9_media_sharing.h, the enumeration constants shown below
 
613
                 are defined for cl_media_adapter_type_khr according to a comment, but
 
614
                 the type cl_media_adapter_type_khr is not defined. -->
 
615
            <row>
 
616
              <entry><code>// cl_media_adapter_type_khr</code></entry>
 
617
              <entry>
 
618
<literallayout><constant>CL_D3D9_DEVICE_KHR</constant>
 
619
<constant>CL_D3D9EX_DEVICE_KHR</constant>
 
620
<constant>CL_DXVA_DEVICE_KHR</constant>
 
621
</literallayout>
 
622
              </entry>
 
623
            </row>
 
624
 
 
625
            <row>
 
626
              <entry><constant><anchor id="cl_mem_flags"/>cl_mem_flags</constant></entry>
 
627
              <entry>
 
628
<literallayout><constant>CL_MEM_READ_WRITE</constant>
 
629
<constant>CL_MEM_WRITE_ONLY</constant>
 
630
<constant>CL_MEM_READ_ONLY</constant>
 
631
<constant>CL_MEM_USE_HOST_PTR</constant>
 
632
<constant>CL_MEM_ALLOC_HOST_PTR</constant>
 
633
<constant>CL_MEM_COPY_HOST_PTR</constant>
 
634
</literallayout>
 
635
              </entry>
 
636
            </row>
 
637
 
 
638
            <row>
 
639
              <entry><constant><anchor id="cl_mem_info"/>cl_mem_info</constant></entry>
 
640
              <entry>
 
641
<literallayout><constant>CL_MEM_TYPE</constant>
 
642
<constant>CL_MEM_FLAGS</constant>
 
643
<constant>CL_MEM_SIZE</constant>
 
644
<constant>CL_MEM_HOST_PTR</constant>
 
645
<constant>CL_MEM_MAP_COUNT</constant>
 
646
<constant>CL_MEM_REFERENCE_COUNT</constant>
 
647
<constant>CL_MEM_CONTEXT</constant>
 
648
<constant>CL_MEM_ASSOCIATED_MEMOBJECT</constant>
 
649
<constant>CL_MEM_OFFSET</constant>
 
650
<constant>CL_MEM_D3D10_RESOURCE_KHR</constant>
 
651
<constant>CL_MEM_D3D11_RESOURCE_KHR</constant>
 
652
<constant>CL_MEM_DX9_MEDIA_ADAPTER_TYPE_KHR</constant>
 
653
<constant>CL_MEM_DX9_MEDIA_SURFACE_INFO_KHR</constant>
 
654
</literallayout>
 
655
              </entry>
 
656
            </row>
 
657
 
 
658
            <row>
 
659
              <entry><constant><anchor id="cl_mem_migration_flags"/>cl_mem_migration_flags</constant></entry>
 
660
              <entry>
 
661
<literallayout><constant>CL_MIGRATE_MEM_OBJECT_HOST</constant>
 
662
<constant>CL_MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED</constant>
 
663
</literallayout>
 
664
              </entry>
 
665
            </row>
 
666
 
 
667
            <row>
 
668
              <entry><constant><anchor id="cl_mem_object_type"/>cl_mem_object_type</constant></entry>
 
669
              <entry>
 
670
<literallayout><constant>CL_MEM_OBJECT_BUFFER</constant>
 
671
<constant>CL_MEM_OBJECT_IMAGE2D</constant>
 
672
<constant>CL_MEM_OBJECT_IMAGE3D</constant>
 
673
<constant>CL_MEM_OBJECT_IMAGE2D_ARRAY</constant>
 
674
<constant>CL_MEM_OBJECT_IMAGE1D</constant>
 
675
<constant>CL_MEM_OBJECT_IMAGE1D_ARRAY</constant>
 
676
<constant>CL_MEM_OBJECT_IMAGE1D_BUFFER</constant>
 
677
</literallayout>
 
678
              </entry>
 
679
            </row>
 
680
 
 
681
            <row>
 
682
              <entry><constant><anchor id="cl_platform_info"/>cl_platform_info</constant></entry>
 
683
              <entry>
 
684
<literallayout><constant>CL_PLATFORM_PROFILE</constant>
 
685
<constant>CL_PLATFORM_VERSION</constant>
 
686
<constant>CL_PLATFORM_NAME</constant>
 
687
<constant>CL_PLATFORM_VENDOR</constant>
 
688
<constant>CL_PLATFORM_EXTENSIONS</constant>
 
689
<constant>CL_PLATFORM_ICD_SUFFIX_KHR</constant>
 
690
</literallayout>
 
691
              </entry>
 
692
            </row>
 
693
 
 
694
            <row>
 
695
              <entry><constant><anchor id="cl_profiling_info"/>cl_profiling_info</constant></entry>
 
696
              <entry>
 
697
<literallayout><constant>CL_PROFILING_COMMAND_QUEUED</constant>
 
698
<constant>CL_PROFILING_COMMAND_SUBMIT</constant>
 
699
<constant>CL_PROFILING_COMMAND_START</constant>
 
700
<constant>CL_PROFILING_COMMAND_END</constant>
 
701
</literallayout>
 
702
              </entry>
 
703
            </row>
 
704
 
 
705
            <row>
 
706
              <entry><constant><anchor id="cl_program_binary_type"/>cl_program_binary_type</constant></entry>
 
707
              <entry>
 
708
<literallayout><constant>CL_PROGRAM_BINARY_TYPE_NONE</constant>
 
709
<constant>CL_PROGRAM_BINARY_TYPE_COMPILED_OBJECT</constant>
 
710
<constant>CL_PROGRAM_BINARY_TYPE_LIBRARY</constant>
 
711
<constant>CL_PROGRAM_BINARY_TYPE_EXECUTABLE</constant>
 
712
</literallayout>
 
713
              </entry>
 
714
            </row>
 
715
 
 
716
            <row>
 
717
              <entry><constant><anchor id="cl_program_build_info"/>cl_program_build_info</constant></entry>
 
718
              <entry>
 
719
<literallayout><constant>CL_PROGRAM_BUILD_STATUS</constant>
 
720
<constant>CL_PROGRAM_BUILD_OPTIONS</constant>
 
721
<constant>CL_PROGRAM_BUILD_LOG</constant>
 
722
<constant>CL_PROGRAM_BINARY_TYPE</constant>
 
723
</literallayout>
 
724
              </entry>
 
725
            </row>
 
726
 
 
727
            <row>
 
728
              <entry><constant><anchor id="cl_program_info"/>cl_program_info</constant></entry>
 
729
              <entry>
 
730
<literallayout><constant>CL_PROGRAM_REFERENCE_COUNT</constant>
 
731
<constant>CL_PROGRAM_CONTEXT</constant>
 
732
<constant>CL_PROGRAM_NUM_DEVICES</constant>
 
733
<constant>CL_PROGRAM_DEVICES</constant>
 
734
<constant>CL_PROGRAM_SOURCE</constant>
 
735
<constant>CL_PROGRAM_BINARY_SIZES</constant>
 
736
<constant>CL_PROGRAM_BINARIES</constant>
 
737
<constant>CL_PROGRAM_NUM_KERNELS</constant>
 
738
<constant>CL_PROGRAM_KERNEL_NAMES</constant>
 
739
</literallayout>
 
740
              </entry>
 
741
            </row>
 
742
 
 
743
            <row>
 
744
              <entry><constant><anchor id="cl_sampler_info"/>cl_sampler_info</constant></entry>
 
745
              <entry>
 
746
<literallayout><constant>CL_SAMPLER_REFERENCE_COUNT</constant>
 
747
<constant>CL_SAMPLER_CONTEXT</constant>
 
748
<constant>CL_SAMPLER_NORMALIZED_COORDS</constant>
 
749
<constant>CL_SAMPLER_ADDRESSING_MODE</constant>
 
750
<constant>CL_SAMPLER_FILTER_MODE</constant>
 
751
</literallayout>
 
752
              </entry>
 
753
            </row>
 
754
 
 
755
          </tbody>
 
756
        </tgroup>
 
757
      </informaltable>
 
758
      </para>
 
759
    </refsect1>
 
760
 
 
761
    <refsect3 id="Copyright"><title></title>
 
762
        <imageobject>
 
763
                <imagedata fileref="KhronosLogo.jpg" format="jpg" />
 
764
        </imageobject>
 
765
        <para />
 
766
    </refsect3>
 
767
 
 
768
<!-- 15-Oct-2011 -->
 
769
</refentry>
 
770