HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cl_platform.h File Reference
#include <CL/cl_version.h>
#include <stdint.h>
#include <stddef.h>
+ Include dependency graph for cl_platform.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  cl_char2
 
union  cl_char4
 
union  cl_char8
 
union  cl_char16
 
union  cl_uchar2
 
union  cl_uchar4
 
union  cl_uchar8
 
union  cl_uchar16
 
union  cl_short2
 
union  cl_short4
 
union  cl_short8
 
union  cl_short16
 
union  cl_ushort2
 
union  cl_ushort4
 
union  cl_ushort8
 
union  cl_ushort16
 
union  cl_half2
 
union  cl_half4
 
union  cl_half8
 
union  cl_half16
 
union  cl_int2
 
union  cl_int4
 
union  cl_int8
 
union  cl_int16
 
union  cl_uint2
 
union  cl_uint4
 
union  cl_uint8
 
union  cl_uint16
 
union  cl_long2
 
union  cl_long4
 
union  cl_long8
 
union  cl_long16
 
union  cl_ulong2
 
union  cl_ulong4
 
union  cl_ulong8
 
union  cl_ulong16
 
union  cl_float2
 
union  cl_float4
 
union  cl_float8
 
union  cl_float16
 
union  cl_double2
 
union  cl_double4
 
union  cl_double8
 
union  cl_double16
 

Macros

#define CL_API_ENTRY
 
#define CL_API_CALL
 
#define CL_CALLBACK
 
#define CL_EXTENSION_WEAK_LINK
 
#define CL_API_SUFFIX__VERSION_1_0
 
#define CL_EXT_SUFFIX__VERSION_1_0
 
#define CL_API_SUFFIX__VERSION_1_1
 
#define CL_EXT_SUFFIX__VERSION_1_1
 
#define CL_API_SUFFIX__VERSION_1_2
 
#define CL_EXT_SUFFIX__VERSION_1_2
 
#define CL_API_SUFFIX__VERSION_2_0
 
#define CL_EXT_SUFFIX__VERSION_2_0
 
#define CL_API_SUFFIX__VERSION_2_1
 
#define CL_EXT_SUFFIX__VERSION_2_1
 
#define CL_API_SUFFIX__VERSION_2_2
 
#define CL_EXT_SUFFIX__VERSION_2_2
 
#define CL_EXT_SUFFIX__VERSION_1_0_DEPRECATED
 
#define CL_EXT_PREFIX__VERSION_1_0_DEPRECATED
 
#define CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED
 
#define CL_EXT_PREFIX__VERSION_1_1_DEPRECATED
 
#define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED
 
#define CL_EXT_PREFIX__VERSION_1_2_DEPRECATED
 
#define CL_EXT_SUFFIX__VERSION_2_0_DEPRECATED
 
#define CL_EXT_PREFIX__VERSION_2_0_DEPRECATED
 
#define CL_EXT_SUFFIX__VERSION_2_1_DEPRECATED
 
#define CL_EXT_PREFIX__VERSION_2_1_DEPRECATED
 
#define CL_CHAR_BIT   8
 
#define CL_SCHAR_MAX   127
 
#define CL_SCHAR_MIN   (-127-1)
 
#define CL_CHAR_MAX   CL_SCHAR_MAX
 
#define CL_CHAR_MIN   CL_SCHAR_MIN
 
#define CL_UCHAR_MAX   255
 
#define CL_SHRT_MAX   32767
 
#define CL_SHRT_MIN   (-32767-1)
 
#define CL_USHRT_MAX   65535
 
#define CL_INT_MAX   2147483647
 
#define CL_INT_MIN   (-2147483647-1)
 
#define CL_UINT_MAX   0xffffffffU
 
#define CL_LONG_MAX   ((cl_long) 0x7FFFFFFFFFFFFFFFLL)
 
#define CL_LONG_MIN   ((cl_long) -0x7FFFFFFFFFFFFFFFLL - 1LL)
 
#define CL_ULONG_MAX   ((cl_ulong) 0xFFFFFFFFFFFFFFFFULL)
 
#define CL_FLT_DIG   6
 
#define CL_FLT_MANT_DIG   24
 
#define CL_FLT_MAX_10_EXP   +38
 
