Bullet Collision Detection & Physics Library
Classes | Macros | Typedefs
cl_platform.h File Reference
#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

struct  MiniCLKernelDesc
 

Macros

#define CL_PLATFORM_MINI_CL   0x12345
 
#define MINICL_REGISTER(__kernel_func)   static MiniCLKernelDesc __kernel_func##Desc((void*)__kernel_func, #__kernel_func);
 
#define CL_API_ENTRY
 
#define CL_API_CALL
 
#define CL_API_SUFFIX__VERSION_1_0
 
#define CL_EXTENSION_WEAK_LINK
 
#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
 

Typedefs

typedef signed __int8 int8_t
 
typedef unsigned __int8 uint8_t
 
typedef signed __int16 int16_t
 
typedef unsigned __int16 uint16_t
 
typedef signed __int32 int32_t
 
typedef unsigned __int32 uint32_t
 
typedef signed __int64 int64_t
 
typedef unsigned __int64 uint64_t
 
typedef int8_t cl_char
 
typedef uint8_t cl_uchar
 
typedef int16_t cl_short
 
typedef uint16_t cl_ushort
 
typedef int32_t cl_int
 
typedef uint32_t cl_uint
 
typedef int64_t cl_long
 
typedef uint64_t cl_ulong
 
typedef uint16_t cl_half
 
typedef float cl_float
 
typedef double cl_double
 
typedef int8_t cl_char2 [2]
 
typedef int8_t cl_char4 [4]
 
typedef int8_t cl_char8 [8]
 
typedef int8_t cl_char16 [16]
 
typedef uint8_t cl_uchar2 [2]
 
typedef uint8_t cl_uchar4 [4]
 
typedef uint8_t cl_uchar8 [8]
 
typedef uint8_t cl_uchar16 [16]
 
typedef int16_t cl_short2 [2]
 
typedef int16_t cl_short4 [4]
 
typedef int16_t cl_short8 [8]
 
typedef int16_t cl_short16 [16]
 
typedef uint16_t cl_ushort2 [2]
 
typedef uint16_t cl_ushort4 [4]
 
typedef uint16_t cl_ushort8 [8]
 
typedef uint16_t cl_ushort16 [16]
 
typedef int32_t cl_int2 [2]
 
typedef int32_t cl_int4 [4]
 
typedef int32_t cl_int8 [8]
 
typedef int32_t cl_int16 [16]
 
typedef uint32_t cl_uint2 [2]
 
typedef uint32_t cl_uint4 [4]
 
typedef uint32_t cl_uint8 [8]
 
typedef uint32_t cl_uint16 [16]
 
typedef int64_t cl_long2 [2]
 
typedef int64_t cl_long4 [4]
 
typedef int64_t cl_long8 [8]
 
typedef int64_t cl_long16 [16]
 
typedef uint64_t cl_ulong2 [2]
 
typedef uint64_t cl_ulong4 [4]
 
typedef uint64_t cl_ulong8 [8]
 
typedef uint64_t cl_ulong16 [16]
 
typedef float cl_float2 [2]
 
typedef float cl_float4 [4]
 
typedef float cl_float8 [8]
 
typedef float cl_float16 [16]
 
typedef double cl_double2 [2]
 
typedef double cl_double4 [4]
 
typedef double cl_double8 [8]
 
typedef double cl_double16 [16]
 

Macro Definition Documentation

#define CL_API_CALL

Definition at line 47 of file cl_platform.h.

#define CL_API_ENTRY

Definition at line 46 of file cl_platform.h.

#define CL_API_SUFFIX__VERSION_1_0

Definition at line 52 of file cl_platform.h.

#define CL_CHAR_BIT   8

Definition at line 210 of file cl_platform.h.

#define CL_CHAR_MAX   CL_SCHAR_MAX

Definition at line 213 of file cl_platform.h.

#define CL_CHAR_MIN   CL_SCHAR_MIN

Definition at line 214 of file cl_platform.h.

#define CL_DBL_DIG   15

Definition at line 237 of file cl_platform.h.

#define CL_DBL_EPSILON   0x1.0p-52

Definition at line 246 of file cl_platform.h.

#define CL_DBL_MANT_DIG   53

Definition at line 238 of file cl_platform.h.

