Hash :
674f4b35
Author :
Date :
2020-02-18T21:52:43
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257
CHAR_BIT
CHAR_MAX
CHAR_MIN
CLK_ADDRESS_CLAMP
CLK_ADDRESS_CLAMP_TO_EDGE
CLK_ADDRESS_NONE
CLK_ADDRESS_REPEAT
CLK_FILTER_LINEAR
CLK_FILTER_NEAREST
CLK_GLOBAL_MEM_FENCE
CLK_LOCAL_MEM_FENCE
CLK_NORMALIZED_COORDS_FALSE
CLK_NORMALIZED_COORDS_TRUE
CL_A
CL_ARGB
CL_BGRA
CL_FLOAT
CL_HALF_FLOAT
CL_INTENSITY
CL_LUMINANCE
CL_R
CL_RA
CL_RG
CL_RGB
CL_RGBA
CL_RGBx
CL_RGx
CL_Rx
CL_SIGNED_INT16
CL_SIGNED_INT32
CL_SIGNED_INT8
CL_SNORM_INT16
CL_SNORM_INT8
CL_UNORM_INT16
CL_UNORM_INT8
CL_UNORM_INT_101010
CL_UNORM_SHORT_555
CL_UNORM_SHORT_565
CL_UNSIGNED_INT16
CL_UNSIGNED_INT32
CL_UNSIGNED_INT8
DBL_DIG
DBL_EPSILON
DBL_MANT_DIG
DBL_MAX
DBL_MAX_10_EXP
DBL_MIN
DBL_MIN_10_EXP
DBL_MIN_EXP
FLT_DIG
FLT_EPSILON
FLT_MANT_DIG
FLT_MAX
FLT_MAX_10_EXP
FLT_MAX_EXP
FLT_MIN
FLT_MIN_10_EXP
FLT_MIN_EXP
FLT_RADIX
HALF_DIG
HALF_EPSILON
HALF_MANT_DIG
HALF_MAX
HALF_MAX_10_EXP
HALF_MAX_EXP
HALF_MIN
HALF_MIN_10_EXP
HALF_MIN_EXP
HUGE_VALF
HUGE_VAL
INFINITY
INT_MAX
INT_MIN
LONG_MAX
LONG_MIN
MAXFLOAT
M_1_PI
M_2_PI
M_2_SQRTPI
M_E
M_LN10
M_LN2
M_LOG10E
M_LOG2E
M_PI
M_PI_2
M_PI_4
M_SQRT1_2
M_SQRT2
M_1_PI_F
M_2_PI_F
M_2_SQRTPI_F
M_E_F
M_LN10_F
M_LN2_F
M_LOG10E_F
M_LOG2E_F
M_PI_F
M_PI_2_F
M_PI_4_F
M_SQRT1_2_F
M_SQRT2_F
M_1_PI_H
M_2_PI_H
M_2_SQRTPI_H
M_E_H
M_LN10_H
M_LN2_H
M_LOG10E_H
M_LOG2E_H
M_PI_H
M_PI_2_H
M_PI_4_H
M_SQRT1_2_H
M_SQRT2_H
NAN
SCHAR_MAX
SCHAR_MIN
SHRT_MAX
SHRT_MIN
UCHAR_MAX
USHRT_MAX
UINT_MAX
ULONG_MAX
----------------------------------------------------
[
["constant-opencl-kernel", "CHAR_BIT"],
["constant-opencl-kernel", "CHAR_MAX"],
["constant-opencl-kernel", "CHAR_MIN"],
["constant-opencl-kernel", "CLK_ADDRESS_CLAMP"],
["constant-opencl-kernel", "CLK_ADDRESS_CLAMP_TO_EDGE"],
["constant-opencl-kernel", "CLK_ADDRESS_NONE"],
["constant-opencl-kernel", "CLK_ADDRESS_REPEAT"],
["constant-opencl-kernel", "CLK_FILTER_LINEAR"],
["constant-opencl-kernel", "CLK_FILTER_NEAREST"],
["constant-opencl-kernel", "CLK_GLOBAL_MEM_FENCE"],
["constant-opencl-kernel", "CLK_LOCAL_MEM_FENCE"],
["constant-opencl-kernel", "CLK_NORMALIZED_COORDS_FALSE"],
["constant-opencl-kernel", "CLK_NORMALIZED_COORDS_TRUE"],
["constant-opencl-kernel", "CL_A"],
["constant-opencl-kernel", "CL_ARGB"],
["constant-opencl-kernel", "CL_BGRA"],
["constant-opencl-kernel", "CL_FLOAT"],
["constant-opencl-kernel", "CL_HALF_FLOAT"],
["constant-opencl-kernel", "CL_INTENSITY"],
["constant-opencl-kernel", "CL_LUMINANCE"],
["constant-opencl-kernel", "CL_R"],
["constant-opencl-kernel", "CL_RA"],
["constant-opencl-kernel", "CL_RG"],
["constant-opencl-kernel", "CL_RGB"],
["constant-opencl-kernel", "CL_RGBA"],
["constant-opencl-kernel", "CL_RGBx"],
["constant-opencl-kernel", "CL_RGx"],
["constant-opencl-kernel", "CL_Rx"],
["constant-opencl-kernel", "CL_SIGNED_INT16"],
["constant-opencl-kernel", "CL_SIGNED_INT32"],
["constant-opencl-kernel", "CL_SIGNED_INT8"],
["constant-opencl-kernel", "CL_SNORM_INT16"],
["constant-opencl-kernel", "CL_SNORM_INT8"],
["constant-opencl-kernel", "CL_UNORM_INT16"],
["constant-opencl-kernel", "CL_UNORM_INT8"],
["constant-opencl-kernel", "CL_UNORM_INT_101010"],
["constant-opencl-kernel", "CL_UNORM_SHORT_555"],
["constant-opencl-kernel", "CL_UNORM_SHORT_565"],
["constant-opencl-kernel", "CL_UNSIGNED_INT16"],
["constant-opencl-kernel", "CL_UNSIGNED_INT32"],
["constant-opencl-kernel", "CL_UNSIGNED_INT8"],
["constant-opencl-kernel", "DBL_DIG"],
["constant-opencl-kernel", "DBL_EPSILON"],
["constant-opencl-kernel", "DBL_MANT_DIG"],
["constant-opencl-kernel", "DBL_MAX"],
["constant-opencl-kernel", "DBL_MAX_10_EXP"],
["constant-opencl-kernel", "DBL_MIN"],
["constant-opencl-kernel", "DBL_MIN_10_EXP"],
["constant-opencl-kernel", "DBL_MIN_EXP"],
["constant-opencl-kernel", "FLT_DIG"],
["constant-opencl-kernel", "FLT_EPSILON"],
["constant-opencl-kernel", "FLT_MANT_DIG"],
["constant-opencl-kernel", "FLT_MAX"],
["constant-opencl-kernel", "FLT_MAX_10_EXP"],
["constant-opencl-kernel", "FLT_MAX_EXP"],
["constant-opencl-kernel", "FLT_MIN"],
["constant-opencl-kernel", "FLT_MIN_10_EXP"],
["constant-opencl-kernel", "FLT_MIN_EXP"],
["constant-opencl-kernel", "FLT_RADIX"],
["constant-opencl-kernel", "HALF_DIG"],
["constant-opencl-kernel", "HALF_EPSILON"],
["constant-opencl-kernel", "HALF_MANT_DIG"],
["constant-opencl-kernel", "HALF_MAX"],
["constant-opencl-kernel", "HALF_MAX_10_EXP"],
["constant-opencl-kernel", "HALF_MAX_EXP"],
["constant-opencl-kernel", "HALF_MIN"],
["constant-opencl-kernel", "HALF_MIN_10_EXP"],
["constant-opencl-kernel", "HALF_MIN_EXP"],
["constant-opencl-kernel", "HUGE_VALF"],
["constant-opencl-kernel", "HUGE_VAL"],
["constant-opencl-kernel", "INFINITY"],
["constant-opencl-kernel", "INT_MAX"],
["constant-opencl-kernel", "INT_MIN"],
["constant-opencl-kernel", "LONG_MAX"],
["constant-opencl-kernel", "LONG_MIN"],
["constant-opencl-kernel", "MAXFLOAT"],
["constant-opencl-kernel", "M_1_PI"],
["constant-opencl-kernel", "M_2_PI"],
["constant-opencl-kernel", "M_2_SQRTPI"],
["constant-opencl-kernel", "M_E"],
["constant-opencl-kernel", "M_LN10"],
["constant-opencl-kernel", "M_LN2"],
["constant-opencl-kernel", "M_LOG10E"],
["constant-opencl-kernel", "M_LOG2E"],
["constant-opencl-kernel", "M_PI"],
["constant-opencl-kernel", "M_PI_2"],
["constant-opencl-kernel", "M_PI_4"],
["constant-opencl-kernel", "M_SQRT1_2"],
["constant-opencl-kernel", "M_SQRT2"],
["constant-opencl-kernel", "M_1_PI_F"],
["constant-opencl-kernel", "M_2_PI_F"],
["constant-opencl-kernel", "M_2_SQRTPI_F"],
["constant-opencl-kernel", "M_E_F"],
["constant-opencl-kernel", "M_LN10_F"],
["constant-opencl-kernel", "M_LN2_F"],
["constant-opencl-kernel", "M_LOG10E_F"],
["constant-opencl-kernel", "M_LOG2E_F"],
["constant-opencl-kernel", "M_PI_F"],
["constant-opencl-kernel", "M_PI_2_F"],
["constant-opencl-kernel", "M_PI_4_F"],
["constant-opencl-kernel", "M_SQRT1_2_F"],
["constant-opencl-kernel", "M_SQRT2_F"],
["constant-opencl-kernel", "M_1_PI_H"],
["constant-opencl-kernel", "M_2_PI_H"],
["constant-opencl-kernel", "M_2_SQRTPI_H"],
["constant-opencl-kernel", "M_E_H"],
["constant-opencl-kernel", "M_LN10_H"],
["constant-opencl-kernel", "M_LN2_H"],
["constant-opencl-kernel", "M_LOG10E_H"],
["constant-opencl-kernel", "M_LOG2E_H"],
["constant-opencl-kernel", "M_PI_H"],
["constant-opencl-kernel", "M_PI_2_H"],
["constant-opencl-kernel", "M_PI_4_H"],
["constant-opencl-kernel", "M_SQRT1_2_H"],
["constant-opencl-kernel", "M_SQRT2_H"],
["constant-opencl-kernel", "NAN"],
["constant-opencl-kernel", "SCHAR_MAX"],
["constant-opencl-kernel", "SCHAR_MIN"],
["constant-opencl-kernel", "SHRT_MAX"],
["constant-opencl-kernel", "SHRT_MIN"],
["constant-opencl-kernel", "UCHAR_MAX"],
["constant-opencl-kernel", "USHRT_MAX"],
["constant-opencl-kernel", "UINT_MAX"],
["constant-opencl-kernel", "ULONG_MAX"]
]
----------------------------------------------------
Checks for all constant names in OpenCL kernel code.