• Introduction
  • Alphabetic Contents
    • A
      • abs
      • abs_diff
      • Abstract Data Types
      • Access Qualifiers
      • acos
      • acosh
      • acospi
      • add_sat
      • Addressing Mode and Filtering
      • Address Space Qualifiers
      • all
      • any
      • as_typen()
      • asin
      • asinh
      • asinpi
      • Async Copies/Prefetch Built-In Functions
      • async_work_group_copy
      • async_work_group_strided_copy
      • atan
      • atan2
      • atan2pi
      • atanh
      • atanpi
      • Atomic Functions
      • atom_add
      • atom_and
      • atom_cmpxchg
      • atom_dec
      • atom_inc
      • atom_max
      • atom_min
      • atom_or
      • atom_sub
      • atom_xchg
      • atom_xor
      • atomic_add
      • atomic_and
      • atomic_cmpxchg
      • atomic_dec
      • atomic_inc
      • atomic_max
      • atomic_min
      • atomic_or
      • atomic_sub
      • atomic_xchg
      • atomic_xor
      • __attribute__
      • attributes of blocks
      • attributes of control flow stmts
      • attributes of types
      • attributes of variables
    • B
      • barrier
      • bitselect
      • block attributes
      • bool
      • booln
      • Build Options
      • Built-In Scalar Data Types
      • Built-In Vector Data Types
    • C
      • Cardinality diagram
      • cbrt
      • ceil
      • char
      • CHAR_BIT
      • CHAR_MAX
      • CHAR_MIN
      • charn
      • clamp (Common Function)
      • clamp (Integer Function)
      • cl_apple_gl_sharing
      • Class diagram
      • clBuildProgram
      • cl_char
      • cl_charn
      • clCompileProgram
      • clCreateBuffer
      • clCreateCommandQueue
      • clCreateContext
      • clCreateContextFromType
      • clCreateEventFromGLsyncKHR
      • clCreateFromD3D10BufferKHR
      • clCreateFromD3D10Texture2DKHR
      • clCreateFromD3D10Texture3DKHR
      • clCreateFromD3D11BufferKHR
      • clCreateFromD3D11Texture2DKHR
      • clCreateFromD3D11Texture3DKHR
      • clCreateFromDX9MediaSurfaceKHR
      • clCreateFromGLBuffer
      • clCreateFromGLRenderbuffer
      • clCreateFromGLTexture
      • clCreateFromGLTexture2D (Depr.)
      • clCreateImage
      • clCreateImage2D (Depr.)
      • clCreateImage3D (Depr.)
      • clCreateKernel
      • clCreateKernelsInProgram
      • clCreateProgramWithBinary
      • clCreateProgramWithBuiltInKernels
      • clCreateProgramWithSource
      • clCreateSampler
      • clCreateSubBuffer
      • clCreateSubDevices
      • clCreateUserEvent
      • cl_double
      • clEnqueueAcquireD3D10ObjectsKHR
      • clEnqueueAcquireD3D11ObjectsKHR
      • clEnqueueAcquireDX9MediaSurfacesKHR
      • clEnqueueAcquireGLObjects
      • clEnqueueBarrier (Depr.)
      • clEnqueueBarrierWithWaitList
      • clEnqueueCopyBuffer
      • clEnqueueCopyBufferRect
      • clEnqueueCopyBufferToImage
      • clEnqueueCopyImage
      • clEnqueueCopyImageToBuffer
      • clEnqueueFillBuffer
      • clEnqueueFillImage
      • clEnqueueMapBuffer
      • clEnqueueMapImage
      • clEnqueueMarker (Depr.)
      • clEnqueueMarkerWithWaitList
      • clEnqueueMigrateMemObjects
      • clEnqueueNativeKernel
      • clEnqueueNDRangeKernel
      • clEnqueueReadBuffer
      • clEnqueueReadBufferRect
      • clEnqueueReadImage
      • clEnqueueReleaseD3D10ObjectsKHR
      • clEnqueueReleaseD3D11ObjectsKHR
      • clEnqueueReleaseDX9MediaSurfacesKHR
      • clEnqueueReleaseGLObjects
      • clEnqueueTask
      • clEnqueueUnmapMemObject
      • clEnqueueWaitForEvents (Depr.)
      • clEnqueueWriteBuffer
      • clEnqueueWriteBufferRect
      • clEnqueueWriteImage
      • clFinish
      • cl_float
      • cl_floatn
      • clFlush
      • clGetCommandQueueInfo
      • clGetContextInfo
      • clGetDeviceIDs
      • clGetDeviceIDsFromD3D10KHR
      • clGetDeviceIDsFromD3D11KHR
      • clGetDeviceIDsFromDX9MediaAdapterKHR
      • clGetDeviceInfo
      • clGetEventInfo
      • clGetEventProfilingInfo
      • clGetExtensionFunctionAddressForPlatform
      • clGetExtensionFunctionAddress (Depr.)
      • clGetGLContextInfoKHR
      • clGetGLObjectInfo
      • clGetGLTextureInfo
      • clGetImageInfo
      • clGetKernelInfo
      • clGetKernelArgInfo
      • clGetKernelWorkGroupInfo
      • clGetMemObjectInfo
      • clGetPlatformIDs
      • clGetPlatformInfo
      • clGetProgramBuildInfo
      • clGetProgramInfo
      • clGetSamplerInfo
      • clGetSupportedImageFormats
      • cl_half
      • clIcdGetPlatformIDsKHR
      • cl_image_format
      • cl_int
      • cl_intn
      • cl_khr
      • cl_khr_3d_image_writes
      • cl_khr_d3d10_sharing
      • cl_khr_dx9_media_sharing
      • cl_khr_fp16
      • cl_khr_fp64
      • cl_khr_gl_event
      • cl_khr_gl_sharing
      • cl_khr_icd
      • cl_khr_int64_base_atomics
      • cl_khr_int64_extended_atomics
      • clLinkProgram
      • cl_long
      • cl_longn
      • clReleaseCommandQueue
      • clReleaseContext
      • clReleaseDevice
      • clReleaseEvent
      • clReleaseKernel
      • clReleaseMemObject
      • clReleaseProgram
      • clReleaseSampler
      • clRetainCommandQueue
      • clRetainContext
      • clRetainDevice
      • clRetainEvent
      • clRetainKernel
      • clRetainMemObject
      • clRetainProgram
      • clRetainSampler
      • clSetCommandQueueProperty (Depr.)
      • clSetEventCallback
      • clSetKernelArg
      • clSetMemObjectDestructorCallback
      • clSetUserEventStatus
      • cl_short
      • cl_shortn
      • cl_uchar
      • cl_ucharn
      • cl_uint
      • cl_uintn
      • cl_ulong
      • cl_ulongn
      • clUnloadCompiler (Depr.)
      • clUnloadPlatformCompiler
      • cl_ushort
      • cl_ushortn
      • clWaitForEvents
      • clz
      • Common Built-In Functions
      • Compiler Options
      • complex double
      • complex doublen
      • complex float
      • complex floatn
      • complex half
      • complex halfn
      • complex quad
      • complex quadn
      • __constant, constant
      • control flow stmnt attributes
      • Conversions
      • convert
      • copysign
      • cos
      • cosh
      • cospi
      • cross
    • D
      • -D name
      • -D name=definition
      • Data Types
      • degrees
      • Deprecated features
      • Diagram
      • disable
      • distance
      • dot
      • Double Precision Floating-Point
      • double
      • doublen
      • doublenxm
    • E
      • __ENDIAN_LITTLE__
      • enumerators
      • enums
      • erf
      • erfc
      • event_t
      • exp
      • exp10
      • exp2
      • Explicit Memory Fence Built-In Functions
      • expm1
      • Extensions
    • F
      • fabs
      • fast_distance
      • fast_length
      • fast_normalize
      • __FAST_RELAXED_MATH__
      • fdim
      • __FILE__
      • filter mode
      • float
      • floatn
      • floatnxm
      • floor
      • fma
      • fmax
      • fmin
      • fmod
      • FP_CONTRACT
      • FP_FAST_FMA
      • FP_FAST_FMAF
      • fract
      • frexp
      • Function Qualifiers
    • G
      • Geometric Built-in Functions
      • get_global_id
      • get_global_size
      • get_global_offset
      • get_group_id
      • get_image_channel_data_type
      • get_image_channel_order
      • get_image_depth
      • get_image_dim
      • get_image_height
      • get_image_width
      • get_local_id
      • get_local_size
      • get_num_groups
      • get_work_dim
      • __global, global
    • H
      • hadd
      • Half Data Type
      • Half Floating-Point
      • half
      • halfn
      • halfnxm
      • half_cos
      • half_divide
      • half_exp
      • half_exp2
      • half_exp10
      • half_log
      • half_log10
      • half_log2
      • half_powr
      • half_recip
      • half_rsqrt
      • half_sin
      • half_sqrt
      • half_tan
      • Huge_VAL
      • HUGE_VALF
      • hypot
    • I
      • -I dir
      • ilogb
      • Image Built-In Functions
      • Image formats
      • __IMAGE_SUPPORT__
      • image2d_t
      • image3d_t
      • imaginary double
      • imaginary doublen
      • imaginary float
      • imaginary floatn
      • imaginary half
      • imaginary halfn
      • imaginary quad
      • imaginary quadn
      • INFINITY
      • int
      • Integer Built-In Functions
      • intn
      • intptr_t
      • Introduction
      • isequal
      • isfinite
      • isgreater
      • isgreaterequal
      • isinf
      • isless
      • islessequal
      • islessgreater
      • isnan
      • isnormal
      • isnotequal
      • isordered
      • isunordered
    • K L
      • __kernel, kernel
      • Kernel object
      • ldexp
      • length
      • lgamma
      • lgamma_r
      • Limits
      • __LINE__
      • __local, local
      • log
      • log10
      • log1p
      • log2
      • logb
      • long
      • long double
      • long doublen
      • long long
      • long longn
      • longn
    • M
      • Macros
      • Macros and Limits
      • mad
      • mad_hi
      • mad_sat
      • mad24
      • Math Built-In Functions
      • math constants
      • math intrinsics options
      • max (Common function)
      • max (Integer function)
      • MAXFLOAT
      • maxmag
      • minmag
      • mem_fence
      • min (Common funciton)
      • min (Integer function)
      • mix
      • Misc. Vector Functions
      • modf
      • mul_hi
      • mul24
    • N
      • nan
      • NAN
      • native_cos
      • native_divide
      • native_exp
      • native_exp2
      • native_exp10
      • native_log
      • native_log2
      • native_log10
      • native_powr
      • native_recip
      • native_rsqrt
      • native_sin
      • native_sqrt
      • native_tan
      • nextafter
      • normalize
      • normalized coords
    • O P Q
      • OpenCL/OpenGL Sharing Functions
      • Operators
      • optimization options
      • Optional Extensions
      • Other Data Types
      • popcount
      • pow
      • pown
      • powr
      • #pragma
      • printf
      • Symbolic Math Constants
      • prefetch
      • Preprocessor macros
      • __private, private
      • ptrdiff_t
      • quad
      • quadn
      • Qualifiers
    • R
      • radians
      • read_image{f,h,i,ui}
      • read_mem_fence
      • __read_only
      • __read_write
      • Relational Built-In Functions
      • remainder
      • remquo
      • reqd_work_group_size
      • Reserved Data Types
      • Restrictions
      • rhadd
      • rint
      • rootn
      • rotate
      • round
      • rsqrt
      • _rte
      • _rtn
      • _rtp
      • _rtz
    • S
      • Sampler Object
      • sampler_t
      • Scalar Data Types
      • select
      • short
      • shortn
      • shuffle
      • shuffle2
      • sign
      • signbit
      • sin
      • sincos
      • sinh
      • sinpi
      • size_t
      • sqrt
      • step
      • smoothstep
      • Storage-class Qualifiers
      • struct _cl_image_format
      • sub_sat
      • supported image formats
      • Synchronization Function
      • Symbolic Constants
    • T U
      • tan
      • tanh
      • tanpi
      • tgamma
      • trunc
      • Types
      • type attributes
      • uchar
      • ucharn
      • uint
      • uintn
      • uintptr_t
      • ulong
      • ulong long
      • ulong longn
      • ulongn
      • unsigned char
      • unsigned int
      • unsigned long
      • unsigned long long
      • unsigned short
      • upsample
      • ushort
      • ushortn
    • V W
      • variable attributes
      • vec_step
      • vec_type_hint
      • Vector Data Types
      • Vector Data Load and Store Functions
      • Vector Functions (Misc.)
      • vload_half
      • vload_halfn
      • vloada_halfn
      • vloadn
      • void
      • vstore_half
      • vstore_halfn
      • vstorea_halfn
      • vstoren
      • wait_group_events
      • warnings options
      • work_group_size_hint
      • Work-Item Built-in Functions
      • write_image[f,h,i,ui]
      • write_mem_fence
      • __write_only
      • Writing to 3D Image Memory Objects
  • OpenCL Runtime
    • Enumerated Types
    • Query Platform Info
      • clGetPlatformIDs
      • clGetPlatformInfo
    • Query Devices
      • clGetDeviceIDs
      • clGetDeviceInfo
    • Partition a Device
      • clCreateSubDevices
      • clRetainDevice
      • clReleaseDevice
    • Contexts
      • clCreateContext
      • clCreateContextFromType
      • clRetainContext
      • clReleaseContext
      • clGetContextInfo
    • Runtime APIs
      • Command Queues
        • clCreateCommandQueue
        • clRetainCommandQueue
        • clReleaseCommandQueue
        • clGetCommandQueueInfo
      • Buffer Objects
        • clCreateBuffer
        • clCreateSubBuffer
        • clEnqueueReadBuffer
        • clEnqueueWriteBuffer
        • clEnqueueReadBufferRect
        • clEnqueueWriteBufferRect
        • clEnqueueFillBuffer
        • clEnqueueCopyBuffer
        • clEnqueueCopyBufferRect
        • clEnqueueMapBuffer
        • clCreateImage
        • clGetSupportedImageFormats
        • clEnqueueReadImage
        • clEnqueueWriteImage
        • clEnqueueFillImage
        • clEnqueueCopyImage
        • clEnqueueCopyImageToBuffer
        • clEnqueueCopyBufferToImage
        • clEnqueueMapImage
        • clEnqueueUnmapMemObject
        • clEnqueueMigrateMemObjects
        • clGetMemObjectInfo
        • clGetImageInfo
        • clRetainMemObject
        • clReleaseMemObject
        • clSetMemObjectDestructorCallback
        • cl_image_format
      • Sampler Objects
        • clCreateSampler
        • clRetainSampler
        • clReleaseSampler
        • clGetSamplerInfo
      • Program Objects
        • clCreateProgramWithSource
        • clCreateProgramWithBinary
        • clCreateProgramWithBuiltInKernels
        • clRetainProgram
        • clReleaseProgram
        • clBuildProgram
        • clCompileProgram
        • clLinkProgram
        • clUnloadPlatformCompiler
        • clGetProgramInfo
        • clGetProgramBuildInfo
      • Kernel Objects
        • clCreateKernel
        • clCreateKernelsInProgram
        • clRetainKernel
        • clReleaseKernel
        • clSetKernelArg
        • clGetKernelInfo
        • clGetKernelWorkGroupInfo
        • clSetKernelArg
      • Executing Kernels
        • clEnqueueNDRangeKernel
        • clEnqueueTask
        • clEnqueueNativeKernel
      • Event Objects
        • clCreateUserEvent
        • clSetUserEventStatus
        • clWaitForEvents
        • clGetEventInfo
        • clSetEventCallback
        • clRetainEvent
        • clReleaseEvent
      • Markers, Barriers, and Waiting
        • clEnqueueMarkerWithWaitList
        • clEnqueueBarrierWithWaitList
        • clRetainEvent
        • clReleaseEvent
      • Profiling Operations on Memory Objects and Kernels
        • clGetEventProfilingInfo
      • Flush and Finish
        • clFlush
        • clFinish
  • OpenCL Compiler
    • Restrictions
    • Built-in Data Types
      • Scalar Data Types
      • Vector Data Types
      • Other Data Types
      • Reserved Data Types
      • Abstract Data Types
      • cl_image_format
      • sampler_t
    • Address Space Qualifiers
      • __constant
      • __local
      • __global
      • __private
    • Access Qualifiers
    • Function Qualifiers
    • Storage Class Qualifiers
    • Attribute Qualifiers
      • Types Attributes
      • Variables Attributes
      • Blocks and Control-Flow Statement Attributes
    • Restrictions
    • Built-in Functions
      • Async Copy and Prefetch Functions
        • async_work_group_copy
        • async_work_group_strided_copy
        • wait_group_events
        • prefetch
      • Common Functions
        • clamp
        • degrees
        • max
        • min
        • mix
        • radians
        • sign
        • smoothstep
        • step
      • Explicit Memory Fence Functions
        • mem_fence
        • read_mem_fence
        • write_mem_fence
      • Geometric Functions
        • cross
        • dot
        • distance
        • length
        • normalize
        • fast_distance
        • fast_length
        • fast_normalize
      • Image Functions
        • read_image{f,i,ui} (1D)
        • read_imageh (1D)
        • read_image{f,i,ui} (2D)
        • read_imageh (2D)
        • read_image{f,i,ui} (3D)
        • read_imageh (3D)
        • write_image (1D)
        • write_image (2D)
        • write_image (3D)
        • get_image_width
        • get_image_height
        • get_image_depth
        • get_image_channel_data_type
        • get_image_channel_order
        • get_image_dim
      • Integer Functions
        • abs
        • abs_diff
        • add_sat
        • clamp
        • clz
        • hadd
        • mad24
        • mad_hi
        • mad_sat
        • max
        • min
        • mul24
        • mul_hi
        • popcount
        • rhadd
        • rotate
        • sub_sat
        • upsample
      • Math Functions
        • Symbolic Math Constants
        • Floating-point Macros and Pragma
        • Macros and Limits
        • acos
        • acosh
        • acospi
        • asin
        • asinh
        • asinpi
        • atan
        • atan2
        • atanh
        • atanpi
        • atan2pi
        • cbrt
        • ceil
        • copysign
        • cos
        • half_cos, native_cos
        • cosh
        • cospi
        • half_divide, native_divide
        • erf
        • erfc
        • exp
        • half_exp, native_exp
        • exp2
        • half_exp2, native_exp2
        • exp10
        • half_exp10, native_exp10
        • expm1
        • fabs
        • fdim
        • floor
        • fma
        • fmax
        • fmin
        • fmod
        • fract
        • frexp
        • hypot
        • ilogb
        • ldexp
        • lgamma
        • lgamma_r
        • log
        • half_log, native_log
        • log2
        • half_log2, native_log2
        • log10
        • half_log10, native_log10
        • log1p
        • logb
        • mad
        • magmax
        • magmin
        • modf
        • nan
        • nextafter
        • pow
        • pown
        • powr
        • half_powr, native_powr
        • half_recip, native_recip
        • remainder
        • remquo
        • rint
        • round
        • rootn
        • rsqrt
        • half_rsqrt, native_rsqrt
        • sin
        • half_sin, native_sin
        • sincos
        • sinh
        • sinpi
        • sqrt
        • half_sqrt, native_sqrt
        • tan
        • half_tan, native_tan
        • tanh
        • tanpi
        • tgamma
        • trunc
      • Misc. Vector Functions
        • shuffle
        • shuffle2
        • vec_step
      • Relational Functions
        • isequal
        • isnotequal
        • isgreater
        • isgreaterequal
        • isless
        • islessequal
        • islessgreater
        • isfinite
        • isinf
        • isnan
        • isnormal
        • isordered
        • isunordered
        • signbit
        • any
        • all
        • bitselect
        • select
      • Synchronization Function
        • barrier
      • Vector Data Load and Store Functions
        • vloadn
        • vload_half
        • vload_halfn
        • vloada_halfn
        • vstoren
        • vstore_half
        • vstore_halfn
        • vstorea_halfn
      • Work-Item Functions
        • get_global_id
        • get_global_size
        • get_global_offset
        • get_group_id
        • get_local_id
        • get_local_size
        • get_num_groups
        • get_work_dim
  • Operators
  • Conversions and Type Casting
    • Explicit Conversions
    • Reinterpreting Types Using as_typen()
  • Preprocessor Directives and Macros
  • Optional Extensions
    • EXTENSION
      • clGetExtensionFunctionAddressForPlatform
      • cl_khr_int64_base_atomics
      • cl_khr_int64_extended_atomics
      • cl_khr_3d_image_writes
      • cl_khr_fp16
      • clGetGLContextInfoKHR
      • cl_apple_gl_sharing
      • CL_KHR_gl_sharing
      • cl_khr_gl_event
      • cl_khr_d3d10_sharing
      • cl_khr_d3d11_sharing
      • cl_khr_dx9_media_sharing
  • Sharing
    • Sharing With OpenGL
      • CL_APPLE_gl_sharing
      • CL_KHR_gl_sharing
      • cl_khr_gl_event
      • clCreateFromGLBuffer
      • clCreateFromGLTexture
      • clCreateFromGLRenderbuffer
      • clGetGLObjectInfo
      • clGetGLTextureInfo
      • clEnqueueAcquireGLObjects
      • clEnqueueReleaseGLObjects
      • clCreateEventFromGLsyncKHR
    • Sharing With Direct3D 10
      • cl_khr_d3d10_sharing
      • clGetDeviceIDsFromD3D10KHR
      • clCreateFromD3D10BufferKHR
      • clCreateFromD3D10Texture2DKHR
      • clCreateFromD3D10Texture3DKHR
      • clEnqueueAcquireD3D10ObjectsKHR
      • clEnqueueReleaseD3D10ObjectsKHR
    • Sharing With Direct3D 11
      • cl_khr_d3d11_sharing
      • clGetDeviceIDsFromD3D11KHR
      • clCreateFromD3D11BufferKHR
      • clCreateFromD3D11Texture2DKHR
      • clCreateFromD3D11Texture3DKHR
      • clEnqueueAcquireD3D11ObjectsKHR
      • clEnqueueReleaseD3D11ObjectsKHR
    • Sharing With DX9 Media Surface
      • cl_khr_dx9_media_sharing
      • clGetDeviceIDsFromDX9MediaAdapterKHR
      • clCreateFromDX9MediaSurfaceKHR
      • clEnqueueAcquireDX9MediaSurfacesKHR
      • clEnqueueReleaseDX9MediaSurfacesKHR
  • OpenCL Installable Client Driver (ICD)
    • cl_khr_icd
    • clIcdGetPlatformIDsKHR