| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN" |
| "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd"> |
| <refentry> |
| |
| <refentryinfo> |
| <keywordset> |
| <keyword>Enumerated Types</keyword> |
| </keywordset> |
| </refentryinfo> |
| <refmeta> |
| <refentrytitle>Enumerated Types</refentrytitle> |
| <refmiscinfo> |
| <copyright> |
| <year>2007-2013</year> |
| <holder>The Khronos Group Inc. |
| Permission is hereby granted, free of charge, to any person obtaining a |
| copy of this software and/or associated documentation files (the |
| "Materials"), to deal in the Materials without restriction, including |
| without limitation the rights to use, copy, modify, merge, publish, |
| distribute, sublicense, and/or sell copies of the Materials, and to |
| permit persons to whom the Materials are furnished to do so, subject to |
| the condition that this copyright notice and permission notice shall be included |
| in all copies or substantial portions of the Materials.</holder> |
| </copyright> |
| </refmiscinfo> |
| <manvolnum>3</manvolnum> |
| </refmeta> |
| |
| <refnamediv id="Enumerators"> |
| <refname>Enumerated Types</refname> |
| <refpurpose>Following are the enumerated types and their permitted values.</refpurpose> |
| </refnamediv> |
| |
| <refsect1 id="synopsis"><title></title> |
| <para> |
| <informaltable frame="void"><caption></caption> |
| <tgroup cols="2" align="left" colsep="0" rowsep="0"> |
| <colspec colname="col1" colnum="1" /> |
| <colspec colname="col2" colnum="2" /> |
| <thead> |
| <row> |
| <entry>Enumerated Type</entry> |
| <entry>Permitted Values</entry> |
| </row> |
| </thead> |
| |
| <tbody> |
| |
| <row> |
| <entry><constant><anchor id="cl_addressing_mode"/>cl_addressing_mode</constant></entry> |
| <entry> |
| <literallayout><constant>CL_ADDRESS_NONE</constant> |
| <constant>CL_ADDRESS_CLAMP_TO_EDGE</constant> |
| <constant>CL_ADDRESS_CLAMP</constant> |
| <constant>CL_ADDRESS_REPEAT</constant> |
| <constant>CL_ADDRESS_MIRRORED_REPEAT</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_bool"/>cl_bool</constant></entry> |
| <entry> |
| <literallayout><constant>CL_FALSE</constant> |
| <constant>CL_TRUE</constant> |
| </literallayout> |
| <para> |
| Note: Unlike <code>cl_</code> types in <code>cl_platform.h</code>, |
| <type>cl_bool</type> is not guaranteed to be |
| the same size as the <type>bool</type> in kernels. |
| </para> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_buffer_create_type"/>cl_buffer_create_type</constant></entry> |
| <entry> |
| <literallayout><constant>CL_BUFFER_CREATE_TYPE_REGION</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_build_status"/>cl_build_status</constant></entry> |
| <entry> |
| <literallayout><constant>CL_BUILD_SUCCESS</constant> |
| <constant>CL_BUILD_NONE</constant> |
| <constant>CL_BUILD_ERROR</constant> |
| <constant>CL_BUILD_IN_PROGRESS</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_channel_order"/>cl_channel_order</constant></entry> |
| <entry> |
| <literallayout><constant>CL_A</constant> |
| <constant>CL_R</constant> |
| <constant>CL_RG</constant> |
| <constant>CL_RA</constant> |
| <constant>CL_RGB</constant> |
| <constant>CL_RGBA</constant> |
| <constant>CL_BGRA</constant> |
| <constant>CL_ARGB</constant> |
| <constant>CL_ABGR</constant> |
| <constant>CL_INTENSITY</constant> |
| <constant>CL_LUMINANCE</constant> |
| <constant>CL_DEPTH</constant> |
| <constant>CL_Rx</constant> |
| <constant>CL_RGx</constant> |
| <constant>CL_RGBx</constant> |
| <constant>CL_sRGB</constant> |
| <constant>CL_sRGBx</constant> |
| <constant>CL_sRGBA</constant> |
| <constant>CL_sBGRA</constant> |
| <constant>CL_DEPTH_STENCIL</constant> (applies if the |
| <citerefentry><refentrytitle>cl_khr_gl_depth_images</refentrytitle></citerefentry> |
| extension is enabled) |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_channel_type"/>cl_channel_type</constant></entry> |
| <entry> |
| <literallayout><constant>CL_SNORM_INT8</constant> |
| <constant>CL_SNORM_INT16</constant> |
| <constant>CL_UNORM_INT8</constant> |
| <constant>CL_UNORM_INT16</constant> |
| <constant>CL_UNORM_SHORT_565</constant> |
| <constant>CL_UNORM_SHORT_555</constant> |
| <constant>CL_UNORM_INT_101010</constant> |
| <constant>CL_UNORM_INT_101010_2</constant> |
| <constant>CL_SIGNED_INT8</constant> |
| <constant>CL_SIGNED_INT16</constant> |
| <constant>CL_SIGNED_INT32</constant> |
| <constant>CL_UNSIGNED_INT8</constant> |
| <constant>CL_UNSIGNED_INT16</constant> |
| <constant>CL_UNSIGNED_INT32</constant> |
| <constant>CL_HALF_FLOAT</constant> |
| <constant>CL_FLOAT</constant> |
| <constant>CL_FLOAT</constant> (applies if the |
| <citerefentry><refentrytitle>cl_khr_gl_depth_images</refentrytitle></citerefentry> |
| extension is enabled) |
| <constant>CL_UNORM_INT24</constant> (applies if the |
| <citerefentry><refentrytitle>cl_khr_gl_depth_images</refentrytitle></citerefentry> |
| extension is enabled) |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_command_queue_info"/>cl_command_queue_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_QUEUE_CONTEXT</constant> |
| <constant>CL_QUEUE_DEVICE</constant> |
| <constant>CL_QUEUE_REFERENCE_COUNT</constant> |
| <constant>CL_QUEUE_PROPERTIES</constant> |
| <constant>CL_QUEUE_SIZE</constant> |
| <constant>CL_QUEUE_DEVICE_DEFAULT</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_command_queue_properties"/>cl_command_queue_properties</constant></entry> |
| <entry> |
| <literallayout><constant>CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE</constant> |
| <constant>CL_QUEUE_PROFILING_ENABLE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_command_type"/>cl_command_type</constant></entry> |
| <entry> |
| <literallayout><constant>CL_COMMAND_NDRANGE_KERNEL</constant> |
| <constant>CL_COMMAND_NATIVE_KERNEL</constant> |
| <constant>CL_COMMAND_READ_BUFFER</constant> |
| <constant>CL_COMMAND_WRITE_BUFFER</constant> |
| <constant>CL_COMMAND_COPY_BUFFER</constant> |
| <constant>CL_COMMAND_READ_IMAGE</constant> |
| <constant>CL_COMMAND_WRITE_IMAGE</constant> |
| <constant>CL_COMMAND_COPY_IMAGE</constant> |
| <constant>CL_COMMAND_COPY_IMAGE_TO_BUFFER</constant> |
| <constant>CL_COMMAND_COPY_BUFFER_TO_IMAGE</constant> |
| <constant>CL_COMMAND_MAP_BUFFER</constant> |
| <constant>CL_COMMAND_MAP_IMAGE</constant> |
| <constant>CL_COMMAND_UNMAP_MEM_OBJECT</constant> |
| <constant>CL_COMMAND_MARKER</constant> |
| <constant>CL_COMMAND_ACQUIRE_GL_OBJECTS</constant> |
| <constant>CL_COMMAND_RELEASE_GL_OBJECTS</constant> |
| <constant>CL_COMMAND_READ_BUFFER_RECT</constant> |
| <constant>CL_COMMAND_WRITE_BUFFER_RECT</constant> |
| <constant>CL_COMMAND_COPY_BUFFER_RECT</constant> |
| <constant>CL_COMMAND_USER</constant> |
| <constant>CL_COMMAND_BARRIER</constant> |
| <constant>CL_COMMAND_MIGRATE_MEM_OBJECTS</constant> |
| <constant>CL_COMMAND_FILL_BUFFER</constant> |
| <constant>CL_COMMAND_FILL_IMAGE</constant> |
| <constant>CL_COMMAND_SVM_FREE</constant> |
| <constant>CL_COMMAND_SVM_MEMCPY</constant> |
| <constant>CL_COMMAND_SVM_MEMFILL</constant> |
| <constant>CL_COMMAND_SVM_MAP</constant> |
| <constant>CL_COMMAND_SVM_UNMAP</constant> |
| <constant>CL_COMMAND_GL_FENCE_SYNC_OBJECT_KHR</constant> |
| <constant>CL_COMMAND_EGL_FENCE_SYNC_OBJECT_KHR</constant> |
| <constant>CL_COMMAND_ACQUIRE_D3D10_OBJECTS_KHR</constant> |
| <constant>CL_COMMAND_RELEASE_D3D10_OBJECTS_KHR</constant> |
| <constant>CL_COMMAND_ACQUIRE_D3D11_OBJECTS_KHR</constant> |
| <constant>CL_COMMAND_RELEASE_D3D11_OBJECTS_KHR</constant> |
| <constant>CL_COMMAND_ACQUIRE_DX9_MEDIA_SURFACES_KHR</constant> |
| <constant>CL_COMMAND_RELEASE_DX9_MEDIA_SURFACES_KHR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_context_info"/>cl_context_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_CONTEXT_REFERENCE_COUNT</constant> |
| <constant>CL_CONTEXT_NUM_DEVICES</constant> |
| <constant>CL_CONTEXT_DEVICES</constant> |
| <constant>CL_CONTEXT_PROPERTIES</constant> |
| <constant>CL_CONTEXT_NUM_DEVICES</constant> |
| <constant>CL_CONTEXT_D3D10_PREFER_SHARED_RESOURCES_KHR</constant> |
| <constant>CL_CONTEXT_D3D11_PREFER_SHARED_RESOURCES_KHR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_context_properties"/>cl_context_properties</constant></entry> |
| <entry> |
| <literallayout><constant>CL_CONTEXT_PLATFORM</constant> |
| <constant>CL_CONTEXT_INTEROP_USER_SYNC</constant> |
| <constant>CL_GL_CONTEXT_KHR</constant> |
| <constant>CL_EGL_DISPLAY_KHR</constant> |
| <constant>CL_GLX_DISPLAY_KHR</constant> |
| <constant>CL_WGL_HDC_KHR</constant> |
| <constant>CL_CGL_SHAREGROUP_KHR</constant> |
| <constant>CL_CONTEXT_D3D10_DEVICE_KHR</constant> |
| <constant>CL_CONTEXT_D3D11_DEVICE_KHR</constant> |
| <constant>CL_CONTEXT_ADAPTER_D3D9_KHR</constant> |
| <constant>CL_CONTEXT_ADAPTER_D3D9EX_KHR</constant> |
| <constant>CL_CONTEXT_ADAPTER_DXVA_KHR</constant> |
| <constant>CL_CONTEXT_MEMORY_INITIALIZE_KHR</constant> |
| <constant>CL_CONTEXT_TERMINATE_KHR</constant> |
| |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_d3d10_device_set_khr"/>cl_d3d10_device_set_khr</constant></entry> |
| <entry> |
| <literallayout><constant>CL_PREFERRED_DEVICES_FOR_D3D10_KHR</constant> |
| <constant>CL_ALL_DEVICES_FOR_D3D10_KHR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_d3d10_device_source_khr"/>cl_d3d10_device_source_khr</constant></entry> |
| <entry> |
| <literallayout><constant>CL_D3D10_DEVICE_KHR</constant> |
| <constant>CL_D3D10_DXGI_ADAPTER_KHR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant>cl_d3d11_device_set_khr</constant></entry> |
| <entry> |
| <literallayout><constant>CL_PREFERRED_DEVICES_FOR_D3D11_KHR</constant> |
| <constant>CL_ALL_DEVICES_FOR_D3D11_KHR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant>cl_d3d11_device_source_khr</constant></entry> |
| <entry> |
| <literallayout><constant>CL_D3D11_DEVICE_KHR</constant> |
| <constant>CL_D3D11_DXGI_ADAPTER_KHR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_device_affinity_domain"/>cl_device_affinity_domain</constant></entry> |
| <entry> |
| <literallayout><constant>CL_DEVICE_AFFINITY_DOMAIN_NUMA</constant> |
| <constant>CL_DEVICE_AFFINITY_DOMAIN_L4_CACHE</constant> |
| <constant>CL_DEVICE_AFFINITY_DOMAIN_L3_CACHE</constant> |
| <constant>CL_DEVICE_AFFINITY_DOMAIN_L2_CACHE</constant> |
| <constant>CL_DEVICE_AFFINITY_DOMAIN_L1_CACHE</constant> |
| <constant>CL_DEVICE_AFFINITY_DOMAIN_NEXT_PARTITIONABLE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_device_exec_capabilities"/>cl_device_exec_capabilities</constant></entry> |
| <entry> |
| <literallayout><constant>CL_EXEC_KERNEL</constant> |
| <constant>CL_EXEC_NATIVE_KERNEL</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_device_fp_config"/>cl_device_fp_config</constant></entry> |
| <entry> |
| <literallayout><constant>CL_FP_DENORM</constant> |
| <constant>CL_FP_INF_NAN</constant> |
| <constant>CL_FP_ROUND_TO_NEAREST</constant> |
| <constant>CL_FP_ROUND_TO_ZERO </constant> |
| <constant>CL_FP_ROUND_TO_INF</constant> |
| <constant>CL_FP_FMA</constant> |
| <constant>CL_FP_SOFT_FLOAT</constant> |
| <constant>CL_FP_CORRECTLY_ROUNDED_DIVIDE_SQRT</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_device_info"/>cl_device_info</constant></entry> |
| <entry> |
| <!-- Would this be easier for the user if it were alphabetical order? However, |
| maintenance will be much easier if arranged in spec order. --> |
| <literallayout><constant>CL_DEVICE_TYPE</constant> |
| <constant>CL_DEVICE_VENDOR_ID</constant> |
| <constant>CL_DEVICE_MAX_COMPUTE_UNITS</constant> |
| <constant>CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS</constant> |
| <constant>CL_DEVICE_MAX_WORK_GROUP_SIZE</constant> |
| <constant>CL_DEVICE_MAX_WORK_ITEM_SIZES</constant> |
| <constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR</constant> |
| <constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT</constant> |
| <constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT</constant> |
| <constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG</constant> |
| <constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT</constant> |
| <constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE</constant> |
| <constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF</constant> |
| <constant>CL_DEVICE_MAX_CLOCK_FREQUENCY</constant> |
| <constant>CL_DEVICE_ADDRESS_BITS</constant> |
| <constant>CL_DEVICE_MAX_READ_IMAGE_ARGS</constant> |
| <constant>CL_DEVICE_MAX_WRITE_IMAGE_ARGS</constant> |
| <constant>CL_DEVICE_MAX_READ_WRITE_IMAGE_ARGS</constant> |
| <constant>CL_DEVICE_MAX_MEM_ALLOC_SIZE</constant> |
| <constant>CL_DEVICE_IMAGE2D_MAX_WIDTH</constant> |
| <constant>CL_DEVICE_IMAGE2D_MAX_HEIGHT</constant> |
| <constant>CL_DEVICE_IMAGE3D_MAX_WIDTH</constant> |
| <constant>CL_DEVICE_IMAGE3D_MAX_HEIGHT</constant> |
| <constant>CL_DEVICE_IMAGE3D_MAX_DEPTH</constant> |
| <constant>CL_DEVICE_IMAGE_SUPPORT</constant> |
| <constant>CL_DEVICE_MAX_PARAMETER_SIZE</constant> |
| <constant>CL_DEVICE_MAX_SAMPLERS</constant> |
| <constant>CL_DEVICE_IMAGE_PITCH_ALIGNMENT</constant> |
| <constant>CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT</constant> |
| <constant>CL_DEVICE_MAX_PIPE_ARGS</constant> |
| <constant>CL_DEVICE_PIPE_MAX_ACTIVE_RESERVATIONS</constant> |
| <constant>CL_DEVICE_PIPE_MAX_PACKET_SIZE</constant> |
| <constant>CL_DEVICE_MEM_BASE_ADDR_ALIGN</constant> |
| <constant>CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE</constant> |
| <constant>CL_DEVICE_SINGLE_FP_CONFIG</constant> |
| <constant>CL_DEVICE_GLOBAL_MEM_CACHE_TYPE</constant> |
| <constant>CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE</constant> |
| <constant>CL_DEVICE_GLOBAL_MEM_CACHE_SIZE</constant> |
| <constant>CL_DEVICE_GLOBAL_MEM_SIZE</constant> |
| <constant>CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE</constant> |
| <constant>CL_DEVICE_MAX_CONSTANT_ARGS</constant> |
| <constant>CL_DEVICE_MAX_GLOBAL_VARIABLE_SIZE</constant> |
| <constant>CL_DEVICE_GLOBAL_VARIABLE_PREFERRED_TOTAL_SIZE</constant> |
| <constant>CL_DEVICE_LOCAL_MEM_TYPE</constant> |
| <constant>CL_DEVICE_LOCAL_MEM_SIZE</constant> |
| <constant>CL_DEVICE_ERROR_CORRECTION_SUPPORT</constant> |
| <constant>CL_DEVICE_PROFILING_TIMER_RESOLUTION</constant> |
| <constant>CL_DEVICE_ENDIAN_LITTLE</constant> |
| <constant>CL_DEVICE_AVAILABLE</constant> |
| <constant>CL_DEVICE_COMPILER_AVAILABLE</constant> |
| <constant>CL_DEVICE_EXECUTION_CAPABILITIES</constant> |
| <constant>CL_DEVICE_QUEUE_ON_HOST_PROPERTIES</constant> |
| <constant>CL_DEVICE_QUEUE_ON_DEVICE_PROPERTIES</constant> |
| <constant>CL_DEVICE_QUEUE_ON_DEVICE_PREFERRED_SIZE</constant> |
| <constant>CL_DEVICE_QUEUE_ON_DEVICE_MAX_SIZE</constant> |
| <constant>CL_DEVICE_MAX_ON_DEVICE_QUEUES</constant> |
| <constant>CL_DEVICE_MAX_ON_DEVICE_EVENTS</constant> |
| <constant>CL_DEVICE_NAME</constant> |
| <constant>CL_DEVICE_VENDOR</constant> |
| <constant>CL_DRIVER_VERSION</constant> |
| <constant>CL_DEVICE_PROFILE</constant> |
| <constant>CL_DEVICE_VERSION</constant> |
| <constant>CL_DEVICE_EXTENSIONS</constant> |
| <constant>CL_DEVICE_PLATFORM</constant> |
| <constant>CL_DEVICE_DOUBLE_FP_CONFIG</constant> |
| <constant>CL_DEVICE_PREFERRED_VECTOR_WIDTH_HALF</constant> |
| <constant>CL_DEVICE_HOST_UNIFIED_MEMORY</constant> (deprecated) |
| <constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_CHAR</constant> |
| <constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_SHORT</constant> |
| <constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_INT</constant> |
| <constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_LONG</constant> |
| <constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_FLOAT</constant> |
| <constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_DOUBLE</constant> |
| <constant>CL_DEVICE_NATIVE_VECTOR_WIDTH_HALF</constant> |
| <constant>CL_DEVICE_OPENCL_C_VERSION</constant> |
| <constant>CL_DEVICE_LINKER_AVAILABLE</constant> |
| <constant>CL_DEVICE_BUILT_IN_KERNELS</constant> |
| <constant>CL_DEVICE_IMAGE_MAX_BUFFER_SIZE</constant> |
| <constant>CL_DEVICE_IMAGE_MAX_ARRAY_SIZE</constant> |
| <constant>CL_DEVICE_PARENT_DEVICE</constant> |
| <constant>CL_DEVICE_PARTITION_MAX_SUB_DEVICES</constant> |
| <constant>CL_DEVICE_PARTITION_PROPERTIES</constant> |
| <constant>CL_DEVICE_PARTITION_AFFINITY_DOMAIN</constant> |
| <constant>CL_DEVICE_PARTITION_TYPE</constant> |
| <constant>CL_DEVICE_REFERENCE_COUNT</constant> |
| <constant>CL_DEVICE_SVM_CAPABILITIES</constant> |
| <constant>CL_DEVICE_PREFERRED_PLATFORM_ATOMIC_ALIGNMENT</constant> |
| <constant>CL_DEVICE_PREFERRED_GLOBAL_ATOMIC_ALIGNMENT</constant> |
| <constant>CL_DEVICE_PREFERRED_LOCAL_ATOMIC_ALIGNMENT</constant> |
| <constant>CL_DEVICE_PREFERRED_INTEROP_USER_SYNC</constant> |
| <constant>CL_DEVICE_PRINTF_BUFFER_SIZE</constant> |
| <constant>CL_DEVICE_HALF_FP_CONFIG</constant> |
| <constant>CL_DEVICE_TERMINATE_CAPABILITY_KHR</constant> |
| <constant>CL_DEVICE_SPIR_VERSIONS</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_device_local_mem_type"/>cl_device_local_mem_type</constant></entry> |
| <entry> |
| <literallayout><constant>CL_GLOBAL</constant> |
| <constant>CL_LOCAL</constant> |
| <!-- CL_NONE is a possible value according to the core spec. p. 67 --> |
| <constant>CL_NONE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_device_mem_cache_type"/>cl_device_mem_cache_type</constant></entry> |
| <entry> |
| <literallayout><constant>CL_NONE</constant> |
| <constant>CL_READ_ONLY_CACHE</constant> |
| <constant>CL_READ_WRITE_CACHE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_device_partition_property"/>cl_device_partition_property</constant></entry> |
| <entry> |
| <literallayout><constant>CL_DEVICE_PARTITION_EQUALLY</constant> |
| <constant>CL_DEVICE_PARTITION_BY_COUNTS</constant> |
| <constant>CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN</constant> |
| <!-- the value 0 is a permitted enumerant value [sic] according to the core spec. p. 73 --> |
| <constant>0</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_device_type"/>cl_device_type</constant></entry> |
| <entry> |
| <literallayout><constant>CL_DEVICE_TYPE_DEFAULT</constant> |
| <constant>CL_DEVICE_TYPE_CPU</constant> |
| <constant>CL_DEVICE_TYPE_GPU</constant> |
| <constant>CL_DEVICE_TYPE_ACCELERATOR</constant> |
| <constant>CL_DEVICE_TYPE_CUSTOM</constant> |
| <constant>CL_DEVICE_TYPE_ALL</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_event_info"/>cl_event_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_EVENT_COMMAND_QUEUE</constant> |
| <constant>CL_EVENT_COMMAND_TYPE</constant> |
| <constant>CL_EVENT_REFERENCE_COUNT</constant> |
| <constant>CL_EVENT_COMMAND_EXECUTION_STATUS</constant> |
| <constant>CL_EVENT_CONTEXT</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_filter_mode"/>cl_filter_mode</constant></entry> |
| <entry> |
| <literallayout><constant>CL_FILTER_NEAREST</constant> |
| <constant>CL_FILTER_LINEAR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row><!-- in cl_gl.h --> |
| <entry><constant><anchor id="cl_gl_context_info"/>cl_gl_context_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR</constant> |
| <constant>CL_DEVICES_FOR_GL_CONTEXT_KHR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row><!-- in cl_gl.h --> |
| <entry><constant><anchor id="cl_gl_object_type"/>cl_gl_object_type</constant></entry> |
| <entry> |
| <literallayout><constant>CL_GL_OBJECT_BUFFER</constant> |
| <constant>CL_GL_OBJECT_TEXTURE2D</constant> |
| <constant>CL_GL_OBJECT_TEXTURE3D</constant> |
| <constant>CL_GL_OBJECT_RENDERBUFFER</constant> |
| <constant>CL_GL_OBJECT_TEXTURE2D_ARRAY</constant> |
| <constant>CL_GL_OBJECT_TEXTURE1D</constant> |
| <constant>CL_GL_OBJECT_TEXTURE1D_ARRAY</constant> |
| <constant>CL_GL_OBJECT_TEXTURE_BUFFER</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row><!-- in cl_gl.h --> |
| <entry><constant><anchor id="cl_gl_texture_info"/>cl_gl_texture_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_GL_TEXTURE_TARGET</constant> |
| <constant>CL_GL_MIPMAP_LEVEL</constant> |
| <constant>CL_GL_NUM_SAMPLES</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_image_info"/>cl_image_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_IMAGE_FORMAT</constant> |
| <constant>CL_IMAGE_ELEMENT_SIZE</constant> |
| <constant>CL_IMAGE_ROW_PITCH</constant> |
| <constant>CL_IMAGE_SLICE_PITCH</constant> |
| <constant>CL_IMAGE_WIDTH</constant> |
| <constant>CL_IMAGE_HEIGHT</constant> |
| <constant>CL_IMAGE_DEPTH</constant> |
| <constant>CL_IMAGE_ARRAY_SIZE</constant> |
| <constant>CL_IMAGE_BUFFER</constant> (deprecated) |
| <constant>CL_IMAGE_NUM_MIP_LEVELS</constant> |
| <constant>CL_IMAGE_NUM_SAMPLES</constant> |
| <constant>CL_IMAGE_D3D10_SUBRESOURCE_KHR</constant> |
| <constant>CL_IMAGE_D3D11_SUBRESOURCE_KHR</constant> |
| <constant>CL_IMAGE_DX9_MEDIA_PLANE_KHR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_kernel_arg_address_qualifier"/>cl_kernel_arg_address_qualifier</constant></entry> |
| <entry> |
| <literallayout><constant>CL_KERNEL_ARG_ADDRESS_GLOBAL</constant> |
| <constant>CL_KERNEL_ARG_ADDRESS_LOCAL</constant> |
| <constant>CL_KERNEL_ARG_ADDRESS_CONSTANT</constant> |
| <constant>CL_KERNEL_ARG_ADDRESS_PRIVATE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_kernel_arg_access_qualifier"/>cl_kernel_arg_access_qualifier</constant></entry> |
| <entry> |
| <literallayout><constant>CL_KERNEL_ARG_ACCESS_READ_ONLY</constant> |
| <constant>CL_KERNEL_ARG_ACCESS_WRITE_ONLY</constant> |
| <constant>CL_KERNEL_ARG_ACCESS_READ_WRITE</constant> |
| <constant>CL_KERNEL_ARG_ACCESS_NONE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_kernel_arg_info"/>cl_kernel_arg_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_KERNEL_ARG_ADDRESS_QUALIFIER</constant> |
| <constant>CL_KERNEL_ARG_ACCESS_QUALIFIER</constant> |
| <constant>CL_KERNEL_ARG_TYPE_NAME</constant> |
| <constant>CL_KERNEL_ARG_TYPE_QUALIFIER</constant> |
| <constant>CL_KERNEL_ARG_NAME</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_kernel_arg_type_qualifier"/>cl_kernel_arg_type_qualifier</constant></entry> |
| <entry> |
| <literallayout><constant>CL_KERNEL_ARG_TYPE_CONST</constant> |
| <constant>CL_KERNEL_ARG_TYPE_RESTRICT</constant> |
| <constant>CL_KERNEL_ARG_TYPE_VOLATILE</constant> |
| <constant>CL_KERNEL_ARG_TYPE_PIPE</constant> |
| <constant>CL_KERNEL_ARG_TYPE_NONE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_kernel_exec_info"/>cl_kernel_exec_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_KERNEL_EXEC_INFO_SVM_PTRS</constant> |
| <constant>CL_KERNEL_EXEC_INFO_SVM_FINE_GRAIN_SYSTEM</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_kernel_info"/>cl_kernel_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_KERNEL_FUNCTION_NAME</constant> |
| <constant>CL_KERNEL_NUM_ARGS</constant> |
| <constant>CL_KERNEL_REFERENCE_COUNT</constant> |
| <constant>CL_KERNEL_CONTEXT</constant> |
| <constant>CL_KERNEL_PROGRAM</constant> |
| <constant>CL_KERNEL_ATTRIBUTES</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_kernel_work_group_info"/>cl_kernel_work_group_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_KERNEL_WORK_GROUP_SIZE</constant> |
| <constant>CL_KERNEL_COMPILE_WORK_GROUP_SIZE</constant> |
| <constant>CL_KERNEL_LOCAL_MEM_SIZE</constant> |
| <constant>CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE</constant> |
| <constant>CL_KERNEL_PRIVATE_MEM_SIZE</constant> |
| <constant>CL_KERNEL_GLOBAL_WORK_SIZE</constant> |
| <constant>CL_KERNEL_MAX_NUM_SUB_GROUPS</constant> |
| <constant>CL_KERNEL_COMPILE_NUM_SUB_GROUPS</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_map_flags"/>cl_map_flags</constant></entry> |
| <entry> |
| <literallayout><constant>CL_MAP_READ</constant> |
| <constant>CL_MAP_WRITE</constant> |
| <constant>CL_MAP_WRITE_INVALIDATE_REGION</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_mem_fence_flags"/>cl_mem_fence_flags</constant></entry> |
| <entry> |
| <literallayout><constant>CLK_GLOBAL_MEM_FENCE</constant> |
| <constant>CLK_LOCAL_MEM_FENCE</constant> |
| <constant>CLK_IMAGE_MEM_FENCE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_mem_flags"/>cl_mem_flags</constant></entry> |
| <entry> |
| <literallayout><constant>CL_MEM_READ_WRITE</constant> |
| <constant>CL_MEM_WRITE_ONLY</constant> |
| <constant>CL_MEM_READ_ONLY</constant> |
| <constant>CL_MEM_USE_HOST_PTR</constant> |
| <constant>CL_MEM_ALLOC_HOST_PTR</constant> |
| <constant>CL_MEM_COPY_HOST_PTR</constant> |
| <constant>CL_MEM_HOST_WRITE_ONLY</constant> |
| <constant>CL_MEM_HOST_READ_ONLY</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_mem_info"/>cl_mem_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_MEM_TYPE</constant> |
| <constant>CL_MEM_FLAGS</constant> |
| <constant>CL_MEM_SIZE</constant> |
| <constant>CL_MEM_HOST_PTR</constant> |
| <constant>CL_MEM_MAP_COUNT</constant> |
| <constant>CL_MEM_REFERENCE_COUNT</constant> |
| <constant>CL_MEM_CONTEXT</constant> |
| <constant>CL_MEM_ASSOCIATED_MEMOBJECT</constant> |
| <constant>CL_MEM_OFFSET</constant> |
| <constant>CL_MEM_USES_SVM_POINTER</constant> |
| <constant>CL_MEM_D3D10_RESOURCE_KHR</constant> |
| <constant>CL_MEM_D3D11_RESOURCE_KHR</constant> |
| <constant>CL_MEM_DX9_MEDIA_ADAPTER_TYPE_KHR</constant> |
| <constant>CL_MEM_DX9_MEDIA_SURFACE_INFO_KHR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_mem_migration_flags"/>cl_mem_migration_flags</constant></entry> |
| <entry> |
| <literallayout><constant>CL_MIGRATE_MEM_OBJECT_HOST</constant> |
| <constant>CL_MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_mem_object_type"/>cl_mem_object_type</constant></entry> |
| <entry> |
| <literallayout><constant>CL_MEM_OBJECT_BUFFER</constant> |
| |
| <constant>CL_MEM_OBJECT_PIPE</constant> |
| |
| <constant>CL_MEM_OBJECT_IMAGE2D</constant> |
| <constant>CL_MEM_OBJECT_IMAGE3D</constant> |
| <constant>CL_MEM_OBJECT_IMAGE2D_ARRAY</constant> |
| <constant>CL_MEM_OBJECT_IMAGE1D</constant> |
| <constant>CL_MEM_OBJECT_IMAGE1D_ARRAY</constant> |
| <constant>CL_MEM_OBJECT_IMAGE1D_BUFFER</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_pipe_info"/>cl_pipe_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_PIPE_PACKET_SIZE</constant> |
| <constant>CL_PIPE_MAX_PACKETS</constant></literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_platform_info"/>cl_platform_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_PLATFORM_PROFILE</constant> |
| <constant>CL_PLATFORM_VERSION</constant> |
| <constant>CL_PLATFORM_NAME</constant> |
| <constant>CL_PLATFORM_VENDOR</constant> |
| <constant>CL_PLATFORM_EXTENSIONS</constant> |
| <constant>CL_PLATFORM_HOST_TIMER_RESOLUTION</constant> |
| <constant>CL_PLATFORM_ICD_SUFFIX_KHR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_profiling_info"/>cl_profiling_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_PROFILING_COMMAND_QUEUED</constant> |
| <constant>CL_PROFILING_COMMAND_SUBMIT</constant> |
| <constant>CL_PROFILING_COMMAND_START</constant> |
| <constant>CL_PROFILING_COMMAND_END</constant> |
| <constant>CL_PROFILING_COMMAND_COMPLETE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_program_binary_type"/>cl_program_binary_type</constant></entry> |
| <entry> |
| <literallayout><constant>CL_PROGRAM_BINARY_TYPE_NONE</constant> |
| <constant>CL_PROGRAM_BINARY_TYPE_COMPILED_OBJECT</constant> |
| <constant>CL_PROGRAM_BINARY_TYPE_LIBRARY</constant> |
| <constant>CL_PROGRAM_BINARY_TYPE_EXECUTABLE</constant> |
| <constant>CL_PROGRAM_BINARY_TYPE_INTERMEDIATE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_program_build_info"/>cl_program_build_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_PROGRAM_BUILD_STATUS</constant> |
| <constant>CL_PROGRAM_BUILD_OPTIONS</constant> |
| <constant>CL_PROGRAM_BUILD_LOG</constant> |
| <constant>CL_PROGRAM_BINARY_TYPE</constant> |
| <constant>CL_PROGRAM_BUILD_GLOBAL_VARIABLE_TOTAL_SIZE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_program_info"/>cl_program_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_PROGRAM_REFERENCE_COUNT</constant> |
| <constant>CL_PROGRAM_CONTEXT</constant> |
| <constant>CL_PROGRAM_NUM_DEVICES</constant> |
| <constant>CL_PROGRAM_DEVICES</constant> |
| <constant>CL_PROGRAM_SOURCE</constant> |
| <constant>CL_PROGRAM_IL</constant> |
| <constant>CL_PROGRAM_BINARY_SIZES</constant> |
| <constant>CL_PROGRAM_BINARIES</constant> |
| <constant>CL_PROGRAM_NUM_KERNELS</constant> |
| <constant>CL_PROGRAM_KERNEL_NAMES</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_sampler_info"/>cl_sampler_info</constant></entry> |
| <entry> |
| <literallayout><constant>CL_SAMPLER_REFERENCE_COUNT</constant> |
| <constant>CL_SAMPLER_CONTEXT</constant> |
| <constant>CL_SAMPLER_NORMALIZED_COORDS</constant> |
| <constant>CL_SAMPLER_ADDRESSING_MODE</constant> |
| <constant>CL_SAMPLER_FILTER_MODE</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_sampler_properties"/>cl_sampler_properties</constant></entry> |
| <entry> |
| <literallayout><constant>CL_SAMPLER_NORMALIZED_COORDS</constant> |
| <constant>CL_SAMPLER_ADDRESSING_MODE</constant> |
| <constant>CL_SAMPLER_FILTER_MODE</constant> |
| <constant>CL_SAMPLER_MIP_FILTER_MODE_KHR</constant> |
| <constant>CL_SAMPLER_LOD_MIN_KHR</constant> |
| <constant>CL_SAMPLER_LOD_MAX_KHR</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="cl_svm_mem_flags"/>cl_svm_mem_flags</constant></entry> |
| <entry> |
| <literallayout><constant>CL_MEM_READ_WRITE</constant> |
| <constant>CL_MEM_WRITE_ONLY</constant> |
| <constant>CL_MEM_READ_ONLY</constant> |
| <constant>CL_MEM_SVM_FINE_GRAIN_BUFFER</constant> |
| <constant>CL_MEM_SVM_ATOMICS</constant> |
| </literallayout> |
| </entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="memory_order"/><citerefentry><refentrytitle>memory_order</refentrytitle></citerefentry></constant></entry> |
| <entry> |
| <literallayout><constant>memory_order_relaxed</constant> |
| <constant>memory_order_acquire</constant> |
| <constant>memory_order_release</constant> |
| <constant>memory_order_acq_rel</constant> |
| <constant>memory_order_seq_cst</constant></literallayout></entry> |
| </row> |
| |
| <row> |
| <entry><constant><anchor id="memory_scope"/><citerefentry><refentrytitle>memory_scope</refentrytitle></citerefentry></constant></entry> |
| <entry> |
| <literallayout><constant>memory_scope_work_item</constant> |
| <constant>memory_scope_work_group</constant> |
| <constant>memory_scope_device</constant> |
| <constant>memory_scope_all_svm_devices</constant></literallayout></entry> |
| </row> |
| |
| </tbody> |
| </tgroup> |
| </informaltable> |
| </para> |
| </refsect1> |
| |
| <refsect3 id="Copyright"><title></title> |
| <imageobject> |
| <imagedata fileref="KhronosLogo.jpg" format="jpg" /> |
| </imageobject> |
| <para /> |
| </refsect3> |
| |
| <!-- 25-Dec-2013, rev. 19 --> |
| </refentry> |
| |