#define CL_FLT_MAX_EXP   +128
 
#define CL_FLT_MIN_10_EXP   -37
 
#define CL_FLT_MIN_EXP   -125
 
#define CL_FLT_RADIX   2
 
#define CL_FLT_MAX   340282346638528859811704183484516925440.0f
 
#define CL_FLT_MIN   1.175494350822287507969e-38f
 
#define CL_FLT_EPSILON   1.1920928955078125e-7f
 
#define CL_HALF_DIG   3
 
#define CL_HALF_MANT_DIG   11
 
#define CL_HALF_MAX_10_EXP   +4
 
#define CL_HALF_MAX_EXP   +16
 
#define CL_HALF_MIN_10_EXP   -4
 
#define CL_HALF_MIN_EXP   -13
 
#define CL_HALF_RADIX   2
 
#define CL_HALF_MAX   65504.0f
 
#define CL_HALF_MIN   6.103515625e-05f
 
#define CL_HALF_EPSILON   9.765625e-04f
 
#define CL_DBL_DIG   15
 
#define CL_DBL_MANT_DIG   53
 
#define CL_DBL_MAX_10_EXP   +308
 
#define CL_DBL_MAX_EXP   +1024
 
#define CL_DBL_MIN_10_EXP   -307
 
#define CL_DBL_MIN_EXP   -1021
 
#define CL_DBL_RADIX   2
 
#define CL_DBL_MAX   179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0
 
#define CL_DBL_MIN   2.225073858507201383090e-308
 
#define CL_DBL_EPSILON   2.220446049250313080847e-16
 
#define CL_M_E   2.7182818284590452354
 
#define CL_M_LOG2E   1.4426950408889634074
 
#define CL_M_LOG10E   0.43429448190325182765
 
#define CL_M_LN2   0.69314718055994530942
 
#define CL_M_LN10   2.30258509299404568402
 
#define CL_M_PI   3.14159265358979323846
 
#define CL_M_PI_2   1.57079632679489661923
 
#define CL_M_PI_4   0.78539816339744830962
 
#define CL_M_1_PI   0.31830988618379067154
 
#define CL_M_2_PI   0.63661977236758134308
 
#define CL_M_2_SQRTPI   1.12837916709551257390
 
#define CL_M_SQRT2   1.41421356237309504880
 
#define CL_M_SQRT1_2   0.70710678118654752440
 
#define CL_M_E_F   2.718281828f
 
#define CL_M_LOG2E_F   1.442695041f
 
#define CL_M_LOG10E_F   0.434294482f
 
#define CL_M_LN2_F   0.693147181f
 
#define CL_M_LN10_F   2.302585093f
 
#define CL_M_PI_F   3.141592654f
 
#define CL_M_PI_2_F   1.570796327f
 
#define CL_M_PI_4_F   0.785398163f
 
#define CL_M_1_PI_F   0.318309886f
 
#define CL_M_2_PI_F   0.636619772f
 
#define CL_M_2_SQRTPI_F   1.128379167f
 
#define CL_M_SQRT2_F   1.414213562f
 
#define CL_M_SQRT1_2_F   0.707106781f
 
#define CL_HUGE_VALF   ((cl_float) 1e50)
 
#define CL_HUGE_VAL   ((cl_double) 1e500)
 
#define CL_NAN   nanf( "" )
 
#define CL_MAXFLOAT   CL_FLT_MAX
 
#define CL_INFINITY   CL_HUGE_VALF
 
#define __CL_HAS_ANON_STRUCT__   0
 
#define __CL_ANON_STRUCT__
 
#define CL_ALIGNED(_x)
 
#define __CL_STRINGIFY(_x)   # _x
 
#define _CL_STRINGIFY(_x)   __CL_STRINGIFY( _x )
 
#define CL_PROGRAM_STRING_DEBUG_INFO   "#line " _CL_STRINGIFY(__LINE__) " \"" __FILE__ "\" \n\n"
 

Typedefs

typedef int8_t cl_char
 
typedef uint8_t cl_uchar
 
typedef int16_t cl_short __attribute__ ((aligned(2)))
 
typedef unsigned int cl_GLuint
 
typedef int cl_GLint
 
typedef unsigned int cl_GLenum
 