#define CL_DBL_MAX   0x1.fffffffffffffp1023

Definition at line 244 of file cl_platform.h.

#define CL_DBL_MAX_10_EXP   +308

Definition at line 239 of file cl_platform.h.

#define CL_DBL_MAX_EXP   +1024

Definition at line 240 of file cl_platform.h.

#define CL_DBL_MIN   0x1.0p-1022

Definition at line 245 of file cl_platform.h.

#define CL_DBL_MIN_10_EXP   -307

Definition at line 241 of file cl_platform.h.

#define CL_DBL_MIN_EXP   -1021

Definition at line 242 of file cl_platform.h.

#define CL_DBL_RADIX   2

Definition at line 243 of file cl_platform.h.

#define CL_EXTENSION_WEAK_LINK

Definition at line 53 of file cl_platform.h.

#define CL_FLT_DIG   6

Definition at line 226 of file cl_platform.h.

#define CL_FLT_EPSILON   0x1.0p-23f

Definition at line 235 of file cl_platform.h.

#define CL_FLT_MANT_DIG   24

Definition at line 227 of file cl_platform.h.

#define CL_FLT_MAX   0x1.fffffep127f

Definition at line 233 of file cl_platform.h.

#define CL_FLT_MAX_10_EXP   +38

Definition at line 228 of file cl_platform.h.

#define CL_FLT_MAX_EXP   +128

Definition at line 229 of file cl_platform.h.

#define CL_FLT_MIN   0x1.0p-126f

Definition at line 234 of file cl_platform.h.

#define CL_FLT_MIN_10_EXP   -37

Definition at line 230 of file cl_platform.h.

#define CL_FLT_MIN_EXP   -125

Definition at line 231 of file cl_platform.h.

#define CL_FLT_RADIX   2

Definition at line 232 of file cl_platform.h.

#define CL_INT_MAX   2147483647

Definition at line 219 of file cl_platform.h.

#define CL_INT_MIN   (-2147483647-1)

Definition at line 220 of file cl_platform.h.

#define CL_LONG_MAX   ((cl_long) 0x7FFFFFFFFFFFFFFFLL)

Definition at line 222 of file cl_platform.h.

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

Definition at line 223 of file cl_platform.h.

#define CL_PLATFORM_MINI_CL   0x12345

Definition at line 27 of file cl_platform.h.

#define CL_SCHAR_MAX   127

Definition at line 211 of file cl_platform.h.

#define CL_SCHAR_MIN   (-127-1)

Definition at line 212 of file cl_platform.h.

#define CL_SHRT_MAX   32767

Definition at line 216 of file cl_platform.h.

#define CL_SHRT_MIN   (-32767-1)

Definition at line 217 of file cl_platform.h.

#define CL_UCHAR_MAX   255

Definition at line 215 of file cl_platform.h.

#define CL_UINT_MAX   0xffffffffU

Definition at line 221 of file cl_platform.h.

#define CL_ULONG_MAX   ((cl_ulong) 0xFFFFFFFFFFFFFFFFULL)

Definition at line 224 of file cl_platform.h.

#define CL_USHRT_MAX   65535

Definition at line 218 of file cl_platform.h.

#define MINICL_REGISTER (   __kernel_func)    static MiniCLKernelDesc __kernel_func##Desc((void*)__kernel_func, #__kernel_func);

Definition at line 34 of file cl_platform.h.

Typedef Documentation

typedef int8_t cl_char

Definition at line 66 of file cl_platform.h.

typedef int8_t cl_char16[16]

Definition at line 83 of file cl_platform.h.

typedef int8_t cl_char2[2]

Definition at line 80 of file cl_platform.h.

typedef int8_t cl_char4[4]

Definition at line 81 of file cl_platform.h.

typedef int8_t cl_char8[8]

Definition at line 82 of file cl_platform.h.

typedef double cl_double

Definition at line 77 of file cl_platform.h.

typedef double cl_double16[16]

Definition at line 124 of file cl_platform.h.

typedef double cl_double2[2]

Definition at line 121 of file cl_platform.h.

typedef double cl_double4[4]

Definition at line 122 of file cl_platform.h.

typedef double cl_double8[8]

Definition at line 123 of file cl_platform.h.

typedef float cl_float

