Classes | Defines | Typedefs | Functions

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_char16
union  cl_char2
union  cl_char4
union  cl_char8
union  cl_double16
union  cl_double2
union  cl_double4
union  cl_double8
union  cl_float16
union  cl_float2
union  cl_float4
union  cl_float8
union  cl_int16
union  cl_int2
union  cl_int4
union  cl_int8
union  cl_long16
union  cl_long2
union  cl_long4
union  cl_long8
union  cl_short16
union  cl_short2
union  cl_short4
union  cl_short8
union  cl_uchar16
union  cl_uchar2
union  cl_uchar4
union  cl_uchar8
union  cl_uint16
union  cl_uint2
union  cl_uint4
union  cl_uint8
union  cl_ulong16
union  cl_ulong2
union  cl_ulong4
union  cl_ulong8
union  cl_ushort16
union  cl_ushort2
union  cl_ushort4
union  cl_ushort8

Defines

#define __CL_STRINGIFY(_x)   # _x
#define _CL_STRINGIFY(_x)   __CL_STRINGIFY( _x )
#define CL_ALIGNED(_x)
#define CL_API_CALL
#define CL_API_ENTRY
#define CL_API_SUFFIX__VERSION_1_0
#define CL_API_SUFFIX__VERSION_1_1
#define CL_CALLBACK
#define CL_CHAR_BIT   8
#define CL_CHAR_MAX   CL_SCHAR_MAX
#define CL_CHAR_MIN   CL_SCHAR_MIN
#define CL_DBL_DIG   15
#define CL_DBL_EPSILON   0x1.0p-52
#define CL_DBL_MANT_DIG   53
#define CL_DBL_MAX   0x1.fffffffffffffp1023
#define CL_DBL_MAX_10_EXP   +308
#define CL_DBL_MAX_EXP   +1024
#define CL_DBL_MIN   0x1.0p-1022
#define CL_DBL_MIN_10_EXP   -307
#define CL_DBL_MIN_EXP   -1021
#define CL_DBL_RADIX   2
#define CL_EXT_SUFFIX__VERSION_1_0
#define CL_EXT_SUFFIX__VERSION_1_0_DEPRECATED
#define CL_EXT_SUFFIX__VERSION_1_1
#define CL_EXTENSION_WEAK_LINK
#define CL_FLT_DIG   6
#define CL_FLT_EPSILON   0x1.0p-23f
#define CL_FLT_MANT_DIG   24
#define CL_FLT_MAX   0x1.fffffep127f
#define CL_FLT_MAX_10_EXP   +38
#define CL_FLT_MAX_EXP   +128
#define CL_FLT_MIN   0x1.0p-126f
#define CL_FLT_MIN_10_EXP   -37
#define CL_FLT_MIN_EXP   -125
#define CL_FLT_RADIX   2
#define CL_HUGE_VAL   ((cl_double) 1e500)
#define CL_HUGE_VALF   ((cl_float) 1e50)
#define CL_INFINITY   CL_HUGE_VALF
#define CL_INT_MAX   2147483647
#define CL_INT_MIN   (-2147483647-1)
#define CL_LONG_MAX   ((cl_long) 0x7FFFFFFFFFFFFFFFLL)
#define CL_LONG_MIN   ((cl_long) -0x7FFFFFFFFFFFFFFFLL - 1LL)
#define CL_M_1_PI   0.318309886183790691216
#define CL_M_1_PI_F   0.31830987334251f
#define CL_M_2_PI   0.636619772367581382433
#define CL_M_2_PI_F   0.63661974668503f
#define CL_M_2_SQRTPI   1.128379167095512558561
#define CL_M_2_SQRTPI_F   1.12837922573090f
#define CL_M_E   2.718281828459045090796
#define CL_M_E_F   2.71828174591064f
#define CL_M_LN10   2.302585092994045901094
#define CL_M_LN10_F   2.30258512496948f
#define CL_M_LN2   0.693147180559945286227
#define CL_M_LN2_F   0.69314718246460f
#define CL_M_LOG10E   0.434294481903251816668
#define CL_M_LOG10E_F   0.43429449200630f
#define CL_M_LOG2E   1.442695040888963387005
#define CL_M_LOG2E_F   1.44269502162933f
#define CL_M_PI   3.141592653589793115998
#define CL_M_PI_2   1.570796326794896557999
#define CL_M_PI_2_F   1.57079637050629f
#define CL_M_PI_4   0.785398163397448278999
#define CL_M_PI_4_F   0.78539818525314f
#define CL_M_PI_F   3.14159274101257f
#define CL_M_SQRT1_2   0.707106781186547572737
#define CL_M_SQRT1_2_F   0.70710676908493f
#define CL_M_SQRT2   1.414213562373095145475
#define CL_M_SQRT2_F   1.41421353816986f
#define CL_MAXFLOAT   CL_FLT_MAX
#define CL_NAN   nanf( "" )
#define CL_PROGRAM_STRING_DEBUG_INFO   "#line " _CL_STRINGIFY(__LINE__) " \"" __FILE__ "\" \n\n"
#define CL_SCHAR_MAX   127
#define CL_SCHAR_MIN   (-127-1)
#define CL_SHRT_MAX   32767
#define CL_SHRT_MIN   (-32767-1)
#define CL_UCHAR_MAX   255
#define CL_UINT_MAX   0xffffffffU
#define CL_ULONG_MAX   ((cl_ulong) 0xFFFFFFFFFFFFFFFFULL)
#define CL_USHRT_MAX   65535

Typedefs

typedef int16_t cl_short __attribute__ ((aligned(2)))
typedef short cl_byte16
typedef int cl_byte32
typedef long long cl_byte64
typedef char cl_byte8
typedef int8_t cl_char
typedef cl_char4 cl_char3
typedef cl_double4 cl_double3
typedef cl_float4 cl_float3
typedef unsigned int cl_GLenum
typedef int cl_GLint
typedef unsigned int cl_GLuint
typedef cl_int4 cl_int3
typedef cl_long4 cl_long3
typedef cl_short4 cl_short3
typedef unsigned short cl_ubyte16
typedef unsigned int cl_ubyte32
typedef unsigned long long cl_ubyte64
typedef unsigned char cl_ubyte8
typedef uint8_t cl_uchar
typedef cl_uchar4 cl_uchar3
typedef cl_uint4 cl_uint3
typedef cl_ulong4 cl_ulong3
typedef cl_ushort4 cl_ushort3

Functions

float nanf (const char *)