typedef cl_char4 cl_char3
 
typedef cl_uchar4 cl_uchar3
 
typedef cl_short4 cl_short3
 
typedef cl_ushort4 cl_ushort3
 
typedef cl_half4 cl_half3
 
typedef cl_int4 cl_int3
 
typedef cl_uint4 cl_uint3
 
typedef cl_long4 cl_long3
 
typedef cl_ulong4 cl_ulong3
 
typedef cl_float4 cl_float3
 
typedef cl_double4 cl_double3
 

Functions

float nanf (const char *)
 

Macro Definition Documentation

#define __CL_ANON_STRUCT__

Definition at line 543 of file cl_platform.h.

#define __CL_HAS_ANON_STRUCT__   0

Definition at line 542 of file cl_platform.h.

#define __CL_STRINGIFY (   _x)    # _x

Definition at line 1413 of file cl_platform.h.

#define _CL_STRINGIFY (   _x)    __CL_STRINGIFY( _x )

Definition at line 1414 of file cl_platform.h.

#define CL_ALIGNED (   _x)

Definition at line 557 of file cl_platform.h.

#define CL_API_CALL

Definition at line 44 of file cl_platform.h.

#define CL_API_ENTRY

Definition at line 43 of file cl_platform.h.

#define CL_API_SUFFIX__VERSION_1_0

Definition at line 57 of file cl_platform.h.

#define CL_API_SUFFIX__VERSION_1_1

Definition at line 59 of file cl_platform.h.

#define CL_API_SUFFIX__VERSION_1_2

Definition at line 61 of file cl_platform.h.

#define CL_API_SUFFIX__VERSION_2_0

Definition at line 63 of file cl_platform.h.

#define CL_API_SUFFIX__VERSION_2_1

Definition at line 65 of file cl_platform.h.

#define CL_API_SUFFIX__VERSION_2_2

Definition at line 67 of file cl_platform.h.

#define CL_CALLBACK

Definition at line 45 of file cl_platform.h.

#define CL_CHAR_BIT   8

Definition at line 286 of file cl_platform.h.

#define CL_CHAR_MAX   CL_SCHAR_MAX

Definition at line 289 of file cl_platform.h.

#define CL_CHAR_MIN   CL_SCHAR_MIN

Definition at line 290 of file cl_platform.h.

#define CL_DBL_DIG   15

Definition at line 324 of file cl_platform.h.

#define CL_DBL_EPSILON   2.220446049250313080847e-16

Definition at line 333 of file cl_platform.h.

#define CL_DBL_MANT_DIG   53

Definition at line 325 of file cl_platform.h.

#define CL_DBL_MAX   179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368.0

Definition at line 331 of file cl_platform.h.

#define CL_DBL_MAX_10_EXP   +308

Definition at line 326 of file cl_platform.h.

#define CL_DBL_MAX_EXP   +1024

Definition at line 327 of file cl_platform.h.

#define CL_DBL_MIN   2.225073858507201383090e-308

Definition at line 332 of file cl_platform.h.

#define CL_DBL_MIN_10_EXP   -307

Definition at line 328 of file cl_platform.h.

#define CL_DBL_MIN_EXP   -1021

Definition at line 329 of file cl_platform.h.

#define CL_DBL_RADIX   2

Definition at line 330 of file cl_platform.h.

#define CL_EXT_PREFIX__VERSION_1_0_DEPRECATED

Definition at line 152 of file cl_platform.h.

#define CL_EXT_PREFIX__VERSION_1_1_DEPRECATED

Definition at line 155 of file cl_platform.h.

#define CL_EXT_PREFIX__VERSION_1_2_DEPRECATED

Definition at line 158 of file cl_platform.h.

#define CL_EXT_PREFIX__VERSION_2_0_DEPRECATED

Definition at line 161 of file cl_platform.h.

#define CL_EXT_PREFIX__VERSION_2_1_DEPRECATED

Definition at line 164 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_1_0

Definition at line 58 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_1_0_DEPRECATED

Definition at line 151 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_1_1

Definition at line 60 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED

Definition at line 154 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_1_2

Definition at line 62 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_1_2_DEPRECATED

Definition at line 157 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_2_0