Definition at line 76 of file cl_platform.h.

typedef float cl_float16[16]

Definition at line 119 of file cl_platform.h.

typedef float cl_float2[2]

Definition at line 116 of file cl_platform.h.

typedef float cl_float4[4]

Definition at line 117 of file cl_platform.h.

typedef float cl_float8[8]

Definition at line 118 of file cl_platform.h.

typedef uint16_t cl_half

Definition at line 75 of file cl_platform.h.

typedef int32_t cl_int

Definition at line 70 of file cl_platform.h.

typedef int32_t cl_int16[16]

Definition at line 101 of file cl_platform.h.

typedef int32_t cl_int2[2]

Definition at line 98 of file cl_platform.h.

typedef int32_t cl_int4[4]

Definition at line 99 of file cl_platform.h.

typedef int32_t cl_int8[8]

Definition at line 100 of file cl_platform.h.

typedef int64_t cl_long

Definition at line 72 of file cl_platform.h.

typedef int64_t cl_long16[16]

Definition at line 110 of file cl_platform.h.

typedef int64_t cl_long2[2]

Definition at line 107 of file cl_platform.h.

typedef int64_t cl_long4[4]

Definition at line 108 of file cl_platform.h.

typedef int64_t cl_long8[8]

Definition at line 109 of file cl_platform.h.

typedef int16_t cl_short

Definition at line 68 of file cl_platform.h.

typedef int16_t cl_short16[16]

Definition at line 92 of file cl_platform.h.

typedef int16_t cl_short2[2]

Definition at line 89 of file cl_platform.h.

typedef int16_t cl_short4[4]

Definition at line 90 of file cl_platform.h.

typedef int16_t cl_short8[8]

Definition at line 91 of file cl_platform.h.

typedef uint8_t cl_uchar

Definition at line 67 of file cl_platform.h.

typedef uint8_t cl_uchar16[16]

Definition at line 87 of file cl_platform.h.

typedef uint8_t cl_uchar2[2]

Definition at line 84 of file cl_platform.h.

typedef uint8_t cl_uchar4[4]

Definition at line 85 of file cl_platform.h.

typedef uint8_t cl_uchar8[8]

Definition at line 86 of file cl_platform.h.

typedef uint32_t cl_uint

Definition at line 71 of file cl_platform.h.

typedef uint32_t cl_uint16[16]

Definition at line 105 of file cl_platform.h.

typedef uint32_t cl_uint2[2]

Definition at line 102 of file cl_platform.h.

typedef uint32_t cl_uint4[4]

Definition at line 103 of file cl_platform.h.

typedef uint32_t cl_uint8[8]

Definition at line 104 of file cl_platform.h.

typedef uint64_t cl_ulong

Definition at line 73 of file cl_platform.h.

typedef uint64_t cl_ulong16[16]

Definition at line 114 of file cl_platform.h.

typedef uint64_t cl_ulong2[2]

Definition at line 111 of file cl_platform.h.

typedef uint64_t cl_ulong4[4]

Definition at line 112 of file cl_platform.h.

typedef uint64_t cl_ulong8[8]

Definition at line 113 of file cl_platform.h.

Definition at line 69 of file cl_platform.h.

typedef uint16_t cl_ushort16[16]

Definition at line 96 of file cl_platform.h.

typedef uint16_t cl_ushort2[2]

Definition at line 93 of file cl_platform.h.

typedef uint16_t cl_ushort4[4]

Definition at line 94 of file cl_platform.h.

typedef uint16_t cl_ushort8[8]

Definition at line 95 of file cl_platform.h.

typedef signed __int16 int16_t

Definition at line 59 of file cl_platform.h.

typedef signed __int32 int32_t

Definition at line 61 of file cl_platform.h.

typedef signed __int64 int64_t

Definition at line 63 of file cl_platform.h.

typedef signed __int8 int8_t

Definition at line 57 of file cl_platform.h.

typedef unsigned __int16 uint16_t

Definition at line 60 of file cl_platform.h.

typedef unsigned __int32 uint32_t

Definition at line 62 of file cl_platform.h.

typedef unsigned __int64 uint64_t

Definition at line 64 of file cl_platform.h.

typedef unsigned __int8 uint8_t

Definition at line 58 of file cl_platform.h.