HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cl_platform.h File Reference
#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_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_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_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   0x1.fffffep127f
 
#define CL_FLT_MIN   0x1.0p-126f
 
#define CL_FLT_EPSILON   0x1.0p-23f
 
#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   0x1.fffffffffffffp1023
 
#define CL_DBL_MIN   0x1.0p-1022
 
#define CL_DBL_EPSILON   0x1.0p-52
 
#define CL_M_E   2.718281828459045090796
 
#define CL_M_LOG2E   1.442695040888963387005
 
#define CL_M_LOG10E   0.434294481903251816668
 
#define CL_M_LN2   0.693147180559945286227
 
#define CL_M_LN10   2.302585092994045901094
 
#define CL_M_PI   3.141592653589793115998
 
#define CL_M_PI_2   1.570796326794896557999
 
#define CL_M_PI_4   0.785398163397448278999
 
#define CL_M_1_PI   0.318309886183790691216
 
#define CL_M_2_PI   0.636619772367581382433
 
#define CL_M_2_SQRTPI   1.128379167095512558561
 
#define CL_M_SQRT2   1.414213562373095145475
 
#define CL_M_SQRT1_2   0.707106781186547572737
 
#define CL_M_E_F   2.71828174591064f
 
#define CL_M_LOG2E_F   1.44269502162933f
 
#define CL_M_LOG10E_F   0.43429449200630f
 
#define CL_M_LN2_F   0.69314718246460f
 
#define CL_M_LN10_F   2.30258512496948f
 
#define CL_M_PI_F   3.14159274101257f
 
#define CL_M_PI_2_F   1.57079637050629f
 
#define CL_M_PI_4_F   0.78539818525314f
 
#define CL_M_1_PI_F   0.31830987334251f
 
#define CL_M_2_PI_F   0.63661974668503f
 
#define CL_M_2_SQRTPI_F   1.12837922573090f
 
#define CL_M_SQRT2_F   1.41421353816986f
 
#define CL_M_SQRT1_2_F   0.70710676908493f
 
#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_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 469 of file cl_platform.h.

#define __CL_HAS_ANON_STRUCT__   0

Definition at line 468 of file cl_platform.h.

#define __CL_STRINGIFY (   _x)    # _x

Definition at line 1264 of file cl_platform.h.

#define _CL_STRINGIFY (   _x)    __CL_STRINGIFY( _x )

Definition at line 1265 of file cl_platform.h.

#define CL_ALIGNED (   _x)

Definition at line 483 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 72 of file cl_platform.h.

#define CL_API_SUFFIX__VERSION_1_1

Definition at line 74 of file cl_platform.h.

#define CL_API_SUFFIX__VERSION_1_2

Definition at line 76 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 228 of file cl_platform.h.

#define CL_CHAR_MAX   CL_SCHAR_MAX

Definition at line 231 of file cl_platform.h.

#define CL_CHAR_MIN   CL_SCHAR_MIN

Definition at line 232 of file cl_platform.h.

#define CL_DBL_DIG   15

Definition at line 255 of file cl_platform.h.

#define CL_DBL_EPSILON   0x1.0p-52

Definition at line 264 of file cl_platform.h.

#define CL_DBL_MANT_DIG   53

Definition at line 256 of file cl_platform.h.

#define CL_DBL_MAX   0x1.fffffffffffffp1023

Definition at line 262 of file cl_platform.h.

#define CL_DBL_MAX_10_EXP   +308

Definition at line 257 of file cl_platform.h.

#define CL_DBL_MAX_EXP   +1024

Definition at line 258 of file cl_platform.h.

#define CL_DBL_MIN   0x1.0p-1022

Definition at line 263 of file cl_platform.h.

#define CL_DBL_MIN_10_EXP   -307

Definition at line 259 of file cl_platform.h.

#define CL_DBL_MIN_EXP   -1021

Definition at line 260 of file cl_platform.h.

#define CL_DBL_RADIX   2

Definition at line 261 of file cl_platform.h.

#define CL_EXT_PREFIX__VERSION_1_0_DEPRECATED

Definition at line 113 of file cl_platform.h.

#define CL_EXT_PREFIX__VERSION_1_1_DEPRECATED

Definition at line 116 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_1_0

Definition at line 73 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_1_0_DEPRECATED

Definition at line 112 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_1_1

Definition at line 75 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED

Definition at line 115 of file cl_platform.h.

#define CL_EXT_SUFFIX__VERSION_1_2

Definition at line 77 of file cl_platform.h.

#define CL_EXTENSION_WEAK_LINK

Definition at line 71 of file cl_platform.h.

#define CL_FLT_DIG   6

Definition at line 244 of file cl_platform.h.

#define CL_FLT_EPSILON   0x1.0p-23f

Definition at line 253 of file cl_platform.h.

#define CL_FLT_MANT_DIG   24

Definition at line 245 of file cl_platform.h.

#define CL_FLT_MAX   0x1.fffffep127f

Definition at line 251 of file cl_platform.h.

#define CL_FLT_MAX_10_EXP   +38

Definition at line 246 of file cl_platform.h.

#define CL_FLT_MAX_EXP   +128

Definition at line 247 of file cl_platform.h.

#define CL_FLT_MIN   0x1.0p-126f

Definition at line 252 of file cl_platform.h.

#define CL_FLT_MIN_10_EXP   -37

Definition at line 248 of file cl_platform.h.

#define CL_FLT_MIN_EXP   -125

Definition at line 249 of file cl_platform.h.

#define CL_FLT_RADIX   2

Definition at line 250 of file cl_platform.h.

#define CL_HUGE_VAL   ((cl_double) 1e500)