Definition at line 64 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_2_0_DEPRECATED

Definition at line 160 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_2_1

Definition at line 66 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_2_1_DEPRECATED

Definition at line 163 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_2_2

Definition at line 68 of file cl_platform.h.

#define CL_EXTENSION_WEAK_LINK

Definition at line 56 of file cl_platform.h.

#define CL_FLT_DIG   6

Definition at line 302 of file cl_platform.h.

#define CL_FLT_EPSILON   1.1920928955078125e-7f

Definition at line 311 of file cl_platform.h.

#define CL_FLT_MANT_DIG   24

Definition at line 303 of file cl_platform.h.

#define CL_FLT_MAX   340282346638528859811704183484516925440.0f

Definition at line 309 of file cl_platform.h.

#define CL_FLT_MAX_10_EXP   +38

Definition at line 304 of file cl_platform.h.

#define CL_FLT_MAX_EXP   +128

Definition at line 305 of file cl_platform.h.

#define CL_FLT_MIN   1.175494350822287507969e-38f

Definition at line 310 of file cl_platform.h.

#define CL_FLT_MIN_10_EXP   -37

Definition at line 306 of file cl_platform.h.

#define CL_FLT_MIN_EXP   -125

Definition at line 307 of file cl_platform.h.

#define CL_FLT_RADIX   2

Definition at line 308 of file cl_platform.h.

#define CL_HALF_DIG   3

Definition at line 313 of file cl_platform.h.

#define CL_HALF_EPSILON   9.765625e-04f

Definition at line 322 of file cl_platform.h.

#define CL_HALF_MANT_DIG   11

Definition at line 314 of file cl_platform.h.

#define CL_HALF_MAX   65504.0f

Definition at line 320 of file cl_platform.h.

#define CL_HALF_MAX_10_EXP   +4

Definition at line 315 of file cl_platform.h.

#define CL_HALF_MAX_EXP   +16

Definition at line 316 of file cl_platform.h.

#define CL_HALF_MIN   6.103515625e-05f

Definition at line 321 of file cl_platform.h.

#define CL_HALF_MIN_10_EXP   -4

Definition at line 317 of file cl_platform.h.

#define CL_HALF_MIN_EXP   -13

Definition at line 318 of file cl_platform.h.

#define CL_HALF_RADIX   2

Definition at line 319 of file cl_platform.h.

#define CL_HUGE_VAL   ((cl_double) 1e500)

Definition at line 369 of file cl_platform.h.

#define CL_HUGE_VALF   ((cl_float) 1e50)

Definition at line 368 of file cl_platform.h.

#define CL_INFINITY   CL_HUGE_VALF

Definition at line 374 of file cl_platform.h.

#define CL_INT_MAX   2147483647

Definition at line 295 of file cl_platform.h.

#define CL_INT_MIN   (-2147483647-1)

Definition at line 296 of file cl_platform.h.

#define CL_LONG_MAX   ((cl_long) 0x7FFFFFFFFFFFFFFFLL)

Definition at line 298 of file cl_platform.h.

#define CL_LONG_MIN   ((cl_long) -0x7FFFFFFFFFFFFFFFLL - 1LL)

Definition at line 299 of file cl_platform.h.

#define CL_M_1_PI   0.31830988618379067154

Definition at line 343 of file cl_platform.h.

#define CL_M_1_PI_F   0.318309886f

Definition at line 357 of file cl_platform.h.

#define CL_M_2_PI   0.63661977236758134308

Definition at line 344 of file cl_platform.h.

#define CL_M_2_PI_F   0.636619772f

Definition at line 358 of file cl_platform.h.

#define CL_M_2_SQRTPI   1.12837916709551257390

Definition at line 345 of file cl_platform.h.

#define CL_M_2_SQRTPI_F   1.128379167f

Definition at line 359 of file cl_platform.h.

#define CL_M_E   2.7182818284590452354

Definition at line 335 of file cl_platform.h.

#define CL_M_E_F   2.718281828f

Definition at line 349 of file cl_platform.h.

#define CL_M_LN10   2.30258509299404568402

Definition at line 339 of file cl_platform.h.

#define CL_M_LN10_F   2.302585093f

Definition at line 353 of file cl_platform.h.

