Enumerated Types

Following are the enumerated types and their permitted values.

Enumerated Type Permitted Values
cl_addressing_mode

CL_ADDRESS_NONE
                CL_ADDRESS_CLAMP_TO_EDGE
                CL_ADDRESS_CLAMP
                CL_ADDRESS_REPEAT 

cl_bool

CL_FALSE         
            CL_TRUE 

cl_buffer_create_type  
cl_build_status

CL_BUILD_ERROR
            CL_BUILD_IN_PROGRESS
            CL_BUILD_NONE
            CL_BUILD_SUCCESS

cl_channel_order

CL_A
            CL_R
            CL_RG
            CL_RA
            CL_RGB
            CL_RGBA
            CL_BGRA
            CL_ARGB
            CL_INTENSITY
            CL_LUMINANCE

cl_channel_type

CL_FLOAT
            CL_HALF_FLOAT
CL_SIGNED_INT16
CL_SIGNED_INT32
CL_SIGNED_INT8
CL_SNORM_INT8
CL_SNORM_INT16
CL_UNORM_INT_101010
CL_UNORM_INT16
CL_UNORM_INT8
CL_UNORM_SHORT_555
CL_UNORM_SHORT_565
CL_UNSIGNED_INT16
CL_UNSIGNED_INT32
CL_UNSIGNED_INT8

cl_command_queue_info

CL_QUEUE_CONTEXT
CL_QUEUE_DEVICE
CL_QUEUE_PROPERTIES
CL_QUEUE_REFERENCE_COUNT

cl_command_queue_properties

CL_QUEUE_OUT_OF_ORDER_EXEC_MODE_ENABLE
CL_QUEUE_PROFILING_ENABLE

cl_command_type

CL_COMMAND_ACQUIRE_GL_OBJECTS
CL_COMMAND_COPY_BUFFER
CL_COMMAND_COPY_BUFFER_TO_IMAGE
CL_COMMAND_COPY_IMAGE
CL_COMMAND_COPY_IMAGE_TO_BUFFER
CL_COMMAND_MAP_BUFFER
CL_COMMAND_MAP_IMAGE
CL_COMMAND_MARKER 
CL_COMMAND_NATIVE_KERNEL
CL_COMMAND_NDRANGE_KERNEL
CL_COMMAND_READ_BUFFER
CL_COMMAND_READ_IMAGE
CL_COMMAND_RELEASE_GL_OBJECTS
CL_COMMAND_TASK
CL_COMMAND_UNMAP_MEM_OBJECT 
CL_COMMAND_WRITE_BUFFER 
CL_COMMAND_WRITE_IMAGE

cl_context_info

CL_CONTEXT_DEVICES  
CL_CONTEXT_PROPERTIES 
CL_CONTEXT_REFERENCE_COUNT

cl_context_properties

CL_CONTEXT_PLATFORM

cl_d3d10_device_set_khr  
cl_d3d10_device_source_khr  
cl_device_exec_capabilities

CL_EXEC_KERNEL 
CL_EXEC_NATIVE_KERNEL

cl_device_fp_config

CL_FP_DENORM 
CL_FP_FMA 
CL_FP_INF_NAN 
CL_FP_ROUND_TO_INF 
CL_FP_ROUND_TO_NEAREST 
CL_FP_ROUND_TO_ZERO 

cl_device_info

CL_DEVICE_ADDRESS_BITS                       
CL_DEVICE_AVAILABLE                          
CL_DEVICE_COMPILER_AVAILABLE                 
CL_DEVICE_ENDIAN_LITTLE                      
CL_DEVICE_ERROR_CORRECTION_SUPPORT           
CL_DEVICE_EXECUTION_CAPABILITIES             
CL_DEVICE_EXTENSIONS
CL_DEVICE_GLOBAL_MEM_CACHE_SIZE              
CL_DEVICE_GLOBAL_MEM_CACHE_TYPE              
CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE          
CL_DEVICE_GLOBAL_MEM_SIZE                    
CL_DEVICE_IMAGE_SUPPORT                      
CL_DEVICE_IMAGE2D_MAX_HEIGHT                 
CL_DEVICE_IMAGE2D_MAX_WIDTH                  
CL_DEVICE_IMAGE3D_MAX_DEPTH                  
CL_DEVICE_IMAGE3D_MAX_HEIGHT                 
CL_DEVICE_IMAGE3D_MAX_WIDTH                  
CL_DEVICE_LOCAL_MEM_SIZE                     
CL_DEVICE_LOCAL_MEM_TYPE                     
CL_DEVICE_MAX_CLOCK_FREQUENCY                
CL_DEVICE_MAX_COMPUTE_UNITS                  
CL_DEVICE_MAX_CONSTANT_ARGS                  
CL_DEVICE_MAX_CONSTANT_BUFFER_SIZE           
CL_DEVICE_MAX_MEM_ALLOC_SIZE                 
CL_DEVICE_MAX_PARAMETER_SIZE                 
CL_DEVICE_MAX_READ_IMAGE_ARGS                
CL_DEVICE_MAX_SAMPLERS                       
CL_DEVICE_MAX_WORK_GROUP_SIZE                
CL_DEVICE_MAX_WORK_ITEM_DIMENSIONS           
CL_DEVICE_MAX_WORK_ITEM_SIZES                
CL_DEVICE_MAX_WRITE_IMAGE_ARGS               
CL_DEVICE_MEM_BASE_ADDR_ALIGN                
CL_DEVICE_MIN_DATA_TYPE_ALIGN_SIZE           
CL_DEVICE_NAME                               
CL_DEVICE_PLATFORM
CL_DEVICE_PREFERRED_VECTOR_WIDTH_CHAR        
CL_DEVICE_PREFERRED_VECTOR_WIDTH_DOUBLE      
CL_DEVICE_PREFERRED_VECTOR_WIDTH_FLOAT       
CL_DEVICE_PREFERRED_VECTOR_WIDTH_INT         
CL_DEVICE_PREFERRED_VECTOR_WIDTH_LONG        
CL_DEVICE_PREFERRED_VECTOR_WIDTH_SHORT       
CL_DEVICE_PROFILE                           
CL_DEVICE_PROFILING_TIMER_RESOLUTION         
CL_DEVICE_QUEUE_PROPERTIES                   
CL_DEVICE_SINGLE_FP_CONFIG                   
CL_DEVICE_TYPE                              
CL_DEVICE_VENDOR_ID                          
CL_DEVICE_VENDOR                            
CL_DEVICE_VERSION                      
CL_DRIVER_VERSION