Definition at line 300 of file cl_platform.h.

#define CL_HUGE_VALF   ((cl_float) 1e50)

Definition at line 299 of file cl_platform.h.

#define CL_INFINITY   CL_HUGE_VALF

Definition at line 305 of file cl_platform.h.

#define CL_INT_MAX   2147483647

Definition at line 237 of file cl_platform.h.

#define CL_INT_MIN   (-2147483647-1)

Definition at line 238 of file cl_platform.h.

#define CL_LONG_MAX   ((cl_long) 0x7FFFFFFFFFFFFFFFLL)

Definition at line 240 of file cl_platform.h.

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

Definition at line 241 of file cl_platform.h.

#define CL_M_1_PI   0.318309886183790691216

Definition at line 274 of file cl_platform.h.

#define CL_M_1_PI_F   0.31830987334251f

Definition at line 288 of file cl_platform.h.

#define CL_M_2_PI   0.636619772367581382433

Definition at line 275 of file cl_platform.h.

#define CL_M_2_PI_F   0.63661974668503f

Definition at line 289 of file cl_platform.h.

#define CL_M_2_SQRTPI   1.128379167095512558561

Definition at line 276 of file cl_platform.h.

#define CL_M_2_SQRTPI_F   1.12837922573090f

Definition at line 290 of file cl_platform.h.

#define CL_M_E   2.718281828459045090796

Definition at line 266 of file cl_platform.h.

#define CL_M_E_F   2.71828174591064f

Definition at line 280 of file cl_platform.h.

#define CL_M_LN10   2.302585092994045901094

Definition at line 270 of file cl_platform.h.

#define CL_M_LN10_F   2.30258512496948f

Definition at line 284 of file cl_platform.h.

#define CL_M_LN2   0.693147180559945286227

Definition at line 269 of file cl_platform.h.

#define CL_M_LN2_F   0.69314718246460f

Definition at line 283 of file cl_platform.h.

#define CL_M_LOG10E   0.434294481903251816668

Definition at line 268 of file cl_platform.h.

#define CL_M_LOG10E_F   0.43429449200630f

Definition at line 282 of file cl_platform.h.

#define CL_M_LOG2E   1.442695040888963387005

Definition at line 267 of file cl_platform.h.

#define CL_M_LOG2E_F   1.44269502162933f

Definition at line 281 of file cl_platform.h.

#define CL_M_PI   3.141592653589793115998

Definition at line 271 of file cl_platform.h.

#define CL_M_PI_2   1.570796326794896557999

Definition at line 272 of file cl_platform.h.

#define CL_M_PI_2_F   1.57079637050629f

Definition at line 286 of file cl_platform.h.

#define CL_M_PI_4   0.785398163397448278999

Definition at line 273 of file cl_platform.h.

#define CL_M_PI_4_F   0.78539818525314f

Definition at line 287 of file cl_platform.h.

#define CL_M_PI_F   3.14159274101257f

Definition at line 285 of file cl_platform.h.

#define CL_M_SQRT1_2   0.707106781186547572737

Definition at line 278 of file cl_platform.h.

#define CL_M_SQRT1_2_F   0.70710676908493f

Definition at line 292 of file cl_platform.h.

#define CL_M_SQRT2   1.414213562373095145475

Definition at line 277 of file cl_platform.h.

#define CL_M_SQRT2_F   1.41421353816986f

Definition at line 291 of file cl_platform.h.

#define CL_MAXFLOAT   CL_FLT_MAX

Definition at line 304 of file cl_platform.h.

#define CL_NAN   nanf( "" )

Definition at line 302 of file cl_platform.h.

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

Definition at line 1266 of file cl_platform.h.

#define CL_SCHAR_MAX   127

Definition at line 229 of file cl_platform.h.

#define CL_SCHAR_MIN   (-127-1)

Definition at line 230 of file cl_platform.h.

#define CL_SHRT_MAX   32767

Definition at line 234 of file cl_platform.h.

#define CL_SHRT_MIN   (-32767-1)

Definition at line 235 of file cl_platform.h.

#define CL_UCHAR_MAX   255

Definition at line 233 of file cl_platform.h.

#define CL_UINT_MAX   0xffffffffU

Definition at line 239 of file cl_platform.h.

#define CL_ULONG_MAX   ((cl_ulong) 0xFFFFFFFFFFFFFFFFULL)

Definition at line 242 of file cl_platform.h.

#define CL_USHRT_MAX   65535

Definition at line 236 of file cl_platform.h.

Typedef Documentation

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

Definition at line 216 of file cl_platform.h.

typedef int8_t cl_char

Definition at line 214 of file cl_platform.h.

typedef cl_char4 cl_char3

Definition at line 527 of file cl_platform.h.

Definition at line 1201 of file cl_platform.h.

Definition at line 1126 of file cl_platform.h.

typedef unsigned int cl_GLenum

Definition at line 314 of file cl_platform.h.

typedef int cl_GLint

Definition at line 313 of file cl_platform.h.

typedef unsigned int cl_GLuint

Definition at line 312 of file cl_platform.h.

typedef cl_int4 cl_int3

Definition at line 826 of file cl_platform.h.

typedef cl_long4 cl_long3

Definition at line 975 of file cl_platform.h.

Definition at line 677 of file cl_platform.h.

typedef uint8_t cl_uchar

Definition at line 215 of file cl_platform.h.

Definition at line 602 of file cl_platform.h.

typedef cl_uint4 cl_uint3

Definition at line 901 of file cl_platform.h.

Definition at line 1050 of file cl_platform.h.

Definition at line 752 of file cl_platform.h.

Function Documentation

float nanf ( const char *  )