#define CL_M_LN2   0.69314718055994530942

Definition at line 338 of file cl_platform.h.

#define CL_M_LN2_F   0.693147181f

Definition at line 352 of file cl_platform.h.

#define CL_M_LOG10E   0.43429448190325182765

Definition at line 337 of file cl_platform.h.

#define CL_M_LOG10E_F   0.434294482f

Definition at line 351 of file cl_platform.h.

#define CL_M_LOG2E   1.4426950408889634074

Definition at line 336 of file cl_platform.h.

#define CL_M_LOG2E_F   1.442695041f

Definition at line 350 of file cl_platform.h.

#define CL_M_PI   3.14159265358979323846

Definition at line 340 of file cl_platform.h.

#define CL_M_PI_2   1.57079632679489661923

Definition at line 341 of file cl_platform.h.

#define CL_M_PI_2_F   1.570796327f

Definition at line 355 of file cl_platform.h.

#define CL_M_PI_4   0.78539816339744830962

Definition at line 342 of file cl_platform.h.

#define CL_M_PI_4_F   0.785398163f

Definition at line 356 of file cl_platform.h.

#define CL_M_PI_F   3.141592654f

Definition at line 354 of file cl_platform.h.

#define CL_M_SQRT1_2   0.70710678118654752440

Definition at line 347 of file cl_platform.h.

#define CL_M_SQRT1_2_F   0.707106781f

Definition at line 361 of file cl_platform.h.

#define CL_M_SQRT2   1.41421356237309504880

Definition at line 346 of file cl_platform.h.

#define CL_M_SQRT2_F   1.414213562f

Definition at line 360 of file cl_platform.h.

#define CL_MAXFLOAT   CL_FLT_MAX

Definition at line 373 of file cl_platform.h.

#define CL_NAN   nanf( "" )

Definition at line 371 of file cl_platform.h.

#define CL_PROGRAM_STRING_DEBUG_INFO   "#line " _CL_STRINGIFY(__LINE__) " \"" __FILE__ "\" \n\n"

Definition at line 1415 of file cl_platform.h.

#define CL_SCHAR_MAX   127

Definition at line 287 of file cl_platform.h.

#define CL_SCHAR_MIN   (-127-1)

Definition at line 288 of file cl_platform.h.

#define CL_SHRT_MAX   32767

Definition at line 292 of file cl_platform.h.

#define CL_SHRT_MIN   (-32767-1)

Definition at line 293 of file cl_platform.h.

#define CL_UCHAR_MAX   255

Definition at line 291 of file cl_platform.h.

#define CL_UINT_MAX   0xffffffffU

Definition at line 297 of file cl_platform.h.

#define CL_ULONG_MAX   ((cl_ulong) 0xFFFFFFFFFFFFFFFFULL)

Definition at line 300 of file cl_platform.h.

#define CL_USHRT_MAX   65535

Definition at line 294 of file cl_platform.h.

Typedef Documentation

typedef double cl_double __attribute__((aligned(8)))

Definition at line 274 of file cl_platform.h.

typedef int8_t cl_char

Definition at line 272 of file cl_platform.h.

typedef cl_char4 cl_char3

Definition at line 601 of file cl_platform.h.

Definition at line 1350 of file cl_platform.h.

Definition at line 1275 of file cl_platform.h.

typedef unsigned int cl_GLenum

Definition at line 383 of file cl_platform.h.

typedef int cl_GLint

Definition at line 382 of file cl_platform.h.

typedef unsigned int cl_GLuint

Definition at line 381 of file cl_platform.h.

typedef cl_half4 cl_half3

Definition at line 901 of file cl_platform.h.

typedef cl_int4 cl_int3

Definition at line 975 of file cl_platform.h.

typedef cl_long4 cl_long3

Definition at line 1124 of file cl_platform.h.

Definition at line 751 of file cl_platform.h.

typedef uint8_t cl_uchar

Definition at line 273 of file cl_platform.h.

Definition at line 676 of file cl_platform.h.

typedef cl_uint4 cl_uint3

Definition at line 1050 of file cl_platform.h.

Definition at line 1199 of file cl_platform.h.

Definition at line 826 of file cl_platform.h.

Function Documentation

float nanf ( const char *  )