cl_device_local_mem_type

CL_GLOBAL
CL_LOCAL

cl_device_mem_cache_type

CL_NONE
CL_READ_ONLY_CACHE
CL_READ_WRITE_CACHE

cl_device_type

CL_DEVICE_TYPE_DEFAULT   
CL_DEVICE_TYPE_CPU                     
CL_DEVICE_TYPE_GPU                      
CL_DEVICE_TYPE_ACCELERATOR        
CL_DEVICE_TYPE_ALL

cl_event_info

CL_EVENT_COMMAND_QUEUE 
CL_EVENT_COMMAND_TYPE
CL_EVENT_REFERENCE_COUNT
CL_EVENT_COMMAND_EXECUTION_STATUS

cl_filter_mode

CL_FILTER_NEAREST 
CL_FILTER_LINEAR

cl_gl_object_type

CL_GL_OBJECT_BUFFER 
CL_GL_OBJECT_TEXTURE2D
CL_GL_OBJECT_TEXTURE3D
CL_GL_OBJECT_RENDERBUFFER

cl_gl_texture_info

CL_GL_TEXTURE_TARGET 
CL_GL_MIPMAP_LEVEL

cl_image_info

CL_IMAGE_FORMAT 
CL_IMAGE_ELEMENT_SIZE 
CL_IMAGE_ROW_PITCH 
CL_IMAGE_SLICE_PITCH 
CL_IMAGE_WIDTH 
CL_IMAGE_HEIGHT 
CL_IMAGE_DEPTH

cl_kernel_info

CL_KERNEL_FUNCTION_NAME 
CL_KERNEL_NUM_ARGS 
CL_KERNEL_REFERENCE_COUNT 
CL_KERNEL_CONTEXT 
CL_KERNEL_PROGRAM

cl_kernel_work_group_info

CL_KERNEL_WORK_GROUP_SIZE 
CL_KERNEL_COMPILE_WORK_GROUP_SIZE 
CL_KERNEL_LOCAL_MEM_SIZE

cl_map_flags

CL_MAP_READ 
CL_MAP_WRITE

cl_mem_fence_flags  
cl_mem_flags

CL_MEM_READ_WRITE 
CL_MEM_WRITE_ONLY 
CL_MEM_READ_ONLY 
CL_MEM_USE_HOST_PTR 
CL_MEM_ALLOC_HOST_PTR 
CL_MEM_COPY_HOST_PTR

cl_mem_info

CL_MEM_TYPE  
CL_MEM_FLAGS 
CL_MEM_SIZE 
CL_MEM_HOST_PTR 
CL_MEM_MAP_COUNT 
CL_MEM_REFERENCE_COUNT 
CL_MEM_CONTEXT

cl_mem_object_type

CL_MEM_OBJECT_BUFFER 
CL_MEM_OBJECT_IMAGE2D 
CL_MEM_OBJECT_IMAGE3D

cl_platform_info

CL_PLATFORM_PROFILE
CL_PLATFORM_VERSION 
CL_PLATFORM_NAME 
CL_PLATFORM_VENDOR 
CL_PLATFORM_EXTENSIONS

cl_profiling_info

CL_PROFILING_COMMAND_QUEUED 
CL_PROFILING_COMMAND_SUBMIT 
CL_PROFILING_COMMAND_START 
CL_PROFILING_COMMAND_END

cl_program_build_info

CL_PROGRAM_BUILD_STATUS 
CL_PROGRAM_BUILD_OPTIONS 
CL_PROGRAM_BUILD_LOG

cl_sampler_info

CL_SAMPLER_REFERENCE_COUNT 
CL_SAMPLER_CONTEXT 
CL_SAMPLER_NORMALIZED_COORDS 
CL_SAMPLER_ADDRESSING_MODE 
CL_SAMPLER_FILTER_MODE

Copyright © 2007-2010 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.