Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 1 | //===--- opencl-c.h - OpenCL C language builtin function header -----------===// |
| 2 | // |
Logan Chien | dbcf412 | 2019-03-21 10:50:25 +0800 | [diff] [blame] | 3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 4 | // See https://llvm.org/LICENSE.txt for license information. |
| 5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef _OPENCL_H_ |
| 10 | #define _OPENCL_H_ |
| 11 | |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 12 | #include "opencl-c-base.h" |
| 13 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 14 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15 | #ifndef cl_khr_depth_images |
| 16 | #define cl_khr_depth_images |
| 17 | #endif //cl_khr_depth_images |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 18 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 19 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 20 | #if __OPENCL_C_VERSION__ < CL_VERSION_2_0 |
| 21 | #ifdef cl_khr_3d_image_writes |
| 22 | #pragma OPENCL EXTENSION cl_khr_3d_image_writes : enable |
| 23 | #endif //cl_khr_3d_image_writes |
| 24 | #endif //__OPENCL_C_VERSION__ < CL_VERSION_2_0 |
| 25 | |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 26 | #if (defined(__OPENCL_CPP_VERSION__) || \ |
| 27 | (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)) && \ |
| 28 | (defined(__SPIR__) || defined(__SPIRV__)) |
Logan Chien | 969aea6 | 2018-12-05 18:40:57 +0800 | [diff] [blame] | 29 | #pragma OPENCL EXTENSION cl_intel_planar_yuv : begin |
| 30 | #pragma OPENCL EXTENSION cl_intel_planar_yuv : end |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 31 | #endif // (defined(__OPENCL_CPP_VERSION__) || |
| 32 | // (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)) && |
| 33 | // (defined(__SPIR__) || defined(__SPIRV__)) |
Logan Chien | 969aea6 | 2018-12-05 18:40:57 +0800 | [diff] [blame] | 34 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 35 | #define __ovld __attribute__((overloadable)) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 36 | #define __conv __attribute__((convergent)) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 37 | |
| 38 | // Optimizations |
| 39 | #define __purefn __attribute__((pure)) |
| 40 | #define __cnfn __attribute__((const)) |
| 41 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 42 | |
| 43 | // OpenCL v1.1/1.2/2.0 s6.2.3 - Explicit conversions |
| 44 | |
| 45 | char __ovld __cnfn convert_char_rte(char); |
| 46 | char __ovld __cnfn convert_char_sat_rte(char); |
| 47 | char __ovld __cnfn convert_char_rtz(char); |
| 48 | char __ovld __cnfn convert_char_sat_rtz(char); |
| 49 | char __ovld __cnfn convert_char_rtp(char); |
| 50 | char __ovld __cnfn convert_char_sat_rtp(char); |
| 51 | char __ovld __cnfn convert_char_rtn(char); |
| 52 | char __ovld __cnfn convert_char_sat_rtn(char); |
| 53 | char __ovld __cnfn convert_char(char); |
| 54 | char __ovld __cnfn convert_char_sat(char); |
| 55 | char __ovld __cnfn convert_char_rte(uchar); |
| 56 | char __ovld __cnfn convert_char_sat_rte(uchar); |
| 57 | char __ovld __cnfn convert_char_rtz(uchar); |
| 58 | char __ovld __cnfn convert_char_sat_rtz(uchar); |
| 59 | char __ovld __cnfn convert_char_rtp(uchar); |
| 60 | char __ovld __cnfn convert_char_sat_rtp(uchar); |
| 61 | char __ovld __cnfn convert_char_rtn(uchar); |
| 62 | char __ovld __cnfn convert_char_sat_rtn(uchar); |
| 63 | char __ovld __cnfn convert_char(uchar); |
| 64 | char __ovld __cnfn convert_char_sat(uchar); |
| 65 | char __ovld __cnfn convert_char_rte(short); |
| 66 | char __ovld __cnfn convert_char_sat_rte(short); |
| 67 | char __ovld __cnfn convert_char_rtz(short); |
| 68 | char __ovld __cnfn convert_char_sat_rtz(short); |
| 69 | char __ovld __cnfn convert_char_rtp(short); |
| 70 | char __ovld __cnfn convert_char_sat_rtp(short); |
| 71 | char __ovld __cnfn convert_char_rtn(short); |
| 72 | char __ovld __cnfn convert_char_sat_rtn(short); |
| 73 | char __ovld __cnfn convert_char(short); |
| 74 | char __ovld __cnfn convert_char_sat(short); |
| 75 | char __ovld __cnfn convert_char_rte(ushort); |
| 76 | char __ovld __cnfn convert_char_sat_rte(ushort); |
| 77 | char __ovld __cnfn convert_char_rtz(ushort); |
| 78 | char __ovld __cnfn convert_char_sat_rtz(ushort); |
| 79 | char __ovld __cnfn convert_char_rtp(ushort); |
| 80 | char __ovld __cnfn convert_char_sat_rtp(ushort); |
| 81 | char __ovld __cnfn convert_char_rtn(ushort); |
| 82 | char __ovld __cnfn convert_char_sat_rtn(ushort); |
| 83 | char __ovld __cnfn convert_char(ushort); |
| 84 | char __ovld __cnfn convert_char_sat(ushort); |
| 85 | char __ovld __cnfn convert_char_rte(int); |
| 86 | char __ovld __cnfn convert_char_sat_rte(int); |
| 87 | char __ovld __cnfn convert_char_rtz(int); |
| 88 | char __ovld __cnfn convert_char_sat_rtz(int); |
| 89 | char __ovld __cnfn convert_char_rtp(int); |
| 90 | char __ovld __cnfn convert_char_sat_rtp(int); |
| 91 | char __ovld __cnfn convert_char_rtn(int); |
| 92 | char __ovld __cnfn convert_char_sat_rtn(int); |
| 93 | char __ovld __cnfn convert_char(int); |
| 94 | char __ovld __cnfn convert_char_sat(int); |
| 95 | char __ovld __cnfn convert_char_rte(uint); |
| 96 | char __ovld __cnfn convert_char_sat_rte(uint); |
| 97 | char __ovld __cnfn convert_char_rtz(uint); |
| 98 | char __ovld __cnfn convert_char_sat_rtz(uint); |
| 99 | char __ovld __cnfn convert_char_rtp(uint); |
| 100 | char __ovld __cnfn convert_char_sat_rtp(uint); |
| 101 | char __ovld __cnfn convert_char_rtn(uint); |
| 102 | char __ovld __cnfn convert_char_sat_rtn(uint); |
| 103 | char __ovld __cnfn convert_char(uint); |
| 104 | char __ovld __cnfn convert_char_sat(uint); |
| 105 | char __ovld __cnfn convert_char_rte(long); |
| 106 | char __ovld __cnfn convert_char_sat_rte(long); |
| 107 | char __ovld __cnfn convert_char_rtz(long); |
| 108 | char __ovld __cnfn convert_char_sat_rtz(long); |
| 109 | char __ovld __cnfn convert_char_rtp(long); |
| 110 | char __ovld __cnfn convert_char_sat_rtp(long); |
| 111 | char __ovld __cnfn convert_char_rtn(long); |
| 112 | char __ovld __cnfn convert_char_sat_rtn(long); |
| 113 | char __ovld __cnfn convert_char(long); |
| 114 | char __ovld __cnfn convert_char_sat(long); |
| 115 | char __ovld __cnfn convert_char_rte(ulong); |
| 116 | char __ovld __cnfn convert_char_sat_rte(ulong); |
| 117 | char __ovld __cnfn convert_char_rtz(ulong); |
| 118 | char __ovld __cnfn convert_char_sat_rtz(ulong); |
| 119 | char __ovld __cnfn convert_char_rtp(ulong); |
| 120 | char __ovld __cnfn convert_char_sat_rtp(ulong); |
| 121 | char __ovld __cnfn convert_char_rtn(ulong); |
| 122 | char __ovld __cnfn convert_char_sat_rtn(ulong); |
| 123 | char __ovld __cnfn convert_char(ulong); |
| 124 | char __ovld __cnfn convert_char_sat(ulong); |
| 125 | char __ovld __cnfn convert_char_rte(float); |
| 126 | char __ovld __cnfn convert_char_sat_rte(float); |
| 127 | char __ovld __cnfn convert_char_rtz(float); |
| 128 | char __ovld __cnfn convert_char_sat_rtz(float); |
| 129 | char __ovld __cnfn convert_char_rtp(float); |
| 130 | char __ovld __cnfn convert_char_sat_rtp(float); |
| 131 | char __ovld __cnfn convert_char_rtn(float); |
| 132 | char __ovld __cnfn convert_char_sat_rtn(float); |
| 133 | char __ovld __cnfn convert_char(float); |
| 134 | char __ovld __cnfn convert_char_sat(float); |
| 135 | uchar __ovld __cnfn convert_uchar_rte(char); |
| 136 | uchar __ovld __cnfn convert_uchar_sat_rte(char); |
| 137 | uchar __ovld __cnfn convert_uchar_rtz(char); |
| 138 | uchar __ovld __cnfn convert_uchar_sat_rtz(char); |
| 139 | uchar __ovld __cnfn convert_uchar_rtp(char); |
| 140 | uchar __ovld __cnfn convert_uchar_sat_rtp(char); |
| 141 | uchar __ovld __cnfn convert_uchar_rtn(char); |
| 142 | uchar __ovld __cnfn convert_uchar_sat_rtn(char); |
| 143 | uchar __ovld __cnfn convert_uchar(char); |
| 144 | uchar __ovld __cnfn convert_uchar_sat(char); |
| 145 | uchar __ovld __cnfn convert_uchar_rte(uchar); |
| 146 | uchar __ovld __cnfn convert_uchar_sat_rte(uchar); |
| 147 | uchar __ovld __cnfn convert_uchar_rtz(uchar); |
| 148 | uchar __ovld __cnfn convert_uchar_sat_rtz(uchar); |
| 149 | uchar __ovld __cnfn convert_uchar_rtp(uchar); |
| 150 | uchar __ovld __cnfn convert_uchar_sat_rtp(uchar); |
| 151 | uchar __ovld __cnfn convert_uchar_rtn(uchar); |
| 152 | uchar __ovld __cnfn convert_uchar_sat_rtn(uchar); |
| 153 | uchar __ovld __cnfn convert_uchar(uchar); |
| 154 | uchar __ovld __cnfn convert_uchar_sat(uchar); |
| 155 | uchar __ovld __cnfn convert_uchar_rte(short); |
| 156 | uchar __ovld __cnfn convert_uchar_sat_rte(short); |
| 157 | uchar __ovld __cnfn convert_uchar_rtz(short); |
| 158 | uchar __ovld __cnfn convert_uchar_sat_rtz(short); |
| 159 | uchar __ovld __cnfn convert_uchar_rtp(short); |
| 160 | uchar __ovld __cnfn convert_uchar_sat_rtp(short); |
| 161 | uchar __ovld __cnfn convert_uchar_rtn(short); |
| 162 | uchar __ovld __cnfn convert_uchar_sat_rtn(short); |
| 163 | uchar __ovld __cnfn convert_uchar(short); |
| 164 | uchar __ovld __cnfn convert_uchar_sat(short); |
| 165 | uchar __ovld __cnfn convert_uchar_rte(ushort); |
| 166 | uchar __ovld __cnfn convert_uchar_sat_rte(ushort); |
| 167 | uchar __ovld __cnfn convert_uchar_rtz(ushort); |
| 168 | uchar __ovld __cnfn convert_uchar_sat_rtz(ushort); |
| 169 | uchar __ovld __cnfn convert_uchar_rtp(ushort); |
| 170 | uchar __ovld __cnfn convert_uchar_sat_rtp(ushort); |
| 171 | uchar __ovld __cnfn convert_uchar_rtn(ushort); |
| 172 | uchar __ovld __cnfn convert_uchar_sat_rtn(ushort); |
| 173 | uchar __ovld __cnfn convert_uchar(ushort); |
| 174 | uchar __ovld __cnfn convert_uchar_sat(ushort); |
| 175 | uchar __ovld __cnfn convert_uchar_rte(int); |
| 176 | uchar __ovld __cnfn convert_uchar_sat_rte(int); |
| 177 | uchar __ovld __cnfn convert_uchar_rtz(int); |
| 178 | uchar __ovld __cnfn convert_uchar_sat_rtz(int); |
| 179 | uchar __ovld __cnfn convert_uchar_rtp(int); |
| 180 | uchar __ovld __cnfn convert_uchar_sat_rtp(int); |
| 181 | uchar __ovld __cnfn convert_uchar_rtn(int); |
| 182 | uchar __ovld __cnfn convert_uchar_sat_rtn(int); |
| 183 | uchar __ovld __cnfn convert_uchar(int); |
| 184 | uchar __ovld __cnfn convert_uchar_sat(int); |
| 185 | uchar __ovld __cnfn convert_uchar_rte(uint); |
| 186 | uchar __ovld __cnfn convert_uchar_sat_rte(uint); |
| 187 | uchar __ovld __cnfn convert_uchar_rtz(uint); |
| 188 | uchar __ovld __cnfn convert_uchar_sat_rtz(uint); |
| 189 | uchar __ovld __cnfn convert_uchar_rtp(uint); |
| 190 | uchar __ovld __cnfn convert_uchar_sat_rtp(uint); |
| 191 | uchar __ovld __cnfn convert_uchar_rtn(uint); |
| 192 | uchar __ovld __cnfn convert_uchar_sat_rtn(uint); |
| 193 | uchar __ovld __cnfn convert_uchar(uint); |
| 194 | uchar __ovld __cnfn convert_uchar_sat(uint); |
| 195 | uchar __ovld __cnfn convert_uchar_rte(long); |
| 196 | uchar __ovld __cnfn convert_uchar_sat_rte(long); |
| 197 | uchar __ovld __cnfn convert_uchar_rtz(long); |
| 198 | uchar __ovld __cnfn convert_uchar_sat_rtz(long); |
| 199 | uchar __ovld __cnfn convert_uchar_rtp(long); |
| 200 | uchar __ovld __cnfn convert_uchar_sat_rtp(long); |
| 201 | uchar __ovld __cnfn convert_uchar_rtn(long); |
| 202 | uchar __ovld __cnfn convert_uchar_sat_rtn(long); |
| 203 | uchar __ovld __cnfn convert_uchar(long); |
| 204 | uchar __ovld __cnfn convert_uchar_sat(long); |
| 205 | uchar __ovld __cnfn convert_uchar_rte(ulong); |
| 206 | uchar __ovld __cnfn convert_uchar_sat_rte(ulong); |
| 207 | uchar __ovld __cnfn convert_uchar_rtz(ulong); |
| 208 | uchar __ovld __cnfn convert_uchar_sat_rtz(ulong); |
| 209 | uchar __ovld __cnfn convert_uchar_rtp(ulong); |
| 210 | uchar __ovld __cnfn convert_uchar_sat_rtp(ulong); |
| 211 | uchar __ovld __cnfn convert_uchar_rtn(ulong); |
| 212 | uchar __ovld __cnfn convert_uchar_sat_rtn(ulong); |
| 213 | uchar __ovld __cnfn convert_uchar(ulong); |
| 214 | uchar __ovld __cnfn convert_uchar_sat(ulong); |
| 215 | uchar __ovld __cnfn convert_uchar_rte(float); |
| 216 | uchar __ovld __cnfn convert_uchar_sat_rte(float); |
| 217 | uchar __ovld __cnfn convert_uchar_rtz(float); |
| 218 | uchar __ovld __cnfn convert_uchar_sat_rtz(float); |
| 219 | uchar __ovld __cnfn convert_uchar_rtp(float); |
| 220 | uchar __ovld __cnfn convert_uchar_sat_rtp(float); |
| 221 | uchar __ovld __cnfn convert_uchar_rtn(float); |
| 222 | uchar __ovld __cnfn convert_uchar_sat_rtn(float); |
| 223 | uchar __ovld __cnfn convert_uchar(float); |
| 224 | uchar __ovld __cnfn convert_uchar_sat(float); |
| 225 | |
| 226 | short __ovld __cnfn convert_short_rte(char); |
| 227 | short __ovld __cnfn convert_short_sat_rte(char); |
| 228 | short __ovld __cnfn convert_short_rtz(char); |
| 229 | short __ovld __cnfn convert_short_sat_rtz(char); |
| 230 | short __ovld __cnfn convert_short_rtp(char); |
| 231 | short __ovld __cnfn convert_short_sat_rtp(char); |
| 232 | short __ovld __cnfn convert_short_rtn(char); |
| 233 | short __ovld __cnfn convert_short_sat_rtn(char); |
| 234 | short __ovld __cnfn convert_short(char); |
| 235 | short __ovld __cnfn convert_short_sat(char); |
| 236 | short __ovld __cnfn convert_short_rte(uchar); |
| 237 | short __ovld __cnfn convert_short_sat_rte(uchar); |
| 238 | short __ovld __cnfn convert_short_rtz(uchar); |
| 239 | short __ovld __cnfn convert_short_sat_rtz(uchar); |
| 240 | short __ovld __cnfn convert_short_rtp(uchar); |
| 241 | short __ovld __cnfn convert_short_sat_rtp(uchar); |
| 242 | short __ovld __cnfn convert_short_rtn(uchar); |
| 243 | short __ovld __cnfn convert_short_sat_rtn(uchar); |
| 244 | short __ovld __cnfn convert_short(uchar); |
| 245 | short __ovld __cnfn convert_short_sat(uchar); |
| 246 | short __ovld __cnfn convert_short_rte(short); |
| 247 | short __ovld __cnfn convert_short_sat_rte(short); |
| 248 | short __ovld __cnfn convert_short_rtz(short); |
| 249 | short __ovld __cnfn convert_short_sat_rtz(short); |
| 250 | short __ovld __cnfn convert_short_rtp(short); |
| 251 | short __ovld __cnfn convert_short_sat_rtp(short); |
| 252 | short __ovld __cnfn convert_short_rtn(short); |
| 253 | short __ovld __cnfn convert_short_sat_rtn(short); |
| 254 | short __ovld __cnfn convert_short(short); |
| 255 | short __ovld __cnfn convert_short_sat(short); |
| 256 | short __ovld __cnfn convert_short_rte(ushort); |
| 257 | short __ovld __cnfn convert_short_sat_rte(ushort); |
| 258 | short __ovld __cnfn convert_short_rtz(ushort); |
| 259 | short __ovld __cnfn convert_short_sat_rtz(ushort); |
| 260 | short __ovld __cnfn convert_short_rtp(ushort); |
| 261 | short __ovld __cnfn convert_short_sat_rtp(ushort); |
| 262 | short __ovld __cnfn convert_short_rtn(ushort); |
| 263 | short __ovld __cnfn convert_short_sat_rtn(ushort); |
| 264 | short __ovld __cnfn convert_short(ushort); |
| 265 | short __ovld __cnfn convert_short_sat(ushort); |
| 266 | short __ovld __cnfn convert_short_rte(int); |
| 267 | short __ovld __cnfn convert_short_sat_rte(int); |
| 268 | short __ovld __cnfn convert_short_rtz(int); |
| 269 | short __ovld __cnfn convert_short_sat_rtz(int); |
| 270 | short __ovld __cnfn convert_short_rtp(int); |
| 271 | short __ovld __cnfn convert_short_sat_rtp(int); |
| 272 | short __ovld __cnfn convert_short_rtn(int); |
| 273 | short __ovld __cnfn convert_short_sat_rtn(int); |
| 274 | short __ovld __cnfn convert_short(int); |
| 275 | short __ovld __cnfn convert_short_sat(int); |
| 276 | short __ovld __cnfn convert_short_rte(uint); |
| 277 | short __ovld __cnfn convert_short_sat_rte(uint); |
| 278 | short __ovld __cnfn convert_short_rtz(uint); |
| 279 | short __ovld __cnfn convert_short_sat_rtz(uint); |
| 280 | short __ovld __cnfn convert_short_rtp(uint); |
| 281 | short __ovld __cnfn convert_short_sat_rtp(uint); |
| 282 | short __ovld __cnfn convert_short_rtn(uint); |
| 283 | short __ovld __cnfn convert_short_sat_rtn(uint); |
| 284 | short __ovld __cnfn convert_short(uint); |
| 285 | short __ovld __cnfn convert_short_sat(uint); |
| 286 | short __ovld __cnfn convert_short_rte(long); |
| 287 | short __ovld __cnfn convert_short_sat_rte(long); |
| 288 | short __ovld __cnfn convert_short_rtz(long); |
| 289 | short __ovld __cnfn convert_short_sat_rtz(long); |
| 290 | short __ovld __cnfn convert_short_rtp(long); |
| 291 | short __ovld __cnfn convert_short_sat_rtp(long); |
| 292 | short __ovld __cnfn convert_short_rtn(long); |
| 293 | short __ovld __cnfn convert_short_sat_rtn(long); |
| 294 | short __ovld __cnfn convert_short(long); |
| 295 | short __ovld __cnfn convert_short_sat(long); |
| 296 | short __ovld __cnfn convert_short_rte(ulong); |
| 297 | short __ovld __cnfn convert_short_sat_rte(ulong); |
| 298 | short __ovld __cnfn convert_short_rtz(ulong); |
| 299 | short __ovld __cnfn convert_short_sat_rtz(ulong); |
| 300 | short __ovld __cnfn convert_short_rtp(ulong); |
| 301 | short __ovld __cnfn convert_short_sat_rtp(ulong); |
| 302 | short __ovld __cnfn convert_short_rtn(ulong); |
| 303 | short __ovld __cnfn convert_short_sat_rtn(ulong); |
| 304 | short __ovld __cnfn convert_short(ulong); |
| 305 | short __ovld __cnfn convert_short_sat(ulong); |
| 306 | short __ovld __cnfn convert_short_rte(float); |
| 307 | short __ovld __cnfn convert_short_sat_rte(float); |
| 308 | short __ovld __cnfn convert_short_rtz(float); |
| 309 | short __ovld __cnfn convert_short_sat_rtz(float); |
| 310 | short __ovld __cnfn convert_short_rtp(float); |
| 311 | short __ovld __cnfn convert_short_sat_rtp(float); |
| 312 | short __ovld __cnfn convert_short_rtn(float); |
| 313 | short __ovld __cnfn convert_short_sat_rtn(float); |
| 314 | short __ovld __cnfn convert_short(float); |
| 315 | short __ovld __cnfn convert_short_sat(float); |
| 316 | ushort __ovld __cnfn convert_ushort_rte(char); |
| 317 | ushort __ovld __cnfn convert_ushort_sat_rte(char); |
| 318 | ushort __ovld __cnfn convert_ushort_rtz(char); |
| 319 | ushort __ovld __cnfn convert_ushort_sat_rtz(char); |
| 320 | ushort __ovld __cnfn convert_ushort_rtp(char); |
| 321 | ushort __ovld __cnfn convert_ushort_sat_rtp(char); |
| 322 | ushort __ovld __cnfn convert_ushort_rtn(char); |
| 323 | ushort __ovld __cnfn convert_ushort_sat_rtn(char); |
| 324 | ushort __ovld __cnfn convert_ushort(char); |
| 325 | ushort __ovld __cnfn convert_ushort_sat(char); |
| 326 | ushort __ovld __cnfn convert_ushort_rte(uchar); |
| 327 | ushort __ovld __cnfn convert_ushort_sat_rte(uchar); |
| 328 | ushort __ovld __cnfn convert_ushort_rtz(uchar); |
| 329 | ushort __ovld __cnfn convert_ushort_sat_rtz(uchar); |
| 330 | ushort __ovld __cnfn convert_ushort_rtp(uchar); |
| 331 | ushort __ovld __cnfn convert_ushort_sat_rtp(uchar); |
| 332 | ushort __ovld __cnfn convert_ushort_rtn(uchar); |
| 333 | ushort __ovld __cnfn convert_ushort_sat_rtn(uchar); |
| 334 | ushort __ovld __cnfn convert_ushort(uchar); |
| 335 | ushort __ovld __cnfn convert_ushort_sat(uchar); |
| 336 | ushort __ovld __cnfn convert_ushort_rte(short); |
| 337 | ushort __ovld __cnfn convert_ushort_sat_rte(short); |
| 338 | ushort __ovld __cnfn convert_ushort_rtz(short); |
| 339 | ushort __ovld __cnfn convert_ushort_sat_rtz(short); |
| 340 | ushort __ovld __cnfn convert_ushort_rtp(short); |
| 341 | ushort __ovld __cnfn convert_ushort_sat_rtp(short); |
| 342 | ushort __ovld __cnfn convert_ushort_rtn(short); |
| 343 | ushort __ovld __cnfn convert_ushort_sat_rtn(short); |
| 344 | ushort __ovld __cnfn convert_ushort(short); |
| 345 | ushort __ovld __cnfn convert_ushort_sat(short); |
| 346 | ushort __ovld __cnfn convert_ushort_rte(ushort); |
| 347 | ushort __ovld __cnfn convert_ushort_sat_rte(ushort); |
| 348 | ushort __ovld __cnfn convert_ushort_rtz(ushort); |
| 349 | ushort __ovld __cnfn convert_ushort_sat_rtz(ushort); |
| 350 | ushort __ovld __cnfn convert_ushort_rtp(ushort); |
| 351 | ushort __ovld __cnfn convert_ushort_sat_rtp(ushort); |
| 352 | ushort __ovld __cnfn convert_ushort_rtn(ushort); |
| 353 | ushort __ovld __cnfn convert_ushort_sat_rtn(ushort); |
| 354 | ushort __ovld __cnfn convert_ushort(ushort); |
| 355 | ushort __ovld __cnfn convert_ushort_sat(ushort); |
| 356 | ushort __ovld __cnfn convert_ushort_rte(int); |
| 357 | ushort __ovld __cnfn convert_ushort_sat_rte(int); |
| 358 | ushort __ovld __cnfn convert_ushort_rtz(int); |
| 359 | ushort __ovld __cnfn convert_ushort_sat_rtz(int); |
| 360 | ushort __ovld __cnfn convert_ushort_rtp(int); |
| 361 | ushort __ovld __cnfn convert_ushort_sat_rtp(int); |
| 362 | ushort __ovld __cnfn convert_ushort_rtn(int); |
| 363 | ushort __ovld __cnfn convert_ushort_sat_rtn(int); |
| 364 | ushort __ovld __cnfn convert_ushort(int); |
| 365 | ushort __ovld __cnfn convert_ushort_sat(int); |
| 366 | ushort __ovld __cnfn convert_ushort_rte(uint); |
| 367 | ushort __ovld __cnfn convert_ushort_sat_rte(uint); |
| 368 | ushort __ovld __cnfn convert_ushort_rtz(uint); |
| 369 | ushort __ovld __cnfn convert_ushort_sat_rtz(uint); |
| 370 | ushort __ovld __cnfn convert_ushort_rtp(uint); |
| 371 | ushort __ovld __cnfn convert_ushort_sat_rtp(uint); |
| 372 | ushort __ovld __cnfn convert_ushort_rtn(uint); |
| 373 | ushort __ovld __cnfn convert_ushort_sat_rtn(uint); |
| 374 | ushort __ovld __cnfn convert_ushort(uint); |
| 375 | ushort __ovld __cnfn convert_ushort_sat(uint); |
| 376 | ushort __ovld __cnfn convert_ushort_rte(long); |
| 377 | ushort __ovld __cnfn convert_ushort_sat_rte(long); |
| 378 | ushort __ovld __cnfn convert_ushort_rtz(long); |
| 379 | ushort __ovld __cnfn convert_ushort_sat_rtz(long); |
| 380 | ushort __ovld __cnfn convert_ushort_rtp(long); |
| 381 | ushort __ovld __cnfn convert_ushort_sat_rtp(long); |
| 382 | ushort __ovld __cnfn convert_ushort_rtn(long); |
| 383 | ushort __ovld __cnfn convert_ushort_sat_rtn(long); |
| 384 | ushort __ovld __cnfn convert_ushort(long); |
| 385 | ushort __ovld __cnfn convert_ushort_sat(long); |
| 386 | ushort __ovld __cnfn convert_ushort_rte(ulong); |
| 387 | ushort __ovld __cnfn convert_ushort_sat_rte(ulong); |
| 388 | ushort __ovld __cnfn convert_ushort_rtz(ulong); |
| 389 | ushort __ovld __cnfn convert_ushort_sat_rtz(ulong); |
| 390 | ushort __ovld __cnfn convert_ushort_rtp(ulong); |
| 391 | ushort __ovld __cnfn convert_ushort_sat_rtp(ulong); |
| 392 | ushort __ovld __cnfn convert_ushort_rtn(ulong); |
| 393 | ushort __ovld __cnfn convert_ushort_sat_rtn(ulong); |
| 394 | ushort __ovld __cnfn convert_ushort(ulong); |
| 395 | ushort __ovld __cnfn convert_ushort_sat(ulong); |
| 396 | ushort __ovld __cnfn convert_ushort_rte(float); |
| 397 | ushort __ovld __cnfn convert_ushort_sat_rte(float); |
| 398 | ushort __ovld __cnfn convert_ushort_rtz(float); |
| 399 | ushort __ovld __cnfn convert_ushort_sat_rtz(float); |
| 400 | ushort __ovld __cnfn convert_ushort_rtp(float); |
| 401 | ushort __ovld __cnfn convert_ushort_sat_rtp(float); |
| 402 | ushort __ovld __cnfn convert_ushort_rtn(float); |
| 403 | ushort __ovld __cnfn convert_ushort_sat_rtn(float); |
| 404 | ushort __ovld __cnfn convert_ushort(float); |
| 405 | ushort __ovld __cnfn convert_ushort_sat(float); |
| 406 | int __ovld __cnfn convert_int_rte(char); |
| 407 | int __ovld __cnfn convert_int_sat_rte(char); |
| 408 | int __ovld __cnfn convert_int_rtz(char); |
| 409 | int __ovld __cnfn convert_int_sat_rtz(char); |
| 410 | int __ovld __cnfn convert_int_rtp(char); |
| 411 | int __ovld __cnfn convert_int_sat_rtp(char); |
| 412 | int __ovld __cnfn convert_int_rtn(char); |
| 413 | int __ovld __cnfn convert_int_sat_rtn(char); |
| 414 | int __ovld __cnfn convert_int(char); |
| 415 | int __ovld __cnfn convert_int_sat(char); |
| 416 | int __ovld __cnfn convert_int_rte(uchar); |
| 417 | int __ovld __cnfn convert_int_sat_rte(uchar); |
| 418 | int __ovld __cnfn convert_int_rtz(uchar); |
| 419 | int __ovld __cnfn convert_int_sat_rtz(uchar); |
| 420 | int __ovld __cnfn convert_int_rtp(uchar); |
| 421 | int __ovld __cnfn convert_int_sat_rtp(uchar); |
| 422 | int __ovld __cnfn convert_int_rtn(uchar); |
| 423 | int __ovld __cnfn convert_int_sat_rtn(uchar); |
| 424 | int __ovld __cnfn convert_int(uchar); |
| 425 | int __ovld __cnfn convert_int_sat(uchar); |
| 426 | int __ovld __cnfn convert_int_rte(short); |
| 427 | int __ovld __cnfn convert_int_sat_rte(short); |
| 428 | int __ovld __cnfn convert_int_rtz(short); |
| 429 | int __ovld __cnfn convert_int_sat_rtz(short); |
| 430 | int __ovld __cnfn convert_int_rtp(short); |
| 431 | int __ovld __cnfn convert_int_sat_rtp(short); |
| 432 | int __ovld __cnfn convert_int_rtn(short); |
| 433 | int __ovld __cnfn convert_int_sat_rtn(short); |
| 434 | int __ovld __cnfn convert_int(short); |
| 435 | int __ovld __cnfn convert_int_sat(short); |
| 436 | int __ovld __cnfn convert_int_rte(ushort); |
| 437 | int __ovld __cnfn convert_int_sat_rte(ushort); |
| 438 | int __ovld __cnfn convert_int_rtz(ushort); |
| 439 | int __ovld __cnfn convert_int_sat_rtz(ushort); |
| 440 | int __ovld __cnfn convert_int_rtp(ushort); |
| 441 | int __ovld __cnfn convert_int_sat_rtp(ushort); |
| 442 | int __ovld __cnfn convert_int_rtn(ushort); |
| 443 | int __ovld __cnfn convert_int_sat_rtn(ushort); |
| 444 | int __ovld __cnfn convert_int(ushort); |
| 445 | int __ovld __cnfn convert_int_sat(ushort); |
| 446 | int __ovld __cnfn convert_int_rte(int); |
| 447 | int __ovld __cnfn convert_int_sat_rte(int); |
| 448 | int __ovld __cnfn convert_int_rtz(int); |
| 449 | int __ovld __cnfn convert_int_sat_rtz(int); |
| 450 | int __ovld __cnfn convert_int_rtp(int); |
| 451 | int __ovld __cnfn convert_int_sat_rtp(int); |
| 452 | int __ovld __cnfn convert_int_rtn(int); |
| 453 | int __ovld __cnfn convert_int_sat_rtn(int); |
| 454 | int __ovld __cnfn convert_int(int); |
| 455 | int __ovld __cnfn convert_int_sat(int); |
| 456 | int __ovld __cnfn convert_int_rte(uint); |
| 457 | int __ovld __cnfn convert_int_sat_rte(uint); |
| 458 | int __ovld __cnfn convert_int_rtz(uint); |
| 459 | int __ovld __cnfn convert_int_sat_rtz(uint); |
| 460 | int __ovld __cnfn convert_int_rtp(uint); |
| 461 | int __ovld __cnfn convert_int_sat_rtp(uint); |
| 462 | int __ovld __cnfn convert_int_rtn(uint); |
| 463 | int __ovld __cnfn convert_int_sat_rtn(uint); |
| 464 | int __ovld __cnfn convert_int(uint); |
| 465 | int __ovld __cnfn convert_int_sat(uint); |
| 466 | int __ovld __cnfn convert_int_rte(long); |
| 467 | int __ovld __cnfn convert_int_sat_rte(long); |
| 468 | int __ovld __cnfn convert_int_rtz(long); |
| 469 | int __ovld __cnfn convert_int_sat_rtz(long); |
| 470 | int __ovld __cnfn convert_int_rtp(long); |
| 471 | int __ovld __cnfn convert_int_sat_rtp(long); |
| 472 | int __ovld __cnfn convert_int_rtn(long); |
| 473 | int __ovld __cnfn convert_int_sat_rtn(long); |
| 474 | int __ovld __cnfn convert_int(long); |
| 475 | int __ovld __cnfn convert_int_sat(long); |
| 476 | int __ovld __cnfn convert_int_rte(ulong); |
| 477 | int __ovld __cnfn convert_int_sat_rte(ulong); |
| 478 | int __ovld __cnfn convert_int_rtz(ulong); |
| 479 | int __ovld __cnfn convert_int_sat_rtz(ulong); |
| 480 | int __ovld __cnfn convert_int_rtp(ulong); |
| 481 | int __ovld __cnfn convert_int_sat_rtp(ulong); |
| 482 | int __ovld __cnfn convert_int_rtn(ulong); |
| 483 | int __ovld __cnfn convert_int_sat_rtn(ulong); |
| 484 | int __ovld __cnfn convert_int(ulong); |
| 485 | int __ovld __cnfn convert_int_sat(ulong); |
| 486 | int __ovld __cnfn convert_int_rte(float); |
| 487 | int __ovld __cnfn convert_int_sat_rte(float); |
| 488 | int __ovld __cnfn convert_int_rtz(float); |
| 489 | int __ovld __cnfn convert_int_sat_rtz(float); |
| 490 | int __ovld __cnfn convert_int_rtp(float); |
| 491 | int __ovld __cnfn convert_int_sat_rtp(float); |
| 492 | int __ovld __cnfn convert_int_rtn(float); |
| 493 | int __ovld __cnfn convert_int_sat_rtn(float); |
| 494 | int __ovld __cnfn convert_int(float); |
| 495 | int __ovld __cnfn convert_int_sat(float); |
| 496 | uint __ovld __cnfn convert_uint_rte(char); |
| 497 | uint __ovld __cnfn convert_uint_sat_rte(char); |
| 498 | uint __ovld __cnfn convert_uint_rtz(char); |
| 499 | uint __ovld __cnfn convert_uint_sat_rtz(char); |
| 500 | uint __ovld __cnfn convert_uint_rtp(char); |
| 501 | uint __ovld __cnfn convert_uint_sat_rtp(char); |
| 502 | uint __ovld __cnfn convert_uint_rtn(char); |
| 503 | uint __ovld __cnfn convert_uint_sat_rtn(char); |
| 504 | uint __ovld __cnfn convert_uint(char); |
| 505 | uint __ovld __cnfn convert_uint_sat(char); |
| 506 | uint __ovld __cnfn convert_uint_rte(uchar); |
| 507 | uint __ovld __cnfn convert_uint_sat_rte(uchar); |
| 508 | uint __ovld __cnfn convert_uint_rtz(uchar); |
| 509 | uint __ovld __cnfn convert_uint_sat_rtz(uchar); |
| 510 | uint __ovld __cnfn convert_uint_rtp(uchar); |
| 511 | uint __ovld __cnfn convert_uint_sat_rtp(uchar); |
| 512 | uint __ovld __cnfn convert_uint_rtn(uchar); |
| 513 | uint __ovld __cnfn convert_uint_sat_rtn(uchar); |
| 514 | uint __ovld __cnfn convert_uint(uchar); |
| 515 | uint __ovld __cnfn convert_uint_sat(uchar); |
| 516 | uint __ovld __cnfn convert_uint_rte(short); |
| 517 | uint __ovld __cnfn convert_uint_sat_rte(short); |
| 518 | uint __ovld __cnfn convert_uint_rtz(short); |
| 519 | uint __ovld __cnfn convert_uint_sat_rtz(short); |
| 520 | uint __ovld __cnfn convert_uint_rtp(short); |
| 521 | uint __ovld __cnfn convert_uint_sat_rtp(short); |
| 522 | uint __ovld __cnfn convert_uint_rtn(short); |
| 523 | uint __ovld __cnfn convert_uint_sat_rtn(short); |
| 524 | uint __ovld __cnfn convert_uint(short); |
| 525 | uint __ovld __cnfn convert_uint_sat(short); |
| 526 | uint __ovld __cnfn convert_uint_rte(ushort); |
| 527 | uint __ovld __cnfn convert_uint_sat_rte(ushort); |
| 528 | uint __ovld __cnfn convert_uint_rtz(ushort); |
| 529 | uint __ovld __cnfn convert_uint_sat_rtz(ushort); |
| 530 | uint __ovld __cnfn convert_uint_rtp(ushort); |
| 531 | uint __ovld __cnfn convert_uint_sat_rtp(ushort); |
| 532 | uint __ovld __cnfn convert_uint_rtn(ushort); |
| 533 | uint __ovld __cnfn convert_uint_sat_rtn(ushort); |
| 534 | uint __ovld __cnfn convert_uint(ushort); |
| 535 | uint __ovld __cnfn convert_uint_sat(ushort); |
| 536 | uint __ovld __cnfn convert_uint_rte(int); |
| 537 | uint __ovld __cnfn convert_uint_sat_rte(int); |
| 538 | uint __ovld __cnfn convert_uint_rtz(int); |
| 539 | uint __ovld __cnfn convert_uint_sat_rtz(int); |
| 540 | uint __ovld __cnfn convert_uint_rtp(int); |
| 541 | uint __ovld __cnfn convert_uint_sat_rtp(int); |
| 542 | uint __ovld __cnfn convert_uint_rtn(int); |
| 543 | uint __ovld __cnfn convert_uint_sat_rtn(int); |
| 544 | uint __ovld __cnfn convert_uint(int); |
| 545 | uint __ovld __cnfn convert_uint_sat(int); |
| 546 | uint __ovld __cnfn convert_uint_rte(uint); |
| 547 | uint __ovld __cnfn convert_uint_sat_rte(uint); |
| 548 | uint __ovld __cnfn convert_uint_rtz(uint); |
| 549 | uint __ovld __cnfn convert_uint_sat_rtz(uint); |
| 550 | uint __ovld __cnfn convert_uint_rtp(uint); |
| 551 | uint __ovld __cnfn convert_uint_sat_rtp(uint); |
| 552 | uint __ovld __cnfn convert_uint_rtn(uint); |
| 553 | uint __ovld __cnfn convert_uint_sat_rtn(uint); |
| 554 | uint __ovld __cnfn convert_uint(uint); |
| 555 | uint __ovld __cnfn convert_uint_sat(uint); |
| 556 | uint __ovld __cnfn convert_uint_rte(long); |
| 557 | uint __ovld __cnfn convert_uint_sat_rte(long); |
| 558 | uint __ovld __cnfn convert_uint_rtz(long); |
| 559 | uint __ovld __cnfn convert_uint_sat_rtz(long); |
| 560 | uint __ovld __cnfn convert_uint_rtp(long); |
| 561 | uint __ovld __cnfn convert_uint_sat_rtp(long); |
| 562 | uint __ovld __cnfn convert_uint_rtn(long); |
| 563 | uint __ovld __cnfn convert_uint_sat_rtn(long); |
| 564 | uint __ovld __cnfn convert_uint(long); |
| 565 | uint __ovld __cnfn convert_uint_sat(long); |
| 566 | uint __ovld __cnfn convert_uint_rte(ulong); |
| 567 | uint __ovld __cnfn convert_uint_sat_rte(ulong); |
| 568 | uint __ovld __cnfn convert_uint_rtz(ulong); |
| 569 | uint __ovld __cnfn convert_uint_sat_rtz(ulong); |
| 570 | uint __ovld __cnfn convert_uint_rtp(ulong); |
| 571 | uint __ovld __cnfn convert_uint_sat_rtp(ulong); |
| 572 | uint __ovld __cnfn convert_uint_rtn(ulong); |
| 573 | uint __ovld __cnfn convert_uint_sat_rtn(ulong); |
| 574 | uint __ovld __cnfn convert_uint(ulong); |
| 575 | uint __ovld __cnfn convert_uint_sat(ulong); |
| 576 | uint __ovld __cnfn convert_uint_rte(float); |
| 577 | uint __ovld __cnfn convert_uint_sat_rte(float); |
| 578 | uint __ovld __cnfn convert_uint_rtz(float); |
| 579 | uint __ovld __cnfn convert_uint_sat_rtz(float); |
| 580 | uint __ovld __cnfn convert_uint_rtp(float); |
| 581 | uint __ovld __cnfn convert_uint_sat_rtp(float); |
| 582 | uint __ovld __cnfn convert_uint_rtn(float); |
| 583 | uint __ovld __cnfn convert_uint_sat_rtn(float); |
| 584 | uint __ovld __cnfn convert_uint(float); |
| 585 | uint __ovld __cnfn convert_uint_sat(float); |
| 586 | long __ovld __cnfn convert_long_rte(char); |
| 587 | long __ovld __cnfn convert_long_sat_rte(char); |
| 588 | long __ovld __cnfn convert_long_rtz(char); |
| 589 | long __ovld __cnfn convert_long_sat_rtz(char); |
| 590 | long __ovld __cnfn convert_long_rtp(char); |
| 591 | long __ovld __cnfn convert_long_sat_rtp(char); |
| 592 | long __ovld __cnfn convert_long_rtn(char); |
| 593 | long __ovld __cnfn convert_long_sat_rtn(char); |
| 594 | long __ovld __cnfn convert_long(char); |
| 595 | long __ovld __cnfn convert_long_sat(char); |
| 596 | long __ovld __cnfn convert_long_rte(uchar); |
| 597 | long __ovld __cnfn convert_long_sat_rte(uchar); |
| 598 | long __ovld __cnfn convert_long_rtz(uchar); |
| 599 | long __ovld __cnfn convert_long_sat_rtz(uchar); |
| 600 | long __ovld __cnfn convert_long_rtp(uchar); |
| 601 | long __ovld __cnfn convert_long_sat_rtp(uchar); |
| 602 | long __ovld __cnfn convert_long_rtn(uchar); |
| 603 | long __ovld __cnfn convert_long_sat_rtn(uchar); |
| 604 | long __ovld __cnfn convert_long(uchar); |
| 605 | long __ovld __cnfn convert_long_sat(uchar); |
| 606 | long __ovld __cnfn convert_long_rte(short); |
| 607 | long __ovld __cnfn convert_long_sat_rte(short); |
| 608 | long __ovld __cnfn convert_long_rtz(short); |
| 609 | long __ovld __cnfn convert_long_sat_rtz(short); |
| 610 | long __ovld __cnfn convert_long_rtp(short); |
| 611 | long __ovld __cnfn convert_long_sat_rtp(short); |
| 612 | long __ovld __cnfn convert_long_rtn(short); |
| 613 | long __ovld __cnfn convert_long_sat_rtn(short); |
| 614 | long __ovld __cnfn convert_long(short); |
| 615 | long __ovld __cnfn convert_long_sat(short); |
| 616 | long __ovld __cnfn convert_long_rte(ushort); |
| 617 | long __ovld __cnfn convert_long_sat_rte(ushort); |
| 618 | long __ovld __cnfn convert_long_rtz(ushort); |
| 619 | long __ovld __cnfn convert_long_sat_rtz(ushort); |
| 620 | long __ovld __cnfn convert_long_rtp(ushort); |
| 621 | long __ovld __cnfn convert_long_sat_rtp(ushort); |
| 622 | long __ovld __cnfn convert_long_rtn(ushort); |
| 623 | long __ovld __cnfn convert_long_sat_rtn(ushort); |
| 624 | long __ovld __cnfn convert_long(ushort); |
| 625 | long __ovld __cnfn convert_long_sat(ushort); |
| 626 | long __ovld __cnfn convert_long_rte(int); |
| 627 | long __ovld __cnfn convert_long_sat_rte(int); |
| 628 | long __ovld __cnfn convert_long_rtz(int); |
| 629 | long __ovld __cnfn convert_long_sat_rtz(int); |
| 630 | long __ovld __cnfn convert_long_rtp(int); |
| 631 | long __ovld __cnfn convert_long_sat_rtp(int); |
| 632 | long __ovld __cnfn convert_long_rtn(int); |
| 633 | long __ovld __cnfn convert_long_sat_rtn(int); |
| 634 | long __ovld __cnfn convert_long(int); |
| 635 | long __ovld __cnfn convert_long_sat(int); |
| 636 | long __ovld __cnfn convert_long_rte(uint); |
| 637 | long __ovld __cnfn convert_long_sat_rte(uint); |
| 638 | long __ovld __cnfn convert_long_rtz(uint); |
| 639 | long __ovld __cnfn convert_long_sat_rtz(uint); |
| 640 | long __ovld __cnfn convert_long_rtp(uint); |
| 641 | long __ovld __cnfn convert_long_sat_rtp(uint); |
| 642 | long __ovld __cnfn convert_long_rtn(uint); |
| 643 | long __ovld __cnfn convert_long_sat_rtn(uint); |
| 644 | long __ovld __cnfn convert_long(uint); |
| 645 | long __ovld __cnfn convert_long_sat(uint); |
| 646 | long __ovld __cnfn convert_long_rte(long); |
| 647 | long __ovld __cnfn convert_long_sat_rte(long); |
| 648 | long __ovld __cnfn convert_long_rtz(long); |
| 649 | long __ovld __cnfn convert_long_sat_rtz(long); |
| 650 | long __ovld __cnfn convert_long_rtp(long); |
| 651 | long __ovld __cnfn convert_long_sat_rtp(long); |
| 652 | long __ovld __cnfn convert_long_rtn(long); |
| 653 | long __ovld __cnfn convert_long_sat_rtn(long); |
| 654 | long __ovld __cnfn convert_long(long); |
| 655 | long __ovld __cnfn convert_long_sat(long); |
| 656 | long __ovld __cnfn convert_long_rte(ulong); |
| 657 | long __ovld __cnfn convert_long_sat_rte(ulong); |
| 658 | long __ovld __cnfn convert_long_rtz(ulong); |
| 659 | long __ovld __cnfn convert_long_sat_rtz(ulong); |
| 660 | long __ovld __cnfn convert_long_rtp(ulong); |
| 661 | long __ovld __cnfn convert_long_sat_rtp(ulong); |
| 662 | long __ovld __cnfn convert_long_rtn(ulong); |
| 663 | long __ovld __cnfn convert_long_sat_rtn(ulong); |
| 664 | long __ovld __cnfn convert_long(ulong); |
| 665 | long __ovld __cnfn convert_long_sat(ulong); |
| 666 | long __ovld __cnfn convert_long_rte(float); |
| 667 | long __ovld __cnfn convert_long_sat_rte(float); |
| 668 | long __ovld __cnfn convert_long_rtz(float); |
| 669 | long __ovld __cnfn convert_long_sat_rtz(float); |
| 670 | long __ovld __cnfn convert_long_rtp(float); |
| 671 | long __ovld __cnfn convert_long_sat_rtp(float); |
| 672 | long __ovld __cnfn convert_long_rtn(float); |
| 673 | long __ovld __cnfn convert_long_sat_rtn(float); |
| 674 | long __ovld __cnfn convert_long(float); |
| 675 | long __ovld __cnfn convert_long_sat(float); |
| 676 | ulong __ovld __cnfn convert_ulong_rte(char); |
| 677 | ulong __ovld __cnfn convert_ulong_sat_rte(char); |
| 678 | ulong __ovld __cnfn convert_ulong_rtz(char); |
| 679 | ulong __ovld __cnfn convert_ulong_sat_rtz(char); |
| 680 | ulong __ovld __cnfn convert_ulong_rtp(char); |
| 681 | ulong __ovld __cnfn convert_ulong_sat_rtp(char); |
| 682 | ulong __ovld __cnfn convert_ulong_rtn(char); |
| 683 | ulong __ovld __cnfn convert_ulong_sat_rtn(char); |
| 684 | ulong __ovld __cnfn convert_ulong(char); |
| 685 | ulong __ovld __cnfn convert_ulong_sat(char); |
| 686 | ulong __ovld __cnfn convert_ulong_rte(uchar); |
| 687 | ulong __ovld __cnfn convert_ulong_sat_rte(uchar); |
| 688 | ulong __ovld __cnfn convert_ulong_rtz(uchar); |
| 689 | ulong __ovld __cnfn convert_ulong_sat_rtz(uchar); |
| 690 | ulong __ovld __cnfn convert_ulong_rtp(uchar); |
| 691 | ulong __ovld __cnfn convert_ulong_sat_rtp(uchar); |
| 692 | ulong __ovld __cnfn convert_ulong_rtn(uchar); |
| 693 | ulong __ovld __cnfn convert_ulong_sat_rtn(uchar); |
| 694 | ulong __ovld __cnfn convert_ulong(uchar); |
| 695 | ulong __ovld __cnfn convert_ulong_sat(uchar); |
| 696 | ulong __ovld __cnfn convert_ulong_rte(short); |
| 697 | ulong __ovld __cnfn convert_ulong_sat_rte(short); |
| 698 | ulong __ovld __cnfn convert_ulong_rtz(short); |
| 699 | ulong __ovld __cnfn convert_ulong_sat_rtz(short); |
| 700 | ulong __ovld __cnfn convert_ulong_rtp(short); |
| 701 | ulong __ovld __cnfn convert_ulong_sat_rtp(short); |
| 702 | ulong __ovld __cnfn convert_ulong_rtn(short); |
| 703 | ulong __ovld __cnfn convert_ulong_sat_rtn(short); |
| 704 | ulong __ovld __cnfn convert_ulong(short); |
| 705 | ulong __ovld __cnfn convert_ulong_sat(short); |
| 706 | ulong __ovld __cnfn convert_ulong_rte(ushort); |
| 707 | ulong __ovld __cnfn convert_ulong_sat_rte(ushort); |
| 708 | ulong __ovld __cnfn convert_ulong_rtz(ushort); |
| 709 | ulong __ovld __cnfn convert_ulong_sat_rtz(ushort); |
| 710 | ulong __ovld __cnfn convert_ulong_rtp(ushort); |
| 711 | ulong __ovld __cnfn convert_ulong_sat_rtp(ushort); |
| 712 | ulong __ovld __cnfn convert_ulong_rtn(ushort); |
| 713 | ulong __ovld __cnfn convert_ulong_sat_rtn(ushort); |
| 714 | ulong __ovld __cnfn convert_ulong(ushort); |
| 715 | ulong __ovld __cnfn convert_ulong_sat(ushort); |
| 716 | ulong __ovld __cnfn convert_ulong_rte(int); |
| 717 | ulong __ovld __cnfn convert_ulong_sat_rte(int); |
| 718 | ulong __ovld __cnfn convert_ulong_rtz(int); |
| 719 | ulong __ovld __cnfn convert_ulong_sat_rtz(int); |
| 720 | ulong __ovld __cnfn convert_ulong_rtp(int); |
| 721 | ulong __ovld __cnfn convert_ulong_sat_rtp(int); |
| 722 | ulong __ovld __cnfn convert_ulong_rtn(int); |
| 723 | ulong __ovld __cnfn convert_ulong_sat_rtn(int); |
| 724 | ulong __ovld __cnfn convert_ulong(int); |
| 725 | ulong __ovld __cnfn convert_ulong_sat(int); |
| 726 | ulong __ovld __cnfn convert_ulong_rte(uint); |
| 727 | ulong __ovld __cnfn convert_ulong_sat_rte(uint); |
| 728 | ulong __ovld __cnfn convert_ulong_rtz(uint); |
| 729 | ulong __ovld __cnfn convert_ulong_sat_rtz(uint); |
| 730 | ulong __ovld __cnfn convert_ulong_rtp(uint); |
| 731 | ulong __ovld __cnfn convert_ulong_sat_rtp(uint); |
| 732 | ulong __ovld __cnfn convert_ulong_rtn(uint); |
| 733 | ulong __ovld __cnfn convert_ulong_sat_rtn(uint); |
| 734 | ulong __ovld __cnfn convert_ulong(uint); |
| 735 | ulong __ovld __cnfn convert_ulong_sat(uint); |
| 736 | ulong __ovld __cnfn convert_ulong_rte(long); |
| 737 | ulong __ovld __cnfn convert_ulong_sat_rte(long); |
| 738 | ulong __ovld __cnfn convert_ulong_rtz(long); |
| 739 | ulong __ovld __cnfn convert_ulong_sat_rtz(long); |
| 740 | ulong __ovld __cnfn convert_ulong_rtp(long); |
| 741 | ulong __ovld __cnfn convert_ulong_sat_rtp(long); |
| 742 | ulong __ovld __cnfn convert_ulong_rtn(long); |
| 743 | ulong __ovld __cnfn convert_ulong_sat_rtn(long); |
| 744 | ulong __ovld __cnfn convert_ulong(long); |
| 745 | ulong __ovld __cnfn convert_ulong_sat(long); |
| 746 | ulong __ovld __cnfn convert_ulong_rte(ulong); |
| 747 | ulong __ovld __cnfn convert_ulong_sat_rte(ulong); |
| 748 | ulong __ovld __cnfn convert_ulong_rtz(ulong); |
| 749 | ulong __ovld __cnfn convert_ulong_sat_rtz(ulong); |
| 750 | ulong __ovld __cnfn convert_ulong_rtp(ulong); |
| 751 | ulong __ovld __cnfn convert_ulong_sat_rtp(ulong); |
| 752 | ulong __ovld __cnfn convert_ulong_rtn(ulong); |
| 753 | ulong __ovld __cnfn convert_ulong_sat_rtn(ulong); |
| 754 | ulong __ovld __cnfn convert_ulong(ulong); |
| 755 | ulong __ovld __cnfn convert_ulong_sat(ulong); |
| 756 | ulong __ovld __cnfn convert_ulong_rte(float); |
| 757 | ulong __ovld __cnfn convert_ulong_sat_rte(float); |
| 758 | ulong __ovld __cnfn convert_ulong_rtz(float); |
| 759 | ulong __ovld __cnfn convert_ulong_sat_rtz(float); |
| 760 | ulong __ovld __cnfn convert_ulong_rtp(float); |
| 761 | ulong __ovld __cnfn convert_ulong_sat_rtp(float); |
| 762 | ulong __ovld __cnfn convert_ulong_rtn(float); |
| 763 | ulong __ovld __cnfn convert_ulong_sat_rtn(float); |
| 764 | ulong __ovld __cnfn convert_ulong(float); |
| 765 | ulong __ovld __cnfn convert_ulong_sat(float); |
| 766 | float __ovld __cnfn convert_float_rte(char); |
| 767 | float __ovld __cnfn convert_float_rtz(char); |
| 768 | float __ovld __cnfn convert_float_rtp(char); |
| 769 | float __ovld __cnfn convert_float_rtn(char); |
| 770 | float __ovld __cnfn convert_float(char); |
| 771 | float __ovld __cnfn convert_float_rte(uchar); |
| 772 | float __ovld __cnfn convert_float_rtz(uchar); |
| 773 | float __ovld __cnfn convert_float_rtp(uchar); |
| 774 | float __ovld __cnfn convert_float_rtn(uchar); |
| 775 | float __ovld __cnfn convert_float(uchar); |
| 776 | float __ovld __cnfn convert_float_rte(short); |
| 777 | float __ovld __cnfn convert_float_rtz(short); |
| 778 | float __ovld __cnfn convert_float_rtp(short); |
| 779 | float __ovld __cnfn convert_float_rtn(short); |
| 780 | float __ovld __cnfn convert_float(short); |
| 781 | float __ovld __cnfn convert_float_rte(ushort); |
| 782 | float __ovld __cnfn convert_float_rtz(ushort); |
| 783 | float __ovld __cnfn convert_float_rtp(ushort); |
| 784 | float __ovld __cnfn convert_float_rtn(ushort); |
| 785 | float __ovld __cnfn convert_float(ushort); |
| 786 | float __ovld __cnfn convert_float_rte(int); |
| 787 | float __ovld __cnfn convert_float_rtz(int); |
| 788 | float __ovld __cnfn convert_float_rtp(int); |
| 789 | float __ovld __cnfn convert_float_rtn(int); |
| 790 | float __ovld __cnfn convert_float(int); |
| 791 | float __ovld __cnfn convert_float_rte(uint); |
| 792 | float __ovld __cnfn convert_float_rtz(uint); |
| 793 | float __ovld __cnfn convert_float_rtp(uint); |
| 794 | float __ovld __cnfn convert_float_rtn(uint); |
| 795 | float __ovld __cnfn convert_float(uint); |
| 796 | float __ovld __cnfn convert_float_rte(long); |
| 797 | float __ovld __cnfn convert_float_rtz(long); |
| 798 | float __ovld __cnfn convert_float_rtp(long); |
| 799 | float __ovld __cnfn convert_float_rtn(long); |
| 800 | float __ovld __cnfn convert_float(long); |
| 801 | float __ovld __cnfn convert_float_rte(ulong); |
| 802 | float __ovld __cnfn convert_float_rtz(ulong); |
| 803 | float __ovld __cnfn convert_float_rtp(ulong); |
| 804 | float __ovld __cnfn convert_float_rtn(ulong); |
| 805 | float __ovld __cnfn convert_float(ulong); |
| 806 | float __ovld __cnfn convert_float_rte(float); |
| 807 | float __ovld __cnfn convert_float_rtz(float); |
| 808 | float __ovld __cnfn convert_float_rtp(float); |
| 809 | float __ovld __cnfn convert_float_rtn(float); |
| 810 | float __ovld __cnfn convert_float(float); |
| 811 | char2 __ovld __cnfn convert_char2_rte(char2); |
| 812 | char2 __ovld __cnfn convert_char2_sat_rte(char2); |
| 813 | char2 __ovld __cnfn convert_char2_rtz(char2); |
| 814 | char2 __ovld __cnfn convert_char2_sat_rtz(char2); |
| 815 | char2 __ovld __cnfn convert_char2_rtp(char2); |
| 816 | char2 __ovld __cnfn convert_char2_sat_rtp(char2); |
| 817 | char2 __ovld __cnfn convert_char2_rtn(char2); |
| 818 | char2 __ovld __cnfn convert_char2_sat_rtn(char2); |
| 819 | char2 __ovld __cnfn convert_char2(char2); |
| 820 | char2 __ovld __cnfn convert_char2_sat(char2); |
| 821 | char2 __ovld __cnfn convert_char2_rte(uchar2); |
| 822 | char2 __ovld __cnfn convert_char2_sat_rte(uchar2); |
| 823 | char2 __ovld __cnfn convert_char2_rtz(uchar2); |
| 824 | char2 __ovld __cnfn convert_char2_sat_rtz(uchar2); |
| 825 | char2 __ovld __cnfn convert_char2_rtp(uchar2); |
| 826 | char2 __ovld __cnfn convert_char2_sat_rtp(uchar2); |
| 827 | char2 __ovld __cnfn convert_char2_rtn(uchar2); |
| 828 | char2 __ovld __cnfn convert_char2_sat_rtn(uchar2); |
| 829 | char2 __ovld __cnfn convert_char2(uchar2); |
| 830 | char2 __ovld __cnfn convert_char2_sat(uchar2); |
| 831 | char2 __ovld __cnfn convert_char2_rte(short2); |
| 832 | char2 __ovld __cnfn convert_char2_sat_rte(short2); |
| 833 | char2 __ovld __cnfn convert_char2_rtz(short2); |
| 834 | char2 __ovld __cnfn convert_char2_sat_rtz(short2); |
| 835 | char2 __ovld __cnfn convert_char2_rtp(short2); |
| 836 | char2 __ovld __cnfn convert_char2_sat_rtp(short2); |
| 837 | char2 __ovld __cnfn convert_char2_rtn(short2); |
| 838 | char2 __ovld __cnfn convert_char2_sat_rtn(short2); |
| 839 | char2 __ovld __cnfn convert_char2(short2); |
| 840 | char2 __ovld __cnfn convert_char2_sat(short2); |
| 841 | char2 __ovld __cnfn convert_char2_rte(ushort2); |
| 842 | char2 __ovld __cnfn convert_char2_sat_rte(ushort2); |
| 843 | char2 __ovld __cnfn convert_char2_rtz(ushort2); |
| 844 | char2 __ovld __cnfn convert_char2_sat_rtz(ushort2); |
| 845 | char2 __ovld __cnfn convert_char2_rtp(ushort2); |
| 846 | char2 __ovld __cnfn convert_char2_sat_rtp(ushort2); |
| 847 | char2 __ovld __cnfn convert_char2_rtn(ushort2); |
| 848 | char2 __ovld __cnfn convert_char2_sat_rtn(ushort2); |
| 849 | char2 __ovld __cnfn convert_char2(ushort2); |
| 850 | char2 __ovld __cnfn convert_char2_sat(ushort2); |
| 851 | char2 __ovld __cnfn convert_char2_rte(int2); |
| 852 | char2 __ovld __cnfn convert_char2_sat_rte(int2); |
| 853 | char2 __ovld __cnfn convert_char2_rtz(int2); |
| 854 | char2 __ovld __cnfn convert_char2_sat_rtz(int2); |
| 855 | char2 __ovld __cnfn convert_char2_rtp(int2); |
| 856 | char2 __ovld __cnfn convert_char2_sat_rtp(int2); |
| 857 | char2 __ovld __cnfn convert_char2_rtn(int2); |
| 858 | char2 __ovld __cnfn convert_char2_sat_rtn(int2); |
| 859 | char2 __ovld __cnfn convert_char2(int2); |
| 860 | char2 __ovld __cnfn convert_char2_sat(int2); |
| 861 | char2 __ovld __cnfn convert_char2_rte(uint2); |
| 862 | char2 __ovld __cnfn convert_char2_sat_rte(uint2); |
| 863 | char2 __ovld __cnfn convert_char2_rtz(uint2); |
| 864 | char2 __ovld __cnfn convert_char2_sat_rtz(uint2); |
| 865 | char2 __ovld __cnfn convert_char2_rtp(uint2); |
| 866 | char2 __ovld __cnfn convert_char2_sat_rtp(uint2); |
| 867 | char2 __ovld __cnfn convert_char2_rtn(uint2); |
| 868 | char2 __ovld __cnfn convert_char2_sat_rtn(uint2); |
| 869 | char2 __ovld __cnfn convert_char2(uint2); |
| 870 | char2 __ovld __cnfn convert_char2_sat(uint2); |
| 871 | char2 __ovld __cnfn convert_char2_rte(long2); |
| 872 | char2 __ovld __cnfn convert_char2_sat_rte(long2); |
| 873 | char2 __ovld __cnfn convert_char2_rtz(long2); |
| 874 | char2 __ovld __cnfn convert_char2_sat_rtz(long2); |
| 875 | char2 __ovld __cnfn convert_char2_rtp(long2); |
| 876 | char2 __ovld __cnfn convert_char2_sat_rtp(long2); |
| 877 | char2 __ovld __cnfn convert_char2_rtn(long2); |
| 878 | char2 __ovld __cnfn convert_char2_sat_rtn(long2); |
| 879 | char2 __ovld __cnfn convert_char2(long2); |
| 880 | char2 __ovld __cnfn convert_char2_sat(long2); |
| 881 | char2 __ovld __cnfn convert_char2_rte(ulong2); |
| 882 | char2 __ovld __cnfn convert_char2_sat_rte(ulong2); |
| 883 | char2 __ovld __cnfn convert_char2_rtz(ulong2); |
| 884 | char2 __ovld __cnfn convert_char2_sat_rtz(ulong2); |
| 885 | char2 __ovld __cnfn convert_char2_rtp(ulong2); |
| 886 | char2 __ovld __cnfn convert_char2_sat_rtp(ulong2); |
| 887 | char2 __ovld __cnfn convert_char2_rtn(ulong2); |
| 888 | char2 __ovld __cnfn convert_char2_sat_rtn(ulong2); |
| 889 | char2 __ovld __cnfn convert_char2(ulong2); |
| 890 | char2 __ovld __cnfn convert_char2_sat(ulong2); |
| 891 | char2 __ovld __cnfn convert_char2_rte(float2); |
| 892 | char2 __ovld __cnfn convert_char2_sat_rte(float2); |
| 893 | char2 __ovld __cnfn convert_char2_rtz(float2); |
| 894 | char2 __ovld __cnfn convert_char2_sat_rtz(float2); |
| 895 | char2 __ovld __cnfn convert_char2_rtp(float2); |
| 896 | char2 __ovld __cnfn convert_char2_sat_rtp(float2); |
| 897 | char2 __ovld __cnfn convert_char2_rtn(float2); |
| 898 | char2 __ovld __cnfn convert_char2_sat_rtn(float2); |
| 899 | char2 __ovld __cnfn convert_char2(float2); |
| 900 | char2 __ovld __cnfn convert_char2_sat(float2); |
| 901 | uchar2 __ovld __cnfn convert_uchar2_rte(char2); |
| 902 | uchar2 __ovld __cnfn convert_uchar2_sat_rte(char2); |
| 903 | uchar2 __ovld __cnfn convert_uchar2_rtz(char2); |
| 904 | uchar2 __ovld __cnfn convert_uchar2_sat_rtz(char2); |
| 905 | uchar2 __ovld __cnfn convert_uchar2_rtp(char2); |
| 906 | uchar2 __ovld __cnfn convert_uchar2_sat_rtp(char2); |
| 907 | uchar2 __ovld __cnfn convert_uchar2_rtn(char2); |
| 908 | uchar2 __ovld __cnfn convert_uchar2_sat_rtn(char2); |
| 909 | uchar2 __ovld __cnfn convert_uchar2(char2); |
| 910 | uchar2 __ovld __cnfn convert_uchar2_sat(char2); |
| 911 | uchar2 __ovld __cnfn convert_uchar2_rte(uchar2); |
| 912 | uchar2 __ovld __cnfn convert_uchar2_sat_rte(uchar2); |
| 913 | uchar2 __ovld __cnfn convert_uchar2_rtz(uchar2); |
| 914 | uchar2 __ovld __cnfn convert_uchar2_sat_rtz(uchar2); |
| 915 | uchar2 __ovld __cnfn convert_uchar2_rtp(uchar2); |
| 916 | uchar2 __ovld __cnfn convert_uchar2_sat_rtp(uchar2); |
| 917 | uchar2 __ovld __cnfn convert_uchar2_rtn(uchar2); |
| 918 | uchar2 __ovld __cnfn convert_uchar2_sat_rtn(uchar2); |
| 919 | uchar2 __ovld __cnfn convert_uchar2(uchar2); |
| 920 | uchar2 __ovld __cnfn convert_uchar2_sat(uchar2); |
| 921 | uchar2 __ovld __cnfn convert_uchar2_rte(short2); |
| 922 | uchar2 __ovld __cnfn convert_uchar2_sat_rte(short2); |
| 923 | uchar2 __ovld __cnfn convert_uchar2_rtz(short2); |
| 924 | uchar2 __ovld __cnfn convert_uchar2_sat_rtz(short2); |
| 925 | uchar2 __ovld __cnfn convert_uchar2_rtp(short2); |
| 926 | uchar2 __ovld __cnfn convert_uchar2_sat_rtp(short2); |
| 927 | uchar2 __ovld __cnfn convert_uchar2_rtn(short2); |
| 928 | uchar2 __ovld __cnfn convert_uchar2_sat_rtn(short2); |
| 929 | uchar2 __ovld __cnfn convert_uchar2(short2); |
| 930 | uchar2 __ovld __cnfn convert_uchar2_sat(short2); |
| 931 | uchar2 __ovld __cnfn convert_uchar2_rte(ushort2); |
| 932 | uchar2 __ovld __cnfn convert_uchar2_sat_rte(ushort2); |
| 933 | uchar2 __ovld __cnfn convert_uchar2_rtz(ushort2); |
| 934 | uchar2 __ovld __cnfn convert_uchar2_sat_rtz(ushort2); |
| 935 | uchar2 __ovld __cnfn convert_uchar2_rtp(ushort2); |
| 936 | uchar2 __ovld __cnfn convert_uchar2_sat_rtp(ushort2); |
| 937 | uchar2 __ovld __cnfn convert_uchar2_rtn(ushort2); |
| 938 | uchar2 __ovld __cnfn convert_uchar2_sat_rtn(ushort2); |
| 939 | uchar2 __ovld __cnfn convert_uchar2(ushort2); |
| 940 | uchar2 __ovld __cnfn convert_uchar2_sat(ushort2); |
| 941 | uchar2 __ovld __cnfn convert_uchar2_rte(int2); |
| 942 | uchar2 __ovld __cnfn convert_uchar2_sat_rte(int2); |
| 943 | uchar2 __ovld __cnfn convert_uchar2_rtz(int2); |
| 944 | uchar2 __ovld __cnfn convert_uchar2_sat_rtz(int2); |
| 945 | uchar2 __ovld __cnfn convert_uchar2_rtp(int2); |
| 946 | uchar2 __ovld __cnfn convert_uchar2_sat_rtp(int2); |
| 947 | uchar2 __ovld __cnfn convert_uchar2_rtn(int2); |
| 948 | uchar2 __ovld __cnfn convert_uchar2_sat_rtn(int2); |
| 949 | uchar2 __ovld __cnfn convert_uchar2(int2); |
| 950 | uchar2 __ovld __cnfn convert_uchar2_sat(int2); |
| 951 | uchar2 __ovld __cnfn convert_uchar2_rte(uint2); |
| 952 | uchar2 __ovld __cnfn convert_uchar2_sat_rte(uint2); |
| 953 | uchar2 __ovld __cnfn convert_uchar2_rtz(uint2); |
| 954 | uchar2 __ovld __cnfn convert_uchar2_sat_rtz(uint2); |
| 955 | uchar2 __ovld __cnfn convert_uchar2_rtp(uint2); |
| 956 | uchar2 __ovld __cnfn convert_uchar2_sat_rtp(uint2); |
| 957 | uchar2 __ovld __cnfn convert_uchar2_rtn(uint2); |
| 958 | uchar2 __ovld __cnfn convert_uchar2_sat_rtn(uint2); |
| 959 | uchar2 __ovld __cnfn convert_uchar2(uint2); |
| 960 | uchar2 __ovld __cnfn convert_uchar2_sat(uint2); |
| 961 | uchar2 __ovld __cnfn convert_uchar2_rte(long2); |
| 962 | uchar2 __ovld __cnfn convert_uchar2_sat_rte(long2); |
| 963 | uchar2 __ovld __cnfn convert_uchar2_rtz(long2); |
| 964 | uchar2 __ovld __cnfn convert_uchar2_sat_rtz(long2); |
| 965 | uchar2 __ovld __cnfn convert_uchar2_rtp(long2); |
| 966 | uchar2 __ovld __cnfn convert_uchar2_sat_rtp(long2); |
| 967 | uchar2 __ovld __cnfn convert_uchar2_rtn(long2); |
| 968 | uchar2 __ovld __cnfn convert_uchar2_sat_rtn(long2); |
| 969 | uchar2 __ovld __cnfn convert_uchar2(long2); |
| 970 | uchar2 __ovld __cnfn convert_uchar2_sat(long2); |
| 971 | uchar2 __ovld __cnfn convert_uchar2_rte(ulong2); |
| 972 | uchar2 __ovld __cnfn convert_uchar2_sat_rte(ulong2); |
| 973 | uchar2 __ovld __cnfn convert_uchar2_rtz(ulong2); |
| 974 | uchar2 __ovld __cnfn convert_uchar2_sat_rtz(ulong2); |
| 975 | uchar2 __ovld __cnfn convert_uchar2_rtp(ulong2); |
| 976 | uchar2 __ovld __cnfn convert_uchar2_sat_rtp(ulong2); |
| 977 | uchar2 __ovld __cnfn convert_uchar2_rtn(ulong2); |
| 978 | uchar2 __ovld __cnfn convert_uchar2_sat_rtn(ulong2); |
| 979 | uchar2 __ovld __cnfn convert_uchar2(ulong2); |
| 980 | uchar2 __ovld __cnfn convert_uchar2_sat(ulong2); |
| 981 | uchar2 __ovld __cnfn convert_uchar2_rte(float2); |
| 982 | uchar2 __ovld __cnfn convert_uchar2_sat_rte(float2); |
| 983 | uchar2 __ovld __cnfn convert_uchar2_rtz(float2); |
| 984 | uchar2 __ovld __cnfn convert_uchar2_sat_rtz(float2); |
| 985 | uchar2 __ovld __cnfn convert_uchar2_rtp(float2); |
| 986 | uchar2 __ovld __cnfn convert_uchar2_sat_rtp(float2); |
| 987 | uchar2 __ovld __cnfn convert_uchar2_rtn(float2); |
| 988 | uchar2 __ovld __cnfn convert_uchar2_sat_rtn(float2); |
| 989 | uchar2 __ovld __cnfn convert_uchar2(float2); |
| 990 | uchar2 __ovld __cnfn convert_uchar2_sat(float2); |
| 991 | short2 __ovld __cnfn convert_short2_rte(char2); |
| 992 | short2 __ovld __cnfn convert_short2_sat_rte(char2); |
| 993 | short2 __ovld __cnfn convert_short2_rtz(char2); |
| 994 | short2 __ovld __cnfn convert_short2_sat_rtz(char2); |
| 995 | short2 __ovld __cnfn convert_short2_rtp(char2); |
| 996 | short2 __ovld __cnfn convert_short2_sat_rtp(char2); |
| 997 | short2 __ovld __cnfn convert_short2_rtn(char2); |
| 998 | short2 __ovld __cnfn convert_short2_sat_rtn(char2); |
| 999 | short2 __ovld __cnfn convert_short2(char2); |
| 1000 | short2 __ovld __cnfn convert_short2_sat(char2); |
| 1001 | short2 __ovld __cnfn convert_short2_rte(uchar2); |
| 1002 | short2 __ovld __cnfn convert_short2_sat_rte(uchar2); |
| 1003 | short2 __ovld __cnfn convert_short2_rtz(uchar2); |
| 1004 | short2 __ovld __cnfn convert_short2_sat_rtz(uchar2); |
| 1005 | short2 __ovld __cnfn convert_short2_rtp(uchar2); |
| 1006 | short2 __ovld __cnfn convert_short2_sat_rtp(uchar2); |
| 1007 | short2 __ovld __cnfn convert_short2_rtn(uchar2); |
| 1008 | short2 __ovld __cnfn convert_short2_sat_rtn(uchar2); |
| 1009 | short2 __ovld __cnfn convert_short2(uchar2); |
| 1010 | short2 __ovld __cnfn convert_short2_sat(uchar2); |
| 1011 | short2 __ovld __cnfn convert_short2_rte(short2); |
| 1012 | short2 __ovld __cnfn convert_short2_sat_rte(short2); |
| 1013 | short2 __ovld __cnfn convert_short2_rtz(short2); |
| 1014 | short2 __ovld __cnfn convert_short2_sat_rtz(short2); |
| 1015 | short2 __ovld __cnfn convert_short2_rtp(short2); |
| 1016 | short2 __ovld __cnfn convert_short2_sat_rtp(short2); |
| 1017 | short2 __ovld __cnfn convert_short2_rtn(short2); |
| 1018 | short2 __ovld __cnfn convert_short2_sat_rtn(short2); |
| 1019 | short2 __ovld __cnfn convert_short2(short2); |
| 1020 | short2 __ovld __cnfn convert_short2_sat(short2); |
| 1021 | short2 __ovld __cnfn convert_short2_rte(ushort2); |
| 1022 | short2 __ovld __cnfn convert_short2_sat_rte(ushort2); |
| 1023 | short2 __ovld __cnfn convert_short2_rtz(ushort2); |
| 1024 | short2 __ovld __cnfn convert_short2_sat_rtz(ushort2); |
| 1025 | short2 __ovld __cnfn convert_short2_rtp(ushort2); |
| 1026 | short2 __ovld __cnfn convert_short2_sat_rtp(ushort2); |
| 1027 | short2 __ovld __cnfn convert_short2_rtn(ushort2); |
| 1028 | short2 __ovld __cnfn convert_short2_sat_rtn(ushort2); |
| 1029 | short2 __ovld __cnfn convert_short2(ushort2); |
| 1030 | short2 __ovld __cnfn convert_short2_sat(ushort2); |
| 1031 | short2 __ovld __cnfn convert_short2_rte(int2); |
| 1032 | short2 __ovld __cnfn convert_short2_sat_rte(int2); |
| 1033 | short2 __ovld __cnfn convert_short2_rtz(int2); |
| 1034 | short2 __ovld __cnfn convert_short2_sat_rtz(int2); |
| 1035 | short2 __ovld __cnfn convert_short2_rtp(int2); |
| 1036 | short2 __ovld __cnfn convert_short2_sat_rtp(int2); |
| 1037 | short2 __ovld __cnfn convert_short2_rtn(int2); |
| 1038 | short2 __ovld __cnfn convert_short2_sat_rtn(int2); |
| 1039 | short2 __ovld __cnfn convert_short2(int2); |
| 1040 | short2 __ovld __cnfn convert_short2_sat(int2); |
| 1041 | short2 __ovld __cnfn convert_short2_rte(uint2); |
| 1042 | short2 __ovld __cnfn convert_short2_sat_rte(uint2); |
| 1043 | short2 __ovld __cnfn convert_short2_rtz(uint2); |
| 1044 | short2 __ovld __cnfn convert_short2_sat_rtz(uint2); |
| 1045 | short2 __ovld __cnfn convert_short2_rtp(uint2); |
| 1046 | short2 __ovld __cnfn convert_short2_sat_rtp(uint2); |
| 1047 | short2 __ovld __cnfn convert_short2_rtn(uint2); |
| 1048 | short2 __ovld __cnfn convert_short2_sat_rtn(uint2); |
| 1049 | short2 __ovld __cnfn convert_short2(uint2); |
| 1050 | short2 __ovld __cnfn convert_short2_sat(uint2); |
| 1051 | short2 __ovld __cnfn convert_short2_rte(long2); |
| 1052 | short2 __ovld __cnfn convert_short2_sat_rte(long2); |
| 1053 | short2 __ovld __cnfn convert_short2_rtz(long2); |
| 1054 | short2 __ovld __cnfn convert_short2_sat_rtz(long2); |
| 1055 | short2 __ovld __cnfn convert_short2_rtp(long2); |
| 1056 | short2 __ovld __cnfn convert_short2_sat_rtp(long2); |
| 1057 | short2 __ovld __cnfn convert_short2_rtn(long2); |
| 1058 | short2 __ovld __cnfn convert_short2_sat_rtn(long2); |
| 1059 | short2 __ovld __cnfn convert_short2(long2); |
| 1060 | short2 __ovld __cnfn convert_short2_sat(long2); |
| 1061 | short2 __ovld __cnfn convert_short2_rte(ulong2); |
| 1062 | short2 __ovld __cnfn convert_short2_sat_rte(ulong2); |
| 1063 | short2 __ovld __cnfn convert_short2_rtz(ulong2); |
| 1064 | short2 __ovld __cnfn convert_short2_sat_rtz(ulong2); |
| 1065 | short2 __ovld __cnfn convert_short2_rtp(ulong2); |
| 1066 | short2 __ovld __cnfn convert_short2_sat_rtp(ulong2); |
| 1067 | short2 __ovld __cnfn convert_short2_rtn(ulong2); |
| 1068 | short2 __ovld __cnfn convert_short2_sat_rtn(ulong2); |
| 1069 | short2 __ovld __cnfn convert_short2(ulong2); |
| 1070 | short2 __ovld __cnfn convert_short2_sat(ulong2); |
| 1071 | short2 __ovld __cnfn convert_short2_rte(float2); |
| 1072 | short2 __ovld __cnfn convert_short2_sat_rte(float2); |
| 1073 | short2 __ovld __cnfn convert_short2_rtz(float2); |
| 1074 | short2 __ovld __cnfn convert_short2_sat_rtz(float2); |
| 1075 | short2 __ovld __cnfn convert_short2_rtp(float2); |
| 1076 | short2 __ovld __cnfn convert_short2_sat_rtp(float2); |
| 1077 | short2 __ovld __cnfn convert_short2_rtn(float2); |
| 1078 | short2 __ovld __cnfn convert_short2_sat_rtn(float2); |
| 1079 | short2 __ovld __cnfn convert_short2(float2); |
| 1080 | short2 __ovld __cnfn convert_short2_sat(float2); |
| 1081 | ushort2 __ovld __cnfn convert_ushort2_rte(char2); |
| 1082 | ushort2 __ovld __cnfn convert_ushort2_sat_rte(char2); |
| 1083 | ushort2 __ovld __cnfn convert_ushort2_rtz(char2); |
| 1084 | ushort2 __ovld __cnfn convert_ushort2_sat_rtz(char2); |
| 1085 | ushort2 __ovld __cnfn convert_ushort2_rtp(char2); |
| 1086 | ushort2 __ovld __cnfn convert_ushort2_sat_rtp(char2); |
| 1087 | ushort2 __ovld __cnfn convert_ushort2_rtn(char2); |
| 1088 | ushort2 __ovld __cnfn convert_ushort2_sat_rtn(char2); |
| 1089 | ushort2 __ovld __cnfn convert_ushort2(char2); |
| 1090 | ushort2 __ovld __cnfn convert_ushort2_sat(char2); |
| 1091 | ushort2 __ovld __cnfn convert_ushort2_rte(uchar2); |
| 1092 | ushort2 __ovld __cnfn convert_ushort2_sat_rte(uchar2); |
| 1093 | ushort2 __ovld __cnfn convert_ushort2_rtz(uchar2); |
| 1094 | ushort2 __ovld __cnfn convert_ushort2_sat_rtz(uchar2); |
| 1095 | ushort2 __ovld __cnfn convert_ushort2_rtp(uchar2); |
| 1096 | ushort2 __ovld __cnfn convert_ushort2_sat_rtp(uchar2); |
| 1097 | ushort2 __ovld __cnfn convert_ushort2_rtn(uchar2); |
| 1098 | ushort2 __ovld __cnfn convert_ushort2_sat_rtn(uchar2); |
| 1099 | ushort2 __ovld __cnfn convert_ushort2(uchar2); |
| 1100 | ushort2 __ovld __cnfn convert_ushort2_sat(uchar2); |
| 1101 | ushort2 __ovld __cnfn convert_ushort2_rte(short2); |
| 1102 | ushort2 __ovld __cnfn convert_ushort2_sat_rte(short2); |
| 1103 | ushort2 __ovld __cnfn convert_ushort2_rtz(short2); |
| 1104 | ushort2 __ovld __cnfn convert_ushort2_sat_rtz(short2); |
| 1105 | ushort2 __ovld __cnfn convert_ushort2_rtp(short2); |
| 1106 | ushort2 __ovld __cnfn convert_ushort2_sat_rtp(short2); |
| 1107 | ushort2 __ovld __cnfn convert_ushort2_rtn(short2); |
| 1108 | ushort2 __ovld __cnfn convert_ushort2_sat_rtn(short2); |
| 1109 | ushort2 __ovld __cnfn convert_ushort2(short2); |
| 1110 | ushort2 __ovld __cnfn convert_ushort2_sat(short2); |
| 1111 | ushort2 __ovld __cnfn convert_ushort2_rte(ushort2); |
| 1112 | ushort2 __ovld __cnfn convert_ushort2_sat_rte(ushort2); |
| 1113 | ushort2 __ovld __cnfn convert_ushort2_rtz(ushort2); |
| 1114 | ushort2 __ovld __cnfn convert_ushort2_sat_rtz(ushort2); |
| 1115 | ushort2 __ovld __cnfn convert_ushort2_rtp(ushort2); |
| 1116 | ushort2 __ovld __cnfn convert_ushort2_sat_rtp(ushort2); |
| 1117 | ushort2 __ovld __cnfn convert_ushort2_rtn(ushort2); |
| 1118 | ushort2 __ovld __cnfn convert_ushort2_sat_rtn(ushort2); |
| 1119 | ushort2 __ovld __cnfn convert_ushort2(ushort2); |
| 1120 | ushort2 __ovld __cnfn convert_ushort2_sat(ushort2); |
| 1121 | ushort2 __ovld __cnfn convert_ushort2_rte(int2); |
| 1122 | ushort2 __ovld __cnfn convert_ushort2_sat_rte(int2); |
| 1123 | ushort2 __ovld __cnfn convert_ushort2_rtz(int2); |
| 1124 | ushort2 __ovld __cnfn convert_ushort2_sat_rtz(int2); |
| 1125 | ushort2 __ovld __cnfn convert_ushort2_rtp(int2); |
| 1126 | ushort2 __ovld __cnfn convert_ushort2_sat_rtp(int2); |
| 1127 | ushort2 __ovld __cnfn convert_ushort2_rtn(int2); |
| 1128 | ushort2 __ovld __cnfn convert_ushort2_sat_rtn(int2); |
| 1129 | ushort2 __ovld __cnfn convert_ushort2(int2); |
| 1130 | ushort2 __ovld __cnfn convert_ushort2_sat(int2); |
| 1131 | ushort2 __ovld __cnfn convert_ushort2_rte(uint2); |
| 1132 | ushort2 __ovld __cnfn convert_ushort2_sat_rte(uint2); |
| 1133 | ushort2 __ovld __cnfn convert_ushort2_rtz(uint2); |
| 1134 | ushort2 __ovld __cnfn convert_ushort2_sat_rtz(uint2); |
| 1135 | ushort2 __ovld __cnfn convert_ushort2_rtp(uint2); |
| 1136 | ushort2 __ovld __cnfn convert_ushort2_sat_rtp(uint2); |
| 1137 | ushort2 __ovld __cnfn convert_ushort2_rtn(uint2); |
| 1138 | ushort2 __ovld __cnfn convert_ushort2_sat_rtn(uint2); |
| 1139 | ushort2 __ovld __cnfn convert_ushort2(uint2); |
| 1140 | ushort2 __ovld __cnfn convert_ushort2_sat(uint2); |
| 1141 | ushort2 __ovld __cnfn convert_ushort2_rte(long2); |
| 1142 | ushort2 __ovld __cnfn convert_ushort2_sat_rte(long2); |
| 1143 | ushort2 __ovld __cnfn convert_ushort2_rtz(long2); |
| 1144 | ushort2 __ovld __cnfn convert_ushort2_sat_rtz(long2); |
| 1145 | ushort2 __ovld __cnfn convert_ushort2_rtp(long2); |
| 1146 | ushort2 __ovld __cnfn convert_ushort2_sat_rtp(long2); |
| 1147 | ushort2 __ovld __cnfn convert_ushort2_rtn(long2); |
| 1148 | ushort2 __ovld __cnfn convert_ushort2_sat_rtn(long2); |
| 1149 | ushort2 __ovld __cnfn convert_ushort2(long2); |
| 1150 | ushort2 __ovld __cnfn convert_ushort2_sat(long2); |
| 1151 | ushort2 __ovld __cnfn convert_ushort2_rte(ulong2); |
| 1152 | ushort2 __ovld __cnfn convert_ushort2_sat_rte(ulong2); |
| 1153 | ushort2 __ovld __cnfn convert_ushort2_rtz(ulong2); |
| 1154 | ushort2 __ovld __cnfn convert_ushort2_sat_rtz(ulong2); |
| 1155 | ushort2 __ovld __cnfn convert_ushort2_rtp(ulong2); |
| 1156 | ushort2 __ovld __cnfn convert_ushort2_sat_rtp(ulong2); |
| 1157 | ushort2 __ovld __cnfn convert_ushort2_rtn(ulong2); |
| 1158 | ushort2 __ovld __cnfn convert_ushort2_sat_rtn(ulong2); |
| 1159 | ushort2 __ovld __cnfn convert_ushort2(ulong2); |
| 1160 | ushort2 __ovld __cnfn convert_ushort2_sat(ulong2); |
| 1161 | ushort2 __ovld __cnfn convert_ushort2_rte(float2); |
| 1162 | ushort2 __ovld __cnfn convert_ushort2_sat_rte(float2); |
| 1163 | ushort2 __ovld __cnfn convert_ushort2_rtz(float2); |
| 1164 | ushort2 __ovld __cnfn convert_ushort2_sat_rtz(float2); |
| 1165 | ushort2 __ovld __cnfn convert_ushort2_rtp(float2); |
| 1166 | ushort2 __ovld __cnfn convert_ushort2_sat_rtp(float2); |
| 1167 | ushort2 __ovld __cnfn convert_ushort2_rtn(float2); |
| 1168 | ushort2 __ovld __cnfn convert_ushort2_sat_rtn(float2); |
| 1169 | ushort2 __ovld __cnfn convert_ushort2(float2); |
| 1170 | ushort2 __ovld __cnfn convert_ushort2_sat(float2); |
| 1171 | int2 __ovld __cnfn convert_int2_rte(char2); |
| 1172 | int2 __ovld __cnfn convert_int2_sat_rte(char2); |
| 1173 | int2 __ovld __cnfn convert_int2_rtz(char2); |
| 1174 | int2 __ovld __cnfn convert_int2_sat_rtz(char2); |
| 1175 | int2 __ovld __cnfn convert_int2_rtp(char2); |
| 1176 | int2 __ovld __cnfn convert_int2_sat_rtp(char2); |
| 1177 | int2 __ovld __cnfn convert_int2_rtn(char2); |
| 1178 | int2 __ovld __cnfn convert_int2_sat_rtn(char2); |
| 1179 | int2 __ovld __cnfn convert_int2(char2); |
| 1180 | int2 __ovld __cnfn convert_int2_sat(char2); |
| 1181 | int2 __ovld __cnfn convert_int2_rte(uchar2); |
| 1182 | int2 __ovld __cnfn convert_int2_sat_rte(uchar2); |
| 1183 | int2 __ovld __cnfn convert_int2_rtz(uchar2); |
| 1184 | int2 __ovld __cnfn convert_int2_sat_rtz(uchar2); |
| 1185 | int2 __ovld __cnfn convert_int2_rtp(uchar2); |
| 1186 | int2 __ovld __cnfn convert_int2_sat_rtp(uchar2); |
| 1187 | int2 __ovld __cnfn convert_int2_rtn(uchar2); |
| 1188 | int2 __ovld __cnfn convert_int2_sat_rtn(uchar2); |
| 1189 | int2 __ovld __cnfn convert_int2(uchar2); |
| 1190 | int2 __ovld __cnfn convert_int2_sat(uchar2); |
| 1191 | int2 __ovld __cnfn convert_int2_rte(short2); |
| 1192 | int2 __ovld __cnfn convert_int2_sat_rte(short2); |
| 1193 | int2 __ovld __cnfn convert_int2_rtz(short2); |
| 1194 | int2 __ovld __cnfn convert_int2_sat_rtz(short2); |
| 1195 | int2 __ovld __cnfn convert_int2_rtp(short2); |
| 1196 | int2 __ovld __cnfn convert_int2_sat_rtp(short2); |
| 1197 | int2 __ovld __cnfn convert_int2_rtn(short2); |
| 1198 | int2 __ovld __cnfn convert_int2_sat_rtn(short2); |
| 1199 | int2 __ovld __cnfn convert_int2(short2); |
| 1200 | int2 __ovld __cnfn convert_int2_sat(short2); |
| 1201 | int2 __ovld __cnfn convert_int2_rte(ushort2); |
| 1202 | int2 __ovld __cnfn convert_int2_sat_rte(ushort2); |
| 1203 | int2 __ovld __cnfn convert_int2_rtz(ushort2); |
| 1204 | int2 __ovld __cnfn convert_int2_sat_rtz(ushort2); |
| 1205 | int2 __ovld __cnfn convert_int2_rtp(ushort2); |
| 1206 | int2 __ovld __cnfn convert_int2_sat_rtp(ushort2); |
| 1207 | int2 __ovld __cnfn convert_int2_rtn(ushort2); |
| 1208 | int2 __ovld __cnfn convert_int2_sat_rtn(ushort2); |
| 1209 | int2 __ovld __cnfn convert_int2(ushort2); |
| 1210 | int2 __ovld __cnfn convert_int2_sat(ushort2); |
| 1211 | int2 __ovld __cnfn convert_int2_rte(int2); |
| 1212 | int2 __ovld __cnfn convert_int2_sat_rte(int2); |
| 1213 | int2 __ovld __cnfn convert_int2_rtz(int2); |
| 1214 | int2 __ovld __cnfn convert_int2_sat_rtz(int2); |
| 1215 | int2 __ovld __cnfn convert_int2_rtp(int2); |
| 1216 | int2 __ovld __cnfn convert_int2_sat_rtp(int2); |
| 1217 | int2 __ovld __cnfn convert_int2_rtn(int2); |
| 1218 | int2 __ovld __cnfn convert_int2_sat_rtn(int2); |
| 1219 | int2 __ovld __cnfn convert_int2(int2); |
| 1220 | int2 __ovld __cnfn convert_int2_sat(int2); |
| 1221 | int2 __ovld __cnfn convert_int2_rte(uint2); |
| 1222 | int2 __ovld __cnfn convert_int2_sat_rte(uint2); |
| 1223 | int2 __ovld __cnfn convert_int2_rtz(uint2); |
| 1224 | int2 __ovld __cnfn convert_int2_sat_rtz(uint2); |
| 1225 | int2 __ovld __cnfn convert_int2_rtp(uint2); |
| 1226 | int2 __ovld __cnfn convert_int2_sat_rtp(uint2); |
| 1227 | int2 __ovld __cnfn convert_int2_rtn(uint2); |
| 1228 | int2 __ovld __cnfn convert_int2_sat_rtn(uint2); |
| 1229 | int2 __ovld __cnfn convert_int2(uint2); |
| 1230 | int2 __ovld __cnfn convert_int2_sat(uint2); |
| 1231 | int2 __ovld __cnfn convert_int2_rte(long2); |
| 1232 | int2 __ovld __cnfn convert_int2_sat_rte(long2); |
| 1233 | int2 __ovld __cnfn convert_int2_rtz(long2); |
| 1234 | int2 __ovld __cnfn convert_int2_sat_rtz(long2); |
| 1235 | int2 __ovld __cnfn convert_int2_rtp(long2); |
| 1236 | int2 __ovld __cnfn convert_int2_sat_rtp(long2); |
| 1237 | int2 __ovld __cnfn convert_int2_rtn(long2); |
| 1238 | int2 __ovld __cnfn convert_int2_sat_rtn(long2); |
| 1239 | int2 __ovld __cnfn convert_int2(long2); |
| 1240 | int2 __ovld __cnfn convert_int2_sat(long2); |
| 1241 | int2 __ovld __cnfn convert_int2_rte(ulong2); |
| 1242 | int2 __ovld __cnfn convert_int2_sat_rte(ulong2); |
| 1243 | int2 __ovld __cnfn convert_int2_rtz(ulong2); |
| 1244 | int2 __ovld __cnfn convert_int2_sat_rtz(ulong2); |
| 1245 | int2 __ovld __cnfn convert_int2_rtp(ulong2); |
| 1246 | int2 __ovld __cnfn convert_int2_sat_rtp(ulong2); |
| 1247 | int2 __ovld __cnfn convert_int2_rtn(ulong2); |
| 1248 | int2 __ovld __cnfn convert_int2_sat_rtn(ulong2); |
| 1249 | int2 __ovld __cnfn convert_int2(ulong2); |
| 1250 | int2 __ovld __cnfn convert_int2_sat(ulong2); |
| 1251 | int2 __ovld __cnfn convert_int2_rte(float2); |
| 1252 | int2 __ovld __cnfn convert_int2_sat_rte(float2); |
| 1253 | int2 __ovld __cnfn convert_int2_rtz(float2); |
| 1254 | int2 __ovld __cnfn convert_int2_sat_rtz(float2); |
| 1255 | int2 __ovld __cnfn convert_int2_rtp(float2); |
| 1256 | int2 __ovld __cnfn convert_int2_sat_rtp(float2); |
| 1257 | int2 __ovld __cnfn convert_int2_rtn(float2); |
| 1258 | int2 __ovld __cnfn convert_int2_sat_rtn(float2); |
| 1259 | int2 __ovld __cnfn convert_int2(float2); |
| 1260 | int2 __ovld __cnfn convert_int2_sat(float2); |
| 1261 | uint2 __ovld __cnfn convert_uint2_rte(char2); |
| 1262 | uint2 __ovld __cnfn convert_uint2_sat_rte(char2); |
| 1263 | uint2 __ovld __cnfn convert_uint2_rtz(char2); |
| 1264 | uint2 __ovld __cnfn convert_uint2_sat_rtz(char2); |
| 1265 | uint2 __ovld __cnfn convert_uint2_rtp(char2); |
| 1266 | uint2 __ovld __cnfn convert_uint2_sat_rtp(char2); |
| 1267 | uint2 __ovld __cnfn convert_uint2_rtn(char2); |
| 1268 | uint2 __ovld __cnfn convert_uint2_sat_rtn(char2); |
| 1269 | uint2 __ovld __cnfn convert_uint2(char2); |
| 1270 | uint2 __ovld __cnfn convert_uint2_sat(char2); |
| 1271 | uint2 __ovld __cnfn convert_uint2_rte(uchar2); |
| 1272 | uint2 __ovld __cnfn convert_uint2_sat_rte(uchar2); |
| 1273 | uint2 __ovld __cnfn convert_uint2_rtz(uchar2); |
| 1274 | uint2 __ovld __cnfn convert_uint2_sat_rtz(uchar2); |
| 1275 | uint2 __ovld __cnfn convert_uint2_rtp(uchar2); |
| 1276 | uint2 __ovld __cnfn convert_uint2_sat_rtp(uchar2); |
| 1277 | uint2 __ovld __cnfn convert_uint2_rtn(uchar2); |
| 1278 | uint2 __ovld __cnfn convert_uint2_sat_rtn(uchar2); |
| 1279 | uint2 __ovld __cnfn convert_uint2(uchar2); |
| 1280 | uint2 __ovld __cnfn convert_uint2_sat(uchar2); |
| 1281 | uint2 __ovld __cnfn convert_uint2_rte(short2); |
| 1282 | uint2 __ovld __cnfn convert_uint2_sat_rte(short2); |
| 1283 | uint2 __ovld __cnfn convert_uint2_rtz(short2); |
| 1284 | uint2 __ovld __cnfn convert_uint2_sat_rtz(short2); |
| 1285 | uint2 __ovld __cnfn convert_uint2_rtp(short2); |
| 1286 | uint2 __ovld __cnfn convert_uint2_sat_rtp(short2); |
| 1287 | uint2 __ovld __cnfn convert_uint2_rtn(short2); |
| 1288 | uint2 __ovld __cnfn convert_uint2_sat_rtn(short2); |
| 1289 | uint2 __ovld __cnfn convert_uint2(short2); |
| 1290 | uint2 __ovld __cnfn convert_uint2_sat(short2); |
| 1291 | uint2 __ovld __cnfn convert_uint2_rte(ushort2); |
| 1292 | uint2 __ovld __cnfn convert_uint2_sat_rte(ushort2); |
| 1293 | uint2 __ovld __cnfn convert_uint2_rtz(ushort2); |
| 1294 | uint2 __ovld __cnfn convert_uint2_sat_rtz(ushort2); |
| 1295 | uint2 __ovld __cnfn convert_uint2_rtp(ushort2); |
| 1296 | uint2 __ovld __cnfn convert_uint2_sat_rtp(ushort2); |
| 1297 | uint2 __ovld __cnfn convert_uint2_rtn(ushort2); |
| 1298 | uint2 __ovld __cnfn convert_uint2_sat_rtn(ushort2); |
| 1299 | uint2 __ovld __cnfn convert_uint2(ushort2); |
| 1300 | uint2 __ovld __cnfn convert_uint2_sat(ushort2); |
| 1301 | uint2 __ovld __cnfn convert_uint2_rte(int2); |
| 1302 | uint2 __ovld __cnfn convert_uint2_sat_rte(int2); |
| 1303 | uint2 __ovld __cnfn convert_uint2_rtz(int2); |
| 1304 | uint2 __ovld __cnfn convert_uint2_sat_rtz(int2); |
| 1305 | uint2 __ovld __cnfn convert_uint2_rtp(int2); |
| 1306 | uint2 __ovld __cnfn convert_uint2_sat_rtp(int2); |
| 1307 | uint2 __ovld __cnfn convert_uint2_rtn(int2); |
| 1308 | uint2 __ovld __cnfn convert_uint2_sat_rtn(int2); |
| 1309 | uint2 __ovld __cnfn convert_uint2(int2); |
| 1310 | uint2 __ovld __cnfn convert_uint2_sat(int2); |
| 1311 | uint2 __ovld __cnfn convert_uint2_rte(uint2); |
| 1312 | uint2 __ovld __cnfn convert_uint2_sat_rte(uint2); |
| 1313 | uint2 __ovld __cnfn convert_uint2_rtz(uint2); |
| 1314 | uint2 __ovld __cnfn convert_uint2_sat_rtz(uint2); |
| 1315 | uint2 __ovld __cnfn convert_uint2_rtp(uint2); |
| 1316 | uint2 __ovld __cnfn convert_uint2_sat_rtp(uint2); |
| 1317 | uint2 __ovld __cnfn convert_uint2_rtn(uint2); |
| 1318 | uint2 __ovld __cnfn convert_uint2_sat_rtn(uint2); |
| 1319 | uint2 __ovld __cnfn convert_uint2(uint2); |
| 1320 | uint2 __ovld __cnfn convert_uint2_sat(uint2); |
| 1321 | uint2 __ovld __cnfn convert_uint2_rte(long2); |
| 1322 | uint2 __ovld __cnfn convert_uint2_sat_rte(long2); |
| 1323 | uint2 __ovld __cnfn convert_uint2_rtz(long2); |
| 1324 | uint2 __ovld __cnfn convert_uint2_sat_rtz(long2); |
| 1325 | uint2 __ovld __cnfn convert_uint2_rtp(long2); |
| 1326 | uint2 __ovld __cnfn convert_uint2_sat_rtp(long2); |
| 1327 | uint2 __ovld __cnfn convert_uint2_rtn(long2); |
| 1328 | uint2 __ovld __cnfn convert_uint2_sat_rtn(long2); |
| 1329 | uint2 __ovld __cnfn convert_uint2(long2); |
| 1330 | uint2 __ovld __cnfn convert_uint2_sat(long2); |
| 1331 | uint2 __ovld __cnfn convert_uint2_rte(ulong2); |
| 1332 | uint2 __ovld __cnfn convert_uint2_sat_rte(ulong2); |
| 1333 | uint2 __ovld __cnfn convert_uint2_rtz(ulong2); |
| 1334 | uint2 __ovld __cnfn convert_uint2_sat_rtz(ulong2); |
| 1335 | uint2 __ovld __cnfn convert_uint2_rtp(ulong2); |
| 1336 | uint2 __ovld __cnfn convert_uint2_sat_rtp(ulong2); |
| 1337 | uint2 __ovld __cnfn convert_uint2_rtn(ulong2); |
| 1338 | uint2 __ovld __cnfn convert_uint2_sat_rtn(ulong2); |
| 1339 | uint2 __ovld __cnfn convert_uint2(ulong2); |
| 1340 | uint2 __ovld __cnfn convert_uint2_sat(ulong2); |
| 1341 | uint2 __ovld __cnfn convert_uint2_rte(float2); |
| 1342 | uint2 __ovld __cnfn convert_uint2_sat_rte(float2); |
| 1343 | uint2 __ovld __cnfn convert_uint2_rtz(float2); |
| 1344 | uint2 __ovld __cnfn convert_uint2_sat_rtz(float2); |
| 1345 | uint2 __ovld __cnfn convert_uint2_rtp(float2); |
| 1346 | uint2 __ovld __cnfn convert_uint2_sat_rtp(float2); |
| 1347 | uint2 __ovld __cnfn convert_uint2_rtn(float2); |
| 1348 | uint2 __ovld __cnfn convert_uint2_sat_rtn(float2); |
| 1349 | uint2 __ovld __cnfn convert_uint2(float2); |
| 1350 | uint2 __ovld __cnfn convert_uint2_sat(float2); |
| 1351 | long2 __ovld __cnfn convert_long2_rte(char2); |
| 1352 | long2 __ovld __cnfn convert_long2_sat_rte(char2); |
| 1353 | long2 __ovld __cnfn convert_long2_rtz(char2); |
| 1354 | long2 __ovld __cnfn convert_long2_sat_rtz(char2); |
| 1355 | long2 __ovld __cnfn convert_long2_rtp(char2); |
| 1356 | long2 __ovld __cnfn convert_long2_sat_rtp(char2); |
| 1357 | long2 __ovld __cnfn convert_long2_rtn(char2); |
| 1358 | long2 __ovld __cnfn convert_long2_sat_rtn(char2); |
| 1359 | long2 __ovld __cnfn convert_long2(char2); |
| 1360 | long2 __ovld __cnfn convert_long2_sat(char2); |
| 1361 | long2 __ovld __cnfn convert_long2_rte(uchar2); |
| 1362 | long2 __ovld __cnfn convert_long2_sat_rte(uchar2); |
| 1363 | long2 __ovld __cnfn convert_long2_rtz(uchar2); |
| 1364 | long2 __ovld __cnfn convert_long2_sat_rtz(uchar2); |
| 1365 | long2 __ovld __cnfn convert_long2_rtp(uchar2); |
| 1366 | long2 __ovld __cnfn convert_long2_sat_rtp(uchar2); |
| 1367 | long2 __ovld __cnfn convert_long2_rtn(uchar2); |
| 1368 | long2 __ovld __cnfn convert_long2_sat_rtn(uchar2); |
| 1369 | long2 __ovld __cnfn convert_long2(uchar2); |
| 1370 | long2 __ovld __cnfn convert_long2_sat(uchar2); |
| 1371 | long2 __ovld __cnfn convert_long2_rte(short2); |
| 1372 | long2 __ovld __cnfn convert_long2_sat_rte(short2); |
| 1373 | long2 __ovld __cnfn convert_long2_rtz(short2); |
| 1374 | long2 __ovld __cnfn convert_long2_sat_rtz(short2); |
| 1375 | long2 __ovld __cnfn convert_long2_rtp(short2); |
| 1376 | long2 __ovld __cnfn convert_long2_sat_rtp(short2); |
| 1377 | long2 __ovld __cnfn convert_long2_rtn(short2); |
| 1378 | long2 __ovld __cnfn convert_long2_sat_rtn(short2); |
| 1379 | long2 __ovld __cnfn convert_long2(short2); |
| 1380 | long2 __ovld __cnfn convert_long2_sat(short2); |
| 1381 | long2 __ovld __cnfn convert_long2_rte(ushort2); |
| 1382 | long2 __ovld __cnfn convert_long2_sat_rte(ushort2); |
| 1383 | long2 __ovld __cnfn convert_long2_rtz(ushort2); |
| 1384 | long2 __ovld __cnfn convert_long2_sat_rtz(ushort2); |
| 1385 | long2 __ovld __cnfn convert_long2_rtp(ushort2); |
| 1386 | long2 __ovld __cnfn convert_long2_sat_rtp(ushort2); |
| 1387 | long2 __ovld __cnfn convert_long2_rtn(ushort2); |
| 1388 | long2 __ovld __cnfn convert_long2_sat_rtn(ushort2); |
| 1389 | long2 __ovld __cnfn convert_long2(ushort2); |
| 1390 | long2 __ovld __cnfn convert_long2_sat(ushort2); |
| 1391 | long2 __ovld __cnfn convert_long2_rte(int2); |
| 1392 | long2 __ovld __cnfn convert_long2_sat_rte(int2); |
| 1393 | long2 __ovld __cnfn convert_long2_rtz(int2); |
| 1394 | long2 __ovld __cnfn convert_long2_sat_rtz(int2); |
| 1395 | long2 __ovld __cnfn convert_long2_rtp(int2); |
| 1396 | long2 __ovld __cnfn convert_long2_sat_rtp(int2); |
| 1397 | long2 __ovld __cnfn convert_long2_rtn(int2); |
| 1398 | long2 __ovld __cnfn convert_long2_sat_rtn(int2); |
| 1399 | long2 __ovld __cnfn convert_long2(int2); |
| 1400 | long2 __ovld __cnfn convert_long2_sat(int2); |
| 1401 | long2 __ovld __cnfn convert_long2_rte(uint2); |
| 1402 | long2 __ovld __cnfn convert_long2_sat_rte(uint2); |
| 1403 | long2 __ovld __cnfn convert_long2_rtz(uint2); |
| 1404 | long2 __ovld __cnfn convert_long2_sat_rtz(uint2); |
| 1405 | long2 __ovld __cnfn convert_long2_rtp(uint2); |
| 1406 | long2 __ovld __cnfn convert_long2_sat_rtp(uint2); |
| 1407 | long2 __ovld __cnfn convert_long2_rtn(uint2); |
| 1408 | long2 __ovld __cnfn convert_long2_sat_rtn(uint2); |
| 1409 | long2 __ovld __cnfn convert_long2(uint2); |
| 1410 | long2 __ovld __cnfn convert_long2_sat(uint2); |
| 1411 | long2 __ovld __cnfn convert_long2_rte(long2); |
| 1412 | long2 __ovld __cnfn convert_long2_sat_rte(long2); |
| 1413 | long2 __ovld __cnfn convert_long2_rtz(long2); |
| 1414 | long2 __ovld __cnfn convert_long2_sat_rtz(long2); |
| 1415 | long2 __ovld __cnfn convert_long2_rtp(long2); |
| 1416 | long2 __ovld __cnfn convert_long2_sat_rtp(long2); |
| 1417 | long2 __ovld __cnfn convert_long2_rtn(long2); |
| 1418 | long2 __ovld __cnfn convert_long2_sat_rtn(long2); |
| 1419 | long2 __ovld __cnfn convert_long2(long2); |
| 1420 | long2 __ovld __cnfn convert_long2_sat(long2); |
| 1421 | long2 __ovld __cnfn convert_long2_rte(ulong2); |
| 1422 | long2 __ovld __cnfn convert_long2_sat_rte(ulong2); |
| 1423 | long2 __ovld __cnfn convert_long2_rtz(ulong2); |
| 1424 | long2 __ovld __cnfn convert_long2_sat_rtz(ulong2); |
| 1425 | long2 __ovld __cnfn convert_long2_rtp(ulong2); |
| 1426 | long2 __ovld __cnfn convert_long2_sat_rtp(ulong2); |
| 1427 | long2 __ovld __cnfn convert_long2_rtn(ulong2); |
| 1428 | long2 __ovld __cnfn convert_long2_sat_rtn(ulong2); |
| 1429 | long2 __ovld __cnfn convert_long2(ulong2); |
| 1430 | long2 __ovld __cnfn convert_long2_sat(ulong2); |
| 1431 | long2 __ovld __cnfn convert_long2_rte(float2); |
| 1432 | long2 __ovld __cnfn convert_long2_sat_rte(float2); |
| 1433 | long2 __ovld __cnfn convert_long2_rtz(float2); |
| 1434 | long2 __ovld __cnfn convert_long2_sat_rtz(float2); |
| 1435 | long2 __ovld __cnfn convert_long2_rtp(float2); |
| 1436 | long2 __ovld __cnfn convert_long2_sat_rtp(float2); |
| 1437 | long2 __ovld __cnfn convert_long2_rtn(float2); |
| 1438 | long2 __ovld __cnfn convert_long2_sat_rtn(float2); |
| 1439 | long2 __ovld __cnfn convert_long2(float2); |
| 1440 | long2 __ovld __cnfn convert_long2_sat(float2); |
| 1441 | ulong2 __ovld __cnfn convert_ulong2_rte(char2); |
| 1442 | ulong2 __ovld __cnfn convert_ulong2_sat_rte(char2); |
| 1443 | ulong2 __ovld __cnfn convert_ulong2_rtz(char2); |
| 1444 | ulong2 __ovld __cnfn convert_ulong2_sat_rtz(char2); |
| 1445 | ulong2 __ovld __cnfn convert_ulong2_rtp(char2); |
| 1446 | ulong2 __ovld __cnfn convert_ulong2_sat_rtp(char2); |
| 1447 | ulong2 __ovld __cnfn convert_ulong2_rtn(char2); |
| 1448 | ulong2 __ovld __cnfn convert_ulong2_sat_rtn(char2); |
| 1449 | ulong2 __ovld __cnfn convert_ulong2(char2); |
| 1450 | ulong2 __ovld __cnfn convert_ulong2_sat(char2); |
| 1451 | ulong2 __ovld __cnfn convert_ulong2_rte(uchar2); |
| 1452 | ulong2 __ovld __cnfn convert_ulong2_sat_rte(uchar2); |
| 1453 | ulong2 __ovld __cnfn convert_ulong2_rtz(uchar2); |
| 1454 | ulong2 __ovld __cnfn convert_ulong2_sat_rtz(uchar2); |
| 1455 | ulong2 __ovld __cnfn convert_ulong2_rtp(uchar2); |
| 1456 | ulong2 __ovld __cnfn convert_ulong2_sat_rtp(uchar2); |
| 1457 | ulong2 __ovld __cnfn convert_ulong2_rtn(uchar2); |
| 1458 | ulong2 __ovld __cnfn convert_ulong2_sat_rtn(uchar2); |
| 1459 | ulong2 __ovld __cnfn convert_ulong2(uchar2); |
| 1460 | ulong2 __ovld __cnfn convert_ulong2_sat(uchar2); |
| 1461 | ulong2 __ovld __cnfn convert_ulong2_rte(short2); |
| 1462 | ulong2 __ovld __cnfn convert_ulong2_sat_rte(short2); |
| 1463 | ulong2 __ovld __cnfn convert_ulong2_rtz(short2); |
| 1464 | ulong2 __ovld __cnfn convert_ulong2_sat_rtz(short2); |
| 1465 | ulong2 __ovld __cnfn convert_ulong2_rtp(short2); |
| 1466 | ulong2 __ovld __cnfn convert_ulong2_sat_rtp(short2); |
| 1467 | ulong2 __ovld __cnfn convert_ulong2_rtn(short2); |
| 1468 | ulong2 __ovld __cnfn convert_ulong2_sat_rtn(short2); |
| 1469 | ulong2 __ovld __cnfn convert_ulong2(short2); |
| 1470 | ulong2 __ovld __cnfn convert_ulong2_sat(short2); |
| 1471 | ulong2 __ovld __cnfn convert_ulong2_rte(ushort2); |
| 1472 | ulong2 __ovld __cnfn convert_ulong2_sat_rte(ushort2); |
| 1473 | ulong2 __ovld __cnfn convert_ulong2_rtz(ushort2); |
| 1474 | ulong2 __ovld __cnfn convert_ulong2_sat_rtz(ushort2); |
| 1475 | ulong2 __ovld __cnfn convert_ulong2_rtp(ushort2); |
| 1476 | ulong2 __ovld __cnfn convert_ulong2_sat_rtp(ushort2); |
| 1477 | ulong2 __ovld __cnfn convert_ulong2_rtn(ushort2); |
| 1478 | ulong2 __ovld __cnfn convert_ulong2_sat_rtn(ushort2); |
| 1479 | ulong2 __ovld __cnfn convert_ulong2(ushort2); |
| 1480 | ulong2 __ovld __cnfn convert_ulong2_sat(ushort2); |
| 1481 | ulong2 __ovld __cnfn convert_ulong2_rte(int2); |
| 1482 | ulong2 __ovld __cnfn convert_ulong2_sat_rte(int2); |
| 1483 | ulong2 __ovld __cnfn convert_ulong2_rtz(int2); |
| 1484 | ulong2 __ovld __cnfn convert_ulong2_sat_rtz(int2); |
| 1485 | ulong2 __ovld __cnfn convert_ulong2_rtp(int2); |
| 1486 | ulong2 __ovld __cnfn convert_ulong2_sat_rtp(int2); |
| 1487 | ulong2 __ovld __cnfn convert_ulong2_rtn(int2); |
| 1488 | ulong2 __ovld __cnfn convert_ulong2_sat_rtn(int2); |
| 1489 | ulong2 __ovld __cnfn convert_ulong2(int2); |
| 1490 | ulong2 __ovld __cnfn convert_ulong2_sat(int2); |
| 1491 | ulong2 __ovld __cnfn convert_ulong2_rte(uint2); |
| 1492 | ulong2 __ovld __cnfn convert_ulong2_sat_rte(uint2); |
| 1493 | ulong2 __ovld __cnfn convert_ulong2_rtz(uint2); |
| 1494 | ulong2 __ovld __cnfn convert_ulong2_sat_rtz(uint2); |
| 1495 | ulong2 __ovld __cnfn convert_ulong2_rtp(uint2); |
| 1496 | ulong2 __ovld __cnfn convert_ulong2_sat_rtp(uint2); |
| 1497 | ulong2 __ovld __cnfn convert_ulong2_rtn(uint2); |
| 1498 | ulong2 __ovld __cnfn convert_ulong2_sat_rtn(uint2); |
| 1499 | ulong2 __ovld __cnfn convert_ulong2(uint2); |
| 1500 | ulong2 __ovld __cnfn convert_ulong2_sat(uint2); |
| 1501 | ulong2 __ovld __cnfn convert_ulong2_rte(long2); |
| 1502 | ulong2 __ovld __cnfn convert_ulong2_sat_rte(long2); |
| 1503 | ulong2 __ovld __cnfn convert_ulong2_rtz(long2); |
| 1504 | ulong2 __ovld __cnfn convert_ulong2_sat_rtz(long2); |
| 1505 | ulong2 __ovld __cnfn convert_ulong2_rtp(long2); |
| 1506 | ulong2 __ovld __cnfn convert_ulong2_sat_rtp(long2); |
| 1507 | ulong2 __ovld __cnfn convert_ulong2_rtn(long2); |
| 1508 | ulong2 __ovld __cnfn convert_ulong2_sat_rtn(long2); |
| 1509 | ulong2 __ovld __cnfn convert_ulong2(long2); |
| 1510 | ulong2 __ovld __cnfn convert_ulong2_sat(long2); |
| 1511 | ulong2 __ovld __cnfn convert_ulong2_rte(ulong2); |
| 1512 | ulong2 __ovld __cnfn convert_ulong2_sat_rte(ulong2); |
| 1513 | ulong2 __ovld __cnfn convert_ulong2_rtz(ulong2); |
| 1514 | ulong2 __ovld __cnfn convert_ulong2_sat_rtz(ulong2); |
| 1515 | ulong2 __ovld __cnfn convert_ulong2_rtp(ulong2); |
| 1516 | ulong2 __ovld __cnfn convert_ulong2_sat_rtp(ulong2); |
| 1517 | ulong2 __ovld __cnfn convert_ulong2_rtn(ulong2); |
| 1518 | ulong2 __ovld __cnfn convert_ulong2_sat_rtn(ulong2); |
| 1519 | ulong2 __ovld __cnfn convert_ulong2(ulong2); |
| 1520 | ulong2 __ovld __cnfn convert_ulong2_sat(ulong2); |
| 1521 | ulong2 __ovld __cnfn convert_ulong2_rte(float2); |
| 1522 | ulong2 __ovld __cnfn convert_ulong2_sat_rte(float2); |
| 1523 | ulong2 __ovld __cnfn convert_ulong2_rtz(float2); |
| 1524 | ulong2 __ovld __cnfn convert_ulong2_sat_rtz(float2); |
| 1525 | ulong2 __ovld __cnfn convert_ulong2_rtp(float2); |
| 1526 | ulong2 __ovld __cnfn convert_ulong2_sat_rtp(float2); |
| 1527 | ulong2 __ovld __cnfn convert_ulong2_rtn(float2); |
| 1528 | ulong2 __ovld __cnfn convert_ulong2_sat_rtn(float2); |
| 1529 | ulong2 __ovld __cnfn convert_ulong2(float2); |
| 1530 | ulong2 __ovld __cnfn convert_ulong2_sat(float2); |
| 1531 | float2 __ovld __cnfn convert_float2_rte(char2); |
| 1532 | float2 __ovld __cnfn convert_float2_rtz(char2); |
| 1533 | float2 __ovld __cnfn convert_float2_rtp(char2); |
| 1534 | float2 __ovld __cnfn convert_float2_rtn(char2); |
| 1535 | float2 __ovld __cnfn convert_float2(char2); |
| 1536 | float2 __ovld __cnfn convert_float2_rte(uchar2); |
| 1537 | float2 __ovld __cnfn convert_float2_rtz(uchar2); |
| 1538 | float2 __ovld __cnfn convert_float2_rtp(uchar2); |
| 1539 | float2 __ovld __cnfn convert_float2_rtn(uchar2); |
| 1540 | float2 __ovld __cnfn convert_float2(uchar2); |
| 1541 | float2 __ovld __cnfn convert_float2_rte(short2); |
| 1542 | float2 __ovld __cnfn convert_float2_rtz(short2); |
| 1543 | float2 __ovld __cnfn convert_float2_rtp(short2); |
| 1544 | float2 __ovld __cnfn convert_float2_rtn(short2); |
| 1545 | float2 __ovld __cnfn convert_float2(short2); |
| 1546 | float2 __ovld __cnfn convert_float2_rte(ushort2); |
| 1547 | float2 __ovld __cnfn convert_float2_rtz(ushort2); |
| 1548 | float2 __ovld __cnfn convert_float2_rtp(ushort2); |
| 1549 | float2 __ovld __cnfn convert_float2_rtn(ushort2); |
| 1550 | float2 __ovld __cnfn convert_float2(ushort2); |
| 1551 | float2 __ovld __cnfn convert_float2_rte(int2); |
| 1552 | float2 __ovld __cnfn convert_float2_rtz(int2); |
| 1553 | float2 __ovld __cnfn convert_float2_rtp(int2); |
| 1554 | float2 __ovld __cnfn convert_float2_rtn(int2); |
| 1555 | float2 __ovld __cnfn convert_float2(int2); |
| 1556 | float2 __ovld __cnfn convert_float2_rte(uint2); |
| 1557 | float2 __ovld __cnfn convert_float2_rtz(uint2); |
| 1558 | float2 __ovld __cnfn convert_float2_rtp(uint2); |
| 1559 | float2 __ovld __cnfn convert_float2_rtn(uint2); |
| 1560 | float2 __ovld __cnfn convert_float2(uint2); |
| 1561 | float2 __ovld __cnfn convert_float2_rte(long2); |
| 1562 | float2 __ovld __cnfn convert_float2_rtz(long2); |
| 1563 | float2 __ovld __cnfn convert_float2_rtp(long2); |
| 1564 | float2 __ovld __cnfn convert_float2_rtn(long2); |
| 1565 | float2 __ovld __cnfn convert_float2(long2); |
| 1566 | float2 __ovld __cnfn convert_float2_rte(ulong2); |
| 1567 | float2 __ovld __cnfn convert_float2_rtz(ulong2); |
| 1568 | float2 __ovld __cnfn convert_float2_rtp(ulong2); |
| 1569 | float2 __ovld __cnfn convert_float2_rtn(ulong2); |
| 1570 | float2 __ovld __cnfn convert_float2(ulong2); |
| 1571 | float2 __ovld __cnfn convert_float2_rte(float2); |
| 1572 | float2 __ovld __cnfn convert_float2_rtz(float2); |
| 1573 | float2 __ovld __cnfn convert_float2_rtp(float2); |
| 1574 | float2 __ovld __cnfn convert_float2_rtn(float2); |
| 1575 | float2 __ovld __cnfn convert_float2(float2); |
| 1576 | char3 __ovld __cnfn convert_char3_rte(char3); |
| 1577 | char3 __ovld __cnfn convert_char3_sat_rte(char3); |
| 1578 | char3 __ovld __cnfn convert_char3_rtz(char3); |
| 1579 | char3 __ovld __cnfn convert_char3_sat_rtz(char3); |
| 1580 | char3 __ovld __cnfn convert_char3_rtp(char3); |
| 1581 | char3 __ovld __cnfn convert_char3_sat_rtp(char3); |
| 1582 | char3 __ovld __cnfn convert_char3_rtn(char3); |
| 1583 | char3 __ovld __cnfn convert_char3_sat_rtn(char3); |
| 1584 | char3 __ovld __cnfn convert_char3(char3); |
| 1585 | char3 __ovld __cnfn convert_char3_sat(char3); |
| 1586 | char3 __ovld __cnfn convert_char3_rte(uchar3); |
| 1587 | char3 __ovld __cnfn convert_char3_sat_rte(uchar3); |
| 1588 | char3 __ovld __cnfn convert_char3_rtz(uchar3); |
| 1589 | char3 __ovld __cnfn convert_char3_sat_rtz(uchar3); |
| 1590 | char3 __ovld __cnfn convert_char3_rtp(uchar3); |
| 1591 | char3 __ovld __cnfn convert_char3_sat_rtp(uchar3); |
| 1592 | char3 __ovld __cnfn convert_char3_rtn(uchar3); |
| 1593 | char3 __ovld __cnfn convert_char3_sat_rtn(uchar3); |
| 1594 | char3 __ovld __cnfn convert_char3(uchar3); |
| 1595 | char3 __ovld __cnfn convert_char3_sat(uchar3); |
| 1596 | char3 __ovld __cnfn convert_char3_rte(short3); |
| 1597 | char3 __ovld __cnfn convert_char3_sat_rte(short3); |
| 1598 | char3 __ovld __cnfn convert_char3_rtz(short3); |
| 1599 | char3 __ovld __cnfn convert_char3_sat_rtz(short3); |
| 1600 | char3 __ovld __cnfn convert_char3_rtp(short3); |
| 1601 | char3 __ovld __cnfn convert_char3_sat_rtp(short3); |
| 1602 | char3 __ovld __cnfn convert_char3_rtn(short3); |
| 1603 | char3 __ovld __cnfn convert_char3_sat_rtn(short3); |
| 1604 | char3 __ovld __cnfn convert_char3(short3); |
| 1605 | char3 __ovld __cnfn convert_char3_sat(short3); |
| 1606 | char3 __ovld __cnfn convert_char3_rte(ushort3); |
| 1607 | char3 __ovld __cnfn convert_char3_sat_rte(ushort3); |
| 1608 | char3 __ovld __cnfn convert_char3_rtz(ushort3); |
| 1609 | char3 __ovld __cnfn convert_char3_sat_rtz(ushort3); |
| 1610 | char3 __ovld __cnfn convert_char3_rtp(ushort3); |
| 1611 | char3 __ovld __cnfn convert_char3_sat_rtp(ushort3); |
| 1612 | char3 __ovld __cnfn convert_char3_rtn(ushort3); |
| 1613 | char3 __ovld __cnfn convert_char3_sat_rtn(ushort3); |
| 1614 | char3 __ovld __cnfn convert_char3(ushort3); |
| 1615 | char3 __ovld __cnfn convert_char3_sat(ushort3); |
| 1616 | char3 __ovld __cnfn convert_char3_rte(int3); |
| 1617 | char3 __ovld __cnfn convert_char3_sat_rte(int3); |
| 1618 | char3 __ovld __cnfn convert_char3_rtz(int3); |
| 1619 | char3 __ovld __cnfn convert_char3_sat_rtz(int3); |
| 1620 | char3 __ovld __cnfn convert_char3_rtp(int3); |
| 1621 | char3 __ovld __cnfn convert_char3_sat_rtp(int3); |
| 1622 | char3 __ovld __cnfn convert_char3_rtn(int3); |
| 1623 | char3 __ovld __cnfn convert_char3_sat_rtn(int3); |
| 1624 | char3 __ovld __cnfn convert_char3(int3); |
| 1625 | char3 __ovld __cnfn convert_char3_sat(int3); |
| 1626 | char3 __ovld __cnfn convert_char3_rte(uint3); |
| 1627 | char3 __ovld __cnfn convert_char3_sat_rte(uint3); |
| 1628 | char3 __ovld __cnfn convert_char3_rtz(uint3); |
| 1629 | char3 __ovld __cnfn convert_char3_sat_rtz(uint3); |
| 1630 | char3 __ovld __cnfn convert_char3_rtp(uint3); |
| 1631 | char3 __ovld __cnfn convert_char3_sat_rtp(uint3); |
| 1632 | char3 __ovld __cnfn convert_char3_rtn(uint3); |
| 1633 | char3 __ovld __cnfn convert_char3_sat_rtn(uint3); |
| 1634 | char3 __ovld __cnfn convert_char3(uint3); |
| 1635 | char3 __ovld __cnfn convert_char3_sat(uint3); |
| 1636 | char3 __ovld __cnfn convert_char3_rte(long3); |
| 1637 | char3 __ovld __cnfn convert_char3_sat_rte(long3); |
| 1638 | char3 __ovld __cnfn convert_char3_rtz(long3); |
| 1639 | char3 __ovld __cnfn convert_char3_sat_rtz(long3); |
| 1640 | char3 __ovld __cnfn convert_char3_rtp(long3); |
| 1641 | char3 __ovld __cnfn convert_char3_sat_rtp(long3); |
| 1642 | char3 __ovld __cnfn convert_char3_rtn(long3); |
| 1643 | char3 __ovld __cnfn convert_char3_sat_rtn(long3); |
| 1644 | char3 __ovld __cnfn convert_char3(long3); |
| 1645 | char3 __ovld __cnfn convert_char3_sat(long3); |
| 1646 | char3 __ovld __cnfn convert_char3_rte(ulong3); |
| 1647 | char3 __ovld __cnfn convert_char3_sat_rte(ulong3); |
| 1648 | char3 __ovld __cnfn convert_char3_rtz(ulong3); |
| 1649 | char3 __ovld __cnfn convert_char3_sat_rtz(ulong3); |
| 1650 | char3 __ovld __cnfn convert_char3_rtp(ulong3); |
| 1651 | char3 __ovld __cnfn convert_char3_sat_rtp(ulong3); |
| 1652 | char3 __ovld __cnfn convert_char3_rtn(ulong3); |
| 1653 | char3 __ovld __cnfn convert_char3_sat_rtn(ulong3); |
| 1654 | char3 __ovld __cnfn convert_char3(ulong3); |
| 1655 | char3 __ovld __cnfn convert_char3_sat(ulong3); |
| 1656 | char3 __ovld __cnfn convert_char3_rte(float3); |
| 1657 | char3 __ovld __cnfn convert_char3_sat_rte(float3); |
| 1658 | char3 __ovld __cnfn convert_char3_rtz(float3); |
| 1659 | char3 __ovld __cnfn convert_char3_sat_rtz(float3); |
| 1660 | char3 __ovld __cnfn convert_char3_rtp(float3); |
| 1661 | char3 __ovld __cnfn convert_char3_sat_rtp(float3); |
| 1662 | char3 __ovld __cnfn convert_char3_rtn(float3); |
| 1663 | char3 __ovld __cnfn convert_char3_sat_rtn(float3); |
| 1664 | char3 __ovld __cnfn convert_char3(float3); |
| 1665 | char3 __ovld __cnfn convert_char3_sat(float3); |
| 1666 | uchar3 __ovld __cnfn convert_uchar3_rte(char3); |
| 1667 | uchar3 __ovld __cnfn convert_uchar3_sat_rte(char3); |
| 1668 | uchar3 __ovld __cnfn convert_uchar3_rtz(char3); |
| 1669 | uchar3 __ovld __cnfn convert_uchar3_sat_rtz(char3); |
| 1670 | uchar3 __ovld __cnfn convert_uchar3_rtp(char3); |
| 1671 | uchar3 __ovld __cnfn convert_uchar3_sat_rtp(char3); |
| 1672 | uchar3 __ovld __cnfn convert_uchar3_rtn(char3); |
| 1673 | uchar3 __ovld __cnfn convert_uchar3_sat_rtn(char3); |
| 1674 | uchar3 __ovld __cnfn convert_uchar3(char3); |
| 1675 | uchar3 __ovld __cnfn convert_uchar3_sat(char3); |
| 1676 | uchar3 __ovld __cnfn convert_uchar3_rte(uchar3); |
| 1677 | uchar3 __ovld __cnfn convert_uchar3_sat_rte(uchar3); |
| 1678 | uchar3 __ovld __cnfn convert_uchar3_rtz(uchar3); |
| 1679 | uchar3 __ovld __cnfn convert_uchar3_sat_rtz(uchar3); |
| 1680 | uchar3 __ovld __cnfn convert_uchar3_rtp(uchar3); |
| 1681 | uchar3 __ovld __cnfn convert_uchar3_sat_rtp(uchar3); |
| 1682 | uchar3 __ovld __cnfn convert_uchar3_rtn(uchar3); |
| 1683 | uchar3 __ovld __cnfn convert_uchar3_sat_rtn(uchar3); |
| 1684 | uchar3 __ovld __cnfn convert_uchar3(uchar3); |
| 1685 | uchar3 __ovld __cnfn convert_uchar3_sat(uchar3); |
| 1686 | uchar3 __ovld __cnfn convert_uchar3_rte(short3); |
| 1687 | uchar3 __ovld __cnfn convert_uchar3_sat_rte(short3); |
| 1688 | uchar3 __ovld __cnfn convert_uchar3_rtz(short3); |
| 1689 | uchar3 __ovld __cnfn convert_uchar3_sat_rtz(short3); |
| 1690 | uchar3 __ovld __cnfn convert_uchar3_rtp(short3); |
| 1691 | uchar3 __ovld __cnfn convert_uchar3_sat_rtp(short3); |
| 1692 | uchar3 __ovld __cnfn convert_uchar3_rtn(short3); |
| 1693 | uchar3 __ovld __cnfn convert_uchar3_sat_rtn(short3); |
| 1694 | uchar3 __ovld __cnfn convert_uchar3(short3); |
| 1695 | uchar3 __ovld __cnfn convert_uchar3_sat(short3); |
| 1696 | uchar3 __ovld __cnfn convert_uchar3_rte(ushort3); |
| 1697 | uchar3 __ovld __cnfn convert_uchar3_sat_rte(ushort3); |
| 1698 | uchar3 __ovld __cnfn convert_uchar3_rtz(ushort3); |
| 1699 | uchar3 __ovld __cnfn convert_uchar3_sat_rtz(ushort3); |
| 1700 | uchar3 __ovld __cnfn convert_uchar3_rtp(ushort3); |
| 1701 | uchar3 __ovld __cnfn convert_uchar3_sat_rtp(ushort3); |
| 1702 | uchar3 __ovld __cnfn convert_uchar3_rtn(ushort3); |
| 1703 | uchar3 __ovld __cnfn convert_uchar3_sat_rtn(ushort3); |
| 1704 | uchar3 __ovld __cnfn convert_uchar3(ushort3); |
| 1705 | uchar3 __ovld __cnfn convert_uchar3_sat(ushort3); |
| 1706 | uchar3 __ovld __cnfn convert_uchar3_rte(int3); |
| 1707 | uchar3 __ovld __cnfn convert_uchar3_sat_rte(int3); |
| 1708 | uchar3 __ovld __cnfn convert_uchar3_rtz(int3); |
| 1709 | uchar3 __ovld __cnfn convert_uchar3_sat_rtz(int3); |
| 1710 | uchar3 __ovld __cnfn convert_uchar3_rtp(int3); |
| 1711 | uchar3 __ovld __cnfn convert_uchar3_sat_rtp(int3); |
| 1712 | uchar3 __ovld __cnfn convert_uchar3_rtn(int3); |
| 1713 | uchar3 __ovld __cnfn convert_uchar3_sat_rtn(int3); |
| 1714 | uchar3 __ovld __cnfn convert_uchar3(int3); |
| 1715 | uchar3 __ovld __cnfn convert_uchar3_sat(int3); |
| 1716 | uchar3 __ovld __cnfn convert_uchar3_rte(uint3); |
| 1717 | uchar3 __ovld __cnfn convert_uchar3_sat_rte(uint3); |
| 1718 | uchar3 __ovld __cnfn convert_uchar3_rtz(uint3); |
| 1719 | uchar3 __ovld __cnfn convert_uchar3_sat_rtz(uint3); |
| 1720 | uchar3 __ovld __cnfn convert_uchar3_rtp(uint3); |
| 1721 | uchar3 __ovld __cnfn convert_uchar3_sat_rtp(uint3); |
| 1722 | uchar3 __ovld __cnfn convert_uchar3_rtn(uint3); |
| 1723 | uchar3 __ovld __cnfn convert_uchar3_sat_rtn(uint3); |
| 1724 | uchar3 __ovld __cnfn convert_uchar3(uint3); |
| 1725 | uchar3 __ovld __cnfn convert_uchar3_sat(uint3); |
| 1726 | uchar3 __ovld __cnfn convert_uchar3_rte(long3); |
| 1727 | uchar3 __ovld __cnfn convert_uchar3_sat_rte(long3); |
| 1728 | uchar3 __ovld __cnfn convert_uchar3_rtz(long3); |
| 1729 | uchar3 __ovld __cnfn convert_uchar3_sat_rtz(long3); |
| 1730 | uchar3 __ovld __cnfn convert_uchar3_rtp(long3); |
| 1731 | uchar3 __ovld __cnfn convert_uchar3_sat_rtp(long3); |
| 1732 | uchar3 __ovld __cnfn convert_uchar3_rtn(long3); |
| 1733 | uchar3 __ovld __cnfn convert_uchar3_sat_rtn(long3); |
| 1734 | uchar3 __ovld __cnfn convert_uchar3(long3); |
| 1735 | uchar3 __ovld __cnfn convert_uchar3_sat(long3); |
| 1736 | uchar3 __ovld __cnfn convert_uchar3_rte(ulong3); |
| 1737 | uchar3 __ovld __cnfn convert_uchar3_sat_rte(ulong3); |
| 1738 | uchar3 __ovld __cnfn convert_uchar3_rtz(ulong3); |
| 1739 | uchar3 __ovld __cnfn convert_uchar3_sat_rtz(ulong3); |
| 1740 | uchar3 __ovld __cnfn convert_uchar3_rtp(ulong3); |
| 1741 | uchar3 __ovld __cnfn convert_uchar3_sat_rtp(ulong3); |
| 1742 | uchar3 __ovld __cnfn convert_uchar3_rtn(ulong3); |
| 1743 | uchar3 __ovld __cnfn convert_uchar3_sat_rtn(ulong3); |
| 1744 | uchar3 __ovld __cnfn convert_uchar3(ulong3); |
| 1745 | uchar3 __ovld __cnfn convert_uchar3_sat(ulong3); |
| 1746 | uchar3 __ovld __cnfn convert_uchar3_rte(float3); |
| 1747 | uchar3 __ovld __cnfn convert_uchar3_sat_rte(float3); |
| 1748 | uchar3 __ovld __cnfn convert_uchar3_rtz(float3); |
| 1749 | uchar3 __ovld __cnfn convert_uchar3_sat_rtz(float3); |
| 1750 | uchar3 __ovld __cnfn convert_uchar3_rtp(float3); |
| 1751 | uchar3 __ovld __cnfn convert_uchar3_sat_rtp(float3); |
| 1752 | uchar3 __ovld __cnfn convert_uchar3_rtn(float3); |
| 1753 | uchar3 __ovld __cnfn convert_uchar3_sat_rtn(float3); |
| 1754 | uchar3 __ovld __cnfn convert_uchar3(float3); |
| 1755 | uchar3 __ovld __cnfn convert_uchar3_sat(float3); |
| 1756 | short3 __ovld __cnfn convert_short3_rte(char3); |
| 1757 | short3 __ovld __cnfn convert_short3_sat_rte(char3); |
| 1758 | short3 __ovld __cnfn convert_short3_rtz(char3); |
| 1759 | short3 __ovld __cnfn convert_short3_sat_rtz(char3); |
| 1760 | short3 __ovld __cnfn convert_short3_rtp(char3); |
| 1761 | short3 __ovld __cnfn convert_short3_sat_rtp(char3); |
| 1762 | short3 __ovld __cnfn convert_short3_rtn(char3); |
| 1763 | short3 __ovld __cnfn convert_short3_sat_rtn(char3); |
| 1764 | short3 __ovld __cnfn convert_short3(char3); |
| 1765 | short3 __ovld __cnfn convert_short3_sat(char3); |
| 1766 | short3 __ovld __cnfn convert_short3_rte(uchar3); |
| 1767 | short3 __ovld __cnfn convert_short3_sat_rte(uchar3); |
| 1768 | short3 __ovld __cnfn convert_short3_rtz(uchar3); |
| 1769 | short3 __ovld __cnfn convert_short3_sat_rtz(uchar3); |
| 1770 | short3 __ovld __cnfn convert_short3_rtp(uchar3); |
| 1771 | short3 __ovld __cnfn convert_short3_sat_rtp(uchar3); |
| 1772 | short3 __ovld __cnfn convert_short3_rtn(uchar3); |
| 1773 | short3 __ovld __cnfn convert_short3_sat_rtn(uchar3); |
| 1774 | short3 __ovld __cnfn convert_short3(uchar3); |
| 1775 | short3 __ovld __cnfn convert_short3_sat(uchar3); |
| 1776 | short3 __ovld __cnfn convert_short3_rte(short3); |
| 1777 | short3 __ovld __cnfn convert_short3_sat_rte(short3); |
| 1778 | short3 __ovld __cnfn convert_short3_rtz(short3); |
| 1779 | short3 __ovld __cnfn convert_short3_sat_rtz(short3); |
| 1780 | short3 __ovld __cnfn convert_short3_rtp(short3); |
| 1781 | short3 __ovld __cnfn convert_short3_sat_rtp(short3); |
| 1782 | short3 __ovld __cnfn convert_short3_rtn(short3); |
| 1783 | short3 __ovld __cnfn convert_short3_sat_rtn(short3); |
| 1784 | short3 __ovld __cnfn convert_short3(short3); |
| 1785 | short3 __ovld __cnfn convert_short3_sat(short3); |
| 1786 | short3 __ovld __cnfn convert_short3_rte(ushort3); |
| 1787 | short3 __ovld __cnfn convert_short3_sat_rte(ushort3); |
| 1788 | short3 __ovld __cnfn convert_short3_rtz(ushort3); |
| 1789 | short3 __ovld __cnfn convert_short3_sat_rtz(ushort3); |
| 1790 | short3 __ovld __cnfn convert_short3_rtp(ushort3); |
| 1791 | short3 __ovld __cnfn convert_short3_sat_rtp(ushort3); |
| 1792 | short3 __ovld __cnfn convert_short3_rtn(ushort3); |
| 1793 | short3 __ovld __cnfn convert_short3_sat_rtn(ushort3); |
| 1794 | short3 __ovld __cnfn convert_short3(ushort3); |
| 1795 | short3 __ovld __cnfn convert_short3_sat(ushort3); |
| 1796 | short3 __ovld __cnfn convert_short3_rte(int3); |
| 1797 | short3 __ovld __cnfn convert_short3_sat_rte(int3); |
| 1798 | short3 __ovld __cnfn convert_short3_rtz(int3); |
| 1799 | short3 __ovld __cnfn convert_short3_sat_rtz(int3); |
| 1800 | short3 __ovld __cnfn convert_short3_rtp(int3); |
| 1801 | short3 __ovld __cnfn convert_short3_sat_rtp(int3); |
| 1802 | short3 __ovld __cnfn convert_short3_rtn(int3); |
| 1803 | short3 __ovld __cnfn convert_short3_sat_rtn(int3); |
| 1804 | short3 __ovld __cnfn convert_short3(int3); |
| 1805 | short3 __ovld __cnfn convert_short3_sat(int3); |
| 1806 | short3 __ovld __cnfn convert_short3_rte(uint3); |
| 1807 | short3 __ovld __cnfn convert_short3_sat_rte(uint3); |
| 1808 | short3 __ovld __cnfn convert_short3_rtz(uint3); |
| 1809 | short3 __ovld __cnfn convert_short3_sat_rtz(uint3); |
| 1810 | short3 __ovld __cnfn convert_short3_rtp(uint3); |
| 1811 | short3 __ovld __cnfn convert_short3_sat_rtp(uint3); |
| 1812 | short3 __ovld __cnfn convert_short3_rtn(uint3); |
| 1813 | short3 __ovld __cnfn convert_short3_sat_rtn(uint3); |
| 1814 | short3 __ovld __cnfn convert_short3(uint3); |
| 1815 | short3 __ovld __cnfn convert_short3_sat(uint3); |
| 1816 | short3 __ovld __cnfn convert_short3_rte(long3); |
| 1817 | short3 __ovld __cnfn convert_short3_sat_rte(long3); |
| 1818 | short3 __ovld __cnfn convert_short3_rtz(long3); |
| 1819 | short3 __ovld __cnfn convert_short3_sat_rtz(long3); |
| 1820 | short3 __ovld __cnfn convert_short3_rtp(long3); |
| 1821 | short3 __ovld __cnfn convert_short3_sat_rtp(long3); |
| 1822 | short3 __ovld __cnfn convert_short3_rtn(long3); |
| 1823 | short3 __ovld __cnfn convert_short3_sat_rtn(long3); |
| 1824 | short3 __ovld __cnfn convert_short3(long3); |
| 1825 | short3 __ovld __cnfn convert_short3_sat(long3); |
| 1826 | short3 __ovld __cnfn convert_short3_rte(ulong3); |
| 1827 | short3 __ovld __cnfn convert_short3_sat_rte(ulong3); |
| 1828 | short3 __ovld __cnfn convert_short3_rtz(ulong3); |
| 1829 | short3 __ovld __cnfn convert_short3_sat_rtz(ulong3); |
| 1830 | short3 __ovld __cnfn convert_short3_rtp(ulong3); |
| 1831 | short3 __ovld __cnfn convert_short3_sat_rtp(ulong3); |
| 1832 | short3 __ovld __cnfn convert_short3_rtn(ulong3); |
| 1833 | short3 __ovld __cnfn convert_short3_sat_rtn(ulong3); |
| 1834 | short3 __ovld __cnfn convert_short3(ulong3); |
| 1835 | short3 __ovld __cnfn convert_short3_sat(ulong3); |
| 1836 | short3 __ovld __cnfn convert_short3_rte(float3); |
| 1837 | short3 __ovld __cnfn convert_short3_sat_rte(float3); |
| 1838 | short3 __ovld __cnfn convert_short3_rtz(float3); |
| 1839 | short3 __ovld __cnfn convert_short3_sat_rtz(float3); |
| 1840 | short3 __ovld __cnfn convert_short3_rtp(float3); |
| 1841 | short3 __ovld __cnfn convert_short3_sat_rtp(float3); |
| 1842 | short3 __ovld __cnfn convert_short3_rtn(float3); |
| 1843 | short3 __ovld __cnfn convert_short3_sat_rtn(float3); |
| 1844 | short3 __ovld __cnfn convert_short3(float3); |
| 1845 | short3 __ovld __cnfn convert_short3_sat(float3); |
| 1846 | ushort3 __ovld __cnfn convert_ushort3_rte(char3); |
| 1847 | ushort3 __ovld __cnfn convert_ushort3_sat_rte(char3); |
| 1848 | ushort3 __ovld __cnfn convert_ushort3_rtz(char3); |
| 1849 | ushort3 __ovld __cnfn convert_ushort3_sat_rtz(char3); |
| 1850 | ushort3 __ovld __cnfn convert_ushort3_rtp(char3); |
| 1851 | ushort3 __ovld __cnfn convert_ushort3_sat_rtp(char3); |
| 1852 | ushort3 __ovld __cnfn convert_ushort3_rtn(char3); |
| 1853 | ushort3 __ovld __cnfn convert_ushort3_sat_rtn(char3); |
| 1854 | ushort3 __ovld __cnfn convert_ushort3(char3); |
| 1855 | ushort3 __ovld __cnfn convert_ushort3_sat(char3); |
| 1856 | ushort3 __ovld __cnfn convert_ushort3_rte(uchar3); |
| 1857 | ushort3 __ovld __cnfn convert_ushort3_sat_rte(uchar3); |
| 1858 | ushort3 __ovld __cnfn convert_ushort3_rtz(uchar3); |
| 1859 | ushort3 __ovld __cnfn convert_ushort3_sat_rtz(uchar3); |
| 1860 | ushort3 __ovld __cnfn convert_ushort3_rtp(uchar3); |
| 1861 | ushort3 __ovld __cnfn convert_ushort3_sat_rtp(uchar3); |
| 1862 | ushort3 __ovld __cnfn convert_ushort3_rtn(uchar3); |
| 1863 | ushort3 __ovld __cnfn convert_ushort3_sat_rtn(uchar3); |
| 1864 | ushort3 __ovld __cnfn convert_ushort3(uchar3); |
| 1865 | ushort3 __ovld __cnfn convert_ushort3_sat(uchar3); |
| 1866 | ushort3 __ovld __cnfn convert_ushort3_rte(short3); |
| 1867 | ushort3 __ovld __cnfn convert_ushort3_sat_rte(short3); |
| 1868 | ushort3 __ovld __cnfn convert_ushort3_rtz(short3); |
| 1869 | ushort3 __ovld __cnfn convert_ushort3_sat_rtz(short3); |
| 1870 | ushort3 __ovld __cnfn convert_ushort3_rtp(short3); |
| 1871 | ushort3 __ovld __cnfn convert_ushort3_sat_rtp(short3); |
| 1872 | ushort3 __ovld __cnfn convert_ushort3_rtn(short3); |
| 1873 | ushort3 __ovld __cnfn convert_ushort3_sat_rtn(short3); |
| 1874 | ushort3 __ovld __cnfn convert_ushort3(short3); |
| 1875 | ushort3 __ovld __cnfn convert_ushort3_sat(short3); |
| 1876 | ushort3 __ovld __cnfn convert_ushort3_rte(ushort3); |
| 1877 | ushort3 __ovld __cnfn convert_ushort3_sat_rte(ushort3); |
| 1878 | ushort3 __ovld __cnfn convert_ushort3_rtz(ushort3); |
| 1879 | ushort3 __ovld __cnfn convert_ushort3_sat_rtz(ushort3); |
| 1880 | ushort3 __ovld __cnfn convert_ushort3_rtp(ushort3); |
| 1881 | ushort3 __ovld __cnfn convert_ushort3_sat_rtp(ushort3); |
| 1882 | ushort3 __ovld __cnfn convert_ushort3_rtn(ushort3); |
| 1883 | ushort3 __ovld __cnfn convert_ushort3_sat_rtn(ushort3); |
| 1884 | ushort3 __ovld __cnfn convert_ushort3(ushort3); |
| 1885 | ushort3 __ovld __cnfn convert_ushort3_sat(ushort3); |
| 1886 | ushort3 __ovld __cnfn convert_ushort3_rte(int3); |
| 1887 | ushort3 __ovld __cnfn convert_ushort3_sat_rte(int3); |
| 1888 | ushort3 __ovld __cnfn convert_ushort3_rtz(int3); |
| 1889 | ushort3 __ovld __cnfn convert_ushort3_sat_rtz(int3); |
| 1890 | ushort3 __ovld __cnfn convert_ushort3_rtp(int3); |
| 1891 | ushort3 __ovld __cnfn convert_ushort3_sat_rtp(int3); |
| 1892 | ushort3 __ovld __cnfn convert_ushort3_rtn(int3); |
| 1893 | ushort3 __ovld __cnfn convert_ushort3_sat_rtn(int3); |
| 1894 | ushort3 __ovld __cnfn convert_ushort3(int3); |
| 1895 | ushort3 __ovld __cnfn convert_ushort3_sat(int3); |
| 1896 | ushort3 __ovld __cnfn convert_ushort3_rte(uint3); |
| 1897 | ushort3 __ovld __cnfn convert_ushort3_sat_rte(uint3); |
| 1898 | ushort3 __ovld __cnfn convert_ushort3_rtz(uint3); |
| 1899 | ushort3 __ovld __cnfn convert_ushort3_sat_rtz(uint3); |
| 1900 | ushort3 __ovld __cnfn convert_ushort3_rtp(uint3); |
| 1901 | ushort3 __ovld __cnfn convert_ushort3_sat_rtp(uint3); |
| 1902 | ushort3 __ovld __cnfn convert_ushort3_rtn(uint3); |
| 1903 | ushort3 __ovld __cnfn convert_ushort3_sat_rtn(uint3); |
| 1904 | ushort3 __ovld __cnfn convert_ushort3(uint3); |
| 1905 | ushort3 __ovld __cnfn convert_ushort3_sat(uint3); |
| 1906 | ushort3 __ovld __cnfn convert_ushort3_rte(long3); |
| 1907 | ushort3 __ovld __cnfn convert_ushort3_sat_rte(long3); |
| 1908 | ushort3 __ovld __cnfn convert_ushort3_rtz(long3); |
| 1909 | ushort3 __ovld __cnfn convert_ushort3_sat_rtz(long3); |
| 1910 | ushort3 __ovld __cnfn convert_ushort3_rtp(long3); |
| 1911 | ushort3 __ovld __cnfn convert_ushort3_sat_rtp(long3); |
| 1912 | ushort3 __ovld __cnfn convert_ushort3_rtn(long3); |
| 1913 | ushort3 __ovld __cnfn convert_ushort3_sat_rtn(long3); |
| 1914 | ushort3 __ovld __cnfn convert_ushort3(long3); |
| 1915 | ushort3 __ovld __cnfn convert_ushort3_sat(long3); |
| 1916 | ushort3 __ovld __cnfn convert_ushort3_rte(ulong3); |
| 1917 | ushort3 __ovld __cnfn convert_ushort3_sat_rte(ulong3); |
| 1918 | ushort3 __ovld __cnfn convert_ushort3_rtz(ulong3); |
| 1919 | ushort3 __ovld __cnfn convert_ushort3_sat_rtz(ulong3); |
| 1920 | ushort3 __ovld __cnfn convert_ushort3_rtp(ulong3); |
| 1921 | ushort3 __ovld __cnfn convert_ushort3_sat_rtp(ulong3); |
| 1922 | ushort3 __ovld __cnfn convert_ushort3_rtn(ulong3); |
| 1923 | ushort3 __ovld __cnfn convert_ushort3_sat_rtn(ulong3); |
| 1924 | ushort3 __ovld __cnfn convert_ushort3(ulong3); |
| 1925 | ushort3 __ovld __cnfn convert_ushort3_sat(ulong3); |
| 1926 | ushort3 __ovld __cnfn convert_ushort3_rte(float3); |
| 1927 | ushort3 __ovld __cnfn convert_ushort3_sat_rte(float3); |
| 1928 | ushort3 __ovld __cnfn convert_ushort3_rtz(float3); |
| 1929 | ushort3 __ovld __cnfn convert_ushort3_sat_rtz(float3); |
| 1930 | ushort3 __ovld __cnfn convert_ushort3_rtp(float3); |
| 1931 | ushort3 __ovld __cnfn convert_ushort3_sat_rtp(float3); |
| 1932 | ushort3 __ovld __cnfn convert_ushort3_rtn(float3); |
| 1933 | ushort3 __ovld __cnfn convert_ushort3_sat_rtn(float3); |
| 1934 | ushort3 __ovld __cnfn convert_ushort3(float3); |
| 1935 | ushort3 __ovld __cnfn convert_ushort3_sat(float3); |
| 1936 | int3 __ovld __cnfn convert_int3_rte(char3); |
| 1937 | int3 __ovld __cnfn convert_int3_sat_rte(char3); |
| 1938 | int3 __ovld __cnfn convert_int3_rtz(char3); |
| 1939 | int3 __ovld __cnfn convert_int3_sat_rtz(char3); |
| 1940 | int3 __ovld __cnfn convert_int3_rtp(char3); |
| 1941 | int3 __ovld __cnfn convert_int3_sat_rtp(char3); |
| 1942 | int3 __ovld __cnfn convert_int3_rtn(char3); |
| 1943 | int3 __ovld __cnfn convert_int3_sat_rtn(char3); |
| 1944 | int3 __ovld __cnfn convert_int3(char3); |
| 1945 | int3 __ovld __cnfn convert_int3_sat(char3); |
| 1946 | int3 __ovld __cnfn convert_int3_rte(uchar3); |
| 1947 | int3 __ovld __cnfn convert_int3_sat_rte(uchar3); |
| 1948 | int3 __ovld __cnfn convert_int3_rtz(uchar3); |
| 1949 | int3 __ovld __cnfn convert_int3_sat_rtz(uchar3); |
| 1950 | int3 __ovld __cnfn convert_int3_rtp(uchar3); |
| 1951 | int3 __ovld __cnfn convert_int3_sat_rtp(uchar3); |
| 1952 | int3 __ovld __cnfn convert_int3_rtn(uchar3); |
| 1953 | int3 __ovld __cnfn convert_int3_sat_rtn(uchar3); |
| 1954 | int3 __ovld __cnfn convert_int3(uchar3); |
| 1955 | int3 __ovld __cnfn convert_int3_sat(uchar3); |
| 1956 | int3 __ovld __cnfn convert_int3_rte(short3); |
| 1957 | int3 __ovld __cnfn convert_int3_sat_rte(short3); |
| 1958 | int3 __ovld __cnfn convert_int3_rtz(short3); |
| 1959 | int3 __ovld __cnfn convert_int3_sat_rtz(short3); |
| 1960 | int3 __ovld __cnfn convert_int3_rtp(short3); |
| 1961 | int3 __ovld __cnfn convert_int3_sat_rtp(short3); |
| 1962 | int3 __ovld __cnfn convert_int3_rtn(short3); |
| 1963 | int3 __ovld __cnfn convert_int3_sat_rtn(short3); |
| 1964 | int3 __ovld __cnfn convert_int3(short3); |
| 1965 | int3 __ovld __cnfn convert_int3_sat(short3); |
| 1966 | int3 __ovld __cnfn convert_int3_rte(ushort3); |
| 1967 | int3 __ovld __cnfn convert_int3_sat_rte(ushort3); |
| 1968 | int3 __ovld __cnfn convert_int3_rtz(ushort3); |
| 1969 | int3 __ovld __cnfn convert_int3_sat_rtz(ushort3); |
| 1970 | int3 __ovld __cnfn convert_int3_rtp(ushort3); |
| 1971 | int3 __ovld __cnfn convert_int3_sat_rtp(ushort3); |
| 1972 | int3 __ovld __cnfn convert_int3_rtn(ushort3); |
| 1973 | int3 __ovld __cnfn convert_int3_sat_rtn(ushort3); |
| 1974 | int3 __ovld __cnfn convert_int3(ushort3); |
| 1975 | int3 __ovld __cnfn convert_int3_sat(ushort3); |
| 1976 | int3 __ovld __cnfn convert_int3_rte(int3); |
| 1977 | int3 __ovld __cnfn convert_int3_sat_rte(int3); |
| 1978 | int3 __ovld __cnfn convert_int3_rtz(int3); |
| 1979 | int3 __ovld __cnfn convert_int3_sat_rtz(int3); |
| 1980 | int3 __ovld __cnfn convert_int3_rtp(int3); |
| 1981 | int3 __ovld __cnfn convert_int3_sat_rtp(int3); |
| 1982 | int3 __ovld __cnfn convert_int3_rtn(int3); |
| 1983 | int3 __ovld __cnfn convert_int3_sat_rtn(int3); |
| 1984 | int3 __ovld __cnfn convert_int3(int3); |
| 1985 | int3 __ovld __cnfn convert_int3_sat(int3); |
| 1986 | int3 __ovld __cnfn convert_int3_rte(uint3); |
| 1987 | int3 __ovld __cnfn convert_int3_sat_rte(uint3); |
| 1988 | int3 __ovld __cnfn convert_int3_rtz(uint3); |
| 1989 | int3 __ovld __cnfn convert_int3_sat_rtz(uint3); |
| 1990 | int3 __ovld __cnfn convert_int3_rtp(uint3); |
| 1991 | int3 __ovld __cnfn convert_int3_sat_rtp(uint3); |
| 1992 | int3 __ovld __cnfn convert_int3_rtn(uint3); |
| 1993 | int3 __ovld __cnfn convert_int3_sat_rtn(uint3); |
| 1994 | int3 __ovld __cnfn convert_int3(uint3); |
| 1995 | int3 __ovld __cnfn convert_int3_sat(uint3); |
| 1996 | int3 __ovld __cnfn convert_int3_rte(long3); |
| 1997 | int3 __ovld __cnfn convert_int3_sat_rte(long3); |
| 1998 | int3 __ovld __cnfn convert_int3_rtz(long3); |
| 1999 | int3 __ovld __cnfn convert_int3_sat_rtz(long3); |
| 2000 | int3 __ovld __cnfn convert_int3_rtp(long3); |
| 2001 | int3 __ovld __cnfn convert_int3_sat_rtp(long3); |
| 2002 | int3 __ovld __cnfn convert_int3_rtn(long3); |
| 2003 | int3 __ovld __cnfn convert_int3_sat_rtn(long3); |
| 2004 | int3 __ovld __cnfn convert_int3(long3); |
| 2005 | int3 __ovld __cnfn convert_int3_sat(long3); |
| 2006 | int3 __ovld __cnfn convert_int3_rte(ulong3); |
| 2007 | int3 __ovld __cnfn convert_int3_sat_rte(ulong3); |
| 2008 | int3 __ovld __cnfn convert_int3_rtz(ulong3); |
| 2009 | int3 __ovld __cnfn convert_int3_sat_rtz(ulong3); |
| 2010 | int3 __ovld __cnfn convert_int3_rtp(ulong3); |
| 2011 | int3 __ovld __cnfn convert_int3_sat_rtp(ulong3); |
| 2012 | int3 __ovld __cnfn convert_int3_rtn(ulong3); |
| 2013 | int3 __ovld __cnfn convert_int3_sat_rtn(ulong3); |
| 2014 | int3 __ovld __cnfn convert_int3(ulong3); |
| 2015 | int3 __ovld __cnfn convert_int3_sat(ulong3); |
| 2016 | int3 __ovld __cnfn convert_int3_rte(float3); |
| 2017 | int3 __ovld __cnfn convert_int3_sat_rte(float3); |
| 2018 | int3 __ovld __cnfn convert_int3_rtz(float3); |
| 2019 | int3 __ovld __cnfn convert_int3_sat_rtz(float3); |
| 2020 | int3 __ovld __cnfn convert_int3_rtp(float3); |
| 2021 | int3 __ovld __cnfn convert_int3_sat_rtp(float3); |
| 2022 | int3 __ovld __cnfn convert_int3_rtn(float3); |
| 2023 | int3 __ovld __cnfn convert_int3_sat_rtn(float3); |
| 2024 | int3 __ovld __cnfn convert_int3(float3); |
| 2025 | int3 __ovld __cnfn convert_int3_sat(float3); |
| 2026 | uint3 __ovld __cnfn convert_uint3_rte(char3); |
| 2027 | uint3 __ovld __cnfn convert_uint3_sat_rte(char3); |
| 2028 | uint3 __ovld __cnfn convert_uint3_rtz(char3); |
| 2029 | uint3 __ovld __cnfn convert_uint3_sat_rtz(char3); |
| 2030 | uint3 __ovld __cnfn convert_uint3_rtp(char3); |
| 2031 | uint3 __ovld __cnfn convert_uint3_sat_rtp(char3); |
| 2032 | uint3 __ovld __cnfn convert_uint3_rtn(char3); |
| 2033 | uint3 __ovld __cnfn convert_uint3_sat_rtn(char3); |
| 2034 | uint3 __ovld __cnfn convert_uint3(char3); |
| 2035 | uint3 __ovld __cnfn convert_uint3_sat(char3); |
| 2036 | uint3 __ovld __cnfn convert_uint3_rte(uchar3); |
| 2037 | uint3 __ovld __cnfn convert_uint3_sat_rte(uchar3); |
| 2038 | uint3 __ovld __cnfn convert_uint3_rtz(uchar3); |
| 2039 | uint3 __ovld __cnfn convert_uint3_sat_rtz(uchar3); |
| 2040 | uint3 __ovld __cnfn convert_uint3_rtp(uchar3); |
| 2041 | uint3 __ovld __cnfn convert_uint3_sat_rtp(uchar3); |
| 2042 | uint3 __ovld __cnfn convert_uint3_rtn(uchar3); |
| 2043 | uint3 __ovld __cnfn convert_uint3_sat_rtn(uchar3); |
| 2044 | uint3 __ovld __cnfn convert_uint3(uchar3); |
| 2045 | uint3 __ovld __cnfn convert_uint3_sat(uchar3); |
| 2046 | uint3 __ovld __cnfn convert_uint3_rte(short3); |
| 2047 | uint3 __ovld __cnfn convert_uint3_sat_rte(short3); |
| 2048 | uint3 __ovld __cnfn convert_uint3_rtz(short3); |
| 2049 | uint3 __ovld __cnfn convert_uint3_sat_rtz(short3); |
| 2050 | uint3 __ovld __cnfn convert_uint3_rtp(short3); |
| 2051 | uint3 __ovld __cnfn convert_uint3_sat_rtp(short3); |
| 2052 | uint3 __ovld __cnfn convert_uint3_rtn(short3); |
| 2053 | uint3 __ovld __cnfn convert_uint3_sat_rtn(short3); |
| 2054 | uint3 __ovld __cnfn convert_uint3(short3); |
| 2055 | uint3 __ovld __cnfn convert_uint3_sat(short3); |
| 2056 | uint3 __ovld __cnfn convert_uint3_rte(ushort3); |
| 2057 | uint3 __ovld __cnfn convert_uint3_sat_rte(ushort3); |
| 2058 | uint3 __ovld __cnfn convert_uint3_rtz(ushort3); |
| 2059 | uint3 __ovld __cnfn convert_uint3_sat_rtz(ushort3); |
| 2060 | uint3 __ovld __cnfn convert_uint3_rtp(ushort3); |
| 2061 | uint3 __ovld __cnfn convert_uint3_sat_rtp(ushort3); |
| 2062 | uint3 __ovld __cnfn convert_uint3_rtn(ushort3); |
| 2063 | uint3 __ovld __cnfn convert_uint3_sat_rtn(ushort3); |
| 2064 | uint3 __ovld __cnfn convert_uint3(ushort3); |
| 2065 | uint3 __ovld __cnfn convert_uint3_sat(ushort3); |
| 2066 | uint3 __ovld __cnfn convert_uint3_rte(int3); |
| 2067 | uint3 __ovld __cnfn convert_uint3_sat_rte(int3); |
| 2068 | uint3 __ovld __cnfn convert_uint3_rtz(int3); |
| 2069 | uint3 __ovld __cnfn convert_uint3_sat_rtz(int3); |
| 2070 | uint3 __ovld __cnfn convert_uint3_rtp(int3); |
| 2071 | uint3 __ovld __cnfn convert_uint3_sat_rtp(int3); |
| 2072 | uint3 __ovld __cnfn convert_uint3_rtn(int3); |
| 2073 | uint3 __ovld __cnfn convert_uint3_sat_rtn(int3); |
| 2074 | uint3 __ovld __cnfn convert_uint3(int3); |
| 2075 | uint3 __ovld __cnfn convert_uint3_sat(int3); |
| 2076 | uint3 __ovld __cnfn convert_uint3_rte(uint3); |
| 2077 | uint3 __ovld __cnfn convert_uint3_sat_rte(uint3); |
| 2078 | uint3 __ovld __cnfn convert_uint3_rtz(uint3); |
| 2079 | uint3 __ovld __cnfn convert_uint3_sat_rtz(uint3); |
| 2080 | uint3 __ovld __cnfn convert_uint3_rtp(uint3); |
| 2081 | uint3 __ovld __cnfn convert_uint3_sat_rtp(uint3); |
| 2082 | uint3 __ovld __cnfn convert_uint3_rtn(uint3); |
| 2083 | uint3 __ovld __cnfn convert_uint3_sat_rtn(uint3); |
| 2084 | uint3 __ovld __cnfn convert_uint3(uint3); |
| 2085 | uint3 __ovld __cnfn convert_uint3_sat(uint3); |
| 2086 | uint3 __ovld __cnfn convert_uint3_rte(long3); |
| 2087 | uint3 __ovld __cnfn convert_uint3_sat_rte(long3); |
| 2088 | uint3 __ovld __cnfn convert_uint3_rtz(long3); |
| 2089 | uint3 __ovld __cnfn convert_uint3_sat_rtz(long3); |
| 2090 | uint3 __ovld __cnfn convert_uint3_rtp(long3); |
| 2091 | uint3 __ovld __cnfn convert_uint3_sat_rtp(long3); |
| 2092 | uint3 __ovld __cnfn convert_uint3_rtn(long3); |
| 2093 | uint3 __ovld __cnfn convert_uint3_sat_rtn(long3); |
| 2094 | uint3 __ovld __cnfn convert_uint3(long3); |
| 2095 | uint3 __ovld __cnfn convert_uint3_sat(long3); |
| 2096 | uint3 __ovld __cnfn convert_uint3_rte(ulong3); |
| 2097 | uint3 __ovld __cnfn convert_uint3_sat_rte(ulong3); |
| 2098 | uint3 __ovld __cnfn convert_uint3_rtz(ulong3); |
| 2099 | uint3 __ovld __cnfn convert_uint3_sat_rtz(ulong3); |
| 2100 | uint3 __ovld __cnfn convert_uint3_rtp(ulong3); |
| 2101 | uint3 __ovld __cnfn convert_uint3_sat_rtp(ulong3); |
| 2102 | uint3 __ovld __cnfn convert_uint3_rtn(ulong3); |
| 2103 | uint3 __ovld __cnfn convert_uint3_sat_rtn(ulong3); |
| 2104 | uint3 __ovld __cnfn convert_uint3(ulong3); |
| 2105 | uint3 __ovld __cnfn convert_uint3_sat(ulong3); |
| 2106 | uint3 __ovld __cnfn convert_uint3_rte(float3); |
| 2107 | uint3 __ovld __cnfn convert_uint3_sat_rte(float3); |
| 2108 | uint3 __ovld __cnfn convert_uint3_rtz(float3); |
| 2109 | uint3 __ovld __cnfn convert_uint3_sat_rtz(float3); |
| 2110 | uint3 __ovld __cnfn convert_uint3_rtp(float3); |
| 2111 | uint3 __ovld __cnfn convert_uint3_sat_rtp(float3); |
| 2112 | uint3 __ovld __cnfn convert_uint3_rtn(float3); |
| 2113 | uint3 __ovld __cnfn convert_uint3_sat_rtn(float3); |
| 2114 | uint3 __ovld __cnfn convert_uint3(float3); |
| 2115 | uint3 __ovld __cnfn convert_uint3_sat(float3); |
| 2116 | long3 __ovld __cnfn convert_long3_rte(char3); |
| 2117 | long3 __ovld __cnfn convert_long3_sat_rte(char3); |
| 2118 | long3 __ovld __cnfn convert_long3_rtz(char3); |
| 2119 | long3 __ovld __cnfn convert_long3_sat_rtz(char3); |
| 2120 | long3 __ovld __cnfn convert_long3_rtp(char3); |
| 2121 | long3 __ovld __cnfn convert_long3_sat_rtp(char3); |
| 2122 | long3 __ovld __cnfn convert_long3_rtn(char3); |
| 2123 | long3 __ovld __cnfn convert_long3_sat_rtn(char3); |
| 2124 | long3 __ovld __cnfn convert_long3(char3); |
| 2125 | long3 __ovld __cnfn convert_long3_sat(char3); |
| 2126 | long3 __ovld __cnfn convert_long3_rte(uchar3); |
| 2127 | long3 __ovld __cnfn convert_long3_sat_rte(uchar3); |
| 2128 | long3 __ovld __cnfn convert_long3_rtz(uchar3); |
| 2129 | long3 __ovld __cnfn convert_long3_sat_rtz(uchar3); |
| 2130 | long3 __ovld __cnfn convert_long3_rtp(uchar3); |
| 2131 | long3 __ovld __cnfn convert_long3_sat_rtp(uchar3); |
| 2132 | long3 __ovld __cnfn convert_long3_rtn(uchar3); |
| 2133 | long3 __ovld __cnfn convert_long3_sat_rtn(uchar3); |
| 2134 | long3 __ovld __cnfn convert_long3(uchar3); |
| 2135 | long3 __ovld __cnfn convert_long3_sat(uchar3); |
| 2136 | long3 __ovld __cnfn convert_long3_rte(short3); |
| 2137 | long3 __ovld __cnfn convert_long3_sat_rte(short3); |
| 2138 | long3 __ovld __cnfn convert_long3_rtz(short3); |
| 2139 | long3 __ovld __cnfn convert_long3_sat_rtz(short3); |
| 2140 | long3 __ovld __cnfn convert_long3_rtp(short3); |
| 2141 | long3 __ovld __cnfn convert_long3_sat_rtp(short3); |
| 2142 | long3 __ovld __cnfn convert_long3_rtn(short3); |
| 2143 | long3 __ovld __cnfn convert_long3_sat_rtn(short3); |
| 2144 | long3 __ovld __cnfn convert_long3(short3); |
| 2145 | long3 __ovld __cnfn convert_long3_sat(short3); |
| 2146 | long3 __ovld __cnfn convert_long3_rte(ushort3); |
| 2147 | long3 __ovld __cnfn convert_long3_sat_rte(ushort3); |
| 2148 | long3 __ovld __cnfn convert_long3_rtz(ushort3); |
| 2149 | long3 __ovld __cnfn convert_long3_sat_rtz(ushort3); |
| 2150 | long3 __ovld __cnfn convert_long3_rtp(ushort3); |
| 2151 | long3 __ovld __cnfn convert_long3_sat_rtp(ushort3); |
| 2152 | long3 __ovld __cnfn convert_long3_rtn(ushort3); |
| 2153 | long3 __ovld __cnfn convert_long3_sat_rtn(ushort3); |
| 2154 | long3 __ovld __cnfn convert_long3(ushort3); |
| 2155 | long3 __ovld __cnfn convert_long3_sat(ushort3); |
| 2156 | long3 __ovld __cnfn convert_long3_rte(int3); |
| 2157 | long3 __ovld __cnfn convert_long3_sat_rte(int3); |
| 2158 | long3 __ovld __cnfn convert_long3_rtz(int3); |
| 2159 | long3 __ovld __cnfn convert_long3_sat_rtz(int3); |
| 2160 | long3 __ovld __cnfn convert_long3_rtp(int3); |
| 2161 | long3 __ovld __cnfn convert_long3_sat_rtp(int3); |
| 2162 | long3 __ovld __cnfn convert_long3_rtn(int3); |
| 2163 | long3 __ovld __cnfn convert_long3_sat_rtn(int3); |
| 2164 | long3 __ovld __cnfn convert_long3(int3); |
| 2165 | long3 __ovld __cnfn convert_long3_sat(int3); |
| 2166 | long3 __ovld __cnfn convert_long3_rte(uint3); |
| 2167 | long3 __ovld __cnfn convert_long3_sat_rte(uint3); |
| 2168 | long3 __ovld __cnfn convert_long3_rtz(uint3); |
| 2169 | long3 __ovld __cnfn convert_long3_sat_rtz(uint3); |
| 2170 | long3 __ovld __cnfn convert_long3_rtp(uint3); |
| 2171 | long3 __ovld __cnfn convert_long3_sat_rtp(uint3); |
| 2172 | long3 __ovld __cnfn convert_long3_rtn(uint3); |
| 2173 | long3 __ovld __cnfn convert_long3_sat_rtn(uint3); |
| 2174 | long3 __ovld __cnfn convert_long3(uint3); |
| 2175 | long3 __ovld __cnfn convert_long3_sat(uint3); |
| 2176 | long3 __ovld __cnfn convert_long3_rte(long3); |
| 2177 | long3 __ovld __cnfn convert_long3_sat_rte(long3); |
| 2178 | long3 __ovld __cnfn convert_long3_rtz(long3); |
| 2179 | long3 __ovld __cnfn convert_long3_sat_rtz(long3); |
| 2180 | long3 __ovld __cnfn convert_long3_rtp(long3); |
| 2181 | long3 __ovld __cnfn convert_long3_sat_rtp(long3); |
| 2182 | long3 __ovld __cnfn convert_long3_rtn(long3); |
| 2183 | long3 __ovld __cnfn convert_long3_sat_rtn(long3); |
| 2184 | long3 __ovld __cnfn convert_long3(long3); |
| 2185 | long3 __ovld __cnfn convert_long3_sat(long3); |
| 2186 | long3 __ovld __cnfn convert_long3_rte(ulong3); |
| 2187 | long3 __ovld __cnfn convert_long3_sat_rte(ulong3); |
| 2188 | long3 __ovld __cnfn convert_long3_rtz(ulong3); |
| 2189 | long3 __ovld __cnfn convert_long3_sat_rtz(ulong3); |
| 2190 | long3 __ovld __cnfn convert_long3_rtp(ulong3); |
| 2191 | long3 __ovld __cnfn convert_long3_sat_rtp(ulong3); |
| 2192 | long3 __ovld __cnfn convert_long3_rtn(ulong3); |
| 2193 | long3 __ovld __cnfn convert_long3_sat_rtn(ulong3); |
| 2194 | long3 __ovld __cnfn convert_long3(ulong3); |
| 2195 | long3 __ovld __cnfn convert_long3_sat(ulong3); |
| 2196 | long3 __ovld __cnfn convert_long3_rte(float3); |
| 2197 | long3 __ovld __cnfn convert_long3_sat_rte(float3); |
| 2198 | long3 __ovld __cnfn convert_long3_rtz(float3); |
| 2199 | long3 __ovld __cnfn convert_long3_sat_rtz(float3); |
| 2200 | long3 __ovld __cnfn convert_long3_rtp(float3); |
| 2201 | long3 __ovld __cnfn convert_long3_sat_rtp(float3); |
| 2202 | long3 __ovld __cnfn convert_long3_rtn(float3); |
| 2203 | long3 __ovld __cnfn convert_long3_sat_rtn(float3); |
| 2204 | long3 __ovld __cnfn convert_long3(float3); |
| 2205 | long3 __ovld __cnfn convert_long3_sat(float3); |
| 2206 | ulong3 __ovld __cnfn convert_ulong3_rte(char3); |
| 2207 | ulong3 __ovld __cnfn convert_ulong3_sat_rte(char3); |
| 2208 | ulong3 __ovld __cnfn convert_ulong3_rtz(char3); |
| 2209 | ulong3 __ovld __cnfn convert_ulong3_sat_rtz(char3); |
| 2210 | ulong3 __ovld __cnfn convert_ulong3_rtp(char3); |
| 2211 | ulong3 __ovld __cnfn convert_ulong3_sat_rtp(char3); |
| 2212 | ulong3 __ovld __cnfn convert_ulong3_rtn(char3); |
| 2213 | ulong3 __ovld __cnfn convert_ulong3_sat_rtn(char3); |
| 2214 | ulong3 __ovld __cnfn convert_ulong3(char3); |
| 2215 | ulong3 __ovld __cnfn convert_ulong3_sat(char3); |
| 2216 | ulong3 __ovld __cnfn convert_ulong3_rte(uchar3); |
| 2217 | ulong3 __ovld __cnfn convert_ulong3_sat_rte(uchar3); |
| 2218 | ulong3 __ovld __cnfn convert_ulong3_rtz(uchar3); |
| 2219 | ulong3 __ovld __cnfn convert_ulong3_sat_rtz(uchar3); |
| 2220 | ulong3 __ovld __cnfn convert_ulong3_rtp(uchar3); |
| 2221 | ulong3 __ovld __cnfn convert_ulong3_sat_rtp(uchar3); |
| 2222 | ulong3 __ovld __cnfn convert_ulong3_rtn(uchar3); |
| 2223 | ulong3 __ovld __cnfn convert_ulong3_sat_rtn(uchar3); |
| 2224 | ulong3 __ovld __cnfn convert_ulong3(uchar3); |
| 2225 | ulong3 __ovld __cnfn convert_ulong3_sat(uchar3); |
| 2226 | ulong3 __ovld __cnfn convert_ulong3_rte(short3); |
| 2227 | ulong3 __ovld __cnfn convert_ulong3_sat_rte(short3); |
| 2228 | ulong3 __ovld __cnfn convert_ulong3_rtz(short3); |
| 2229 | ulong3 __ovld __cnfn convert_ulong3_sat_rtz(short3); |
| 2230 | ulong3 __ovld __cnfn convert_ulong3_rtp(short3); |
| 2231 | ulong3 __ovld __cnfn convert_ulong3_sat_rtp(short3); |
| 2232 | ulong3 __ovld __cnfn convert_ulong3_rtn(short3); |
| 2233 | ulong3 __ovld __cnfn convert_ulong3_sat_rtn(short3); |
| 2234 | ulong3 __ovld __cnfn convert_ulong3(short3); |
| 2235 | ulong3 __ovld __cnfn convert_ulong3_sat(short3); |
| 2236 | ulong3 __ovld __cnfn convert_ulong3_rte(ushort3); |
| 2237 | ulong3 __ovld __cnfn convert_ulong3_sat_rte(ushort3); |
| 2238 | ulong3 __ovld __cnfn convert_ulong3_rtz(ushort3); |
| 2239 | ulong3 __ovld __cnfn convert_ulong3_sat_rtz(ushort3); |
| 2240 | ulong3 __ovld __cnfn convert_ulong3_rtp(ushort3); |
| 2241 | ulong3 __ovld __cnfn convert_ulong3_sat_rtp(ushort3); |
| 2242 | ulong3 __ovld __cnfn convert_ulong3_rtn(ushort3); |
| 2243 | ulong3 __ovld __cnfn convert_ulong3_sat_rtn(ushort3); |
| 2244 | ulong3 __ovld __cnfn convert_ulong3(ushort3); |
| 2245 | ulong3 __ovld __cnfn convert_ulong3_sat(ushort3); |
| 2246 | ulong3 __ovld __cnfn convert_ulong3_rte(int3); |
| 2247 | ulong3 __ovld __cnfn convert_ulong3_sat_rte(int3); |
| 2248 | ulong3 __ovld __cnfn convert_ulong3_rtz(int3); |
| 2249 | ulong3 __ovld __cnfn convert_ulong3_sat_rtz(int3); |
| 2250 | ulong3 __ovld __cnfn convert_ulong3_rtp(int3); |
| 2251 | ulong3 __ovld __cnfn convert_ulong3_sat_rtp(int3); |
| 2252 | ulong3 __ovld __cnfn convert_ulong3_rtn(int3); |
| 2253 | ulong3 __ovld __cnfn convert_ulong3_sat_rtn(int3); |
| 2254 | ulong3 __ovld __cnfn convert_ulong3(int3); |
| 2255 | ulong3 __ovld __cnfn convert_ulong3_sat(int3); |
| 2256 | ulong3 __ovld __cnfn convert_ulong3_rte(uint3); |
| 2257 | ulong3 __ovld __cnfn convert_ulong3_sat_rte(uint3); |
| 2258 | ulong3 __ovld __cnfn convert_ulong3_rtz(uint3); |
| 2259 | ulong3 __ovld __cnfn convert_ulong3_sat_rtz(uint3); |
| 2260 | ulong3 __ovld __cnfn convert_ulong3_rtp(uint3); |
| 2261 | ulong3 __ovld __cnfn convert_ulong3_sat_rtp(uint3); |
| 2262 | ulong3 __ovld __cnfn convert_ulong3_rtn(uint3); |
| 2263 | ulong3 __ovld __cnfn convert_ulong3_sat_rtn(uint3); |
| 2264 | ulong3 __ovld __cnfn convert_ulong3(uint3); |
| 2265 | ulong3 __ovld __cnfn convert_ulong3_sat(uint3); |
| 2266 | ulong3 __ovld __cnfn convert_ulong3_rte(long3); |
| 2267 | ulong3 __ovld __cnfn convert_ulong3_sat_rte(long3); |
| 2268 | ulong3 __ovld __cnfn convert_ulong3_rtz(long3); |
| 2269 | ulong3 __ovld __cnfn convert_ulong3_sat_rtz(long3); |
| 2270 | ulong3 __ovld __cnfn convert_ulong3_rtp(long3); |
| 2271 | ulong3 __ovld __cnfn convert_ulong3_sat_rtp(long3); |
| 2272 | ulong3 __ovld __cnfn convert_ulong3_rtn(long3); |
| 2273 | ulong3 __ovld __cnfn convert_ulong3_sat_rtn(long3); |
| 2274 | ulong3 __ovld __cnfn convert_ulong3(long3); |
| 2275 | ulong3 __ovld __cnfn convert_ulong3_sat(long3); |
| 2276 | ulong3 __ovld __cnfn convert_ulong3_rte(ulong3); |
| 2277 | ulong3 __ovld __cnfn convert_ulong3_sat_rte(ulong3); |
| 2278 | ulong3 __ovld __cnfn convert_ulong3_rtz(ulong3); |
| 2279 | ulong3 __ovld __cnfn convert_ulong3_sat_rtz(ulong3); |
| 2280 | ulong3 __ovld __cnfn convert_ulong3_rtp(ulong3); |
| 2281 | ulong3 __ovld __cnfn convert_ulong3_sat_rtp(ulong3); |
| 2282 | ulong3 __ovld __cnfn convert_ulong3_rtn(ulong3); |
| 2283 | ulong3 __ovld __cnfn convert_ulong3_sat_rtn(ulong3); |
| 2284 | ulong3 __ovld __cnfn convert_ulong3(ulong3); |
| 2285 | ulong3 __ovld __cnfn convert_ulong3_sat(ulong3); |
| 2286 | ulong3 __ovld __cnfn convert_ulong3_rte(float3); |
| 2287 | ulong3 __ovld __cnfn convert_ulong3_sat_rte(float3); |
| 2288 | ulong3 __ovld __cnfn convert_ulong3_rtz(float3); |
| 2289 | ulong3 __ovld __cnfn convert_ulong3_sat_rtz(float3); |
| 2290 | ulong3 __ovld __cnfn convert_ulong3_rtp(float3); |
| 2291 | ulong3 __ovld __cnfn convert_ulong3_sat_rtp(float3); |
| 2292 | ulong3 __ovld __cnfn convert_ulong3_rtn(float3); |
| 2293 | ulong3 __ovld __cnfn convert_ulong3_sat_rtn(float3); |
| 2294 | ulong3 __ovld __cnfn convert_ulong3(float3); |
| 2295 | ulong3 __ovld __cnfn convert_ulong3_sat(float3); |
| 2296 | float3 __ovld __cnfn convert_float3_rte(char3); |
| 2297 | float3 __ovld __cnfn convert_float3_rtz(char3); |
| 2298 | float3 __ovld __cnfn convert_float3_rtp(char3); |
| 2299 | float3 __ovld __cnfn convert_float3_rtn(char3); |
| 2300 | float3 __ovld __cnfn convert_float3(char3); |
| 2301 | float3 __ovld __cnfn convert_float3_rte(uchar3); |
| 2302 | float3 __ovld __cnfn convert_float3_rtz(uchar3); |
| 2303 | float3 __ovld __cnfn convert_float3_rtp(uchar3); |
| 2304 | float3 __ovld __cnfn convert_float3_rtn(uchar3); |
| 2305 | float3 __ovld __cnfn convert_float3(uchar3); |
| 2306 | float3 __ovld __cnfn convert_float3_rte(short3); |
| 2307 | float3 __ovld __cnfn convert_float3_rtz(short3); |
| 2308 | float3 __ovld __cnfn convert_float3_rtp(short3); |
| 2309 | float3 __ovld __cnfn convert_float3_rtn(short3); |
| 2310 | float3 __ovld __cnfn convert_float3(short3); |
| 2311 | float3 __ovld __cnfn convert_float3_rte(ushort3); |
| 2312 | float3 __ovld __cnfn convert_float3_rtz(ushort3); |
| 2313 | float3 __ovld __cnfn convert_float3_rtp(ushort3); |
| 2314 | float3 __ovld __cnfn convert_float3_rtn(ushort3); |
| 2315 | float3 __ovld __cnfn convert_float3(ushort3); |
| 2316 | float3 __ovld __cnfn convert_float3_rte(int3); |
| 2317 | float3 __ovld __cnfn convert_float3_rtz(int3); |
| 2318 | float3 __ovld __cnfn convert_float3_rtp(int3); |
| 2319 | float3 __ovld __cnfn convert_float3_rtn(int3); |
| 2320 | float3 __ovld __cnfn convert_float3(int3); |
| 2321 | float3 __ovld __cnfn convert_float3_rte(uint3); |
| 2322 | float3 __ovld __cnfn convert_float3_rtz(uint3); |
| 2323 | float3 __ovld __cnfn convert_float3_rtp(uint3); |
| 2324 | float3 __ovld __cnfn convert_float3_rtn(uint3); |
| 2325 | float3 __ovld __cnfn convert_float3(uint3); |
| 2326 | float3 __ovld __cnfn convert_float3_rte(long3); |
| 2327 | float3 __ovld __cnfn convert_float3_rtz(long3); |
| 2328 | float3 __ovld __cnfn convert_float3_rtp(long3); |
| 2329 | float3 __ovld __cnfn convert_float3_rtn(long3); |
| 2330 | float3 __ovld __cnfn convert_float3(long3); |
| 2331 | float3 __ovld __cnfn convert_float3_rte(ulong3); |
| 2332 | float3 __ovld __cnfn convert_float3_rtz(ulong3); |
| 2333 | float3 __ovld __cnfn convert_float3_rtp(ulong3); |
| 2334 | float3 __ovld __cnfn convert_float3_rtn(ulong3); |
| 2335 | float3 __ovld __cnfn convert_float3(ulong3); |
| 2336 | float3 __ovld __cnfn convert_float3_rte(float3); |
| 2337 | float3 __ovld __cnfn convert_float3_rtz(float3); |
| 2338 | float3 __ovld __cnfn convert_float3_rtp(float3); |
| 2339 | float3 __ovld __cnfn convert_float3_rtn(float3); |
| 2340 | float3 __ovld __cnfn convert_float3(float3); |
| 2341 | char4 __ovld __cnfn convert_char4_rte(char4); |
| 2342 | char4 __ovld __cnfn convert_char4_sat_rte(char4); |
| 2343 | char4 __ovld __cnfn convert_char4_rtz(char4); |
| 2344 | char4 __ovld __cnfn convert_char4_sat_rtz(char4); |
| 2345 | char4 __ovld __cnfn convert_char4_rtp(char4); |
| 2346 | char4 __ovld __cnfn convert_char4_sat_rtp(char4); |
| 2347 | char4 __ovld __cnfn convert_char4_rtn(char4); |
| 2348 | char4 __ovld __cnfn convert_char4_sat_rtn(char4); |
| 2349 | char4 __ovld __cnfn convert_char4(char4); |
| 2350 | char4 __ovld __cnfn convert_char4_sat(char4); |
| 2351 | char4 __ovld __cnfn convert_char4_rte(uchar4); |
| 2352 | char4 __ovld __cnfn convert_char4_sat_rte(uchar4); |
| 2353 | char4 __ovld __cnfn convert_char4_rtz(uchar4); |
| 2354 | char4 __ovld __cnfn convert_char4_sat_rtz(uchar4); |
| 2355 | char4 __ovld __cnfn convert_char4_rtp(uchar4); |
| 2356 | char4 __ovld __cnfn convert_char4_sat_rtp(uchar4); |
| 2357 | char4 __ovld __cnfn convert_char4_rtn(uchar4); |
| 2358 | char4 __ovld __cnfn convert_char4_sat_rtn(uchar4); |
| 2359 | char4 __ovld __cnfn convert_char4(uchar4); |
| 2360 | char4 __ovld __cnfn convert_char4_sat(uchar4); |
| 2361 | char4 __ovld __cnfn convert_char4_rte(short4); |
| 2362 | char4 __ovld __cnfn convert_char4_sat_rte(short4); |
| 2363 | char4 __ovld __cnfn convert_char4_rtz(short4); |
| 2364 | char4 __ovld __cnfn convert_char4_sat_rtz(short4); |
| 2365 | char4 __ovld __cnfn convert_char4_rtp(short4); |
| 2366 | char4 __ovld __cnfn convert_char4_sat_rtp(short4); |
| 2367 | char4 __ovld __cnfn convert_char4_rtn(short4); |
| 2368 | char4 __ovld __cnfn convert_char4_sat_rtn(short4); |
| 2369 | char4 __ovld __cnfn convert_char4(short4); |
| 2370 | char4 __ovld __cnfn convert_char4_sat(short4); |
| 2371 | char4 __ovld __cnfn convert_char4_rte(ushort4); |
| 2372 | char4 __ovld __cnfn convert_char4_sat_rte(ushort4); |
| 2373 | char4 __ovld __cnfn convert_char4_rtz(ushort4); |
| 2374 | char4 __ovld __cnfn convert_char4_sat_rtz(ushort4); |
| 2375 | char4 __ovld __cnfn convert_char4_rtp(ushort4); |
| 2376 | char4 __ovld __cnfn convert_char4_sat_rtp(ushort4); |
| 2377 | char4 __ovld __cnfn convert_char4_rtn(ushort4); |
| 2378 | char4 __ovld __cnfn convert_char4_sat_rtn(ushort4); |
| 2379 | char4 __ovld __cnfn convert_char4(ushort4); |
| 2380 | char4 __ovld __cnfn convert_char4_sat(ushort4); |
| 2381 | char4 __ovld __cnfn convert_char4_rte(int4); |
| 2382 | char4 __ovld __cnfn convert_char4_sat_rte(int4); |
| 2383 | char4 __ovld __cnfn convert_char4_rtz(int4); |
| 2384 | char4 __ovld __cnfn convert_char4_sat_rtz(int4); |
| 2385 | char4 __ovld __cnfn convert_char4_rtp(int4); |
| 2386 | char4 __ovld __cnfn convert_char4_sat_rtp(int4); |
| 2387 | char4 __ovld __cnfn convert_char4_rtn(int4); |
| 2388 | char4 __ovld __cnfn convert_char4_sat_rtn(int4); |
| 2389 | char4 __ovld __cnfn convert_char4(int4); |
| 2390 | char4 __ovld __cnfn convert_char4_sat(int4); |
| 2391 | char4 __ovld __cnfn convert_char4_rte(uint4); |
| 2392 | char4 __ovld __cnfn convert_char4_sat_rte(uint4); |
| 2393 | char4 __ovld __cnfn convert_char4_rtz(uint4); |
| 2394 | char4 __ovld __cnfn convert_char4_sat_rtz(uint4); |
| 2395 | char4 __ovld __cnfn convert_char4_rtp(uint4); |
| 2396 | char4 __ovld __cnfn convert_char4_sat_rtp(uint4); |
| 2397 | char4 __ovld __cnfn convert_char4_rtn(uint4); |
| 2398 | char4 __ovld __cnfn convert_char4_sat_rtn(uint4); |
| 2399 | char4 __ovld __cnfn convert_char4(uint4); |
| 2400 | char4 __ovld __cnfn convert_char4_sat(uint4); |
| 2401 | char4 __ovld __cnfn convert_char4_rte(long4); |
| 2402 | char4 __ovld __cnfn convert_char4_sat_rte(long4); |
| 2403 | char4 __ovld __cnfn convert_char4_rtz(long4); |
| 2404 | char4 __ovld __cnfn convert_char4_sat_rtz(long4); |
| 2405 | char4 __ovld __cnfn convert_char4_rtp(long4); |
| 2406 | char4 __ovld __cnfn convert_char4_sat_rtp(long4); |
| 2407 | char4 __ovld __cnfn convert_char4_rtn(long4); |
| 2408 | char4 __ovld __cnfn convert_char4_sat_rtn(long4); |
| 2409 | char4 __ovld __cnfn convert_char4(long4); |
| 2410 | char4 __ovld __cnfn convert_char4_sat(long4); |
| 2411 | char4 __ovld __cnfn convert_char4_rte(ulong4); |
| 2412 | char4 __ovld __cnfn convert_char4_sat_rte(ulong4); |
| 2413 | char4 __ovld __cnfn convert_char4_rtz(ulong4); |
| 2414 | char4 __ovld __cnfn convert_char4_sat_rtz(ulong4); |
| 2415 | char4 __ovld __cnfn convert_char4_rtp(ulong4); |
| 2416 | char4 __ovld __cnfn convert_char4_sat_rtp(ulong4); |
| 2417 | char4 __ovld __cnfn convert_char4_rtn(ulong4); |
| 2418 | char4 __ovld __cnfn convert_char4_sat_rtn(ulong4); |
| 2419 | char4 __ovld __cnfn convert_char4(ulong4); |
| 2420 | char4 __ovld __cnfn convert_char4_sat(ulong4); |
| 2421 | char4 __ovld __cnfn convert_char4_rte(float4); |
| 2422 | char4 __ovld __cnfn convert_char4_sat_rte(float4); |
| 2423 | char4 __ovld __cnfn convert_char4_rtz(float4); |
| 2424 | char4 __ovld __cnfn convert_char4_sat_rtz(float4); |
| 2425 | char4 __ovld __cnfn convert_char4_rtp(float4); |
| 2426 | char4 __ovld __cnfn convert_char4_sat_rtp(float4); |
| 2427 | char4 __ovld __cnfn convert_char4_rtn(float4); |
| 2428 | char4 __ovld __cnfn convert_char4_sat_rtn(float4); |
| 2429 | char4 __ovld __cnfn convert_char4(float4); |
| 2430 | char4 __ovld __cnfn convert_char4_sat(float4); |
| 2431 | uchar4 __ovld __cnfn convert_uchar4_rte(char4); |
| 2432 | uchar4 __ovld __cnfn convert_uchar4_sat_rte(char4); |
| 2433 | uchar4 __ovld __cnfn convert_uchar4_rtz(char4); |
| 2434 | uchar4 __ovld __cnfn convert_uchar4_sat_rtz(char4); |
| 2435 | uchar4 __ovld __cnfn convert_uchar4_rtp(char4); |
| 2436 | uchar4 __ovld __cnfn convert_uchar4_sat_rtp(char4); |
| 2437 | uchar4 __ovld __cnfn convert_uchar4_rtn(char4); |
| 2438 | uchar4 __ovld __cnfn convert_uchar4_sat_rtn(char4); |
| 2439 | uchar4 __ovld __cnfn convert_uchar4(char4); |
| 2440 | uchar4 __ovld __cnfn convert_uchar4_sat(char4); |
| 2441 | uchar4 __ovld __cnfn convert_uchar4_rte(uchar4); |
| 2442 | uchar4 __ovld __cnfn convert_uchar4_sat_rte(uchar4); |
| 2443 | uchar4 __ovld __cnfn convert_uchar4_rtz(uchar4); |
| 2444 | uchar4 __ovld __cnfn convert_uchar4_sat_rtz(uchar4); |
| 2445 | uchar4 __ovld __cnfn convert_uchar4_rtp(uchar4); |
| 2446 | uchar4 __ovld __cnfn convert_uchar4_sat_rtp(uchar4); |
| 2447 | uchar4 __ovld __cnfn convert_uchar4_rtn(uchar4); |
| 2448 | uchar4 __ovld __cnfn convert_uchar4_sat_rtn(uchar4); |
| 2449 | uchar4 __ovld __cnfn convert_uchar4(uchar4); |
| 2450 | uchar4 __ovld __cnfn convert_uchar4_sat(uchar4); |
| 2451 | uchar4 __ovld __cnfn convert_uchar4_rte(short4); |
| 2452 | uchar4 __ovld __cnfn convert_uchar4_sat_rte(short4); |
| 2453 | uchar4 __ovld __cnfn convert_uchar4_rtz(short4); |
| 2454 | uchar4 __ovld __cnfn convert_uchar4_sat_rtz(short4); |
| 2455 | uchar4 __ovld __cnfn convert_uchar4_rtp(short4); |
| 2456 | uchar4 __ovld __cnfn convert_uchar4_sat_rtp(short4); |
| 2457 | uchar4 __ovld __cnfn convert_uchar4_rtn(short4); |
| 2458 | uchar4 __ovld __cnfn convert_uchar4_sat_rtn(short4); |
| 2459 | uchar4 __ovld __cnfn convert_uchar4(short4); |
| 2460 | uchar4 __ovld __cnfn convert_uchar4_sat(short4); |
| 2461 | uchar4 __ovld __cnfn convert_uchar4_rte(ushort4); |
| 2462 | uchar4 __ovld __cnfn convert_uchar4_sat_rte(ushort4); |
| 2463 | uchar4 __ovld __cnfn convert_uchar4_rtz(ushort4); |
| 2464 | uchar4 __ovld __cnfn convert_uchar4_sat_rtz(ushort4); |
| 2465 | uchar4 __ovld __cnfn convert_uchar4_rtp(ushort4); |
| 2466 | uchar4 __ovld __cnfn convert_uchar4_sat_rtp(ushort4); |
| 2467 | uchar4 __ovld __cnfn convert_uchar4_rtn(ushort4); |
| 2468 | uchar4 __ovld __cnfn convert_uchar4_sat_rtn(ushort4); |
| 2469 | uchar4 __ovld __cnfn convert_uchar4(ushort4); |
| 2470 | uchar4 __ovld __cnfn convert_uchar4_sat(ushort4); |
| 2471 | uchar4 __ovld __cnfn convert_uchar4_rte(int4); |
| 2472 | uchar4 __ovld __cnfn convert_uchar4_sat_rte(int4); |
| 2473 | uchar4 __ovld __cnfn convert_uchar4_rtz(int4); |
| 2474 | uchar4 __ovld __cnfn convert_uchar4_sat_rtz(int4); |
| 2475 | uchar4 __ovld __cnfn convert_uchar4_rtp(int4); |
| 2476 | uchar4 __ovld __cnfn convert_uchar4_sat_rtp(int4); |
| 2477 | uchar4 __ovld __cnfn convert_uchar4_rtn(int4); |
| 2478 | uchar4 __ovld __cnfn convert_uchar4_sat_rtn(int4); |
| 2479 | uchar4 __ovld __cnfn convert_uchar4(int4); |
| 2480 | uchar4 __ovld __cnfn convert_uchar4_sat(int4); |
| 2481 | uchar4 __ovld __cnfn convert_uchar4_rte(uint4); |
| 2482 | uchar4 __ovld __cnfn convert_uchar4_sat_rte(uint4); |
| 2483 | uchar4 __ovld __cnfn convert_uchar4_rtz(uint4); |
| 2484 | uchar4 __ovld __cnfn convert_uchar4_sat_rtz(uint4); |
| 2485 | uchar4 __ovld __cnfn convert_uchar4_rtp(uint4); |
| 2486 | uchar4 __ovld __cnfn convert_uchar4_sat_rtp(uint4); |
| 2487 | uchar4 __ovld __cnfn convert_uchar4_rtn(uint4); |
| 2488 | uchar4 __ovld __cnfn convert_uchar4_sat_rtn(uint4); |
| 2489 | uchar4 __ovld __cnfn convert_uchar4(uint4); |
| 2490 | uchar4 __ovld __cnfn convert_uchar4_sat(uint4); |
| 2491 | uchar4 __ovld __cnfn convert_uchar4_rte(long4); |
| 2492 | uchar4 __ovld __cnfn convert_uchar4_sat_rte(long4); |
| 2493 | uchar4 __ovld __cnfn convert_uchar4_rtz(long4); |
| 2494 | uchar4 __ovld __cnfn convert_uchar4_sat_rtz(long4); |
| 2495 | uchar4 __ovld __cnfn convert_uchar4_rtp(long4); |
| 2496 | uchar4 __ovld __cnfn convert_uchar4_sat_rtp(long4); |
| 2497 | uchar4 __ovld __cnfn convert_uchar4_rtn(long4); |
| 2498 | uchar4 __ovld __cnfn convert_uchar4_sat_rtn(long4); |
| 2499 | uchar4 __ovld __cnfn convert_uchar4(long4); |
| 2500 | uchar4 __ovld __cnfn convert_uchar4_sat(long4); |
| 2501 | uchar4 __ovld __cnfn convert_uchar4_rte(ulong4); |
| 2502 | uchar4 __ovld __cnfn convert_uchar4_sat_rte(ulong4); |
| 2503 | uchar4 __ovld __cnfn convert_uchar4_rtz(ulong4); |
| 2504 | uchar4 __ovld __cnfn convert_uchar4_sat_rtz(ulong4); |
| 2505 | uchar4 __ovld __cnfn convert_uchar4_rtp(ulong4); |
| 2506 | uchar4 __ovld __cnfn convert_uchar4_sat_rtp(ulong4); |
| 2507 | uchar4 __ovld __cnfn convert_uchar4_rtn(ulong4); |
| 2508 | uchar4 __ovld __cnfn convert_uchar4_sat_rtn(ulong4); |
| 2509 | uchar4 __ovld __cnfn convert_uchar4(ulong4); |
| 2510 | uchar4 __ovld __cnfn convert_uchar4_sat(ulong4); |
| 2511 | uchar4 __ovld __cnfn convert_uchar4_rte(float4); |
| 2512 | uchar4 __ovld __cnfn convert_uchar4_sat_rte(float4); |
| 2513 | uchar4 __ovld __cnfn convert_uchar4_rtz(float4); |
| 2514 | uchar4 __ovld __cnfn convert_uchar4_sat_rtz(float4); |
| 2515 | uchar4 __ovld __cnfn convert_uchar4_rtp(float4); |
| 2516 | uchar4 __ovld __cnfn convert_uchar4_sat_rtp(float4); |
| 2517 | uchar4 __ovld __cnfn convert_uchar4_rtn(float4); |
| 2518 | uchar4 __ovld __cnfn convert_uchar4_sat_rtn(float4); |
| 2519 | uchar4 __ovld __cnfn convert_uchar4(float4); |
| 2520 | uchar4 __ovld __cnfn convert_uchar4_sat(float4); |
| 2521 | short4 __ovld __cnfn convert_short4_rte(char4); |
| 2522 | short4 __ovld __cnfn convert_short4_sat_rte(char4); |
| 2523 | short4 __ovld __cnfn convert_short4_rtz(char4); |
| 2524 | short4 __ovld __cnfn convert_short4_sat_rtz(char4); |
| 2525 | short4 __ovld __cnfn convert_short4_rtp(char4); |
| 2526 | short4 __ovld __cnfn convert_short4_sat_rtp(char4); |
| 2527 | short4 __ovld __cnfn convert_short4_rtn(char4); |
| 2528 | short4 __ovld __cnfn convert_short4_sat_rtn(char4); |
| 2529 | short4 __ovld __cnfn convert_short4(char4); |
| 2530 | short4 __ovld __cnfn convert_short4_sat(char4); |
| 2531 | short4 __ovld __cnfn convert_short4_rte(uchar4); |
| 2532 | short4 __ovld __cnfn convert_short4_sat_rte(uchar4); |
| 2533 | short4 __ovld __cnfn convert_short4_rtz(uchar4); |
| 2534 | short4 __ovld __cnfn convert_short4_sat_rtz(uchar4); |
| 2535 | short4 __ovld __cnfn convert_short4_rtp(uchar4); |
| 2536 | short4 __ovld __cnfn convert_short4_sat_rtp(uchar4); |
| 2537 | short4 __ovld __cnfn convert_short4_rtn(uchar4); |
| 2538 | short4 __ovld __cnfn convert_short4_sat_rtn(uchar4); |
| 2539 | short4 __ovld __cnfn convert_short4(uchar4); |
| 2540 | short4 __ovld __cnfn convert_short4_sat(uchar4); |
| 2541 | short4 __ovld __cnfn convert_short4_rte(short4); |
| 2542 | short4 __ovld __cnfn convert_short4_sat_rte(short4); |
| 2543 | short4 __ovld __cnfn convert_short4_rtz(short4); |
| 2544 | short4 __ovld __cnfn convert_short4_sat_rtz(short4); |
| 2545 | short4 __ovld __cnfn convert_short4_rtp(short4); |
| 2546 | short4 __ovld __cnfn convert_short4_sat_rtp(short4); |
| 2547 | short4 __ovld __cnfn convert_short4_rtn(short4); |
| 2548 | short4 __ovld __cnfn convert_short4_sat_rtn(short4); |
| 2549 | short4 __ovld __cnfn convert_short4(short4); |
| 2550 | short4 __ovld __cnfn convert_short4_sat(short4); |
| 2551 | short4 __ovld __cnfn convert_short4_rte(ushort4); |
| 2552 | short4 __ovld __cnfn convert_short4_sat_rte(ushort4); |
| 2553 | short4 __ovld __cnfn convert_short4_rtz(ushort4); |
| 2554 | short4 __ovld __cnfn convert_short4_sat_rtz(ushort4); |
| 2555 | short4 __ovld __cnfn convert_short4_rtp(ushort4); |
| 2556 | short4 __ovld __cnfn convert_short4_sat_rtp(ushort4); |
| 2557 | short4 __ovld __cnfn convert_short4_rtn(ushort4); |
| 2558 | short4 __ovld __cnfn convert_short4_sat_rtn(ushort4); |
| 2559 | short4 __ovld __cnfn convert_short4(ushort4); |
| 2560 | short4 __ovld __cnfn convert_short4_sat(ushort4); |
| 2561 | short4 __ovld __cnfn convert_short4_rte(int4); |
| 2562 | short4 __ovld __cnfn convert_short4_sat_rte(int4); |
| 2563 | short4 __ovld __cnfn convert_short4_rtz(int4); |
| 2564 | short4 __ovld __cnfn convert_short4_sat_rtz(int4); |
| 2565 | short4 __ovld __cnfn convert_short4_rtp(int4); |
| 2566 | short4 __ovld __cnfn convert_short4_sat_rtp(int4); |
| 2567 | short4 __ovld __cnfn convert_short4_rtn(int4); |
| 2568 | short4 __ovld __cnfn convert_short4_sat_rtn(int4); |
| 2569 | short4 __ovld __cnfn convert_short4(int4); |
| 2570 | short4 __ovld __cnfn convert_short4_sat(int4); |
| 2571 | short4 __ovld __cnfn convert_short4_rte(uint4); |
| 2572 | short4 __ovld __cnfn convert_short4_sat_rte(uint4); |
| 2573 | short4 __ovld __cnfn convert_short4_rtz(uint4); |
| 2574 | short4 __ovld __cnfn convert_short4_sat_rtz(uint4); |
| 2575 | short4 __ovld __cnfn convert_short4_rtp(uint4); |
| 2576 | short4 __ovld __cnfn convert_short4_sat_rtp(uint4); |
| 2577 | short4 __ovld __cnfn convert_short4_rtn(uint4); |
| 2578 | short4 __ovld __cnfn convert_short4_sat_rtn(uint4); |
| 2579 | short4 __ovld __cnfn convert_short4(uint4); |
| 2580 | short4 __ovld __cnfn convert_short4_sat(uint4); |
| 2581 | short4 __ovld __cnfn convert_short4_rte(long4); |
| 2582 | short4 __ovld __cnfn convert_short4_sat_rte(long4); |
| 2583 | short4 __ovld __cnfn convert_short4_rtz(long4); |
| 2584 | short4 __ovld __cnfn convert_short4_sat_rtz(long4); |
| 2585 | short4 __ovld __cnfn convert_short4_rtp(long4); |
| 2586 | short4 __ovld __cnfn convert_short4_sat_rtp(long4); |
| 2587 | short4 __ovld __cnfn convert_short4_rtn(long4); |
| 2588 | short4 __ovld __cnfn convert_short4_sat_rtn(long4); |
| 2589 | short4 __ovld __cnfn convert_short4(long4); |
| 2590 | short4 __ovld __cnfn convert_short4_sat(long4); |
| 2591 | short4 __ovld __cnfn convert_short4_rte(ulong4); |
| 2592 | short4 __ovld __cnfn convert_short4_sat_rte(ulong4); |
| 2593 | short4 __ovld __cnfn convert_short4_rtz(ulong4); |
| 2594 | short4 __ovld __cnfn convert_short4_sat_rtz(ulong4); |
| 2595 | short4 __ovld __cnfn convert_short4_rtp(ulong4); |
| 2596 | short4 __ovld __cnfn convert_short4_sat_rtp(ulong4); |
| 2597 | short4 __ovld __cnfn convert_short4_rtn(ulong4); |
| 2598 | short4 __ovld __cnfn convert_short4_sat_rtn(ulong4); |
| 2599 | short4 __ovld __cnfn convert_short4(ulong4); |
| 2600 | short4 __ovld __cnfn convert_short4_sat(ulong4); |
| 2601 | short4 __ovld __cnfn convert_short4_rte(float4); |
| 2602 | short4 __ovld __cnfn convert_short4_sat_rte(float4); |
| 2603 | short4 __ovld __cnfn convert_short4_rtz(float4); |
| 2604 | short4 __ovld __cnfn convert_short4_sat_rtz(float4); |
| 2605 | short4 __ovld __cnfn convert_short4_rtp(float4); |
| 2606 | short4 __ovld __cnfn convert_short4_sat_rtp(float4); |
| 2607 | short4 __ovld __cnfn convert_short4_rtn(float4); |
| 2608 | short4 __ovld __cnfn convert_short4_sat_rtn(float4); |
| 2609 | short4 __ovld __cnfn convert_short4(float4); |
| 2610 | short4 __ovld __cnfn convert_short4_sat(float4); |
| 2611 | ushort4 __ovld __cnfn convert_ushort4_rte(char4); |
| 2612 | ushort4 __ovld __cnfn convert_ushort4_sat_rte(char4); |
| 2613 | ushort4 __ovld __cnfn convert_ushort4_rtz(char4); |
| 2614 | ushort4 __ovld __cnfn convert_ushort4_sat_rtz(char4); |
| 2615 | ushort4 __ovld __cnfn convert_ushort4_rtp(char4); |
| 2616 | ushort4 __ovld __cnfn convert_ushort4_sat_rtp(char4); |
| 2617 | ushort4 __ovld __cnfn convert_ushort4_rtn(char4); |
| 2618 | ushort4 __ovld __cnfn convert_ushort4_sat_rtn(char4); |
| 2619 | ushort4 __ovld __cnfn convert_ushort4(char4); |
| 2620 | ushort4 __ovld __cnfn convert_ushort4_sat(char4); |
| 2621 | ushort4 __ovld __cnfn convert_ushort4_rte(uchar4); |
| 2622 | ushort4 __ovld __cnfn convert_ushort4_sat_rte(uchar4); |
| 2623 | ushort4 __ovld __cnfn convert_ushort4_rtz(uchar4); |
| 2624 | ushort4 __ovld __cnfn convert_ushort4_sat_rtz(uchar4); |
| 2625 | ushort4 __ovld __cnfn convert_ushort4_rtp(uchar4); |
| 2626 | ushort4 __ovld __cnfn convert_ushort4_sat_rtp(uchar4); |
| 2627 | ushort4 __ovld __cnfn convert_ushort4_rtn(uchar4); |
| 2628 | ushort4 __ovld __cnfn convert_ushort4_sat_rtn(uchar4); |
| 2629 | ushort4 __ovld __cnfn convert_ushort4(uchar4); |
| 2630 | ushort4 __ovld __cnfn convert_ushort4_sat(uchar4); |
| 2631 | ushort4 __ovld __cnfn convert_ushort4_rte(short4); |
| 2632 | ushort4 __ovld __cnfn convert_ushort4_sat_rte(short4); |
| 2633 | ushort4 __ovld __cnfn convert_ushort4_rtz(short4); |
| 2634 | ushort4 __ovld __cnfn convert_ushort4_sat_rtz(short4); |
| 2635 | ushort4 __ovld __cnfn convert_ushort4_rtp(short4); |
| 2636 | ushort4 __ovld __cnfn convert_ushort4_sat_rtp(short4); |
| 2637 | ushort4 __ovld __cnfn convert_ushort4_rtn(short4); |
| 2638 | ushort4 __ovld __cnfn convert_ushort4_sat_rtn(short4); |
| 2639 | ushort4 __ovld __cnfn convert_ushort4(short4); |
| 2640 | ushort4 __ovld __cnfn convert_ushort4_sat(short4); |
| 2641 | ushort4 __ovld __cnfn convert_ushort4_rte(ushort4); |
| 2642 | ushort4 __ovld __cnfn convert_ushort4_sat_rte(ushort4); |
| 2643 | ushort4 __ovld __cnfn convert_ushort4_rtz(ushort4); |
| 2644 | ushort4 __ovld __cnfn convert_ushort4_sat_rtz(ushort4); |
| 2645 | ushort4 __ovld __cnfn convert_ushort4_rtp(ushort4); |
| 2646 | ushort4 __ovld __cnfn convert_ushort4_sat_rtp(ushort4); |
| 2647 | ushort4 __ovld __cnfn convert_ushort4_rtn(ushort4); |
| 2648 | ushort4 __ovld __cnfn convert_ushort4_sat_rtn(ushort4); |
| 2649 | ushort4 __ovld __cnfn convert_ushort4(ushort4); |
| 2650 | ushort4 __ovld __cnfn convert_ushort4_sat(ushort4); |
| 2651 | ushort4 __ovld __cnfn convert_ushort4_rte(int4); |
| 2652 | ushort4 __ovld __cnfn convert_ushort4_sat_rte(int4); |
| 2653 | ushort4 __ovld __cnfn convert_ushort4_rtz(int4); |
| 2654 | ushort4 __ovld __cnfn convert_ushort4_sat_rtz(int4); |
| 2655 | ushort4 __ovld __cnfn convert_ushort4_rtp(int4); |
| 2656 | ushort4 __ovld __cnfn convert_ushort4_sat_rtp(int4); |
| 2657 | ushort4 __ovld __cnfn convert_ushort4_rtn(int4); |
| 2658 | ushort4 __ovld __cnfn convert_ushort4_sat_rtn(int4); |
| 2659 | ushort4 __ovld __cnfn convert_ushort4(int4); |
| 2660 | ushort4 __ovld __cnfn convert_ushort4_sat(int4); |
| 2661 | ushort4 __ovld __cnfn convert_ushort4_rte(uint4); |
| 2662 | ushort4 __ovld __cnfn convert_ushort4_sat_rte(uint4); |
| 2663 | ushort4 __ovld __cnfn convert_ushort4_rtz(uint4); |
| 2664 | ushort4 __ovld __cnfn convert_ushort4_sat_rtz(uint4); |
| 2665 | ushort4 __ovld __cnfn convert_ushort4_rtp(uint4); |
| 2666 | ushort4 __ovld __cnfn convert_ushort4_sat_rtp(uint4); |
| 2667 | ushort4 __ovld __cnfn convert_ushort4_rtn(uint4); |
| 2668 | ushort4 __ovld __cnfn convert_ushort4_sat_rtn(uint4); |
| 2669 | ushort4 __ovld __cnfn convert_ushort4(uint4); |
| 2670 | ushort4 __ovld __cnfn convert_ushort4_sat(uint4); |
| 2671 | ushort4 __ovld __cnfn convert_ushort4_rte(long4); |
| 2672 | ushort4 __ovld __cnfn convert_ushort4_sat_rte(long4); |
| 2673 | ushort4 __ovld __cnfn convert_ushort4_rtz(long4); |
| 2674 | ushort4 __ovld __cnfn convert_ushort4_sat_rtz(long4); |
| 2675 | ushort4 __ovld __cnfn convert_ushort4_rtp(long4); |
| 2676 | ushort4 __ovld __cnfn convert_ushort4_sat_rtp(long4); |
| 2677 | ushort4 __ovld __cnfn convert_ushort4_rtn(long4); |
| 2678 | ushort4 __ovld __cnfn convert_ushort4_sat_rtn(long4); |
| 2679 | ushort4 __ovld __cnfn convert_ushort4(long4); |
| 2680 | ushort4 __ovld __cnfn convert_ushort4_sat(long4); |
| 2681 | ushort4 __ovld __cnfn convert_ushort4_rte(ulong4); |
| 2682 | ushort4 __ovld __cnfn convert_ushort4_sat_rte(ulong4); |
| 2683 | ushort4 __ovld __cnfn convert_ushort4_rtz(ulong4); |
| 2684 | ushort4 __ovld __cnfn convert_ushort4_sat_rtz(ulong4); |
| 2685 | ushort4 __ovld __cnfn convert_ushort4_rtp(ulong4); |
| 2686 | ushort4 __ovld __cnfn convert_ushort4_sat_rtp(ulong4); |
| 2687 | ushort4 __ovld __cnfn convert_ushort4_rtn(ulong4); |
| 2688 | ushort4 __ovld __cnfn convert_ushort4_sat_rtn(ulong4); |
| 2689 | ushort4 __ovld __cnfn convert_ushort4(ulong4); |
| 2690 | ushort4 __ovld __cnfn convert_ushort4_sat(ulong4); |
| 2691 | ushort4 __ovld __cnfn convert_ushort4_rte(float4); |
| 2692 | ushort4 __ovld __cnfn convert_ushort4_sat_rte(float4); |
| 2693 | ushort4 __ovld __cnfn convert_ushort4_rtz(float4); |
| 2694 | ushort4 __ovld __cnfn convert_ushort4_sat_rtz(float4); |
| 2695 | ushort4 __ovld __cnfn convert_ushort4_rtp(float4); |
| 2696 | ushort4 __ovld __cnfn convert_ushort4_sat_rtp(float4); |
| 2697 | ushort4 __ovld __cnfn convert_ushort4_rtn(float4); |
| 2698 | ushort4 __ovld __cnfn convert_ushort4_sat_rtn(float4); |
| 2699 | ushort4 __ovld __cnfn convert_ushort4(float4); |
| 2700 | ushort4 __ovld __cnfn convert_ushort4_sat(float4); |
| 2701 | int4 __ovld __cnfn convert_int4_rte(char4); |
| 2702 | int4 __ovld __cnfn convert_int4_sat_rte(char4); |
| 2703 | int4 __ovld __cnfn convert_int4_rtz(char4); |
| 2704 | int4 __ovld __cnfn convert_int4_sat_rtz(char4); |
| 2705 | int4 __ovld __cnfn convert_int4_rtp(char4); |
| 2706 | int4 __ovld __cnfn convert_int4_sat_rtp(char4); |
| 2707 | int4 __ovld __cnfn convert_int4_rtn(char4); |
| 2708 | int4 __ovld __cnfn convert_int4_sat_rtn(char4); |
| 2709 | int4 __ovld __cnfn convert_int4(char4); |
| 2710 | int4 __ovld __cnfn convert_int4_sat(char4); |
| 2711 | int4 __ovld __cnfn convert_int4_rte(uchar4); |
| 2712 | int4 __ovld __cnfn convert_int4_sat_rte(uchar4); |
| 2713 | int4 __ovld __cnfn convert_int4_rtz(uchar4); |
| 2714 | int4 __ovld __cnfn convert_int4_sat_rtz(uchar4); |
| 2715 | int4 __ovld __cnfn convert_int4_rtp(uchar4); |
| 2716 | int4 __ovld __cnfn convert_int4_sat_rtp(uchar4); |
| 2717 | int4 __ovld __cnfn convert_int4_rtn(uchar4); |
| 2718 | int4 __ovld __cnfn convert_int4_sat_rtn(uchar4); |
| 2719 | int4 __ovld __cnfn convert_int4(uchar4); |
| 2720 | int4 __ovld __cnfn convert_int4_sat(uchar4); |
| 2721 | int4 __ovld __cnfn convert_int4_rte(short4); |
| 2722 | int4 __ovld __cnfn convert_int4_sat_rte(short4); |
| 2723 | int4 __ovld __cnfn convert_int4_rtz(short4); |
| 2724 | int4 __ovld __cnfn convert_int4_sat_rtz(short4); |
| 2725 | int4 __ovld __cnfn convert_int4_rtp(short4); |
| 2726 | int4 __ovld __cnfn convert_int4_sat_rtp(short4); |
| 2727 | int4 __ovld __cnfn convert_int4_rtn(short4); |
| 2728 | int4 __ovld __cnfn convert_int4_sat_rtn(short4); |
| 2729 | int4 __ovld __cnfn convert_int4(short4); |
| 2730 | int4 __ovld __cnfn convert_int4_sat(short4); |
| 2731 | int4 __ovld __cnfn convert_int4_rte(ushort4); |
| 2732 | int4 __ovld __cnfn convert_int4_sat_rte(ushort4); |
| 2733 | int4 __ovld __cnfn convert_int4_rtz(ushort4); |
| 2734 | int4 __ovld __cnfn convert_int4_sat_rtz(ushort4); |
| 2735 | int4 __ovld __cnfn convert_int4_rtp(ushort4); |
| 2736 | int4 __ovld __cnfn convert_int4_sat_rtp(ushort4); |
| 2737 | int4 __ovld __cnfn convert_int4_rtn(ushort4); |
| 2738 | int4 __ovld __cnfn convert_int4_sat_rtn(ushort4); |
| 2739 | int4 __ovld __cnfn convert_int4(ushort4); |
| 2740 | int4 __ovld __cnfn convert_int4_sat(ushort4); |
| 2741 | int4 __ovld __cnfn convert_int4_rte(int4); |
| 2742 | int4 __ovld __cnfn convert_int4_sat_rte(int4); |
| 2743 | int4 __ovld __cnfn convert_int4_rtz(int4); |
| 2744 | int4 __ovld __cnfn convert_int4_sat_rtz(int4); |
| 2745 | int4 __ovld __cnfn convert_int4_rtp(int4); |
| 2746 | int4 __ovld __cnfn convert_int4_sat_rtp(int4); |
| 2747 | int4 __ovld __cnfn convert_int4_rtn(int4); |
| 2748 | int4 __ovld __cnfn convert_int4_sat_rtn(int4); |
| 2749 | int4 __ovld __cnfn convert_int4(int4); |
| 2750 | int4 __ovld __cnfn convert_int4_sat(int4); |
| 2751 | int4 __ovld __cnfn convert_int4_rte(uint4); |
| 2752 | int4 __ovld __cnfn convert_int4_sat_rte(uint4); |
| 2753 | int4 __ovld __cnfn convert_int4_rtz(uint4); |
| 2754 | int4 __ovld __cnfn convert_int4_sat_rtz(uint4); |
| 2755 | int4 __ovld __cnfn convert_int4_rtp(uint4); |
| 2756 | int4 __ovld __cnfn convert_int4_sat_rtp(uint4); |
| 2757 | int4 __ovld __cnfn convert_int4_rtn(uint4); |
| 2758 | int4 __ovld __cnfn convert_int4_sat_rtn(uint4); |
| 2759 | int4 __ovld __cnfn convert_int4(uint4); |
| 2760 | int4 __ovld __cnfn convert_int4_sat(uint4); |
| 2761 | int4 __ovld __cnfn convert_int4_rte(long4); |
| 2762 | int4 __ovld __cnfn convert_int4_sat_rte(long4); |
| 2763 | int4 __ovld __cnfn convert_int4_rtz(long4); |
| 2764 | int4 __ovld __cnfn convert_int4_sat_rtz(long4); |
| 2765 | int4 __ovld __cnfn convert_int4_rtp(long4); |
| 2766 | int4 __ovld __cnfn convert_int4_sat_rtp(long4); |
| 2767 | int4 __ovld __cnfn convert_int4_rtn(long4); |
| 2768 | int4 __ovld __cnfn convert_int4_sat_rtn(long4); |
| 2769 | int4 __ovld __cnfn convert_int4(long4); |
| 2770 | int4 __ovld __cnfn convert_int4_sat(long4); |
| 2771 | int4 __ovld __cnfn convert_int4_rte(ulong4); |
| 2772 | int4 __ovld __cnfn convert_int4_sat_rte(ulong4); |
| 2773 | int4 __ovld __cnfn convert_int4_rtz(ulong4); |
| 2774 | int4 __ovld __cnfn convert_int4_sat_rtz(ulong4); |
| 2775 | int4 __ovld __cnfn convert_int4_rtp(ulong4); |
| 2776 | int4 __ovld __cnfn convert_int4_sat_rtp(ulong4); |
| 2777 | int4 __ovld __cnfn convert_int4_rtn(ulong4); |
| 2778 | int4 __ovld __cnfn convert_int4_sat_rtn(ulong4); |
| 2779 | int4 __ovld __cnfn convert_int4(ulong4); |
| 2780 | int4 __ovld __cnfn convert_int4_sat(ulong4); |
| 2781 | int4 __ovld __cnfn convert_int4_rte(float4); |
| 2782 | int4 __ovld __cnfn convert_int4_sat_rte(float4); |
| 2783 | int4 __ovld __cnfn convert_int4_rtz(float4); |
| 2784 | int4 __ovld __cnfn convert_int4_sat_rtz(float4); |
| 2785 | int4 __ovld __cnfn convert_int4_rtp(float4); |
| 2786 | int4 __ovld __cnfn convert_int4_sat_rtp(float4); |
| 2787 | int4 __ovld __cnfn convert_int4_rtn(float4); |
| 2788 | int4 __ovld __cnfn convert_int4_sat_rtn(float4); |
| 2789 | int4 __ovld __cnfn convert_int4(float4); |
| 2790 | int4 __ovld __cnfn convert_int4_sat(float4); |
| 2791 | uint4 __ovld __cnfn convert_uint4_rte(char4); |
| 2792 | uint4 __ovld __cnfn convert_uint4_sat_rte(char4); |
| 2793 | uint4 __ovld __cnfn convert_uint4_rtz(char4); |
| 2794 | uint4 __ovld __cnfn convert_uint4_sat_rtz(char4); |
| 2795 | uint4 __ovld __cnfn convert_uint4_rtp(char4); |
| 2796 | uint4 __ovld __cnfn convert_uint4_sat_rtp(char4); |
| 2797 | uint4 __ovld __cnfn convert_uint4_rtn(char4); |
| 2798 | uint4 __ovld __cnfn convert_uint4_sat_rtn(char4); |
| 2799 | uint4 __ovld __cnfn convert_uint4(char4); |
| 2800 | uint4 __ovld __cnfn convert_uint4_sat(char4); |
| 2801 | uint4 __ovld __cnfn convert_uint4_rte(uchar4); |
| 2802 | uint4 __ovld __cnfn convert_uint4_sat_rte(uchar4); |
| 2803 | uint4 __ovld __cnfn convert_uint4_rtz(uchar4); |
| 2804 | uint4 __ovld __cnfn convert_uint4_sat_rtz(uchar4); |
| 2805 | uint4 __ovld __cnfn convert_uint4_rtp(uchar4); |
| 2806 | uint4 __ovld __cnfn convert_uint4_sat_rtp(uchar4); |
| 2807 | uint4 __ovld __cnfn convert_uint4_rtn(uchar4); |
| 2808 | uint4 __ovld __cnfn convert_uint4_sat_rtn(uchar4); |
| 2809 | uint4 __ovld __cnfn convert_uint4(uchar4); |
| 2810 | uint4 __ovld __cnfn convert_uint4_sat(uchar4); |
| 2811 | uint4 __ovld __cnfn convert_uint4_rte(short4); |
| 2812 | uint4 __ovld __cnfn convert_uint4_sat_rte(short4); |
| 2813 | uint4 __ovld __cnfn convert_uint4_rtz(short4); |
| 2814 | uint4 __ovld __cnfn convert_uint4_sat_rtz(short4); |
| 2815 | uint4 __ovld __cnfn convert_uint4_rtp(short4); |
| 2816 | uint4 __ovld __cnfn convert_uint4_sat_rtp(short4); |
| 2817 | uint4 __ovld __cnfn convert_uint4_rtn(short4); |
| 2818 | uint4 __ovld __cnfn convert_uint4_sat_rtn(short4); |
| 2819 | uint4 __ovld __cnfn convert_uint4(short4); |
| 2820 | uint4 __ovld __cnfn convert_uint4_sat(short4); |
| 2821 | uint4 __ovld __cnfn convert_uint4_rte(ushort4); |
| 2822 | uint4 __ovld __cnfn convert_uint4_sat_rte(ushort4); |
| 2823 | uint4 __ovld __cnfn convert_uint4_rtz(ushort4); |
| 2824 | uint4 __ovld __cnfn convert_uint4_sat_rtz(ushort4); |
| 2825 | uint4 __ovld __cnfn convert_uint4_rtp(ushort4); |
| 2826 | uint4 __ovld __cnfn convert_uint4_sat_rtp(ushort4); |
| 2827 | uint4 __ovld __cnfn convert_uint4_rtn(ushort4); |
| 2828 | uint4 __ovld __cnfn convert_uint4_sat_rtn(ushort4); |
| 2829 | uint4 __ovld __cnfn convert_uint4(ushort4); |
| 2830 | uint4 __ovld __cnfn convert_uint4_sat(ushort4); |
| 2831 | uint4 __ovld __cnfn convert_uint4_rte(int4); |
| 2832 | uint4 __ovld __cnfn convert_uint4_sat_rte(int4); |
| 2833 | uint4 __ovld __cnfn convert_uint4_rtz(int4); |
| 2834 | uint4 __ovld __cnfn convert_uint4_sat_rtz(int4); |
| 2835 | uint4 __ovld __cnfn convert_uint4_rtp(int4); |
| 2836 | uint4 __ovld __cnfn convert_uint4_sat_rtp(int4); |
| 2837 | uint4 __ovld __cnfn convert_uint4_rtn(int4); |
| 2838 | uint4 __ovld __cnfn convert_uint4_sat_rtn(int4); |
| 2839 | uint4 __ovld __cnfn convert_uint4(int4); |
| 2840 | uint4 __ovld __cnfn convert_uint4_sat(int4); |
| 2841 | uint4 __ovld __cnfn convert_uint4_rte(uint4); |
| 2842 | uint4 __ovld __cnfn convert_uint4_sat_rte(uint4); |
| 2843 | uint4 __ovld __cnfn convert_uint4_rtz(uint4); |
| 2844 | uint4 __ovld __cnfn convert_uint4_sat_rtz(uint4); |
| 2845 | uint4 __ovld __cnfn convert_uint4_rtp(uint4); |
| 2846 | uint4 __ovld __cnfn convert_uint4_sat_rtp(uint4); |
| 2847 | uint4 __ovld __cnfn convert_uint4_rtn(uint4); |
| 2848 | uint4 __ovld __cnfn convert_uint4_sat_rtn(uint4); |
| 2849 | uint4 __ovld __cnfn convert_uint4(uint4); |
| 2850 | uint4 __ovld __cnfn convert_uint4_sat(uint4); |
| 2851 | uint4 __ovld __cnfn convert_uint4_rte(long4); |
| 2852 | uint4 __ovld __cnfn convert_uint4_sat_rte(long4); |
| 2853 | uint4 __ovld __cnfn convert_uint4_rtz(long4); |
| 2854 | uint4 __ovld __cnfn convert_uint4_sat_rtz(long4); |
| 2855 | uint4 __ovld __cnfn convert_uint4_rtp(long4); |
| 2856 | uint4 __ovld __cnfn convert_uint4_sat_rtp(long4); |
| 2857 | uint4 __ovld __cnfn convert_uint4_rtn(long4); |
| 2858 | uint4 __ovld __cnfn convert_uint4_sat_rtn(long4); |
| 2859 | uint4 __ovld __cnfn convert_uint4(long4); |
| 2860 | uint4 __ovld __cnfn convert_uint4_sat(long4); |
| 2861 | uint4 __ovld __cnfn convert_uint4_rte(ulong4); |
| 2862 | uint4 __ovld __cnfn convert_uint4_sat_rte(ulong4); |
| 2863 | uint4 __ovld __cnfn convert_uint4_rtz(ulong4); |
| 2864 | uint4 __ovld __cnfn convert_uint4_sat_rtz(ulong4); |
| 2865 | uint4 __ovld __cnfn convert_uint4_rtp(ulong4); |
| 2866 | uint4 __ovld __cnfn convert_uint4_sat_rtp(ulong4); |
| 2867 | uint4 __ovld __cnfn convert_uint4_rtn(ulong4); |
| 2868 | uint4 __ovld __cnfn convert_uint4_sat_rtn(ulong4); |
| 2869 | uint4 __ovld __cnfn convert_uint4(ulong4); |
| 2870 | uint4 __ovld __cnfn convert_uint4_sat(ulong4); |
| 2871 | uint4 __ovld __cnfn convert_uint4_rte(float4); |
| 2872 | uint4 __ovld __cnfn convert_uint4_sat_rte(float4); |
| 2873 | uint4 __ovld __cnfn convert_uint4_rtz(float4); |
| 2874 | uint4 __ovld __cnfn convert_uint4_sat_rtz(float4); |
| 2875 | uint4 __ovld __cnfn convert_uint4_rtp(float4); |
| 2876 | uint4 __ovld __cnfn convert_uint4_sat_rtp(float4); |
| 2877 | uint4 __ovld __cnfn convert_uint4_rtn(float4); |
| 2878 | uint4 __ovld __cnfn convert_uint4_sat_rtn(float4); |
| 2879 | uint4 __ovld __cnfn convert_uint4(float4); |
| 2880 | uint4 __ovld __cnfn convert_uint4_sat(float4); |
| 2881 | long4 __ovld __cnfn convert_long4_rte(char4); |
| 2882 | long4 __ovld __cnfn convert_long4_sat_rte(char4); |
| 2883 | long4 __ovld __cnfn convert_long4_rtz(char4); |
| 2884 | long4 __ovld __cnfn convert_long4_sat_rtz(char4); |
| 2885 | long4 __ovld __cnfn convert_long4_rtp(char4); |
| 2886 | long4 __ovld __cnfn convert_long4_sat_rtp(char4); |
| 2887 | long4 __ovld __cnfn convert_long4_rtn(char4); |
| 2888 | long4 __ovld __cnfn convert_long4_sat_rtn(char4); |
| 2889 | long4 __ovld __cnfn convert_long4(char4); |
| 2890 | long4 __ovld __cnfn convert_long4_sat(char4); |
| 2891 | long4 __ovld __cnfn convert_long4_rte(uchar4); |
| 2892 | long4 __ovld __cnfn convert_long4_sat_rte(uchar4); |
| 2893 | long4 __ovld __cnfn convert_long4_rtz(uchar4); |
| 2894 | long4 __ovld __cnfn convert_long4_sat_rtz(uchar4); |
| 2895 | long4 __ovld __cnfn convert_long4_rtp(uchar4); |
| 2896 | long4 __ovld __cnfn convert_long4_sat_rtp(uchar4); |
| 2897 | long4 __ovld __cnfn convert_long4_rtn(uchar4); |
| 2898 | long4 __ovld __cnfn convert_long4_sat_rtn(uchar4); |
| 2899 | long4 __ovld __cnfn convert_long4(uchar4); |
| 2900 | long4 __ovld __cnfn convert_long4_sat(uchar4); |
| 2901 | long4 __ovld __cnfn convert_long4_rte(short4); |
| 2902 | long4 __ovld __cnfn convert_long4_sat_rte(short4); |
| 2903 | long4 __ovld __cnfn convert_long4_rtz(short4); |
| 2904 | long4 __ovld __cnfn convert_long4_sat_rtz(short4); |
| 2905 | long4 __ovld __cnfn convert_long4_rtp(short4); |
| 2906 | long4 __ovld __cnfn convert_long4_sat_rtp(short4); |
| 2907 | long4 __ovld __cnfn convert_long4_rtn(short4); |
| 2908 | long4 __ovld __cnfn convert_long4_sat_rtn(short4); |
| 2909 | long4 __ovld __cnfn convert_long4(short4); |
| 2910 | long4 __ovld __cnfn convert_long4_sat(short4); |
| 2911 | long4 __ovld __cnfn convert_long4_rte(ushort4); |
| 2912 | long4 __ovld __cnfn convert_long4_sat_rte(ushort4); |
| 2913 | long4 __ovld __cnfn convert_long4_rtz(ushort4); |
| 2914 | long4 __ovld __cnfn convert_long4_sat_rtz(ushort4); |
| 2915 | long4 __ovld __cnfn convert_long4_rtp(ushort4); |
| 2916 | long4 __ovld __cnfn convert_long4_sat_rtp(ushort4); |
| 2917 | long4 __ovld __cnfn convert_long4_rtn(ushort4); |
| 2918 | long4 __ovld __cnfn convert_long4_sat_rtn(ushort4); |
| 2919 | long4 __ovld __cnfn convert_long4(ushort4); |
| 2920 | long4 __ovld __cnfn convert_long4_sat(ushort4); |
| 2921 | long4 __ovld __cnfn convert_long4_rte(int4); |
| 2922 | long4 __ovld __cnfn convert_long4_sat_rte(int4); |
| 2923 | long4 __ovld __cnfn convert_long4_rtz(int4); |
| 2924 | long4 __ovld __cnfn convert_long4_sat_rtz(int4); |
| 2925 | long4 __ovld __cnfn convert_long4_rtp(int4); |
| 2926 | long4 __ovld __cnfn convert_long4_sat_rtp(int4); |
| 2927 | long4 __ovld __cnfn convert_long4_rtn(int4); |
| 2928 | long4 __ovld __cnfn convert_long4_sat_rtn(int4); |
| 2929 | long4 __ovld __cnfn convert_long4(int4); |
| 2930 | long4 __ovld __cnfn convert_long4_sat(int4); |
| 2931 | long4 __ovld __cnfn convert_long4_rte(uint4); |
| 2932 | long4 __ovld __cnfn convert_long4_sat_rte(uint4); |
| 2933 | long4 __ovld __cnfn convert_long4_rtz(uint4); |
| 2934 | long4 __ovld __cnfn convert_long4_sat_rtz(uint4); |
| 2935 | long4 __ovld __cnfn convert_long4_rtp(uint4); |
| 2936 | long4 __ovld __cnfn convert_long4_sat_rtp(uint4); |
| 2937 | long4 __ovld __cnfn convert_long4_rtn(uint4); |
| 2938 | long4 __ovld __cnfn convert_long4_sat_rtn(uint4); |
| 2939 | long4 __ovld __cnfn convert_long4(uint4); |
| 2940 | long4 __ovld __cnfn convert_long4_sat(uint4); |
| 2941 | long4 __ovld __cnfn convert_long4_rte(long4); |
| 2942 | long4 __ovld __cnfn convert_long4_sat_rte(long4); |
| 2943 | long4 __ovld __cnfn convert_long4_rtz(long4); |
| 2944 | long4 __ovld __cnfn convert_long4_sat_rtz(long4); |
| 2945 | long4 __ovld __cnfn convert_long4_rtp(long4); |
| 2946 | long4 __ovld __cnfn convert_long4_sat_rtp(long4); |
| 2947 | long4 __ovld __cnfn convert_long4_rtn(long4); |
| 2948 | long4 __ovld __cnfn convert_long4_sat_rtn(long4); |
| 2949 | long4 __ovld __cnfn convert_long4(long4); |
| 2950 | long4 __ovld __cnfn convert_long4_sat(long4); |
| 2951 | long4 __ovld __cnfn convert_long4_rte(ulong4); |
| 2952 | long4 __ovld __cnfn convert_long4_sat_rte(ulong4); |
| 2953 | long4 __ovld __cnfn convert_long4_rtz(ulong4); |
| 2954 | long4 __ovld __cnfn convert_long4_sat_rtz(ulong4); |
| 2955 | long4 __ovld __cnfn convert_long4_rtp(ulong4); |
| 2956 | long4 __ovld __cnfn convert_long4_sat_rtp(ulong4); |
| 2957 | long4 __ovld __cnfn convert_long4_rtn(ulong4); |
| 2958 | long4 __ovld __cnfn convert_long4_sat_rtn(ulong4); |
| 2959 | long4 __ovld __cnfn convert_long4(ulong4); |
| 2960 | long4 __ovld __cnfn convert_long4_sat(ulong4); |
| 2961 | long4 __ovld __cnfn convert_long4_rte(float4); |
| 2962 | long4 __ovld __cnfn convert_long4_sat_rte(float4); |
| 2963 | long4 __ovld __cnfn convert_long4_rtz(float4); |
| 2964 | long4 __ovld __cnfn convert_long4_sat_rtz(float4); |
| 2965 | long4 __ovld __cnfn convert_long4_rtp(float4); |
| 2966 | long4 __ovld __cnfn convert_long4_sat_rtp(float4); |
| 2967 | long4 __ovld __cnfn convert_long4_rtn(float4); |
| 2968 | long4 __ovld __cnfn convert_long4_sat_rtn(float4); |
| 2969 | long4 __ovld __cnfn convert_long4(float4); |
| 2970 | long4 __ovld __cnfn convert_long4_sat(float4); |
| 2971 | ulong4 __ovld __cnfn convert_ulong4_rte(char4); |
| 2972 | ulong4 __ovld __cnfn convert_ulong4_sat_rte(char4); |
| 2973 | ulong4 __ovld __cnfn convert_ulong4_rtz(char4); |
| 2974 | ulong4 __ovld __cnfn convert_ulong4_sat_rtz(char4); |
| 2975 | ulong4 __ovld __cnfn convert_ulong4_rtp(char4); |
| 2976 | ulong4 __ovld __cnfn convert_ulong4_sat_rtp(char4); |
| 2977 | ulong4 __ovld __cnfn convert_ulong4_rtn(char4); |
| 2978 | ulong4 __ovld __cnfn convert_ulong4_sat_rtn(char4); |
| 2979 | ulong4 __ovld __cnfn convert_ulong4(char4); |
| 2980 | ulong4 __ovld __cnfn convert_ulong4_sat(char4); |
| 2981 | ulong4 __ovld __cnfn convert_ulong4_rte(uchar4); |
| 2982 | ulong4 __ovld __cnfn convert_ulong4_sat_rte(uchar4); |
| 2983 | ulong4 __ovld __cnfn convert_ulong4_rtz(uchar4); |
| 2984 | ulong4 __ovld __cnfn convert_ulong4_sat_rtz(uchar4); |
| 2985 | ulong4 __ovld __cnfn convert_ulong4_rtp(uchar4); |
| 2986 | ulong4 __ovld __cnfn convert_ulong4_sat_rtp(uchar4); |
| 2987 | ulong4 __ovld __cnfn convert_ulong4_rtn(uchar4); |
| 2988 | ulong4 __ovld __cnfn convert_ulong4_sat_rtn(uchar4); |
| 2989 | ulong4 __ovld __cnfn convert_ulong4(uchar4); |
| 2990 | ulong4 __ovld __cnfn convert_ulong4_sat(uchar4); |
| 2991 | ulong4 __ovld __cnfn convert_ulong4_rte(short4); |
| 2992 | ulong4 __ovld __cnfn convert_ulong4_sat_rte(short4); |
| 2993 | ulong4 __ovld __cnfn convert_ulong4_rtz(short4); |
| 2994 | ulong4 __ovld __cnfn convert_ulong4_sat_rtz(short4); |
| 2995 | ulong4 __ovld __cnfn convert_ulong4_rtp(short4); |
| 2996 | ulong4 __ovld __cnfn convert_ulong4_sat_rtp(short4); |
| 2997 | ulong4 __ovld __cnfn convert_ulong4_rtn(short4); |
| 2998 | ulong4 __ovld __cnfn convert_ulong4_sat_rtn(short4); |
| 2999 | ulong4 __ovld __cnfn convert_ulong4(short4); |
| 3000 | ulong4 __ovld __cnfn convert_ulong4_sat(short4); |
| 3001 | ulong4 __ovld __cnfn convert_ulong4_rte(ushort4); |
| 3002 | ulong4 __ovld __cnfn convert_ulong4_sat_rte(ushort4); |
| 3003 | ulong4 __ovld __cnfn convert_ulong4_rtz(ushort4); |
| 3004 | ulong4 __ovld __cnfn convert_ulong4_sat_rtz(ushort4); |
| 3005 | ulong4 __ovld __cnfn convert_ulong4_rtp(ushort4); |
| 3006 | ulong4 __ovld __cnfn convert_ulong4_sat_rtp(ushort4); |
| 3007 | ulong4 __ovld __cnfn convert_ulong4_rtn(ushort4); |
| 3008 | ulong4 __ovld __cnfn convert_ulong4_sat_rtn(ushort4); |
| 3009 | ulong4 __ovld __cnfn convert_ulong4(ushort4); |
| 3010 | ulong4 __ovld __cnfn convert_ulong4_sat(ushort4); |
| 3011 | ulong4 __ovld __cnfn convert_ulong4_rte(int4); |
| 3012 | ulong4 __ovld __cnfn convert_ulong4_sat_rte(int4); |
| 3013 | ulong4 __ovld __cnfn convert_ulong4_rtz(int4); |
| 3014 | ulong4 __ovld __cnfn convert_ulong4_sat_rtz(int4); |
| 3015 | ulong4 __ovld __cnfn convert_ulong4_rtp(int4); |
| 3016 | ulong4 __ovld __cnfn convert_ulong4_sat_rtp(int4); |
| 3017 | ulong4 __ovld __cnfn convert_ulong4_rtn(int4); |
| 3018 | ulong4 __ovld __cnfn convert_ulong4_sat_rtn(int4); |
| 3019 | ulong4 __ovld __cnfn convert_ulong4(int4); |
| 3020 | ulong4 __ovld __cnfn convert_ulong4_sat(int4); |
| 3021 | ulong4 __ovld __cnfn convert_ulong4_rte(uint4); |
| 3022 | ulong4 __ovld __cnfn convert_ulong4_sat_rte(uint4); |
| 3023 | ulong4 __ovld __cnfn convert_ulong4_rtz(uint4); |
| 3024 | ulong4 __ovld __cnfn convert_ulong4_sat_rtz(uint4); |
| 3025 | ulong4 __ovld __cnfn convert_ulong4_rtp(uint4); |
| 3026 | ulong4 __ovld __cnfn convert_ulong4_sat_rtp(uint4); |
| 3027 | ulong4 __ovld __cnfn convert_ulong4_rtn(uint4); |
| 3028 | ulong4 __ovld __cnfn convert_ulong4_sat_rtn(uint4); |
| 3029 | ulong4 __ovld __cnfn convert_ulong4(uint4); |
| 3030 | ulong4 __ovld __cnfn convert_ulong4_sat(uint4); |
| 3031 | ulong4 __ovld __cnfn convert_ulong4_rte(long4); |
| 3032 | ulong4 __ovld __cnfn convert_ulong4_sat_rte(long4); |
| 3033 | ulong4 __ovld __cnfn convert_ulong4_rtz(long4); |
| 3034 | ulong4 __ovld __cnfn convert_ulong4_sat_rtz(long4); |
| 3035 | ulong4 __ovld __cnfn convert_ulong4_rtp(long4); |
| 3036 | ulong4 __ovld __cnfn convert_ulong4_sat_rtp(long4); |
| 3037 | ulong4 __ovld __cnfn convert_ulong4_rtn(long4); |
| 3038 | ulong4 __ovld __cnfn convert_ulong4_sat_rtn(long4); |
| 3039 | ulong4 __ovld __cnfn convert_ulong4(long4); |
| 3040 | ulong4 __ovld __cnfn convert_ulong4_sat(long4); |
| 3041 | ulong4 __ovld __cnfn convert_ulong4_rte(ulong4); |
| 3042 | ulong4 __ovld __cnfn convert_ulong4_sat_rte(ulong4); |
| 3043 | ulong4 __ovld __cnfn convert_ulong4_rtz(ulong4); |
| 3044 | ulong4 __ovld __cnfn convert_ulong4_sat_rtz(ulong4); |
| 3045 | ulong4 __ovld __cnfn convert_ulong4_rtp(ulong4); |
| 3046 | ulong4 __ovld __cnfn convert_ulong4_sat_rtp(ulong4); |
| 3047 | ulong4 __ovld __cnfn convert_ulong4_rtn(ulong4); |
| 3048 | ulong4 __ovld __cnfn convert_ulong4_sat_rtn(ulong4); |
| 3049 | ulong4 __ovld __cnfn convert_ulong4(ulong4); |
| 3050 | ulong4 __ovld __cnfn convert_ulong4_sat(ulong4); |
| 3051 | ulong4 __ovld __cnfn convert_ulong4_rte(float4); |
| 3052 | ulong4 __ovld __cnfn convert_ulong4_sat_rte(float4); |
| 3053 | ulong4 __ovld __cnfn convert_ulong4_rtz(float4); |
| 3054 | ulong4 __ovld __cnfn convert_ulong4_sat_rtz(float4); |
| 3055 | ulong4 __ovld __cnfn convert_ulong4_rtp(float4); |
| 3056 | ulong4 __ovld __cnfn convert_ulong4_sat_rtp(float4); |
| 3057 | ulong4 __ovld __cnfn convert_ulong4_rtn(float4); |
| 3058 | ulong4 __ovld __cnfn convert_ulong4_sat_rtn(float4); |
| 3059 | ulong4 __ovld __cnfn convert_ulong4(float4); |
| 3060 | ulong4 __ovld __cnfn convert_ulong4_sat(float4); |
| 3061 | float4 __ovld __cnfn convert_float4_rte(char4); |
| 3062 | float4 __ovld __cnfn convert_float4_rtz(char4); |
| 3063 | float4 __ovld __cnfn convert_float4_rtp(char4); |
| 3064 | float4 __ovld __cnfn convert_float4_rtn(char4); |
| 3065 | float4 __ovld __cnfn convert_float4(char4); |
| 3066 | float4 __ovld __cnfn convert_float4_rte(uchar4); |
| 3067 | float4 __ovld __cnfn convert_float4_rtz(uchar4); |
| 3068 | float4 __ovld __cnfn convert_float4_rtp(uchar4); |
| 3069 | float4 __ovld __cnfn convert_float4_rtn(uchar4); |
| 3070 | float4 __ovld __cnfn convert_float4(uchar4); |
| 3071 | float4 __ovld __cnfn convert_float4_rte(short4); |
| 3072 | float4 __ovld __cnfn convert_float4_rtz(short4); |
| 3073 | float4 __ovld __cnfn convert_float4_rtp(short4); |
| 3074 | float4 __ovld __cnfn convert_float4_rtn(short4); |
| 3075 | float4 __ovld __cnfn convert_float4(short4); |
| 3076 | float4 __ovld __cnfn convert_float4_rte(ushort4); |
| 3077 | float4 __ovld __cnfn convert_float4_rtz(ushort4); |
| 3078 | float4 __ovld __cnfn convert_float4_rtp(ushort4); |
| 3079 | float4 __ovld __cnfn convert_float4_rtn(ushort4); |
| 3080 | float4 __ovld __cnfn convert_float4(ushort4); |
| 3081 | float4 __ovld __cnfn convert_float4_rte(int4); |
| 3082 | float4 __ovld __cnfn convert_float4_rtz(int4); |
| 3083 | float4 __ovld __cnfn convert_float4_rtp(int4); |
| 3084 | float4 __ovld __cnfn convert_float4_rtn(int4); |
| 3085 | float4 __ovld __cnfn convert_float4(int4); |
| 3086 | float4 __ovld __cnfn convert_float4_rte(uint4); |
| 3087 | float4 __ovld __cnfn convert_float4_rtz(uint4); |
| 3088 | float4 __ovld __cnfn convert_float4_rtp(uint4); |
| 3089 | float4 __ovld __cnfn convert_float4_rtn(uint4); |
| 3090 | float4 __ovld __cnfn convert_float4(uint4); |
| 3091 | float4 __ovld __cnfn convert_float4_rte(long4); |
| 3092 | float4 __ovld __cnfn convert_float4_rtz(long4); |
| 3093 | float4 __ovld __cnfn convert_float4_rtp(long4); |
| 3094 | float4 __ovld __cnfn convert_float4_rtn(long4); |
| 3095 | float4 __ovld __cnfn convert_float4(long4); |
| 3096 | float4 __ovld __cnfn convert_float4_rte(ulong4); |
| 3097 | float4 __ovld __cnfn convert_float4_rtz(ulong4); |
| 3098 | float4 __ovld __cnfn convert_float4_rtp(ulong4); |
| 3099 | float4 __ovld __cnfn convert_float4_rtn(ulong4); |
| 3100 | float4 __ovld __cnfn convert_float4(ulong4); |
| 3101 | float4 __ovld __cnfn convert_float4_rte(float4); |
| 3102 | float4 __ovld __cnfn convert_float4_rtz(float4); |
| 3103 | float4 __ovld __cnfn convert_float4_rtp(float4); |
| 3104 | float4 __ovld __cnfn convert_float4_rtn(float4); |
| 3105 | float4 __ovld __cnfn convert_float4(float4); |
| 3106 | char8 __ovld __cnfn convert_char8_rte(char8); |
| 3107 | char8 __ovld __cnfn convert_char8_sat_rte(char8); |
| 3108 | char8 __ovld __cnfn convert_char8_rtz(char8); |
| 3109 | char8 __ovld __cnfn convert_char8_sat_rtz(char8); |
| 3110 | char8 __ovld __cnfn convert_char8_rtp(char8); |
| 3111 | char8 __ovld __cnfn convert_char8_sat_rtp(char8); |
| 3112 | char8 __ovld __cnfn convert_char8_rtn(char8); |
| 3113 | char8 __ovld __cnfn convert_char8_sat_rtn(char8); |
| 3114 | char8 __ovld __cnfn convert_char8(char8); |
| 3115 | char8 __ovld __cnfn convert_char8_sat(char8); |
| 3116 | char8 __ovld __cnfn convert_char8_rte(uchar8); |
| 3117 | char8 __ovld __cnfn convert_char8_sat_rte(uchar8); |
| 3118 | char8 __ovld __cnfn convert_char8_rtz(uchar8); |
| 3119 | char8 __ovld __cnfn convert_char8_sat_rtz(uchar8); |
| 3120 | char8 __ovld __cnfn convert_char8_rtp(uchar8); |
| 3121 | char8 __ovld __cnfn convert_char8_sat_rtp(uchar8); |
| 3122 | char8 __ovld __cnfn convert_char8_rtn(uchar8); |
| 3123 | char8 __ovld __cnfn convert_char8_sat_rtn(uchar8); |
| 3124 | char8 __ovld __cnfn convert_char8(uchar8); |
| 3125 | char8 __ovld __cnfn convert_char8_sat(uchar8); |
| 3126 | char8 __ovld __cnfn convert_char8_rte(short8); |
| 3127 | char8 __ovld __cnfn convert_char8_sat_rte(short8); |
| 3128 | char8 __ovld __cnfn convert_char8_rtz(short8); |
| 3129 | char8 __ovld __cnfn convert_char8_sat_rtz(short8); |
| 3130 | char8 __ovld __cnfn convert_char8_rtp(short8); |
| 3131 | char8 __ovld __cnfn convert_char8_sat_rtp(short8); |
| 3132 | char8 __ovld __cnfn convert_char8_rtn(short8); |
| 3133 | char8 __ovld __cnfn convert_char8_sat_rtn(short8); |
| 3134 | char8 __ovld __cnfn convert_char8(short8); |
| 3135 | char8 __ovld __cnfn convert_char8_sat(short8); |
| 3136 | char8 __ovld __cnfn convert_char8_rte(ushort8); |
| 3137 | char8 __ovld __cnfn convert_char8_sat_rte(ushort8); |
| 3138 | char8 __ovld __cnfn convert_char8_rtz(ushort8); |
| 3139 | char8 __ovld __cnfn convert_char8_sat_rtz(ushort8); |
| 3140 | char8 __ovld __cnfn convert_char8_rtp(ushort8); |
| 3141 | char8 __ovld __cnfn convert_char8_sat_rtp(ushort8); |
| 3142 | char8 __ovld __cnfn convert_char8_rtn(ushort8); |
| 3143 | char8 __ovld __cnfn convert_char8_sat_rtn(ushort8); |
| 3144 | char8 __ovld __cnfn convert_char8(ushort8); |
| 3145 | char8 __ovld __cnfn convert_char8_sat(ushort8); |
| 3146 | char8 __ovld __cnfn convert_char8_rte(int8); |
| 3147 | char8 __ovld __cnfn convert_char8_sat_rte(int8); |
| 3148 | char8 __ovld __cnfn convert_char8_rtz(int8); |
| 3149 | char8 __ovld __cnfn convert_char8_sat_rtz(int8); |
| 3150 | char8 __ovld __cnfn convert_char8_rtp(int8); |
| 3151 | char8 __ovld __cnfn convert_char8_sat_rtp(int8); |
| 3152 | char8 __ovld __cnfn convert_char8_rtn(int8); |
| 3153 | char8 __ovld __cnfn convert_char8_sat_rtn(int8); |
| 3154 | char8 __ovld __cnfn convert_char8(int8); |
| 3155 | char8 __ovld __cnfn convert_char8_sat(int8); |
| 3156 | char8 __ovld __cnfn convert_char8_rte(uint8); |
| 3157 | char8 __ovld __cnfn convert_char8_sat_rte(uint8); |
| 3158 | char8 __ovld __cnfn convert_char8_rtz(uint8); |
| 3159 | char8 __ovld __cnfn convert_char8_sat_rtz(uint8); |
| 3160 | char8 __ovld __cnfn convert_char8_rtp(uint8); |
| 3161 | char8 __ovld __cnfn convert_char8_sat_rtp(uint8); |
| 3162 | char8 __ovld __cnfn convert_char8_rtn(uint8); |
| 3163 | char8 __ovld __cnfn convert_char8_sat_rtn(uint8); |
| 3164 | char8 __ovld __cnfn convert_char8(uint8); |
| 3165 | char8 __ovld __cnfn convert_char8_sat(uint8); |
| 3166 | char8 __ovld __cnfn convert_char8_rte(long8); |
| 3167 | char8 __ovld __cnfn convert_char8_sat_rte(long8); |
| 3168 | char8 __ovld __cnfn convert_char8_rtz(long8); |
| 3169 | char8 __ovld __cnfn convert_char8_sat_rtz(long8); |
| 3170 | char8 __ovld __cnfn convert_char8_rtp(long8); |
| 3171 | char8 __ovld __cnfn convert_char8_sat_rtp(long8); |
| 3172 | char8 __ovld __cnfn convert_char8_rtn(long8); |
| 3173 | char8 __ovld __cnfn convert_char8_sat_rtn(long8); |
| 3174 | char8 __ovld __cnfn convert_char8(long8); |
| 3175 | char8 __ovld __cnfn convert_char8_sat(long8); |
| 3176 | char8 __ovld __cnfn convert_char8_rte(ulong8); |
| 3177 | char8 __ovld __cnfn convert_char8_sat_rte(ulong8); |
| 3178 | char8 __ovld __cnfn convert_char8_rtz(ulong8); |
| 3179 | char8 __ovld __cnfn convert_char8_sat_rtz(ulong8); |
| 3180 | char8 __ovld __cnfn convert_char8_rtp(ulong8); |
| 3181 | char8 __ovld __cnfn convert_char8_sat_rtp(ulong8); |
| 3182 | char8 __ovld __cnfn convert_char8_rtn(ulong8); |
| 3183 | char8 __ovld __cnfn convert_char8_sat_rtn(ulong8); |
| 3184 | char8 __ovld __cnfn convert_char8(ulong8); |
| 3185 | char8 __ovld __cnfn convert_char8_sat(ulong8); |
| 3186 | char8 __ovld __cnfn convert_char8_rte(float8); |
| 3187 | char8 __ovld __cnfn convert_char8_sat_rte(float8); |
| 3188 | char8 __ovld __cnfn convert_char8_rtz(float8); |
| 3189 | char8 __ovld __cnfn convert_char8_sat_rtz(float8); |
| 3190 | char8 __ovld __cnfn convert_char8_rtp(float8); |
| 3191 | char8 __ovld __cnfn convert_char8_sat_rtp(float8); |
| 3192 | char8 __ovld __cnfn convert_char8_rtn(float8); |
| 3193 | char8 __ovld __cnfn convert_char8_sat_rtn(float8); |
| 3194 | char8 __ovld __cnfn convert_char8(float8); |
| 3195 | char8 __ovld __cnfn convert_char8_sat(float8); |
| 3196 | uchar8 __ovld __cnfn convert_uchar8_rte(char8); |
| 3197 | uchar8 __ovld __cnfn convert_uchar8_sat_rte(char8); |
| 3198 | uchar8 __ovld __cnfn convert_uchar8_rtz(char8); |
| 3199 | uchar8 __ovld __cnfn convert_uchar8_sat_rtz(char8); |
| 3200 | uchar8 __ovld __cnfn convert_uchar8_rtp(char8); |
| 3201 | uchar8 __ovld __cnfn convert_uchar8_sat_rtp(char8); |
| 3202 | uchar8 __ovld __cnfn convert_uchar8_rtn(char8); |
| 3203 | uchar8 __ovld __cnfn convert_uchar8_sat_rtn(char8); |
| 3204 | uchar8 __ovld __cnfn convert_uchar8(char8); |
| 3205 | uchar8 __ovld __cnfn convert_uchar8_sat(char8); |
| 3206 | uchar8 __ovld __cnfn convert_uchar8_rte(uchar8); |
| 3207 | uchar8 __ovld __cnfn convert_uchar8_sat_rte(uchar8); |
| 3208 | uchar8 __ovld __cnfn convert_uchar8_rtz(uchar8); |
| 3209 | uchar8 __ovld __cnfn convert_uchar8_sat_rtz(uchar8); |
| 3210 | uchar8 __ovld __cnfn convert_uchar8_rtp(uchar8); |
| 3211 | uchar8 __ovld __cnfn convert_uchar8_sat_rtp(uchar8); |
| 3212 | uchar8 __ovld __cnfn convert_uchar8_rtn(uchar8); |
| 3213 | uchar8 __ovld __cnfn convert_uchar8_sat_rtn(uchar8); |
| 3214 | uchar8 __ovld __cnfn convert_uchar8(uchar8); |
| 3215 | uchar8 __ovld __cnfn convert_uchar8_sat(uchar8); |
| 3216 | uchar8 __ovld __cnfn convert_uchar8_rte(short8); |
| 3217 | uchar8 __ovld __cnfn convert_uchar8_sat_rte(short8); |
| 3218 | uchar8 __ovld __cnfn convert_uchar8_rtz(short8); |
| 3219 | uchar8 __ovld __cnfn convert_uchar8_sat_rtz(short8); |
| 3220 | uchar8 __ovld __cnfn convert_uchar8_rtp(short8); |
| 3221 | uchar8 __ovld __cnfn convert_uchar8_sat_rtp(short8); |
| 3222 | uchar8 __ovld __cnfn convert_uchar8_rtn(short8); |
| 3223 | uchar8 __ovld __cnfn convert_uchar8_sat_rtn(short8); |
| 3224 | uchar8 __ovld __cnfn convert_uchar8(short8); |
| 3225 | uchar8 __ovld __cnfn convert_uchar8_sat(short8); |
| 3226 | uchar8 __ovld __cnfn convert_uchar8_rte(ushort8); |
| 3227 | uchar8 __ovld __cnfn convert_uchar8_sat_rte(ushort8); |
| 3228 | uchar8 __ovld __cnfn convert_uchar8_rtz(ushort8); |
| 3229 | uchar8 __ovld __cnfn convert_uchar8_sat_rtz(ushort8); |
| 3230 | uchar8 __ovld __cnfn convert_uchar8_rtp(ushort8); |
| 3231 | uchar8 __ovld __cnfn convert_uchar8_sat_rtp(ushort8); |
| 3232 | uchar8 __ovld __cnfn convert_uchar8_rtn(ushort8); |
| 3233 | uchar8 __ovld __cnfn convert_uchar8_sat_rtn(ushort8); |
| 3234 | uchar8 __ovld __cnfn convert_uchar8(ushort8); |
| 3235 | uchar8 __ovld __cnfn convert_uchar8_sat(ushort8); |
| 3236 | uchar8 __ovld __cnfn convert_uchar8_rte(int8); |
| 3237 | uchar8 __ovld __cnfn convert_uchar8_sat_rte(int8); |
| 3238 | uchar8 __ovld __cnfn convert_uchar8_rtz(int8); |
| 3239 | uchar8 __ovld __cnfn convert_uchar8_sat_rtz(int8); |
| 3240 | uchar8 __ovld __cnfn convert_uchar8_rtp(int8); |
| 3241 | uchar8 __ovld __cnfn convert_uchar8_sat_rtp(int8); |
| 3242 | uchar8 __ovld __cnfn convert_uchar8_rtn(int8); |
| 3243 | uchar8 __ovld __cnfn convert_uchar8_sat_rtn(int8); |
| 3244 | uchar8 __ovld __cnfn convert_uchar8(int8); |
| 3245 | uchar8 __ovld __cnfn convert_uchar8_sat(int8); |
| 3246 | uchar8 __ovld __cnfn convert_uchar8_rte(uint8); |
| 3247 | uchar8 __ovld __cnfn convert_uchar8_sat_rte(uint8); |
| 3248 | uchar8 __ovld __cnfn convert_uchar8_rtz(uint8); |
| 3249 | uchar8 __ovld __cnfn convert_uchar8_sat_rtz(uint8); |
| 3250 | uchar8 __ovld __cnfn convert_uchar8_rtp(uint8); |
| 3251 | uchar8 __ovld __cnfn convert_uchar8_sat_rtp(uint8); |
| 3252 | uchar8 __ovld __cnfn convert_uchar8_rtn(uint8); |
| 3253 | uchar8 __ovld __cnfn convert_uchar8_sat_rtn(uint8); |
| 3254 | uchar8 __ovld __cnfn convert_uchar8(uint8); |
| 3255 | uchar8 __ovld __cnfn convert_uchar8_sat(uint8); |
| 3256 | uchar8 __ovld __cnfn convert_uchar8_rte(long8); |
| 3257 | uchar8 __ovld __cnfn convert_uchar8_sat_rte(long8); |
| 3258 | uchar8 __ovld __cnfn convert_uchar8_rtz(long8); |
| 3259 | uchar8 __ovld __cnfn convert_uchar8_sat_rtz(long8); |
| 3260 | uchar8 __ovld __cnfn convert_uchar8_rtp(long8); |
| 3261 | uchar8 __ovld __cnfn convert_uchar8_sat_rtp(long8); |
| 3262 | uchar8 __ovld __cnfn convert_uchar8_rtn(long8); |
| 3263 | uchar8 __ovld __cnfn convert_uchar8_sat_rtn(long8); |
| 3264 | uchar8 __ovld __cnfn convert_uchar8(long8); |
| 3265 | uchar8 __ovld __cnfn convert_uchar8_sat(long8); |
| 3266 | uchar8 __ovld __cnfn convert_uchar8_rte(ulong8); |
| 3267 | uchar8 __ovld __cnfn convert_uchar8_sat_rte(ulong8); |
| 3268 | uchar8 __ovld __cnfn convert_uchar8_rtz(ulong8); |
| 3269 | uchar8 __ovld __cnfn convert_uchar8_sat_rtz(ulong8); |
| 3270 | uchar8 __ovld __cnfn convert_uchar8_rtp(ulong8); |
| 3271 | uchar8 __ovld __cnfn convert_uchar8_sat_rtp(ulong8); |
| 3272 | uchar8 __ovld __cnfn convert_uchar8_rtn(ulong8); |
| 3273 | uchar8 __ovld __cnfn convert_uchar8_sat_rtn(ulong8); |
| 3274 | uchar8 __ovld __cnfn convert_uchar8(ulong8); |
| 3275 | uchar8 __ovld __cnfn convert_uchar8_sat(ulong8); |
| 3276 | uchar8 __ovld __cnfn convert_uchar8_rte(float8); |
| 3277 | uchar8 __ovld __cnfn convert_uchar8_sat_rte(float8); |
| 3278 | uchar8 __ovld __cnfn convert_uchar8_rtz(float8); |
| 3279 | uchar8 __ovld __cnfn convert_uchar8_sat_rtz(float8); |
| 3280 | uchar8 __ovld __cnfn convert_uchar8_rtp(float8); |
| 3281 | uchar8 __ovld __cnfn convert_uchar8_sat_rtp(float8); |
| 3282 | uchar8 __ovld __cnfn convert_uchar8_rtn(float8); |
| 3283 | uchar8 __ovld __cnfn convert_uchar8_sat_rtn(float8); |
| 3284 | uchar8 __ovld __cnfn convert_uchar8(float8); |
| 3285 | uchar8 __ovld __cnfn convert_uchar8_sat(float8); |
| 3286 | short8 __ovld __cnfn convert_short8_rte(char8); |
| 3287 | short8 __ovld __cnfn convert_short8_sat_rte(char8); |
| 3288 | short8 __ovld __cnfn convert_short8_rtz(char8); |
| 3289 | short8 __ovld __cnfn convert_short8_sat_rtz(char8); |
| 3290 | short8 __ovld __cnfn convert_short8_rtp(char8); |
| 3291 | short8 __ovld __cnfn convert_short8_sat_rtp(char8); |
| 3292 | short8 __ovld __cnfn convert_short8_rtn(char8); |
| 3293 | short8 __ovld __cnfn convert_short8_sat_rtn(char8); |
| 3294 | short8 __ovld __cnfn convert_short8(char8); |
| 3295 | short8 __ovld __cnfn convert_short8_sat(char8); |
| 3296 | short8 __ovld __cnfn convert_short8_rte(uchar8); |
| 3297 | short8 __ovld __cnfn convert_short8_sat_rte(uchar8); |
| 3298 | short8 __ovld __cnfn convert_short8_rtz(uchar8); |
| 3299 | short8 __ovld __cnfn convert_short8_sat_rtz(uchar8); |
| 3300 | short8 __ovld __cnfn convert_short8_rtp(uchar8); |
| 3301 | short8 __ovld __cnfn convert_short8_sat_rtp(uchar8); |
| 3302 | short8 __ovld __cnfn convert_short8_rtn(uchar8); |
| 3303 | short8 __ovld __cnfn convert_short8_sat_rtn(uchar8); |
| 3304 | short8 __ovld __cnfn convert_short8(uchar8); |
| 3305 | short8 __ovld __cnfn convert_short8_sat(uchar8); |
| 3306 | short8 __ovld __cnfn convert_short8_rte(short8); |
| 3307 | short8 __ovld __cnfn convert_short8_sat_rte(short8); |
| 3308 | short8 __ovld __cnfn convert_short8_rtz(short8); |
| 3309 | short8 __ovld __cnfn convert_short8_sat_rtz(short8); |
| 3310 | short8 __ovld __cnfn convert_short8_rtp(short8); |
| 3311 | short8 __ovld __cnfn convert_short8_sat_rtp(short8); |
| 3312 | short8 __ovld __cnfn convert_short8_rtn(short8); |
| 3313 | short8 __ovld __cnfn convert_short8_sat_rtn(short8); |
| 3314 | short8 __ovld __cnfn convert_short8(short8); |
| 3315 | short8 __ovld __cnfn convert_short8_sat(short8); |
| 3316 | short8 __ovld __cnfn convert_short8_rte(ushort8); |
| 3317 | short8 __ovld __cnfn convert_short8_sat_rte(ushort8); |
| 3318 | short8 __ovld __cnfn convert_short8_rtz(ushort8); |
| 3319 | short8 __ovld __cnfn convert_short8_sat_rtz(ushort8); |
| 3320 | short8 __ovld __cnfn convert_short8_rtp(ushort8); |
| 3321 | short8 __ovld __cnfn convert_short8_sat_rtp(ushort8); |
| 3322 | short8 __ovld __cnfn convert_short8_rtn(ushort8); |
| 3323 | short8 __ovld __cnfn convert_short8_sat_rtn(ushort8); |
| 3324 | short8 __ovld __cnfn convert_short8(ushort8); |
| 3325 | short8 __ovld __cnfn convert_short8_sat(ushort8); |
| 3326 | short8 __ovld __cnfn convert_short8_rte(int8); |
| 3327 | short8 __ovld __cnfn convert_short8_sat_rte(int8); |
| 3328 | short8 __ovld __cnfn convert_short8_rtz(int8); |
| 3329 | short8 __ovld __cnfn convert_short8_sat_rtz(int8); |
| 3330 | short8 __ovld __cnfn convert_short8_rtp(int8); |
| 3331 | short8 __ovld __cnfn convert_short8_sat_rtp(int8); |
| 3332 | short8 __ovld __cnfn convert_short8_rtn(int8); |
| 3333 | short8 __ovld __cnfn convert_short8_sat_rtn(int8); |
| 3334 | short8 __ovld __cnfn convert_short8(int8); |
| 3335 | short8 __ovld __cnfn convert_short8_sat(int8); |
| 3336 | short8 __ovld __cnfn convert_short8_rte(uint8); |
| 3337 | short8 __ovld __cnfn convert_short8_sat_rte(uint8); |
| 3338 | short8 __ovld __cnfn convert_short8_rtz(uint8); |
| 3339 | short8 __ovld __cnfn convert_short8_sat_rtz(uint8); |
| 3340 | short8 __ovld __cnfn convert_short8_rtp(uint8); |
| 3341 | short8 __ovld __cnfn convert_short8_sat_rtp(uint8); |
| 3342 | short8 __ovld __cnfn convert_short8_rtn(uint8); |
| 3343 | short8 __ovld __cnfn convert_short8_sat_rtn(uint8); |
| 3344 | short8 __ovld __cnfn convert_short8(uint8); |
| 3345 | short8 __ovld __cnfn convert_short8_sat(uint8); |
| 3346 | short8 __ovld __cnfn convert_short8_rte(long8); |
| 3347 | short8 __ovld __cnfn convert_short8_sat_rte(long8); |
| 3348 | short8 __ovld __cnfn convert_short8_rtz(long8); |
| 3349 | short8 __ovld __cnfn convert_short8_sat_rtz(long8); |
| 3350 | short8 __ovld __cnfn convert_short8_rtp(long8); |
| 3351 | short8 __ovld __cnfn convert_short8_sat_rtp(long8); |
| 3352 | short8 __ovld __cnfn convert_short8_rtn(long8); |
| 3353 | short8 __ovld __cnfn convert_short8_sat_rtn(long8); |
| 3354 | short8 __ovld __cnfn convert_short8(long8); |
| 3355 | short8 __ovld __cnfn convert_short8_sat(long8); |
| 3356 | short8 __ovld __cnfn convert_short8_rte(ulong8); |
| 3357 | short8 __ovld __cnfn convert_short8_sat_rte(ulong8); |
| 3358 | short8 __ovld __cnfn convert_short8_rtz(ulong8); |
| 3359 | short8 __ovld __cnfn convert_short8_sat_rtz(ulong8); |
| 3360 | short8 __ovld __cnfn convert_short8_rtp(ulong8); |
| 3361 | short8 __ovld __cnfn convert_short8_sat_rtp(ulong8); |
| 3362 | short8 __ovld __cnfn convert_short8_rtn(ulong8); |
| 3363 | short8 __ovld __cnfn convert_short8_sat_rtn(ulong8); |
| 3364 | short8 __ovld __cnfn convert_short8(ulong8); |
| 3365 | short8 __ovld __cnfn convert_short8_sat(ulong8); |
| 3366 | short8 __ovld __cnfn convert_short8_rte(float8); |
| 3367 | short8 __ovld __cnfn convert_short8_sat_rte(float8); |
| 3368 | short8 __ovld __cnfn convert_short8_rtz(float8); |
| 3369 | short8 __ovld __cnfn convert_short8_sat_rtz(float8); |
| 3370 | short8 __ovld __cnfn convert_short8_rtp(float8); |
| 3371 | short8 __ovld __cnfn convert_short8_sat_rtp(float8); |
| 3372 | short8 __ovld __cnfn convert_short8_rtn(float8); |
| 3373 | short8 __ovld __cnfn convert_short8_sat_rtn(float8); |
| 3374 | short8 __ovld __cnfn convert_short8(float8); |
| 3375 | short8 __ovld __cnfn convert_short8_sat(float8); |
| 3376 | ushort8 __ovld __cnfn convert_ushort8_rte(char8); |
| 3377 | ushort8 __ovld __cnfn convert_ushort8_sat_rte(char8); |
| 3378 | ushort8 __ovld __cnfn convert_ushort8_rtz(char8); |
| 3379 | ushort8 __ovld __cnfn convert_ushort8_sat_rtz(char8); |
| 3380 | ushort8 __ovld __cnfn convert_ushort8_rtp(char8); |
| 3381 | ushort8 __ovld __cnfn convert_ushort8_sat_rtp(char8); |
| 3382 | ushort8 __ovld __cnfn convert_ushort8_rtn(char8); |
| 3383 | ushort8 __ovld __cnfn convert_ushort8_sat_rtn(char8); |
| 3384 | ushort8 __ovld __cnfn convert_ushort8(char8); |
| 3385 | ushort8 __ovld __cnfn convert_ushort8_sat(char8); |
| 3386 | ushort8 __ovld __cnfn convert_ushort8_rte(uchar8); |
| 3387 | ushort8 __ovld __cnfn convert_ushort8_sat_rte(uchar8); |
| 3388 | ushort8 __ovld __cnfn convert_ushort8_rtz(uchar8); |
| 3389 | ushort8 __ovld __cnfn convert_ushort8_sat_rtz(uchar8); |
| 3390 | ushort8 __ovld __cnfn convert_ushort8_rtp(uchar8); |
| 3391 | ushort8 __ovld __cnfn convert_ushort8_sat_rtp(uchar8); |
| 3392 | ushort8 __ovld __cnfn convert_ushort8_rtn(uchar8); |
| 3393 | ushort8 __ovld __cnfn convert_ushort8_sat_rtn(uchar8); |
| 3394 | ushort8 __ovld __cnfn convert_ushort8(uchar8); |
| 3395 | ushort8 __ovld __cnfn convert_ushort8_sat(uchar8); |
| 3396 | ushort8 __ovld __cnfn convert_ushort8_rte(short8); |
| 3397 | ushort8 __ovld __cnfn convert_ushort8_sat_rte(short8); |
| 3398 | ushort8 __ovld __cnfn convert_ushort8_rtz(short8); |
| 3399 | ushort8 __ovld __cnfn convert_ushort8_sat_rtz(short8); |
| 3400 | ushort8 __ovld __cnfn convert_ushort8_rtp(short8); |
| 3401 | ushort8 __ovld __cnfn convert_ushort8_sat_rtp(short8); |
| 3402 | ushort8 __ovld __cnfn convert_ushort8_rtn(short8); |
| 3403 | ushort8 __ovld __cnfn convert_ushort8_sat_rtn(short8); |
| 3404 | ushort8 __ovld __cnfn convert_ushort8(short8); |
| 3405 | ushort8 __ovld __cnfn convert_ushort8_sat(short8); |
| 3406 | ushort8 __ovld __cnfn convert_ushort8_rte(ushort8); |
| 3407 | ushort8 __ovld __cnfn convert_ushort8_sat_rte(ushort8); |
| 3408 | ushort8 __ovld __cnfn convert_ushort8_rtz(ushort8); |
| 3409 | ushort8 __ovld __cnfn convert_ushort8_sat_rtz(ushort8); |
| 3410 | ushort8 __ovld __cnfn convert_ushort8_rtp(ushort8); |
| 3411 | ushort8 __ovld __cnfn convert_ushort8_sat_rtp(ushort8); |
| 3412 | ushort8 __ovld __cnfn convert_ushort8_rtn(ushort8); |
| 3413 | ushort8 __ovld __cnfn convert_ushort8_sat_rtn(ushort8); |
| 3414 | ushort8 __ovld __cnfn convert_ushort8(ushort8); |
| 3415 | ushort8 __ovld __cnfn convert_ushort8_sat(ushort8); |
| 3416 | ushort8 __ovld __cnfn convert_ushort8_rte(int8); |
| 3417 | ushort8 __ovld __cnfn convert_ushort8_sat_rte(int8); |
| 3418 | ushort8 __ovld __cnfn convert_ushort8_rtz(int8); |
| 3419 | ushort8 __ovld __cnfn convert_ushort8_sat_rtz(int8); |
| 3420 | ushort8 __ovld __cnfn convert_ushort8_rtp(int8); |
| 3421 | ushort8 __ovld __cnfn convert_ushort8_sat_rtp(int8); |
| 3422 | ushort8 __ovld __cnfn convert_ushort8_rtn(int8); |
| 3423 | ushort8 __ovld __cnfn convert_ushort8_sat_rtn(int8); |
| 3424 | ushort8 __ovld __cnfn convert_ushort8(int8); |
| 3425 | ushort8 __ovld __cnfn convert_ushort8_sat(int8); |
| 3426 | ushort8 __ovld __cnfn convert_ushort8_rte(uint8); |
| 3427 | ushort8 __ovld __cnfn convert_ushort8_sat_rte(uint8); |
| 3428 | ushort8 __ovld __cnfn convert_ushort8_rtz(uint8); |
| 3429 | ushort8 __ovld __cnfn convert_ushort8_sat_rtz(uint8); |
| 3430 | ushort8 __ovld __cnfn convert_ushort8_rtp(uint8); |
| 3431 | ushort8 __ovld __cnfn convert_ushort8_sat_rtp(uint8); |
| 3432 | ushort8 __ovld __cnfn convert_ushort8_rtn(uint8); |
| 3433 | ushort8 __ovld __cnfn convert_ushort8_sat_rtn(uint8); |
| 3434 | ushort8 __ovld __cnfn convert_ushort8(uint8); |
| 3435 | ushort8 __ovld __cnfn convert_ushort8_sat(uint8); |
| 3436 | ushort8 __ovld __cnfn convert_ushort8_rte(long8); |
| 3437 | ushort8 __ovld __cnfn convert_ushort8_sat_rte(long8); |
| 3438 | ushort8 __ovld __cnfn convert_ushort8_rtz(long8); |
| 3439 | ushort8 __ovld __cnfn convert_ushort8_sat_rtz(long8); |
| 3440 | ushort8 __ovld __cnfn convert_ushort8_rtp(long8); |
| 3441 | ushort8 __ovld __cnfn convert_ushort8_sat_rtp(long8); |
| 3442 | ushort8 __ovld __cnfn convert_ushort8_rtn(long8); |
| 3443 | ushort8 __ovld __cnfn convert_ushort8_sat_rtn(long8); |
| 3444 | ushort8 __ovld __cnfn convert_ushort8(long8); |
| 3445 | ushort8 __ovld __cnfn convert_ushort8_sat(long8); |
| 3446 | ushort8 __ovld __cnfn convert_ushort8_rte(ulong8); |
| 3447 | ushort8 __ovld __cnfn convert_ushort8_sat_rte(ulong8); |
| 3448 | ushort8 __ovld __cnfn convert_ushort8_rtz(ulong8); |
| 3449 | ushort8 __ovld __cnfn convert_ushort8_sat_rtz(ulong8); |
| 3450 | ushort8 __ovld __cnfn convert_ushort8_rtp(ulong8); |
| 3451 | ushort8 __ovld __cnfn convert_ushort8_sat_rtp(ulong8); |
| 3452 | ushort8 __ovld __cnfn convert_ushort8_rtn(ulong8); |
| 3453 | ushort8 __ovld __cnfn convert_ushort8_sat_rtn(ulong8); |
| 3454 | ushort8 __ovld __cnfn convert_ushort8(ulong8); |
| 3455 | ushort8 __ovld __cnfn convert_ushort8_sat(ulong8); |
| 3456 | ushort8 __ovld __cnfn convert_ushort8_rte(float8); |
| 3457 | ushort8 __ovld __cnfn convert_ushort8_sat_rte(float8); |
| 3458 | ushort8 __ovld __cnfn convert_ushort8_rtz(float8); |
| 3459 | ushort8 __ovld __cnfn convert_ushort8_sat_rtz(float8); |
| 3460 | ushort8 __ovld __cnfn convert_ushort8_rtp(float8); |
| 3461 | ushort8 __ovld __cnfn convert_ushort8_sat_rtp(float8); |
| 3462 | ushort8 __ovld __cnfn convert_ushort8_rtn(float8); |
| 3463 | ushort8 __ovld __cnfn convert_ushort8_sat_rtn(float8); |
| 3464 | ushort8 __ovld __cnfn convert_ushort8(float8); |
| 3465 | ushort8 __ovld __cnfn convert_ushort8_sat(float8); |
| 3466 | int8 __ovld __cnfn convert_int8_rte(char8); |
| 3467 | int8 __ovld __cnfn convert_int8_sat_rte(char8); |
| 3468 | int8 __ovld __cnfn convert_int8_rtz(char8); |
| 3469 | int8 __ovld __cnfn convert_int8_sat_rtz(char8); |
| 3470 | int8 __ovld __cnfn convert_int8_rtp(char8); |
| 3471 | int8 __ovld __cnfn convert_int8_sat_rtp(char8); |
| 3472 | int8 __ovld __cnfn convert_int8_rtn(char8); |
| 3473 | int8 __ovld __cnfn convert_int8_sat_rtn(char8); |
| 3474 | int8 __ovld __cnfn convert_int8(char8); |
| 3475 | int8 __ovld __cnfn convert_int8_sat(char8); |
| 3476 | int8 __ovld __cnfn convert_int8_rte(uchar8); |
| 3477 | int8 __ovld __cnfn convert_int8_sat_rte(uchar8); |
| 3478 | int8 __ovld __cnfn convert_int8_rtz(uchar8); |
| 3479 | int8 __ovld __cnfn convert_int8_sat_rtz(uchar8); |
| 3480 | int8 __ovld __cnfn convert_int8_rtp(uchar8); |
| 3481 | int8 __ovld __cnfn convert_int8_sat_rtp(uchar8); |
| 3482 | int8 __ovld __cnfn convert_int8_rtn(uchar8); |
| 3483 | int8 __ovld __cnfn convert_int8_sat_rtn(uchar8); |
| 3484 | int8 __ovld __cnfn convert_int8(uchar8); |
| 3485 | int8 __ovld __cnfn convert_int8_sat(uchar8); |
| 3486 | int8 __ovld __cnfn convert_int8_rte(short8); |
| 3487 | int8 __ovld __cnfn convert_int8_sat_rte(short8); |
| 3488 | int8 __ovld __cnfn convert_int8_rtz(short8); |
| 3489 | int8 __ovld __cnfn convert_int8_sat_rtz(short8); |
| 3490 | int8 __ovld __cnfn convert_int8_rtp(short8); |
| 3491 | int8 __ovld __cnfn convert_int8_sat_rtp(short8); |
| 3492 | int8 __ovld __cnfn convert_int8_rtn(short8); |
| 3493 | int8 __ovld __cnfn convert_int8_sat_rtn(short8); |
| 3494 | int8 __ovld __cnfn convert_int8(short8); |
| 3495 | int8 __ovld __cnfn convert_int8_sat(short8); |
| 3496 | int8 __ovld __cnfn convert_int8_rte(ushort8); |
| 3497 | int8 __ovld __cnfn convert_int8_sat_rte(ushort8); |
| 3498 | int8 __ovld __cnfn convert_int8_rtz(ushort8); |
| 3499 | int8 __ovld __cnfn convert_int8_sat_rtz(ushort8); |
| 3500 | int8 __ovld __cnfn convert_int8_rtp(ushort8); |
| 3501 | int8 __ovld __cnfn convert_int8_sat_rtp(ushort8); |
| 3502 | int8 __ovld __cnfn convert_int8_rtn(ushort8); |
| 3503 | int8 __ovld __cnfn convert_int8_sat_rtn(ushort8); |
| 3504 | int8 __ovld __cnfn convert_int8(ushort8); |
| 3505 | int8 __ovld __cnfn convert_int8_sat(ushort8); |
| 3506 | int8 __ovld __cnfn convert_int8_rte(int8); |
| 3507 | int8 __ovld __cnfn convert_int8_sat_rte(int8); |
| 3508 | int8 __ovld __cnfn convert_int8_rtz(int8); |
| 3509 | int8 __ovld __cnfn convert_int8_sat_rtz(int8); |
| 3510 | int8 __ovld __cnfn convert_int8_rtp(int8); |
| 3511 | int8 __ovld __cnfn convert_int8_sat_rtp(int8); |
| 3512 | int8 __ovld __cnfn convert_int8_rtn(int8); |
| 3513 | int8 __ovld __cnfn convert_int8_sat_rtn(int8); |
| 3514 | int8 __ovld __cnfn convert_int8(int8); |
| 3515 | int8 __ovld __cnfn convert_int8_sat(int8); |
| 3516 | int8 __ovld __cnfn convert_int8_rte(uint8); |
| 3517 | int8 __ovld __cnfn convert_int8_sat_rte(uint8); |
| 3518 | int8 __ovld __cnfn convert_int8_rtz(uint8); |
| 3519 | int8 __ovld __cnfn convert_int8_sat_rtz(uint8); |
| 3520 | int8 __ovld __cnfn convert_int8_rtp(uint8); |
| 3521 | int8 __ovld __cnfn convert_int8_sat_rtp(uint8); |
| 3522 | int8 __ovld __cnfn convert_int8_rtn(uint8); |
| 3523 | int8 __ovld __cnfn convert_int8_sat_rtn(uint8); |
| 3524 | int8 __ovld __cnfn convert_int8(uint8); |
| 3525 | int8 __ovld __cnfn convert_int8_sat(uint8); |
| 3526 | int8 __ovld __cnfn convert_int8_rte(long8); |
| 3527 | int8 __ovld __cnfn convert_int8_sat_rte(long8); |
| 3528 | int8 __ovld __cnfn convert_int8_rtz(long8); |
| 3529 | int8 __ovld __cnfn convert_int8_sat_rtz(long8); |
| 3530 | int8 __ovld __cnfn convert_int8_rtp(long8); |
| 3531 | int8 __ovld __cnfn convert_int8_sat_rtp(long8); |
| 3532 | int8 __ovld __cnfn convert_int8_rtn(long8); |
| 3533 | int8 __ovld __cnfn convert_int8_sat_rtn(long8); |
| 3534 | int8 __ovld __cnfn convert_int8(long8); |
| 3535 | int8 __ovld __cnfn convert_int8_sat(long8); |
| 3536 | int8 __ovld __cnfn convert_int8_rte(ulong8); |
| 3537 | int8 __ovld __cnfn convert_int8_sat_rte(ulong8); |
| 3538 | int8 __ovld __cnfn convert_int8_rtz(ulong8); |
| 3539 | int8 __ovld __cnfn convert_int8_sat_rtz(ulong8); |
| 3540 | int8 __ovld __cnfn convert_int8_rtp(ulong8); |
| 3541 | int8 __ovld __cnfn convert_int8_sat_rtp(ulong8); |
| 3542 | int8 __ovld __cnfn convert_int8_rtn(ulong8); |
| 3543 | int8 __ovld __cnfn convert_int8_sat_rtn(ulong8); |
| 3544 | int8 __ovld __cnfn convert_int8(ulong8); |
| 3545 | int8 __ovld __cnfn convert_int8_sat(ulong8); |
| 3546 | int8 __ovld __cnfn convert_int8_rte(float8); |
| 3547 | int8 __ovld __cnfn convert_int8_sat_rte(float8); |
| 3548 | int8 __ovld __cnfn convert_int8_rtz(float8); |
| 3549 | int8 __ovld __cnfn convert_int8_sat_rtz(float8); |
| 3550 | int8 __ovld __cnfn convert_int8_rtp(float8); |
| 3551 | int8 __ovld __cnfn convert_int8_sat_rtp(float8); |
| 3552 | int8 __ovld __cnfn convert_int8_rtn(float8); |
| 3553 | int8 __ovld __cnfn convert_int8_sat_rtn(float8); |
| 3554 | int8 __ovld __cnfn convert_int8(float8); |
| 3555 | int8 __ovld __cnfn convert_int8_sat(float8); |
| 3556 | uint8 __ovld __cnfn convert_uint8_rte(char8); |
| 3557 | uint8 __ovld __cnfn convert_uint8_sat_rte(char8); |
| 3558 | uint8 __ovld __cnfn convert_uint8_rtz(char8); |
| 3559 | uint8 __ovld __cnfn convert_uint8_sat_rtz(char8); |
| 3560 | uint8 __ovld __cnfn convert_uint8_rtp(char8); |
| 3561 | uint8 __ovld __cnfn convert_uint8_sat_rtp(char8); |
| 3562 | uint8 __ovld __cnfn convert_uint8_rtn(char8); |
| 3563 | uint8 __ovld __cnfn convert_uint8_sat_rtn(char8); |
| 3564 | uint8 __ovld __cnfn convert_uint8(char8); |
| 3565 | uint8 __ovld __cnfn convert_uint8_sat(char8); |
| 3566 | uint8 __ovld __cnfn convert_uint8_rte(uchar8); |
| 3567 | uint8 __ovld __cnfn convert_uint8_sat_rte(uchar8); |
| 3568 | uint8 __ovld __cnfn convert_uint8_rtz(uchar8); |
| 3569 | uint8 __ovld __cnfn convert_uint8_sat_rtz(uchar8); |
| 3570 | uint8 __ovld __cnfn convert_uint8_rtp(uchar8); |
| 3571 | uint8 __ovld __cnfn convert_uint8_sat_rtp(uchar8); |
| 3572 | uint8 __ovld __cnfn convert_uint8_rtn(uchar8); |
| 3573 | uint8 __ovld __cnfn convert_uint8_sat_rtn(uchar8); |
| 3574 | uint8 __ovld __cnfn convert_uint8(uchar8); |
| 3575 | uint8 __ovld __cnfn convert_uint8_sat(uchar8); |
| 3576 | uint8 __ovld __cnfn convert_uint8_rte(short8); |
| 3577 | uint8 __ovld __cnfn convert_uint8_sat_rte(short8); |
| 3578 | uint8 __ovld __cnfn convert_uint8_rtz(short8); |
| 3579 | uint8 __ovld __cnfn convert_uint8_sat_rtz(short8); |
| 3580 | uint8 __ovld __cnfn convert_uint8_rtp(short8); |
| 3581 | uint8 __ovld __cnfn convert_uint8_sat_rtp(short8); |
| 3582 | uint8 __ovld __cnfn convert_uint8_rtn(short8); |
| 3583 | uint8 __ovld __cnfn convert_uint8_sat_rtn(short8); |
| 3584 | uint8 __ovld __cnfn convert_uint8(short8); |
| 3585 | uint8 __ovld __cnfn convert_uint8_sat(short8); |
| 3586 | uint8 __ovld __cnfn convert_uint8_rte(ushort8); |
| 3587 | uint8 __ovld __cnfn convert_uint8_sat_rte(ushort8); |
| 3588 | uint8 __ovld __cnfn convert_uint8_rtz(ushort8); |
| 3589 | uint8 __ovld __cnfn convert_uint8_sat_rtz(ushort8); |
| 3590 | uint8 __ovld __cnfn convert_uint8_rtp(ushort8); |
| 3591 | uint8 __ovld __cnfn convert_uint8_sat_rtp(ushort8); |
| 3592 | uint8 __ovld __cnfn convert_uint8_rtn(ushort8); |
| 3593 | uint8 __ovld __cnfn convert_uint8_sat_rtn(ushort8); |
| 3594 | uint8 __ovld __cnfn convert_uint8(ushort8); |
| 3595 | uint8 __ovld __cnfn convert_uint8_sat(ushort8); |
| 3596 | uint8 __ovld __cnfn convert_uint8_rte(int8); |
| 3597 | uint8 __ovld __cnfn convert_uint8_sat_rte(int8); |
| 3598 | uint8 __ovld __cnfn convert_uint8_rtz(int8); |
| 3599 | uint8 __ovld __cnfn convert_uint8_sat_rtz(int8); |
| 3600 | uint8 __ovld __cnfn convert_uint8_rtp(int8); |
| 3601 | uint8 __ovld __cnfn convert_uint8_sat_rtp(int8); |
| 3602 | uint8 __ovld __cnfn convert_uint8_rtn(int8); |
| 3603 | uint8 __ovld __cnfn convert_uint8_sat_rtn(int8); |
| 3604 | uint8 __ovld __cnfn convert_uint8(int8); |
| 3605 | uint8 __ovld __cnfn convert_uint8_sat(int8); |
| 3606 | uint8 __ovld __cnfn convert_uint8_rte(uint8); |
| 3607 | uint8 __ovld __cnfn convert_uint8_sat_rte(uint8); |
| 3608 | uint8 __ovld __cnfn convert_uint8_rtz(uint8); |
| 3609 | uint8 __ovld __cnfn convert_uint8_sat_rtz(uint8); |
| 3610 | uint8 __ovld __cnfn convert_uint8_rtp(uint8); |
| 3611 | uint8 __ovld __cnfn convert_uint8_sat_rtp(uint8); |
| 3612 | uint8 __ovld __cnfn convert_uint8_rtn(uint8); |
| 3613 | uint8 __ovld __cnfn convert_uint8_sat_rtn(uint8); |
| 3614 | uint8 __ovld __cnfn convert_uint8(uint8); |
| 3615 | uint8 __ovld __cnfn convert_uint8_sat(uint8); |
| 3616 | uint8 __ovld __cnfn convert_uint8_rte(long8); |
| 3617 | uint8 __ovld __cnfn convert_uint8_sat_rte(long8); |
| 3618 | uint8 __ovld __cnfn convert_uint8_rtz(long8); |
| 3619 | uint8 __ovld __cnfn convert_uint8_sat_rtz(long8); |
| 3620 | uint8 __ovld __cnfn convert_uint8_rtp(long8); |
| 3621 | uint8 __ovld __cnfn convert_uint8_sat_rtp(long8); |
| 3622 | uint8 __ovld __cnfn convert_uint8_rtn(long8); |
| 3623 | uint8 __ovld __cnfn convert_uint8_sat_rtn(long8); |
| 3624 | uint8 __ovld __cnfn convert_uint8(long8); |
| 3625 | uint8 __ovld __cnfn convert_uint8_sat(long8); |
| 3626 | uint8 __ovld __cnfn convert_uint8_rte(ulong8); |
| 3627 | uint8 __ovld __cnfn convert_uint8_sat_rte(ulong8); |
| 3628 | uint8 __ovld __cnfn convert_uint8_rtz(ulong8); |
| 3629 | uint8 __ovld __cnfn convert_uint8_sat_rtz(ulong8); |
| 3630 | uint8 __ovld __cnfn convert_uint8_rtp(ulong8); |
| 3631 | uint8 __ovld __cnfn convert_uint8_sat_rtp(ulong8); |
| 3632 | uint8 __ovld __cnfn convert_uint8_rtn(ulong8); |
| 3633 | uint8 __ovld __cnfn convert_uint8_sat_rtn(ulong8); |
| 3634 | uint8 __ovld __cnfn convert_uint8(ulong8); |
| 3635 | uint8 __ovld __cnfn convert_uint8_sat(ulong8); |
| 3636 | uint8 __ovld __cnfn convert_uint8_rte(float8); |
| 3637 | uint8 __ovld __cnfn convert_uint8_sat_rte(float8); |
| 3638 | uint8 __ovld __cnfn convert_uint8_rtz(float8); |
| 3639 | uint8 __ovld __cnfn convert_uint8_sat_rtz(float8); |
| 3640 | uint8 __ovld __cnfn convert_uint8_rtp(float8); |
| 3641 | uint8 __ovld __cnfn convert_uint8_sat_rtp(float8); |
| 3642 | uint8 __ovld __cnfn convert_uint8_rtn(float8); |
| 3643 | uint8 __ovld __cnfn convert_uint8_sat_rtn(float8); |
| 3644 | uint8 __ovld __cnfn convert_uint8(float8); |
| 3645 | uint8 __ovld __cnfn convert_uint8_sat(float8); |
| 3646 | long8 __ovld __cnfn convert_long8_rte(char8); |
| 3647 | long8 __ovld __cnfn convert_long8_sat_rte(char8); |
| 3648 | long8 __ovld __cnfn convert_long8_rtz(char8); |
| 3649 | long8 __ovld __cnfn convert_long8_sat_rtz(char8); |
| 3650 | long8 __ovld __cnfn convert_long8_rtp(char8); |
| 3651 | long8 __ovld __cnfn convert_long8_sat_rtp(char8); |
| 3652 | long8 __ovld __cnfn convert_long8_rtn(char8); |
| 3653 | long8 __ovld __cnfn convert_long8_sat_rtn(char8); |
| 3654 | long8 __ovld __cnfn convert_long8(char8); |
| 3655 | long8 __ovld __cnfn convert_long8_sat(char8); |
| 3656 | long8 __ovld __cnfn convert_long8_rte(uchar8); |
| 3657 | long8 __ovld __cnfn convert_long8_sat_rte(uchar8); |
| 3658 | long8 __ovld __cnfn convert_long8_rtz(uchar8); |
| 3659 | long8 __ovld __cnfn convert_long8_sat_rtz(uchar8); |
| 3660 | long8 __ovld __cnfn convert_long8_rtp(uchar8); |
| 3661 | long8 __ovld __cnfn convert_long8_sat_rtp(uchar8); |
| 3662 | long8 __ovld __cnfn convert_long8_rtn(uchar8); |
| 3663 | long8 __ovld __cnfn convert_long8_sat_rtn(uchar8); |
| 3664 | long8 __ovld __cnfn convert_long8(uchar8); |
| 3665 | long8 __ovld __cnfn convert_long8_sat(uchar8); |
| 3666 | long8 __ovld __cnfn convert_long8_rte(short8); |
| 3667 | long8 __ovld __cnfn convert_long8_sat_rte(short8); |
| 3668 | long8 __ovld __cnfn convert_long8_rtz(short8); |
| 3669 | long8 __ovld __cnfn convert_long8_sat_rtz(short8); |
| 3670 | long8 __ovld __cnfn convert_long8_rtp(short8); |
| 3671 | long8 __ovld __cnfn convert_long8_sat_rtp(short8); |
| 3672 | long8 __ovld __cnfn convert_long8_rtn(short8); |
| 3673 | long8 __ovld __cnfn convert_long8_sat_rtn(short8); |
| 3674 | long8 __ovld __cnfn convert_long8(short8); |
| 3675 | long8 __ovld __cnfn convert_long8_sat(short8); |
| 3676 | long8 __ovld __cnfn convert_long8_rte(ushort8); |
| 3677 | long8 __ovld __cnfn convert_long8_sat_rte(ushort8); |
| 3678 | long8 __ovld __cnfn convert_long8_rtz(ushort8); |
| 3679 | long8 __ovld __cnfn convert_long8_sat_rtz(ushort8); |
| 3680 | long8 __ovld __cnfn convert_long8_rtp(ushort8); |
| 3681 | long8 __ovld __cnfn convert_long8_sat_rtp(ushort8); |
| 3682 | long8 __ovld __cnfn convert_long8_rtn(ushort8); |
| 3683 | long8 __ovld __cnfn convert_long8_sat_rtn(ushort8); |
| 3684 | long8 __ovld __cnfn convert_long8(ushort8); |
| 3685 | long8 __ovld __cnfn convert_long8_sat(ushort8); |
| 3686 | long8 __ovld __cnfn convert_long8_rte(int8); |
| 3687 | long8 __ovld __cnfn convert_long8_sat_rte(int8); |
| 3688 | long8 __ovld __cnfn convert_long8_rtz(int8); |
| 3689 | long8 __ovld __cnfn convert_long8_sat_rtz(int8); |
| 3690 | long8 __ovld __cnfn convert_long8_rtp(int8); |
| 3691 | long8 __ovld __cnfn convert_long8_sat_rtp(int8); |
| 3692 | long8 __ovld __cnfn convert_long8_rtn(int8); |
| 3693 | long8 __ovld __cnfn convert_long8_sat_rtn(int8); |
| 3694 | long8 __ovld __cnfn convert_long8(int8); |
| 3695 | long8 __ovld __cnfn convert_long8_sat(int8); |
| 3696 | long8 __ovld __cnfn convert_long8_rte(uint8); |
| 3697 | long8 __ovld __cnfn convert_long8_sat_rte(uint8); |
| 3698 | long8 __ovld __cnfn convert_long8_rtz(uint8); |
| 3699 | long8 __ovld __cnfn convert_long8_sat_rtz(uint8); |
| 3700 | long8 __ovld __cnfn convert_long8_rtp(uint8); |
| 3701 | long8 __ovld __cnfn convert_long8_sat_rtp(uint8); |
| 3702 | long8 __ovld __cnfn convert_long8_rtn(uint8); |
| 3703 | long8 __ovld __cnfn convert_long8_sat_rtn(uint8); |
| 3704 | long8 __ovld __cnfn convert_long8(uint8); |
| 3705 | long8 __ovld __cnfn convert_long8_sat(uint8); |
| 3706 | long8 __ovld __cnfn convert_long8_rte(long8); |
| 3707 | long8 __ovld __cnfn convert_long8_sat_rte(long8); |
| 3708 | long8 __ovld __cnfn convert_long8_rtz(long8); |
| 3709 | long8 __ovld __cnfn convert_long8_sat_rtz(long8); |
| 3710 | long8 __ovld __cnfn convert_long8_rtp(long8); |
| 3711 | long8 __ovld __cnfn convert_long8_sat_rtp(long8); |
| 3712 | long8 __ovld __cnfn convert_long8_rtn(long8); |
| 3713 | long8 __ovld __cnfn convert_long8_sat_rtn(long8); |
| 3714 | long8 __ovld __cnfn convert_long8(long8); |
| 3715 | long8 __ovld __cnfn convert_long8_sat(long8); |
| 3716 | long8 __ovld __cnfn convert_long8_rte(ulong8); |
| 3717 | long8 __ovld __cnfn convert_long8_sat_rte(ulong8); |
| 3718 | long8 __ovld __cnfn convert_long8_rtz(ulong8); |
| 3719 | long8 __ovld __cnfn convert_long8_sat_rtz(ulong8); |
| 3720 | long8 __ovld __cnfn convert_long8_rtp(ulong8); |
| 3721 | long8 __ovld __cnfn convert_long8_sat_rtp(ulong8); |
| 3722 | long8 __ovld __cnfn convert_long8_rtn(ulong8); |
| 3723 | long8 __ovld __cnfn convert_long8_sat_rtn(ulong8); |
| 3724 | long8 __ovld __cnfn convert_long8(ulong8); |
| 3725 | long8 __ovld __cnfn convert_long8_sat(ulong8); |
| 3726 | long8 __ovld __cnfn convert_long8_rte(float8); |
| 3727 | long8 __ovld __cnfn convert_long8_sat_rte(float8); |
| 3728 | long8 __ovld __cnfn convert_long8_rtz(float8); |
| 3729 | long8 __ovld __cnfn convert_long8_sat_rtz(float8); |
| 3730 | long8 __ovld __cnfn convert_long8_rtp(float8); |
| 3731 | long8 __ovld __cnfn convert_long8_sat_rtp(float8); |
| 3732 | long8 __ovld __cnfn convert_long8_rtn(float8); |
| 3733 | long8 __ovld __cnfn convert_long8_sat_rtn(float8); |
| 3734 | long8 __ovld __cnfn convert_long8(float8); |
| 3735 | long8 __ovld __cnfn convert_long8_sat(float8); |
| 3736 | ulong8 __ovld __cnfn convert_ulong8_rte(char8); |
| 3737 | ulong8 __ovld __cnfn convert_ulong8_sat_rte(char8); |
| 3738 | ulong8 __ovld __cnfn convert_ulong8_rtz(char8); |
| 3739 | ulong8 __ovld __cnfn convert_ulong8_sat_rtz(char8); |
| 3740 | ulong8 __ovld __cnfn convert_ulong8_rtp(char8); |
| 3741 | ulong8 __ovld __cnfn convert_ulong8_sat_rtp(char8); |
| 3742 | ulong8 __ovld __cnfn convert_ulong8_rtn(char8); |
| 3743 | ulong8 __ovld __cnfn convert_ulong8_sat_rtn(char8); |
| 3744 | ulong8 __ovld __cnfn convert_ulong8(char8); |
| 3745 | ulong8 __ovld __cnfn convert_ulong8_sat(char8); |
| 3746 | ulong8 __ovld __cnfn convert_ulong8_rte(uchar8); |
| 3747 | ulong8 __ovld __cnfn convert_ulong8_sat_rte(uchar8); |
| 3748 | ulong8 __ovld __cnfn convert_ulong8_rtz(uchar8); |
| 3749 | ulong8 __ovld __cnfn convert_ulong8_sat_rtz(uchar8); |
| 3750 | ulong8 __ovld __cnfn convert_ulong8_rtp(uchar8); |
| 3751 | ulong8 __ovld __cnfn convert_ulong8_sat_rtp(uchar8); |
| 3752 | ulong8 __ovld __cnfn convert_ulong8_rtn(uchar8); |
| 3753 | ulong8 __ovld __cnfn convert_ulong8_sat_rtn(uchar8); |
| 3754 | ulong8 __ovld __cnfn convert_ulong8(uchar8); |
| 3755 | ulong8 __ovld __cnfn convert_ulong8_sat(uchar8); |
| 3756 | ulong8 __ovld __cnfn convert_ulong8_rte(short8); |
| 3757 | ulong8 __ovld __cnfn convert_ulong8_sat_rte(short8); |
| 3758 | ulong8 __ovld __cnfn convert_ulong8_rtz(short8); |
| 3759 | ulong8 __ovld __cnfn convert_ulong8_sat_rtz(short8); |
| 3760 | ulong8 __ovld __cnfn convert_ulong8_rtp(short8); |
| 3761 | ulong8 __ovld __cnfn convert_ulong8_sat_rtp(short8); |
| 3762 | ulong8 __ovld __cnfn convert_ulong8_rtn(short8); |
| 3763 | ulong8 __ovld __cnfn convert_ulong8_sat_rtn(short8); |
| 3764 | ulong8 __ovld __cnfn convert_ulong8(short8); |
| 3765 | ulong8 __ovld __cnfn convert_ulong8_sat(short8); |
| 3766 | ulong8 __ovld __cnfn convert_ulong8_rte(ushort8); |
| 3767 | ulong8 __ovld __cnfn convert_ulong8_sat_rte(ushort8); |
| 3768 | ulong8 __ovld __cnfn convert_ulong8_rtz(ushort8); |
| 3769 | ulong8 __ovld __cnfn convert_ulong8_sat_rtz(ushort8); |
| 3770 | ulong8 __ovld __cnfn convert_ulong8_rtp(ushort8); |
| 3771 | ulong8 __ovld __cnfn convert_ulong8_sat_rtp(ushort8); |
| 3772 | ulong8 __ovld __cnfn convert_ulong8_rtn(ushort8); |
| 3773 | ulong8 __ovld __cnfn convert_ulong8_sat_rtn(ushort8); |
| 3774 | ulong8 __ovld __cnfn convert_ulong8(ushort8); |
| 3775 | ulong8 __ovld __cnfn convert_ulong8_sat(ushort8); |
| 3776 | ulong8 __ovld __cnfn convert_ulong8_rte(int8); |
| 3777 | ulong8 __ovld __cnfn convert_ulong8_sat_rte(int8); |
| 3778 | ulong8 __ovld __cnfn convert_ulong8_rtz(int8); |
| 3779 | ulong8 __ovld __cnfn convert_ulong8_sat_rtz(int8); |
| 3780 | ulong8 __ovld __cnfn convert_ulong8_rtp(int8); |
| 3781 | ulong8 __ovld __cnfn convert_ulong8_sat_rtp(int8); |
| 3782 | ulong8 __ovld __cnfn convert_ulong8_rtn(int8); |
| 3783 | ulong8 __ovld __cnfn convert_ulong8_sat_rtn(int8); |
| 3784 | ulong8 __ovld __cnfn convert_ulong8(int8); |
| 3785 | ulong8 __ovld __cnfn convert_ulong8_sat(int8); |
| 3786 | ulong8 __ovld __cnfn convert_ulong8_rte(uint8); |
| 3787 | ulong8 __ovld __cnfn convert_ulong8_sat_rte(uint8); |
| 3788 | ulong8 __ovld __cnfn convert_ulong8_rtz(uint8); |
| 3789 | ulong8 __ovld __cnfn convert_ulong8_sat_rtz(uint8); |
| 3790 | ulong8 __ovld __cnfn convert_ulong8_rtp(uint8); |
| 3791 | ulong8 __ovld __cnfn convert_ulong8_sat_rtp(uint8); |
| 3792 | ulong8 __ovld __cnfn convert_ulong8_rtn(uint8); |
| 3793 | ulong8 __ovld __cnfn convert_ulong8_sat_rtn(uint8); |
| 3794 | ulong8 __ovld __cnfn convert_ulong8(uint8); |
| 3795 | ulong8 __ovld __cnfn convert_ulong8_sat(uint8); |
| 3796 | ulong8 __ovld __cnfn convert_ulong8_rte(long8); |
| 3797 | ulong8 __ovld __cnfn convert_ulong8_sat_rte(long8); |
| 3798 | ulong8 __ovld __cnfn convert_ulong8_rtz(long8); |
| 3799 | ulong8 __ovld __cnfn convert_ulong8_sat_rtz(long8); |
| 3800 | ulong8 __ovld __cnfn convert_ulong8_rtp(long8); |
| 3801 | ulong8 __ovld __cnfn convert_ulong8_sat_rtp(long8); |
| 3802 | ulong8 __ovld __cnfn convert_ulong8_rtn(long8); |
| 3803 | ulong8 __ovld __cnfn convert_ulong8_sat_rtn(long8); |
| 3804 | ulong8 __ovld __cnfn convert_ulong8(long8); |
| 3805 | ulong8 __ovld __cnfn convert_ulong8_sat(long8); |
| 3806 | ulong8 __ovld __cnfn convert_ulong8_rte(ulong8); |
| 3807 | ulong8 __ovld __cnfn convert_ulong8_sat_rte(ulong8); |
| 3808 | ulong8 __ovld __cnfn convert_ulong8_rtz(ulong8); |
| 3809 | ulong8 __ovld __cnfn convert_ulong8_sat_rtz(ulong8); |
| 3810 | ulong8 __ovld __cnfn convert_ulong8_rtp(ulong8); |
| 3811 | ulong8 __ovld __cnfn convert_ulong8_sat_rtp(ulong8); |
| 3812 | ulong8 __ovld __cnfn convert_ulong8_rtn(ulong8); |
| 3813 | ulong8 __ovld __cnfn convert_ulong8_sat_rtn(ulong8); |
| 3814 | ulong8 __ovld __cnfn convert_ulong8(ulong8); |
| 3815 | ulong8 __ovld __cnfn convert_ulong8_sat(ulong8); |
| 3816 | ulong8 __ovld __cnfn convert_ulong8_rte(float8); |
| 3817 | ulong8 __ovld __cnfn convert_ulong8_sat_rte(float8); |
| 3818 | ulong8 __ovld __cnfn convert_ulong8_rtz(float8); |
| 3819 | ulong8 __ovld __cnfn convert_ulong8_sat_rtz(float8); |
| 3820 | ulong8 __ovld __cnfn convert_ulong8_rtp(float8); |
| 3821 | ulong8 __ovld __cnfn convert_ulong8_sat_rtp(float8); |
| 3822 | ulong8 __ovld __cnfn convert_ulong8_rtn(float8); |
| 3823 | ulong8 __ovld __cnfn convert_ulong8_sat_rtn(float8); |
| 3824 | ulong8 __ovld __cnfn convert_ulong8(float8); |
| 3825 | ulong8 __ovld __cnfn convert_ulong8_sat(float8); |
| 3826 | float8 __ovld __cnfn convert_float8_rte(char8); |
| 3827 | float8 __ovld __cnfn convert_float8_rtz(char8); |
| 3828 | float8 __ovld __cnfn convert_float8_rtp(char8); |
| 3829 | float8 __ovld __cnfn convert_float8_rtn(char8); |
| 3830 | float8 __ovld __cnfn convert_float8(char8); |
| 3831 | float8 __ovld __cnfn convert_float8_rte(uchar8); |
| 3832 | float8 __ovld __cnfn convert_float8_rtz(uchar8); |
| 3833 | float8 __ovld __cnfn convert_float8_rtp(uchar8); |
| 3834 | float8 __ovld __cnfn convert_float8_rtn(uchar8); |
| 3835 | float8 __ovld __cnfn convert_float8(uchar8); |
| 3836 | float8 __ovld __cnfn convert_float8_rte(short8); |
| 3837 | float8 __ovld __cnfn convert_float8_rtz(short8); |
| 3838 | float8 __ovld __cnfn convert_float8_rtp(short8); |
| 3839 | float8 __ovld __cnfn convert_float8_rtn(short8); |
| 3840 | float8 __ovld __cnfn convert_float8(short8); |
| 3841 | float8 __ovld __cnfn convert_float8_rte(ushort8); |
| 3842 | float8 __ovld __cnfn convert_float8_rtz(ushort8); |
| 3843 | float8 __ovld __cnfn convert_float8_rtp(ushort8); |
| 3844 | float8 __ovld __cnfn convert_float8_rtn(ushort8); |
| 3845 | float8 __ovld __cnfn convert_float8(ushort8); |
| 3846 | float8 __ovld __cnfn convert_float8_rte(int8); |
| 3847 | float8 __ovld __cnfn convert_float8_rtz(int8); |
| 3848 | float8 __ovld __cnfn convert_float8_rtp(int8); |
| 3849 | float8 __ovld __cnfn convert_float8_rtn(int8); |
| 3850 | float8 __ovld __cnfn convert_float8(int8); |
| 3851 | float8 __ovld __cnfn convert_float8_rte(uint8); |
| 3852 | float8 __ovld __cnfn convert_float8_rtz(uint8); |
| 3853 | float8 __ovld __cnfn convert_float8_rtp(uint8); |
| 3854 | float8 __ovld __cnfn convert_float8_rtn(uint8); |
| 3855 | float8 __ovld __cnfn convert_float8(uint8); |
| 3856 | float8 __ovld __cnfn convert_float8_rte(long8); |
| 3857 | float8 __ovld __cnfn convert_float8_rtz(long8); |
| 3858 | float8 __ovld __cnfn convert_float8_rtp(long8); |
| 3859 | float8 __ovld __cnfn convert_float8_rtn(long8); |
| 3860 | float8 __ovld __cnfn convert_float8(long8); |
| 3861 | float8 __ovld __cnfn convert_float8_rte(ulong8); |
| 3862 | float8 __ovld __cnfn convert_float8_rtz(ulong8); |
| 3863 | float8 __ovld __cnfn convert_float8_rtp(ulong8); |
| 3864 | float8 __ovld __cnfn convert_float8_rtn(ulong8); |
| 3865 | float8 __ovld __cnfn convert_float8(ulong8); |
| 3866 | float8 __ovld __cnfn convert_float8_rte(float8); |
| 3867 | float8 __ovld __cnfn convert_float8_rtz(float8); |
| 3868 | float8 __ovld __cnfn convert_float8_rtp(float8); |
| 3869 | float8 __ovld __cnfn convert_float8_rtn(float8); |
| 3870 | float8 __ovld __cnfn convert_float8(float8); |
| 3871 | char16 __ovld __cnfn convert_char16_rte(char16); |
| 3872 | char16 __ovld __cnfn convert_char16_sat_rte(char16); |
| 3873 | char16 __ovld __cnfn convert_char16_rtz(char16); |
| 3874 | char16 __ovld __cnfn convert_char16_sat_rtz(char16); |
| 3875 | char16 __ovld __cnfn convert_char16_rtp(char16); |
| 3876 | char16 __ovld __cnfn convert_char16_sat_rtp(char16); |
| 3877 | char16 __ovld __cnfn convert_char16_rtn(char16); |
| 3878 | char16 __ovld __cnfn convert_char16_sat_rtn(char16); |
| 3879 | char16 __ovld __cnfn convert_char16(char16); |
| 3880 | char16 __ovld __cnfn convert_char16_sat(char16); |
| 3881 | char16 __ovld __cnfn convert_char16_rte(uchar16); |
| 3882 | char16 __ovld __cnfn convert_char16_sat_rte(uchar16); |
| 3883 | char16 __ovld __cnfn convert_char16_rtz(uchar16); |
| 3884 | char16 __ovld __cnfn convert_char16_sat_rtz(uchar16); |
| 3885 | char16 __ovld __cnfn convert_char16_rtp(uchar16); |
| 3886 | char16 __ovld __cnfn convert_char16_sat_rtp(uchar16); |
| 3887 | char16 __ovld __cnfn convert_char16_rtn(uchar16); |
| 3888 | char16 __ovld __cnfn convert_char16_sat_rtn(uchar16); |
| 3889 | char16 __ovld __cnfn convert_char16(uchar16); |
| 3890 | char16 __ovld __cnfn convert_char16_sat(uchar16); |
| 3891 | char16 __ovld __cnfn convert_char16_rte(short16); |
| 3892 | char16 __ovld __cnfn convert_char16_sat_rte(short16); |
| 3893 | char16 __ovld __cnfn convert_char16_rtz(short16); |
| 3894 | char16 __ovld __cnfn convert_char16_sat_rtz(short16); |
| 3895 | char16 __ovld __cnfn convert_char16_rtp(short16); |
| 3896 | char16 __ovld __cnfn convert_char16_sat_rtp(short16); |
| 3897 | char16 __ovld __cnfn convert_char16_rtn(short16); |
| 3898 | char16 __ovld __cnfn convert_char16_sat_rtn(short16); |
| 3899 | char16 __ovld __cnfn convert_char16(short16); |
| 3900 | char16 __ovld __cnfn convert_char16_sat(short16); |
| 3901 | char16 __ovld __cnfn convert_char16_rte(ushort16); |
| 3902 | char16 __ovld __cnfn convert_char16_sat_rte(ushort16); |
| 3903 | char16 __ovld __cnfn convert_char16_rtz(ushort16); |
| 3904 | char16 __ovld __cnfn convert_char16_sat_rtz(ushort16); |
| 3905 | char16 __ovld __cnfn convert_char16_rtp(ushort16); |
| 3906 | char16 __ovld __cnfn convert_char16_sat_rtp(ushort16); |
| 3907 | char16 __ovld __cnfn convert_char16_rtn(ushort16); |
| 3908 | char16 __ovld __cnfn convert_char16_sat_rtn(ushort16); |
| 3909 | char16 __ovld __cnfn convert_char16(ushort16); |
| 3910 | char16 __ovld __cnfn convert_char16_sat(ushort16); |
| 3911 | char16 __ovld __cnfn convert_char16_rte(int16); |
| 3912 | char16 __ovld __cnfn convert_char16_sat_rte(int16); |
| 3913 | char16 __ovld __cnfn convert_char16_rtz(int16); |
| 3914 | char16 __ovld __cnfn convert_char16_sat_rtz(int16); |
| 3915 | char16 __ovld __cnfn convert_char16_rtp(int16); |
| 3916 | char16 __ovld __cnfn convert_char16_sat_rtp(int16); |
| 3917 | char16 __ovld __cnfn convert_char16_rtn(int16); |
| 3918 | char16 __ovld __cnfn convert_char16_sat_rtn(int16); |
| 3919 | char16 __ovld __cnfn convert_char16(int16); |
| 3920 | char16 __ovld __cnfn convert_char16_sat(int16); |
| 3921 | char16 __ovld __cnfn convert_char16_rte(uint16); |
| 3922 | char16 __ovld __cnfn convert_char16_sat_rte(uint16); |
| 3923 | char16 __ovld __cnfn convert_char16_rtz(uint16); |
| 3924 | char16 __ovld __cnfn convert_char16_sat_rtz(uint16); |
| 3925 | char16 __ovld __cnfn convert_char16_rtp(uint16); |
| 3926 | char16 __ovld __cnfn convert_char16_sat_rtp(uint16); |
| 3927 | char16 __ovld __cnfn convert_char16_rtn(uint16); |
| 3928 | char16 __ovld __cnfn convert_char16_sat_rtn(uint16); |
| 3929 | char16 __ovld __cnfn convert_char16(uint16); |
| 3930 | char16 __ovld __cnfn convert_char16_sat(uint16); |
| 3931 | char16 __ovld __cnfn convert_char16_rte(long16); |
| 3932 | char16 __ovld __cnfn convert_char16_sat_rte(long16); |
| 3933 | char16 __ovld __cnfn convert_char16_rtz(long16); |
| 3934 | char16 __ovld __cnfn convert_char16_sat_rtz(long16); |
| 3935 | char16 __ovld __cnfn convert_char16_rtp(long16); |
| 3936 | char16 __ovld __cnfn convert_char16_sat_rtp(long16); |
| 3937 | char16 __ovld __cnfn convert_char16_rtn(long16); |
| 3938 | char16 __ovld __cnfn convert_char16_sat_rtn(long16); |
| 3939 | char16 __ovld __cnfn convert_char16(long16); |
| 3940 | char16 __ovld __cnfn convert_char16_sat(long16); |
| 3941 | char16 __ovld __cnfn convert_char16_rte(ulong16); |
| 3942 | char16 __ovld __cnfn convert_char16_sat_rte(ulong16); |
| 3943 | char16 __ovld __cnfn convert_char16_rtz(ulong16); |
| 3944 | char16 __ovld __cnfn convert_char16_sat_rtz(ulong16); |
| 3945 | char16 __ovld __cnfn convert_char16_rtp(ulong16); |
| 3946 | char16 __ovld __cnfn convert_char16_sat_rtp(ulong16); |
| 3947 | char16 __ovld __cnfn convert_char16_rtn(ulong16); |
| 3948 | char16 __ovld __cnfn convert_char16_sat_rtn(ulong16); |
| 3949 | char16 __ovld __cnfn convert_char16(ulong16); |
| 3950 | char16 __ovld __cnfn convert_char16_sat(ulong16); |
| 3951 | char16 __ovld __cnfn convert_char16_rte(float16); |
| 3952 | char16 __ovld __cnfn convert_char16_sat_rte(float16); |
| 3953 | char16 __ovld __cnfn convert_char16_rtz(float16); |
| 3954 | char16 __ovld __cnfn convert_char16_sat_rtz(float16); |
| 3955 | char16 __ovld __cnfn convert_char16_rtp(float16); |
| 3956 | char16 __ovld __cnfn convert_char16_sat_rtp(float16); |
| 3957 | char16 __ovld __cnfn convert_char16_rtn(float16); |
| 3958 | char16 __ovld __cnfn convert_char16_sat_rtn(float16); |
| 3959 | char16 __ovld __cnfn convert_char16(float16); |
| 3960 | char16 __ovld __cnfn convert_char16_sat(float16); |
| 3961 | uchar16 __ovld __cnfn convert_uchar16_rte(char16); |
| 3962 | uchar16 __ovld __cnfn convert_uchar16_sat_rte(char16); |
| 3963 | uchar16 __ovld __cnfn convert_uchar16_rtz(char16); |
| 3964 | uchar16 __ovld __cnfn convert_uchar16_sat_rtz(char16); |
| 3965 | uchar16 __ovld __cnfn convert_uchar16_rtp(char16); |
| 3966 | uchar16 __ovld __cnfn convert_uchar16_sat_rtp(char16); |
| 3967 | uchar16 __ovld __cnfn convert_uchar16_rtn(char16); |
| 3968 | uchar16 __ovld __cnfn convert_uchar16_sat_rtn(char16); |
| 3969 | uchar16 __ovld __cnfn convert_uchar16(char16); |
| 3970 | uchar16 __ovld __cnfn convert_uchar16_sat(char16); |
| 3971 | uchar16 __ovld __cnfn convert_uchar16_rte(uchar16); |
| 3972 | uchar16 __ovld __cnfn convert_uchar16_sat_rte(uchar16); |
| 3973 | uchar16 __ovld __cnfn convert_uchar16_rtz(uchar16); |
| 3974 | uchar16 __ovld __cnfn convert_uchar16_sat_rtz(uchar16); |
| 3975 | uchar16 __ovld __cnfn convert_uchar16_rtp(uchar16); |
| 3976 | uchar16 __ovld __cnfn convert_uchar16_sat_rtp(uchar16); |
| 3977 | uchar16 __ovld __cnfn convert_uchar16_rtn(uchar16); |
| 3978 | uchar16 __ovld __cnfn convert_uchar16_sat_rtn(uchar16); |
| 3979 | uchar16 __ovld __cnfn convert_uchar16(uchar16); |
| 3980 | uchar16 __ovld __cnfn convert_uchar16_sat(uchar16); |
| 3981 | uchar16 __ovld __cnfn convert_uchar16_rte(short16); |
| 3982 | uchar16 __ovld __cnfn convert_uchar16_sat_rte(short16); |
| 3983 | uchar16 __ovld __cnfn convert_uchar16_rtz(short16); |
| 3984 | uchar16 __ovld __cnfn convert_uchar16_sat_rtz(short16); |
| 3985 | uchar16 __ovld __cnfn convert_uchar16_rtp(short16); |
| 3986 | uchar16 __ovld __cnfn convert_uchar16_sat_rtp(short16); |
| 3987 | uchar16 __ovld __cnfn convert_uchar16_rtn(short16); |
| 3988 | uchar16 __ovld __cnfn convert_uchar16_sat_rtn(short16); |
| 3989 | uchar16 __ovld __cnfn convert_uchar16(short16); |
| 3990 | uchar16 __ovld __cnfn convert_uchar16_sat(short16); |
| 3991 | uchar16 __ovld __cnfn convert_uchar16_rte(ushort16); |
| 3992 | uchar16 __ovld __cnfn convert_uchar16_sat_rte(ushort16); |
| 3993 | uchar16 __ovld __cnfn convert_uchar16_rtz(ushort16); |
| 3994 | uchar16 __ovld __cnfn convert_uchar16_sat_rtz(ushort16); |
| 3995 | uchar16 __ovld __cnfn convert_uchar16_rtp(ushort16); |
| 3996 | uchar16 __ovld __cnfn convert_uchar16_sat_rtp(ushort16); |
| 3997 | uchar16 __ovld __cnfn convert_uchar16_rtn(ushort16); |
| 3998 | uchar16 __ovld __cnfn convert_uchar16_sat_rtn(ushort16); |
| 3999 | uchar16 __ovld __cnfn convert_uchar16(ushort16); |
| 4000 | uchar16 __ovld __cnfn convert_uchar16_sat(ushort16); |
| 4001 | uchar16 __ovld __cnfn convert_uchar16_rte(int16); |
| 4002 | uchar16 __ovld __cnfn convert_uchar16_sat_rte(int16); |
| 4003 | uchar16 __ovld __cnfn convert_uchar16_rtz(int16); |
| 4004 | uchar16 __ovld __cnfn convert_uchar16_sat_rtz(int16); |
| 4005 | uchar16 __ovld __cnfn convert_uchar16_rtp(int16); |
| 4006 | uchar16 __ovld __cnfn convert_uchar16_sat_rtp(int16); |
| 4007 | uchar16 __ovld __cnfn convert_uchar16_rtn(int16); |
| 4008 | uchar16 __ovld __cnfn convert_uchar16_sat_rtn(int16); |
| 4009 | uchar16 __ovld __cnfn convert_uchar16(int16); |
| 4010 | uchar16 __ovld __cnfn convert_uchar16_sat(int16); |
| 4011 | uchar16 __ovld __cnfn convert_uchar16_rte(uint16); |
| 4012 | uchar16 __ovld __cnfn convert_uchar16_sat_rte(uint16); |
| 4013 | uchar16 __ovld __cnfn convert_uchar16_rtz(uint16); |
| 4014 | uchar16 __ovld __cnfn convert_uchar16_sat_rtz(uint16); |
| 4015 | uchar16 __ovld __cnfn convert_uchar16_rtp(uint16); |
| 4016 | uchar16 __ovld __cnfn convert_uchar16_sat_rtp(uint16); |
| 4017 | uchar16 __ovld __cnfn convert_uchar16_rtn(uint16); |
| 4018 | uchar16 __ovld __cnfn convert_uchar16_sat_rtn(uint16); |
| 4019 | uchar16 __ovld __cnfn convert_uchar16(uint16); |
| 4020 | uchar16 __ovld __cnfn convert_uchar16_sat(uint16); |
| 4021 | uchar16 __ovld __cnfn convert_uchar16_rte(long16); |
| 4022 | uchar16 __ovld __cnfn convert_uchar16_sat_rte(long16); |
| 4023 | uchar16 __ovld __cnfn convert_uchar16_rtz(long16); |
| 4024 | uchar16 __ovld __cnfn convert_uchar16_sat_rtz(long16); |
| 4025 | uchar16 __ovld __cnfn convert_uchar16_rtp(long16); |
| 4026 | uchar16 __ovld __cnfn convert_uchar16_sat_rtp(long16); |
| 4027 | uchar16 __ovld __cnfn convert_uchar16_rtn(long16); |
| 4028 | uchar16 __ovld __cnfn convert_uchar16_sat_rtn(long16); |
| 4029 | uchar16 __ovld __cnfn convert_uchar16(long16); |
| 4030 | uchar16 __ovld __cnfn convert_uchar16_sat(long16); |
| 4031 | uchar16 __ovld __cnfn convert_uchar16_rte(ulong16); |
| 4032 | uchar16 __ovld __cnfn convert_uchar16_sat_rte(ulong16); |
| 4033 | uchar16 __ovld __cnfn convert_uchar16_rtz(ulong16); |
| 4034 | uchar16 __ovld __cnfn convert_uchar16_sat_rtz(ulong16); |
| 4035 | uchar16 __ovld __cnfn convert_uchar16_rtp(ulong16); |
| 4036 | uchar16 __ovld __cnfn convert_uchar16_sat_rtp(ulong16); |
| 4037 | uchar16 __ovld __cnfn convert_uchar16_rtn(ulong16); |
| 4038 | uchar16 __ovld __cnfn convert_uchar16_sat_rtn(ulong16); |
| 4039 | uchar16 __ovld __cnfn convert_uchar16(ulong16); |
| 4040 | uchar16 __ovld __cnfn convert_uchar16_sat(ulong16); |
| 4041 | uchar16 __ovld __cnfn convert_uchar16_rte(float16); |
| 4042 | uchar16 __ovld __cnfn convert_uchar16_sat_rte(float16); |
| 4043 | uchar16 __ovld __cnfn convert_uchar16_rtz(float16); |
| 4044 | uchar16 __ovld __cnfn convert_uchar16_sat_rtz(float16); |
| 4045 | uchar16 __ovld __cnfn convert_uchar16_rtp(float16); |
| 4046 | uchar16 __ovld __cnfn convert_uchar16_sat_rtp(float16); |
| 4047 | uchar16 __ovld __cnfn convert_uchar16_rtn(float16); |
| 4048 | uchar16 __ovld __cnfn convert_uchar16_sat_rtn(float16); |
| 4049 | uchar16 __ovld __cnfn convert_uchar16(float16); |
| 4050 | uchar16 __ovld __cnfn convert_uchar16_sat(float16); |
| 4051 | short16 __ovld __cnfn convert_short16_rte(char16); |
| 4052 | short16 __ovld __cnfn convert_short16_sat_rte(char16); |
| 4053 | short16 __ovld __cnfn convert_short16_rtz(char16); |
| 4054 | short16 __ovld __cnfn convert_short16_sat_rtz(char16); |
| 4055 | short16 __ovld __cnfn convert_short16_rtp(char16); |
| 4056 | short16 __ovld __cnfn convert_short16_sat_rtp(char16); |
| 4057 | short16 __ovld __cnfn convert_short16_rtn(char16); |
| 4058 | short16 __ovld __cnfn convert_short16_sat_rtn(char16); |
| 4059 | short16 __ovld __cnfn convert_short16(char16); |
| 4060 | short16 __ovld __cnfn convert_short16_sat(char16); |
| 4061 | short16 __ovld __cnfn convert_short16_rte(uchar16); |
| 4062 | short16 __ovld __cnfn convert_short16_sat_rte(uchar16); |
| 4063 | short16 __ovld __cnfn convert_short16_rtz(uchar16); |
| 4064 | short16 __ovld __cnfn convert_short16_sat_rtz(uchar16); |
| 4065 | short16 __ovld __cnfn convert_short16_rtp(uchar16); |
| 4066 | short16 __ovld __cnfn convert_short16_sat_rtp(uchar16); |
| 4067 | short16 __ovld __cnfn convert_short16_rtn(uchar16); |
| 4068 | short16 __ovld __cnfn convert_short16_sat_rtn(uchar16); |
| 4069 | short16 __ovld __cnfn convert_short16(uchar16); |
| 4070 | short16 __ovld __cnfn convert_short16_sat(uchar16); |
| 4071 | short16 __ovld __cnfn convert_short16_rte(short16); |
| 4072 | short16 __ovld __cnfn convert_short16_sat_rte(short16); |
| 4073 | short16 __ovld __cnfn convert_short16_rtz(short16); |
| 4074 | short16 __ovld __cnfn convert_short16_sat_rtz(short16); |
| 4075 | short16 __ovld __cnfn convert_short16_rtp(short16); |
| 4076 | short16 __ovld __cnfn convert_short16_sat_rtp(short16); |
| 4077 | short16 __ovld __cnfn convert_short16_rtn(short16); |
| 4078 | short16 __ovld __cnfn convert_short16_sat_rtn(short16); |
| 4079 | short16 __ovld __cnfn convert_short16(short16); |
| 4080 | short16 __ovld __cnfn convert_short16_sat(short16); |
| 4081 | short16 __ovld __cnfn convert_short16_rte(ushort16); |
| 4082 | short16 __ovld __cnfn convert_short16_sat_rte(ushort16); |
| 4083 | short16 __ovld __cnfn convert_short16_rtz(ushort16); |
| 4084 | short16 __ovld __cnfn convert_short16_sat_rtz(ushort16); |
| 4085 | short16 __ovld __cnfn convert_short16_rtp(ushort16); |
| 4086 | short16 __ovld __cnfn convert_short16_sat_rtp(ushort16); |
| 4087 | short16 __ovld __cnfn convert_short16_rtn(ushort16); |
| 4088 | short16 __ovld __cnfn convert_short16_sat_rtn(ushort16); |
| 4089 | short16 __ovld __cnfn convert_short16(ushort16); |
| 4090 | short16 __ovld __cnfn convert_short16_sat(ushort16); |
| 4091 | short16 __ovld __cnfn convert_short16_rte(int16); |
| 4092 | short16 __ovld __cnfn convert_short16_sat_rte(int16); |
| 4093 | short16 __ovld __cnfn convert_short16_rtz(int16); |
| 4094 | short16 __ovld __cnfn convert_short16_sat_rtz(int16); |
| 4095 | short16 __ovld __cnfn convert_short16_rtp(int16); |
| 4096 | short16 __ovld __cnfn convert_short16_sat_rtp(int16); |
| 4097 | short16 __ovld __cnfn convert_short16_rtn(int16); |
| 4098 | short16 __ovld __cnfn convert_short16_sat_rtn(int16); |
| 4099 | short16 __ovld __cnfn convert_short16(int16); |
| 4100 | short16 __ovld __cnfn convert_short16_sat(int16); |
| 4101 | short16 __ovld __cnfn convert_short16_rte(uint16); |
| 4102 | short16 __ovld __cnfn convert_short16_sat_rte(uint16); |
| 4103 | short16 __ovld __cnfn convert_short16_rtz(uint16); |
| 4104 | short16 __ovld __cnfn convert_short16_sat_rtz(uint16); |
| 4105 | short16 __ovld __cnfn convert_short16_rtp(uint16); |
| 4106 | short16 __ovld __cnfn convert_short16_sat_rtp(uint16); |
| 4107 | short16 __ovld __cnfn convert_short16_rtn(uint16); |
| 4108 | short16 __ovld __cnfn convert_short16_sat_rtn(uint16); |
| 4109 | short16 __ovld __cnfn convert_short16(uint16); |
| 4110 | short16 __ovld __cnfn convert_short16_sat(uint16); |
| 4111 | short16 __ovld __cnfn convert_short16_rte(long16); |
| 4112 | short16 __ovld __cnfn convert_short16_sat_rte(long16); |
| 4113 | short16 __ovld __cnfn convert_short16_rtz(long16); |
| 4114 | short16 __ovld __cnfn convert_short16_sat_rtz(long16); |
| 4115 | short16 __ovld __cnfn convert_short16_rtp(long16); |
| 4116 | short16 __ovld __cnfn convert_short16_sat_rtp(long16); |
| 4117 | short16 __ovld __cnfn convert_short16_rtn(long16); |
| 4118 | short16 __ovld __cnfn convert_short16_sat_rtn(long16); |
| 4119 | short16 __ovld __cnfn convert_short16(long16); |
| 4120 | short16 __ovld __cnfn convert_short16_sat(long16); |
| 4121 | short16 __ovld __cnfn convert_short16_rte(ulong16); |
| 4122 | short16 __ovld __cnfn convert_short16_sat_rte(ulong16); |
| 4123 | short16 __ovld __cnfn convert_short16_rtz(ulong16); |
| 4124 | short16 __ovld __cnfn convert_short16_sat_rtz(ulong16); |
| 4125 | short16 __ovld __cnfn convert_short16_rtp(ulong16); |
| 4126 | short16 __ovld __cnfn convert_short16_sat_rtp(ulong16); |
| 4127 | short16 __ovld __cnfn convert_short16_rtn(ulong16); |
| 4128 | short16 __ovld __cnfn convert_short16_sat_rtn(ulong16); |
| 4129 | short16 __ovld __cnfn convert_short16(ulong16); |
| 4130 | short16 __ovld __cnfn convert_short16_sat(ulong16); |
| 4131 | short16 __ovld __cnfn convert_short16_rte(float16); |
| 4132 | short16 __ovld __cnfn convert_short16_sat_rte(float16); |
| 4133 | short16 __ovld __cnfn convert_short16_rtz(float16); |
| 4134 | short16 __ovld __cnfn convert_short16_sat_rtz(float16); |
| 4135 | short16 __ovld __cnfn convert_short16_rtp(float16); |
| 4136 | short16 __ovld __cnfn convert_short16_sat_rtp(float16); |
| 4137 | short16 __ovld __cnfn convert_short16_rtn(float16); |
| 4138 | short16 __ovld __cnfn convert_short16_sat_rtn(float16); |
| 4139 | short16 __ovld __cnfn convert_short16(float16); |
| 4140 | short16 __ovld __cnfn convert_short16_sat(float16); |
| 4141 | ushort16 __ovld __cnfn convert_ushort16_rte(char16); |
| 4142 | ushort16 __ovld __cnfn convert_ushort16_sat_rte(char16); |
| 4143 | ushort16 __ovld __cnfn convert_ushort16_rtz(char16); |
| 4144 | ushort16 __ovld __cnfn convert_ushort16_sat_rtz(char16); |
| 4145 | ushort16 __ovld __cnfn convert_ushort16_rtp(char16); |
| 4146 | ushort16 __ovld __cnfn convert_ushort16_sat_rtp(char16); |
| 4147 | ushort16 __ovld __cnfn convert_ushort16_rtn(char16); |
| 4148 | ushort16 __ovld __cnfn convert_ushort16_sat_rtn(char16); |
| 4149 | ushort16 __ovld __cnfn convert_ushort16(char16); |
| 4150 | ushort16 __ovld __cnfn convert_ushort16_sat(char16); |
| 4151 | ushort16 __ovld __cnfn convert_ushort16_rte(uchar16); |
| 4152 | ushort16 __ovld __cnfn convert_ushort16_sat_rte(uchar16); |
| 4153 | ushort16 __ovld __cnfn convert_ushort16_rtz(uchar16); |
| 4154 | ushort16 __ovld __cnfn convert_ushort16_sat_rtz(uchar16); |
| 4155 | ushort16 __ovld __cnfn convert_ushort16_rtp(uchar16); |
| 4156 | ushort16 __ovld __cnfn convert_ushort16_sat_rtp(uchar16); |
| 4157 | ushort16 __ovld __cnfn convert_ushort16_rtn(uchar16); |
| 4158 | ushort16 __ovld __cnfn convert_ushort16_sat_rtn(uchar16); |
| 4159 | ushort16 __ovld __cnfn convert_ushort16(uchar16); |
| 4160 | ushort16 __ovld __cnfn convert_ushort16_sat(uchar16); |
| 4161 | ushort16 __ovld __cnfn convert_ushort16_rte(short16); |
| 4162 | ushort16 __ovld __cnfn convert_ushort16_sat_rte(short16); |
| 4163 | ushort16 __ovld __cnfn convert_ushort16_rtz(short16); |
| 4164 | ushort16 __ovld __cnfn convert_ushort16_sat_rtz(short16); |
| 4165 | ushort16 __ovld __cnfn convert_ushort16_rtp(short16); |
| 4166 | ushort16 __ovld __cnfn convert_ushort16_sat_rtp(short16); |
| 4167 | ushort16 __ovld __cnfn convert_ushort16_rtn(short16); |
| 4168 | ushort16 __ovld __cnfn convert_ushort16_sat_rtn(short16); |
| 4169 | ushort16 __ovld __cnfn convert_ushort16(short16); |
| 4170 | ushort16 __ovld __cnfn convert_ushort16_sat(short16); |
| 4171 | ushort16 __ovld __cnfn convert_ushort16_rte(ushort16); |
| 4172 | ushort16 __ovld __cnfn convert_ushort16_sat_rte(ushort16); |
| 4173 | ushort16 __ovld __cnfn convert_ushort16_rtz(ushort16); |
| 4174 | ushort16 __ovld __cnfn convert_ushort16_sat_rtz(ushort16); |
| 4175 | ushort16 __ovld __cnfn convert_ushort16_rtp(ushort16); |
| 4176 | ushort16 __ovld __cnfn convert_ushort16_sat_rtp(ushort16); |
| 4177 | ushort16 __ovld __cnfn convert_ushort16_rtn(ushort16); |
| 4178 | ushort16 __ovld __cnfn convert_ushort16_sat_rtn(ushort16); |
| 4179 | ushort16 __ovld __cnfn convert_ushort16(ushort16); |
| 4180 | ushort16 __ovld __cnfn convert_ushort16_sat(ushort16); |
| 4181 | ushort16 __ovld __cnfn convert_ushort16_rte(int16); |
| 4182 | ushort16 __ovld __cnfn convert_ushort16_sat_rte(int16); |
| 4183 | ushort16 __ovld __cnfn convert_ushort16_rtz(int16); |
| 4184 | ushort16 __ovld __cnfn convert_ushort16_sat_rtz(int16); |
| 4185 | ushort16 __ovld __cnfn convert_ushort16_rtp(int16); |
| 4186 | ushort16 __ovld __cnfn convert_ushort16_sat_rtp(int16); |
| 4187 | ushort16 __ovld __cnfn convert_ushort16_rtn(int16); |
| 4188 | ushort16 __ovld __cnfn convert_ushort16_sat_rtn(int16); |
| 4189 | ushort16 __ovld __cnfn convert_ushort16(int16); |
| 4190 | ushort16 __ovld __cnfn convert_ushort16_sat(int16); |
| 4191 | ushort16 __ovld __cnfn convert_ushort16_rte(uint16); |
| 4192 | ushort16 __ovld __cnfn convert_ushort16_sat_rte(uint16); |
| 4193 | ushort16 __ovld __cnfn convert_ushort16_rtz(uint16); |
| 4194 | ushort16 __ovld __cnfn convert_ushort16_sat_rtz(uint16); |
| 4195 | ushort16 __ovld __cnfn convert_ushort16_rtp(uint16); |
| 4196 | ushort16 __ovld __cnfn convert_ushort16_sat_rtp(uint16); |
| 4197 | ushort16 __ovld __cnfn convert_ushort16_rtn(uint16); |
| 4198 | ushort16 __ovld __cnfn convert_ushort16_sat_rtn(uint16); |
| 4199 | ushort16 __ovld __cnfn convert_ushort16(uint16); |
| 4200 | ushort16 __ovld __cnfn convert_ushort16_sat(uint16); |
| 4201 | ushort16 __ovld __cnfn convert_ushort16_rte(long16); |
| 4202 | ushort16 __ovld __cnfn convert_ushort16_sat_rte(long16); |
| 4203 | ushort16 __ovld __cnfn convert_ushort16_rtz(long16); |
| 4204 | ushort16 __ovld __cnfn convert_ushort16_sat_rtz(long16); |
| 4205 | ushort16 __ovld __cnfn convert_ushort16_rtp(long16); |
| 4206 | ushort16 __ovld __cnfn convert_ushort16_sat_rtp(long16); |
| 4207 | ushort16 __ovld __cnfn convert_ushort16_rtn(long16); |
| 4208 | ushort16 __ovld __cnfn convert_ushort16_sat_rtn(long16); |
| 4209 | ushort16 __ovld __cnfn convert_ushort16(long16); |
| 4210 | ushort16 __ovld __cnfn convert_ushort16_sat(long16); |
| 4211 | ushort16 __ovld __cnfn convert_ushort16_rte(ulong16); |
| 4212 | ushort16 __ovld __cnfn convert_ushort16_sat_rte(ulong16); |
| 4213 | ushort16 __ovld __cnfn convert_ushort16_rtz(ulong16); |
| 4214 | ushort16 __ovld __cnfn convert_ushort16_sat_rtz(ulong16); |
| 4215 | ushort16 __ovld __cnfn convert_ushort16_rtp(ulong16); |
| 4216 | ushort16 __ovld __cnfn convert_ushort16_sat_rtp(ulong16); |
| 4217 | ushort16 __ovld __cnfn convert_ushort16_rtn(ulong16); |
| 4218 | ushort16 __ovld __cnfn convert_ushort16_sat_rtn(ulong16); |
| 4219 | ushort16 __ovld __cnfn convert_ushort16(ulong16); |
| 4220 | ushort16 __ovld __cnfn convert_ushort16_sat(ulong16); |
| 4221 | ushort16 __ovld __cnfn convert_ushort16_rte(float16); |
| 4222 | ushort16 __ovld __cnfn convert_ushort16_sat_rte(float16); |
| 4223 | ushort16 __ovld __cnfn convert_ushort16_rtz(float16); |
| 4224 | ushort16 __ovld __cnfn convert_ushort16_sat_rtz(float16); |
| 4225 | ushort16 __ovld __cnfn convert_ushort16_rtp(float16); |
| 4226 | ushort16 __ovld __cnfn convert_ushort16_sat_rtp(float16); |
| 4227 | ushort16 __ovld __cnfn convert_ushort16_rtn(float16); |
| 4228 | ushort16 __ovld __cnfn convert_ushort16_sat_rtn(float16); |
| 4229 | ushort16 __ovld __cnfn convert_ushort16(float16); |
| 4230 | ushort16 __ovld __cnfn convert_ushort16_sat(float16); |
| 4231 | int16 __ovld __cnfn convert_int16_rte(char16); |
| 4232 | int16 __ovld __cnfn convert_int16_sat_rte(char16); |
| 4233 | int16 __ovld __cnfn convert_int16_rtz(char16); |
| 4234 | int16 __ovld __cnfn convert_int16_sat_rtz(char16); |
| 4235 | int16 __ovld __cnfn convert_int16_rtp(char16); |
| 4236 | int16 __ovld __cnfn convert_int16_sat_rtp(char16); |
| 4237 | int16 __ovld __cnfn convert_int16_rtn(char16); |
| 4238 | int16 __ovld __cnfn convert_int16_sat_rtn(char16); |
| 4239 | int16 __ovld __cnfn convert_int16(char16); |
| 4240 | int16 __ovld __cnfn convert_int16_sat(char16); |
| 4241 | int16 __ovld __cnfn convert_int16_rte(uchar16); |
| 4242 | int16 __ovld __cnfn convert_int16_sat_rte(uchar16); |
| 4243 | int16 __ovld __cnfn convert_int16_rtz(uchar16); |
| 4244 | int16 __ovld __cnfn convert_int16_sat_rtz(uchar16); |
| 4245 | int16 __ovld __cnfn convert_int16_rtp(uchar16); |
| 4246 | int16 __ovld __cnfn convert_int16_sat_rtp(uchar16); |
| 4247 | int16 __ovld __cnfn convert_int16_rtn(uchar16); |
| 4248 | int16 __ovld __cnfn convert_int16_sat_rtn(uchar16); |
| 4249 | int16 __ovld __cnfn convert_int16(uchar16); |
| 4250 | int16 __ovld __cnfn convert_int16_sat(uchar16); |
| 4251 | int16 __ovld __cnfn convert_int16_rte(short16); |
| 4252 | int16 __ovld __cnfn convert_int16_sat_rte(short16); |
| 4253 | int16 __ovld __cnfn convert_int16_rtz(short16); |
| 4254 | int16 __ovld __cnfn convert_int16_sat_rtz(short16); |
| 4255 | int16 __ovld __cnfn convert_int16_rtp(short16); |
| 4256 | int16 __ovld __cnfn convert_int16_sat_rtp(short16); |
| 4257 | int16 __ovld __cnfn convert_int16_rtn(short16); |
| 4258 | int16 __ovld __cnfn convert_int16_sat_rtn(short16); |
| 4259 | int16 __ovld __cnfn convert_int16(short16); |
| 4260 | int16 __ovld __cnfn convert_int16_sat(short16); |
| 4261 | int16 __ovld __cnfn convert_int16_rte(ushort16); |
| 4262 | int16 __ovld __cnfn convert_int16_sat_rte(ushort16); |
| 4263 | int16 __ovld __cnfn convert_int16_rtz(ushort16); |
| 4264 | int16 __ovld __cnfn convert_int16_sat_rtz(ushort16); |
| 4265 | int16 __ovld __cnfn convert_int16_rtp(ushort16); |
| 4266 | int16 __ovld __cnfn convert_int16_sat_rtp(ushort16); |
| 4267 | int16 __ovld __cnfn convert_int16_rtn(ushort16); |
| 4268 | int16 __ovld __cnfn convert_int16_sat_rtn(ushort16); |
| 4269 | int16 __ovld __cnfn convert_int16(ushort16); |
| 4270 | int16 __ovld __cnfn convert_int16_sat(ushort16); |
| 4271 | int16 __ovld __cnfn convert_int16_rte(int16); |
| 4272 | int16 __ovld __cnfn convert_int16_sat_rte(int16); |
| 4273 | int16 __ovld __cnfn convert_int16_rtz(int16); |
| 4274 | int16 __ovld __cnfn convert_int16_sat_rtz(int16); |
| 4275 | int16 __ovld __cnfn convert_int16_rtp(int16); |
| 4276 | int16 __ovld __cnfn convert_int16_sat_rtp(int16); |
| 4277 | int16 __ovld __cnfn convert_int16_rtn(int16); |
| 4278 | int16 __ovld __cnfn convert_int16_sat_rtn(int16); |
| 4279 | int16 __ovld __cnfn convert_int16(int16); |
| 4280 | int16 __ovld __cnfn convert_int16_sat(int16); |
| 4281 | int16 __ovld __cnfn convert_int16_rte(uint16); |
| 4282 | int16 __ovld __cnfn convert_int16_sat_rte(uint16); |
| 4283 | int16 __ovld __cnfn convert_int16_rtz(uint16); |
| 4284 | int16 __ovld __cnfn convert_int16_sat_rtz(uint16); |
| 4285 | int16 __ovld __cnfn convert_int16_rtp(uint16); |
| 4286 | int16 __ovld __cnfn convert_int16_sat_rtp(uint16); |
| 4287 | int16 __ovld __cnfn convert_int16_rtn(uint16); |
| 4288 | int16 __ovld __cnfn convert_int16_sat_rtn(uint16); |
| 4289 | int16 __ovld __cnfn convert_int16(uint16); |
| 4290 | int16 __ovld __cnfn convert_int16_sat(uint16); |
| 4291 | int16 __ovld __cnfn convert_int16_rte(long16); |
| 4292 | int16 __ovld __cnfn convert_int16_sat_rte(long16); |
| 4293 | int16 __ovld __cnfn convert_int16_rtz(long16); |
| 4294 | int16 __ovld __cnfn convert_int16_sat_rtz(long16); |
| 4295 | int16 __ovld __cnfn convert_int16_rtp(long16); |
| 4296 | int16 __ovld __cnfn convert_int16_sat_rtp(long16); |
| 4297 | int16 __ovld __cnfn convert_int16_rtn(long16); |
| 4298 | int16 __ovld __cnfn convert_int16_sat_rtn(long16); |
| 4299 | int16 __ovld __cnfn convert_int16(long16); |
| 4300 | int16 __ovld __cnfn convert_int16_sat(long16); |
| 4301 | int16 __ovld __cnfn convert_int16_rte(ulong16); |
| 4302 | int16 __ovld __cnfn convert_int16_sat_rte(ulong16); |
| 4303 | int16 __ovld __cnfn convert_int16_rtz(ulong16); |
| 4304 | int16 __ovld __cnfn convert_int16_sat_rtz(ulong16); |
| 4305 | int16 __ovld __cnfn convert_int16_rtp(ulong16); |
| 4306 | int16 __ovld __cnfn convert_int16_sat_rtp(ulong16); |
| 4307 | int16 __ovld __cnfn convert_int16_rtn(ulong16); |
| 4308 | int16 __ovld __cnfn convert_int16_sat_rtn(ulong16); |
| 4309 | int16 __ovld __cnfn convert_int16(ulong16); |
| 4310 | int16 __ovld __cnfn convert_int16_sat(ulong16); |
| 4311 | int16 __ovld __cnfn convert_int16_rte(float16); |
| 4312 | int16 __ovld __cnfn convert_int16_sat_rte(float16); |
| 4313 | int16 __ovld __cnfn convert_int16_rtz(float16); |
| 4314 | int16 __ovld __cnfn convert_int16_sat_rtz(float16); |
| 4315 | int16 __ovld __cnfn convert_int16_rtp(float16); |
| 4316 | int16 __ovld __cnfn convert_int16_sat_rtp(float16); |
| 4317 | int16 __ovld __cnfn convert_int16_rtn(float16); |
| 4318 | int16 __ovld __cnfn convert_int16_sat_rtn(float16); |
| 4319 | int16 __ovld __cnfn convert_int16(float16); |
| 4320 | int16 __ovld __cnfn convert_int16_sat(float16); |
| 4321 | uint16 __ovld __cnfn convert_uint16_rte(char16); |
| 4322 | uint16 __ovld __cnfn convert_uint16_sat_rte(char16); |
| 4323 | uint16 __ovld __cnfn convert_uint16_rtz(char16); |
| 4324 | uint16 __ovld __cnfn convert_uint16_sat_rtz(char16); |
| 4325 | uint16 __ovld __cnfn convert_uint16_rtp(char16); |
| 4326 | uint16 __ovld __cnfn convert_uint16_sat_rtp(char16); |
| 4327 | uint16 __ovld __cnfn convert_uint16_rtn(char16); |
| 4328 | uint16 __ovld __cnfn convert_uint16_sat_rtn(char16); |
| 4329 | uint16 __ovld __cnfn convert_uint16(char16); |
| 4330 | uint16 __ovld __cnfn convert_uint16_sat(char16); |
| 4331 | uint16 __ovld __cnfn convert_uint16_rte(uchar16); |
| 4332 | uint16 __ovld __cnfn convert_uint16_sat_rte(uchar16); |
| 4333 | uint16 __ovld __cnfn convert_uint16_rtz(uchar16); |
| 4334 | uint16 __ovld __cnfn convert_uint16_sat_rtz(uchar16); |
| 4335 | uint16 __ovld __cnfn convert_uint16_rtp(uchar16); |
| 4336 | uint16 __ovld __cnfn convert_uint16_sat_rtp(uchar16); |
| 4337 | uint16 __ovld __cnfn convert_uint16_rtn(uchar16); |
| 4338 | uint16 __ovld __cnfn convert_uint16_sat_rtn(uchar16); |
| 4339 | uint16 __ovld __cnfn convert_uint16(uchar16); |
| 4340 | uint16 __ovld __cnfn convert_uint16_sat(uchar16); |
| 4341 | uint16 __ovld __cnfn convert_uint16_rte(short16); |
| 4342 | uint16 __ovld __cnfn convert_uint16_sat_rte(short16); |
| 4343 | uint16 __ovld __cnfn convert_uint16_rtz(short16); |
| 4344 | uint16 __ovld __cnfn convert_uint16_sat_rtz(short16); |
| 4345 | uint16 __ovld __cnfn convert_uint16_rtp(short16); |
| 4346 | uint16 __ovld __cnfn convert_uint16_sat_rtp(short16); |
| 4347 | uint16 __ovld __cnfn convert_uint16_rtn(short16); |
| 4348 | uint16 __ovld __cnfn convert_uint16_sat_rtn(short16); |
| 4349 | uint16 __ovld __cnfn convert_uint16(short16); |
| 4350 | uint16 __ovld __cnfn convert_uint16_sat(short16); |
| 4351 | uint16 __ovld __cnfn convert_uint16_rte(ushort16); |
| 4352 | uint16 __ovld __cnfn convert_uint16_sat_rte(ushort16); |
| 4353 | uint16 __ovld __cnfn convert_uint16_rtz(ushort16); |
| 4354 | uint16 __ovld __cnfn convert_uint16_sat_rtz(ushort16); |
| 4355 | uint16 __ovld __cnfn convert_uint16_rtp(ushort16); |
| 4356 | uint16 __ovld __cnfn convert_uint16_sat_rtp(ushort16); |
| 4357 | uint16 __ovld __cnfn convert_uint16_rtn(ushort16); |
| 4358 | uint16 __ovld __cnfn convert_uint16_sat_rtn(ushort16); |
| 4359 | uint16 __ovld __cnfn convert_uint16(ushort16); |
| 4360 | uint16 __ovld __cnfn convert_uint16_sat(ushort16); |
| 4361 | uint16 __ovld __cnfn convert_uint16_rte(int16); |
| 4362 | uint16 __ovld __cnfn convert_uint16_sat_rte(int16); |
| 4363 | uint16 __ovld __cnfn convert_uint16_rtz(int16); |
| 4364 | uint16 __ovld __cnfn convert_uint16_sat_rtz(int16); |
| 4365 | uint16 __ovld __cnfn convert_uint16_rtp(int16); |
| 4366 | uint16 __ovld __cnfn convert_uint16_sat_rtp(int16); |
| 4367 | uint16 __ovld __cnfn convert_uint16_rtn(int16); |
| 4368 | uint16 __ovld __cnfn convert_uint16_sat_rtn(int16); |
| 4369 | uint16 __ovld __cnfn convert_uint16(int16); |
| 4370 | uint16 __ovld __cnfn convert_uint16_sat(int16); |
| 4371 | uint16 __ovld __cnfn convert_uint16_rte(uint16); |
| 4372 | uint16 __ovld __cnfn convert_uint16_sat_rte(uint16); |
| 4373 | uint16 __ovld __cnfn convert_uint16_rtz(uint16); |
| 4374 | uint16 __ovld __cnfn convert_uint16_sat_rtz(uint16); |
| 4375 | uint16 __ovld __cnfn convert_uint16_rtp(uint16); |
| 4376 | uint16 __ovld __cnfn convert_uint16_sat_rtp(uint16); |
| 4377 | uint16 __ovld __cnfn convert_uint16_rtn(uint16); |
| 4378 | uint16 __ovld __cnfn convert_uint16_sat_rtn(uint16); |
| 4379 | uint16 __ovld __cnfn convert_uint16(uint16); |
| 4380 | uint16 __ovld __cnfn convert_uint16_sat(uint16); |
| 4381 | uint16 __ovld __cnfn convert_uint16_rte(long16); |
| 4382 | uint16 __ovld __cnfn convert_uint16_sat_rte(long16); |
| 4383 | uint16 __ovld __cnfn convert_uint16_rtz(long16); |
| 4384 | uint16 __ovld __cnfn convert_uint16_sat_rtz(long16); |
| 4385 | uint16 __ovld __cnfn convert_uint16_rtp(long16); |
| 4386 | uint16 __ovld __cnfn convert_uint16_sat_rtp(long16); |
| 4387 | uint16 __ovld __cnfn convert_uint16_rtn(long16); |
| 4388 | uint16 __ovld __cnfn convert_uint16_sat_rtn(long16); |
| 4389 | uint16 __ovld __cnfn convert_uint16(long16); |
| 4390 | uint16 __ovld __cnfn convert_uint16_sat(long16); |
| 4391 | uint16 __ovld __cnfn convert_uint16_rte(ulong16); |
| 4392 | uint16 __ovld __cnfn convert_uint16_sat_rte(ulong16); |
| 4393 | uint16 __ovld __cnfn convert_uint16_rtz(ulong16); |
| 4394 | uint16 __ovld __cnfn convert_uint16_sat_rtz(ulong16); |
| 4395 | uint16 __ovld __cnfn convert_uint16_rtp(ulong16); |
| 4396 | uint16 __ovld __cnfn convert_uint16_sat_rtp(ulong16); |
| 4397 | uint16 __ovld __cnfn convert_uint16_rtn(ulong16); |
| 4398 | uint16 __ovld __cnfn convert_uint16_sat_rtn(ulong16); |
| 4399 | uint16 __ovld __cnfn convert_uint16(ulong16); |
| 4400 | uint16 __ovld __cnfn convert_uint16_sat(ulong16); |
| 4401 | uint16 __ovld __cnfn convert_uint16_rte(float16); |
| 4402 | uint16 __ovld __cnfn convert_uint16_sat_rte(float16); |
| 4403 | uint16 __ovld __cnfn convert_uint16_rtz(float16); |
| 4404 | uint16 __ovld __cnfn convert_uint16_sat_rtz(float16); |
| 4405 | uint16 __ovld __cnfn convert_uint16_rtp(float16); |
| 4406 | uint16 __ovld __cnfn convert_uint16_sat_rtp(float16); |
| 4407 | uint16 __ovld __cnfn convert_uint16_rtn(float16); |
| 4408 | uint16 __ovld __cnfn convert_uint16_sat_rtn(float16); |
| 4409 | uint16 __ovld __cnfn convert_uint16(float16); |
| 4410 | uint16 __ovld __cnfn convert_uint16_sat(float16); |
| 4411 | long16 __ovld __cnfn convert_long16_rte(char16); |
| 4412 | long16 __ovld __cnfn convert_long16_sat_rte(char16); |
| 4413 | long16 __ovld __cnfn convert_long16_rtz(char16); |
| 4414 | long16 __ovld __cnfn convert_long16_sat_rtz(char16); |
| 4415 | long16 __ovld __cnfn convert_long16_rtp(char16); |
| 4416 | long16 __ovld __cnfn convert_long16_sat_rtp(char16); |
| 4417 | long16 __ovld __cnfn convert_long16_rtn(char16); |
| 4418 | long16 __ovld __cnfn convert_long16_sat_rtn(char16); |
| 4419 | long16 __ovld __cnfn convert_long16(char16); |
| 4420 | long16 __ovld __cnfn convert_long16_sat(char16); |
| 4421 | long16 __ovld __cnfn convert_long16_rte(uchar16); |
| 4422 | long16 __ovld __cnfn convert_long16_sat_rte(uchar16); |
| 4423 | long16 __ovld __cnfn convert_long16_rtz(uchar16); |
| 4424 | long16 __ovld __cnfn convert_long16_sat_rtz(uchar16); |
| 4425 | long16 __ovld __cnfn convert_long16_rtp(uchar16); |
| 4426 | long16 __ovld __cnfn convert_long16_sat_rtp(uchar16); |
| 4427 | long16 __ovld __cnfn convert_long16_rtn(uchar16); |
| 4428 | long16 __ovld __cnfn convert_long16_sat_rtn(uchar16); |
| 4429 | long16 __ovld __cnfn convert_long16(uchar16); |
| 4430 | long16 __ovld __cnfn convert_long16_sat(uchar16); |
| 4431 | long16 __ovld __cnfn convert_long16_rte(short16); |
| 4432 | long16 __ovld __cnfn convert_long16_sat_rte(short16); |
| 4433 | long16 __ovld __cnfn convert_long16_rtz(short16); |
| 4434 | long16 __ovld __cnfn convert_long16_sat_rtz(short16); |
| 4435 | long16 __ovld __cnfn convert_long16_rtp(short16); |
| 4436 | long16 __ovld __cnfn convert_long16_sat_rtp(short16); |
| 4437 | long16 __ovld __cnfn convert_long16_rtn(short16); |
| 4438 | long16 __ovld __cnfn convert_long16_sat_rtn(short16); |
| 4439 | long16 __ovld __cnfn convert_long16(short16); |
| 4440 | long16 __ovld __cnfn convert_long16_sat(short16); |
| 4441 | long16 __ovld __cnfn convert_long16_rte(ushort16); |
| 4442 | long16 __ovld __cnfn convert_long16_sat_rte(ushort16); |
| 4443 | long16 __ovld __cnfn convert_long16_rtz(ushort16); |
| 4444 | long16 __ovld __cnfn convert_long16_sat_rtz(ushort16); |
| 4445 | long16 __ovld __cnfn convert_long16_rtp(ushort16); |
| 4446 | long16 __ovld __cnfn convert_long16_sat_rtp(ushort16); |
| 4447 | long16 __ovld __cnfn convert_long16_rtn(ushort16); |
| 4448 | long16 __ovld __cnfn convert_long16_sat_rtn(ushort16); |
| 4449 | long16 __ovld __cnfn convert_long16(ushort16); |
| 4450 | long16 __ovld __cnfn convert_long16_sat(ushort16); |
| 4451 | long16 __ovld __cnfn convert_long16_rte(int16); |
| 4452 | long16 __ovld __cnfn convert_long16_sat_rte(int16); |
| 4453 | long16 __ovld __cnfn convert_long16_rtz(int16); |
| 4454 | long16 __ovld __cnfn convert_long16_sat_rtz(int16); |
| 4455 | long16 __ovld __cnfn convert_long16_rtp(int16); |
| 4456 | long16 __ovld __cnfn convert_long16_sat_rtp(int16); |
| 4457 | long16 __ovld __cnfn convert_long16_rtn(int16); |
| 4458 | long16 __ovld __cnfn convert_long16_sat_rtn(int16); |
| 4459 | long16 __ovld __cnfn convert_long16(int16); |
| 4460 | long16 __ovld __cnfn convert_long16_sat(int16); |
| 4461 | long16 __ovld __cnfn convert_long16_rte(uint16); |
| 4462 | long16 __ovld __cnfn convert_long16_sat_rte(uint16); |
| 4463 | long16 __ovld __cnfn convert_long16_rtz(uint16); |
| 4464 | long16 __ovld __cnfn convert_long16_sat_rtz(uint16); |
| 4465 | long16 __ovld __cnfn convert_long16_rtp(uint16); |
| 4466 | long16 __ovld __cnfn convert_long16_sat_rtp(uint16); |
| 4467 | long16 __ovld __cnfn convert_long16_rtn(uint16); |
| 4468 | long16 __ovld __cnfn convert_long16_sat_rtn(uint16); |
| 4469 | long16 __ovld __cnfn convert_long16(uint16); |
| 4470 | long16 __ovld __cnfn convert_long16_sat(uint16); |
| 4471 | long16 __ovld __cnfn convert_long16_rte(long16); |
| 4472 | long16 __ovld __cnfn convert_long16_sat_rte(long16); |
| 4473 | long16 __ovld __cnfn convert_long16_rtz(long16); |
| 4474 | long16 __ovld __cnfn convert_long16_sat_rtz(long16); |
| 4475 | long16 __ovld __cnfn convert_long16_rtp(long16); |
| 4476 | long16 __ovld __cnfn convert_long16_sat_rtp(long16); |
| 4477 | long16 __ovld __cnfn convert_long16_rtn(long16); |
| 4478 | long16 __ovld __cnfn convert_long16_sat_rtn(long16); |
| 4479 | long16 __ovld __cnfn convert_long16(long16); |
| 4480 | long16 __ovld __cnfn convert_long16_sat(long16); |
| 4481 | long16 __ovld __cnfn convert_long16_rte(ulong16); |
| 4482 | long16 __ovld __cnfn convert_long16_sat_rte(ulong16); |
| 4483 | long16 __ovld __cnfn convert_long16_rtz(ulong16); |
| 4484 | long16 __ovld __cnfn convert_long16_sat_rtz(ulong16); |
| 4485 | long16 __ovld __cnfn convert_long16_rtp(ulong16); |
| 4486 | long16 __ovld __cnfn convert_long16_sat_rtp(ulong16); |
| 4487 | long16 __ovld __cnfn convert_long16_rtn(ulong16); |
| 4488 | long16 __ovld __cnfn convert_long16_sat_rtn(ulong16); |
| 4489 | long16 __ovld __cnfn convert_long16(ulong16); |
| 4490 | long16 __ovld __cnfn convert_long16_sat(ulong16); |
| 4491 | long16 __ovld __cnfn convert_long16_rte(float16); |
| 4492 | long16 __ovld __cnfn convert_long16_sat_rte(float16); |
| 4493 | long16 __ovld __cnfn convert_long16_rtz(float16); |
| 4494 | long16 __ovld __cnfn convert_long16_sat_rtz(float16); |
| 4495 | long16 __ovld __cnfn convert_long16_rtp(float16); |
| 4496 | long16 __ovld __cnfn convert_long16_sat_rtp(float16); |
| 4497 | long16 __ovld __cnfn convert_long16_rtn(float16); |
| 4498 | long16 __ovld __cnfn convert_long16_sat_rtn(float16); |
| 4499 | long16 __ovld __cnfn convert_long16(float16); |
| 4500 | long16 __ovld __cnfn convert_long16_sat(float16); |
| 4501 | ulong16 __ovld __cnfn convert_ulong16_rte(char16); |
| 4502 | ulong16 __ovld __cnfn convert_ulong16_sat_rte(char16); |
| 4503 | ulong16 __ovld __cnfn convert_ulong16_rtz(char16); |
| 4504 | ulong16 __ovld __cnfn convert_ulong16_sat_rtz(char16); |
| 4505 | ulong16 __ovld __cnfn convert_ulong16_rtp(char16); |
| 4506 | ulong16 __ovld __cnfn convert_ulong16_sat_rtp(char16); |
| 4507 | ulong16 __ovld __cnfn convert_ulong16_rtn(char16); |
| 4508 | ulong16 __ovld __cnfn convert_ulong16_sat_rtn(char16); |
| 4509 | ulong16 __ovld __cnfn convert_ulong16(char16); |
| 4510 | ulong16 __ovld __cnfn convert_ulong16_sat(char16); |
| 4511 | ulong16 __ovld __cnfn convert_ulong16_rte(uchar16); |
| 4512 | ulong16 __ovld __cnfn convert_ulong16_sat_rte(uchar16); |
| 4513 | ulong16 __ovld __cnfn convert_ulong16_rtz(uchar16); |
| 4514 | ulong16 __ovld __cnfn convert_ulong16_sat_rtz(uchar16); |
| 4515 | ulong16 __ovld __cnfn convert_ulong16_rtp(uchar16); |
| 4516 | ulong16 __ovld __cnfn convert_ulong16_sat_rtp(uchar16); |
| 4517 | ulong16 __ovld __cnfn convert_ulong16_rtn(uchar16); |
| 4518 | ulong16 __ovld __cnfn convert_ulong16_sat_rtn(uchar16); |
| 4519 | ulong16 __ovld __cnfn convert_ulong16(uchar16); |
| 4520 | ulong16 __ovld __cnfn convert_ulong16_sat(uchar16); |
| 4521 | ulong16 __ovld __cnfn convert_ulong16_rte(short16); |
| 4522 | ulong16 __ovld __cnfn convert_ulong16_sat_rte(short16); |
| 4523 | ulong16 __ovld __cnfn convert_ulong16_rtz(short16); |
| 4524 | ulong16 __ovld __cnfn convert_ulong16_sat_rtz(short16); |
| 4525 | ulong16 __ovld __cnfn convert_ulong16_rtp(short16); |
| 4526 | ulong16 __ovld __cnfn convert_ulong16_sat_rtp(short16); |
| 4527 | ulong16 __ovld __cnfn convert_ulong16_rtn(short16); |
| 4528 | ulong16 __ovld __cnfn convert_ulong16_sat_rtn(short16); |
| 4529 | ulong16 __ovld __cnfn convert_ulong16(short16); |
| 4530 | ulong16 __ovld __cnfn convert_ulong16_sat(short16); |
| 4531 | ulong16 __ovld __cnfn convert_ulong16_rte(ushort16); |
| 4532 | ulong16 __ovld __cnfn convert_ulong16_sat_rte(ushort16); |
| 4533 | ulong16 __ovld __cnfn convert_ulong16_rtz(ushort16); |
| 4534 | ulong16 __ovld __cnfn convert_ulong16_sat_rtz(ushort16); |
| 4535 | ulong16 __ovld __cnfn convert_ulong16_rtp(ushort16); |
| 4536 | ulong16 __ovld __cnfn convert_ulong16_sat_rtp(ushort16); |
| 4537 | ulong16 __ovld __cnfn convert_ulong16_rtn(ushort16); |
| 4538 | ulong16 __ovld __cnfn convert_ulong16_sat_rtn(ushort16); |
| 4539 | ulong16 __ovld __cnfn convert_ulong16(ushort16); |
| 4540 | ulong16 __ovld __cnfn convert_ulong16_sat(ushort16); |
| 4541 | ulong16 __ovld __cnfn convert_ulong16_rte(int16); |
| 4542 | ulong16 __ovld __cnfn convert_ulong16_sat_rte(int16); |
| 4543 | ulong16 __ovld __cnfn convert_ulong16_rtz(int16); |
| 4544 | ulong16 __ovld __cnfn convert_ulong16_sat_rtz(int16); |
| 4545 | ulong16 __ovld __cnfn convert_ulong16_rtp(int16); |
| 4546 | ulong16 __ovld __cnfn convert_ulong16_sat_rtp(int16); |
| 4547 | ulong16 __ovld __cnfn convert_ulong16_rtn(int16); |
| 4548 | ulong16 __ovld __cnfn convert_ulong16_sat_rtn(int16); |
| 4549 | ulong16 __ovld __cnfn convert_ulong16(int16); |
| 4550 | ulong16 __ovld __cnfn convert_ulong16_sat(int16); |
| 4551 | ulong16 __ovld __cnfn convert_ulong16_rte(uint16); |
| 4552 | ulong16 __ovld __cnfn convert_ulong16_sat_rte(uint16); |
| 4553 | ulong16 __ovld __cnfn convert_ulong16_rtz(uint16); |
| 4554 | ulong16 __ovld __cnfn convert_ulong16_sat_rtz(uint16); |
| 4555 | ulong16 __ovld __cnfn convert_ulong16_rtp(uint16); |
| 4556 | ulong16 __ovld __cnfn convert_ulong16_sat_rtp(uint16); |
| 4557 | ulong16 __ovld __cnfn convert_ulong16_rtn(uint16); |
| 4558 | ulong16 __ovld __cnfn convert_ulong16_sat_rtn(uint16); |
| 4559 | ulong16 __ovld __cnfn convert_ulong16(uint16); |
| 4560 | ulong16 __ovld __cnfn convert_ulong16_sat(uint16); |
| 4561 | ulong16 __ovld __cnfn convert_ulong16_rte(long16); |
| 4562 | ulong16 __ovld __cnfn convert_ulong16_sat_rte(long16); |
| 4563 | ulong16 __ovld __cnfn convert_ulong16_rtz(long16); |
| 4564 | ulong16 __ovld __cnfn convert_ulong16_sat_rtz(long16); |
| 4565 | ulong16 __ovld __cnfn convert_ulong16_rtp(long16); |
| 4566 | ulong16 __ovld __cnfn convert_ulong16_sat_rtp(long16); |
| 4567 | ulong16 __ovld __cnfn convert_ulong16_rtn(long16); |
| 4568 | ulong16 __ovld __cnfn convert_ulong16_sat_rtn(long16); |
| 4569 | ulong16 __ovld __cnfn convert_ulong16(long16); |
| 4570 | ulong16 __ovld __cnfn convert_ulong16_sat(long16); |
| 4571 | ulong16 __ovld __cnfn convert_ulong16_rte(ulong16); |
| 4572 | ulong16 __ovld __cnfn convert_ulong16_sat_rte(ulong16); |
| 4573 | ulong16 __ovld __cnfn convert_ulong16_rtz(ulong16); |
| 4574 | ulong16 __ovld __cnfn convert_ulong16_sat_rtz(ulong16); |
| 4575 | ulong16 __ovld __cnfn convert_ulong16_rtp(ulong16); |
| 4576 | ulong16 __ovld __cnfn convert_ulong16_sat_rtp(ulong16); |
| 4577 | ulong16 __ovld __cnfn convert_ulong16_rtn(ulong16); |
| 4578 | ulong16 __ovld __cnfn convert_ulong16_sat_rtn(ulong16); |
| 4579 | ulong16 __ovld __cnfn convert_ulong16(ulong16); |
| 4580 | ulong16 __ovld __cnfn convert_ulong16_sat(ulong16); |
| 4581 | ulong16 __ovld __cnfn convert_ulong16_rte(float16); |
| 4582 | ulong16 __ovld __cnfn convert_ulong16_sat_rte(float16); |
| 4583 | ulong16 __ovld __cnfn convert_ulong16_rtz(float16); |
| 4584 | ulong16 __ovld __cnfn convert_ulong16_sat_rtz(float16); |
| 4585 | ulong16 __ovld __cnfn convert_ulong16_rtp(float16); |
| 4586 | ulong16 __ovld __cnfn convert_ulong16_sat_rtp(float16); |
| 4587 | ulong16 __ovld __cnfn convert_ulong16_rtn(float16); |
| 4588 | ulong16 __ovld __cnfn convert_ulong16_sat_rtn(float16); |
| 4589 | ulong16 __ovld __cnfn convert_ulong16(float16); |
| 4590 | ulong16 __ovld __cnfn convert_ulong16_sat(float16); |
| 4591 | float16 __ovld __cnfn convert_float16_rte(char16); |
| 4592 | float16 __ovld __cnfn convert_float16_rtz(char16); |
| 4593 | float16 __ovld __cnfn convert_float16_rtp(char16); |
| 4594 | float16 __ovld __cnfn convert_float16_rtn(char16); |
| 4595 | float16 __ovld __cnfn convert_float16(char16); |
| 4596 | float16 __ovld __cnfn convert_float16_rte(uchar16); |
| 4597 | float16 __ovld __cnfn convert_float16_rtz(uchar16); |
| 4598 | float16 __ovld __cnfn convert_float16_rtp(uchar16); |
| 4599 | float16 __ovld __cnfn convert_float16_rtn(uchar16); |
| 4600 | float16 __ovld __cnfn convert_float16(uchar16); |
| 4601 | float16 __ovld __cnfn convert_float16_rte(short16); |
| 4602 | float16 __ovld __cnfn convert_float16_rtz(short16); |
| 4603 | float16 __ovld __cnfn convert_float16_rtp(short16); |
| 4604 | float16 __ovld __cnfn convert_float16_rtn(short16); |
| 4605 | float16 __ovld __cnfn convert_float16(short16); |
| 4606 | float16 __ovld __cnfn convert_float16_rte(ushort16); |
| 4607 | float16 __ovld __cnfn convert_float16_rtz(ushort16); |
| 4608 | float16 __ovld __cnfn convert_float16_rtp(ushort16); |
| 4609 | float16 __ovld __cnfn convert_float16_rtn(ushort16); |
| 4610 | float16 __ovld __cnfn convert_float16(ushort16); |
| 4611 | float16 __ovld __cnfn convert_float16_rte(int16); |
| 4612 | float16 __ovld __cnfn convert_float16_rtz(int16); |
| 4613 | float16 __ovld __cnfn convert_float16_rtp(int16); |
| 4614 | float16 __ovld __cnfn convert_float16_rtn(int16); |
| 4615 | float16 __ovld __cnfn convert_float16(int16); |
| 4616 | float16 __ovld __cnfn convert_float16_rte(uint16); |
| 4617 | float16 __ovld __cnfn convert_float16_rtz(uint16); |
| 4618 | float16 __ovld __cnfn convert_float16_rtp(uint16); |
| 4619 | float16 __ovld __cnfn convert_float16_rtn(uint16); |
| 4620 | float16 __ovld __cnfn convert_float16(uint16); |
| 4621 | float16 __ovld __cnfn convert_float16_rte(long16); |
| 4622 | float16 __ovld __cnfn convert_float16_rtz(long16); |
| 4623 | float16 __ovld __cnfn convert_float16_rtp(long16); |
| 4624 | float16 __ovld __cnfn convert_float16_rtn(long16); |
| 4625 | float16 __ovld __cnfn convert_float16(long16); |
| 4626 | float16 __ovld __cnfn convert_float16_rte(ulong16); |
| 4627 | float16 __ovld __cnfn convert_float16_rtz(ulong16); |
| 4628 | float16 __ovld __cnfn convert_float16_rtp(ulong16); |
| 4629 | float16 __ovld __cnfn convert_float16_rtn(ulong16); |
| 4630 | float16 __ovld __cnfn convert_float16(ulong16); |
| 4631 | float16 __ovld __cnfn convert_float16_rte(float16); |
| 4632 | float16 __ovld __cnfn convert_float16_rtz(float16); |
| 4633 | float16 __ovld __cnfn convert_float16_rtp(float16); |
| 4634 | float16 __ovld __cnfn convert_float16_rtn(float16); |
| 4635 | float16 __ovld __cnfn convert_float16(float16); |
| 4636 | |
| 4637 | // Conversions with double data type parameters or return value. |
| 4638 | |
| 4639 | #ifdef cl_khr_fp64 |
Pirama Arumuga Nainar | 986b880 | 2021-06-03 16:00:34 -0700 | [diff] [blame] | 4640 | #pragma OPENCL EXTENSION cl_khr_fp64 : enable |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 4641 | char __ovld __cnfn convert_char(double); |
| 4642 | char __ovld __cnfn convert_char_rte(double); |
| 4643 | char __ovld __cnfn convert_char_rtn(double); |
| 4644 | char __ovld __cnfn convert_char_rtp(double); |
| 4645 | char __ovld __cnfn convert_char_rtz(double); |
| 4646 | char __ovld __cnfn convert_char_sat(double); |
| 4647 | char __ovld __cnfn convert_char_sat_rte(double); |
| 4648 | char __ovld __cnfn convert_char_sat_rtn(double); |
| 4649 | char __ovld __cnfn convert_char_sat_rtp(double); |
| 4650 | char __ovld __cnfn convert_char_sat_rtz(double); |
| 4651 | char2 __ovld __cnfn convert_char2(double2); |
| 4652 | char2 __ovld __cnfn convert_char2_rte(double2); |
| 4653 | char2 __ovld __cnfn convert_char2_rtn(double2); |
| 4654 | char2 __ovld __cnfn convert_char2_rtp(double2); |
| 4655 | char2 __ovld __cnfn convert_char2_rtz(double2); |
| 4656 | char2 __ovld __cnfn convert_char2_sat(double2); |
| 4657 | char2 __ovld __cnfn convert_char2_sat_rte(double2); |
| 4658 | char2 __ovld __cnfn convert_char2_sat_rtn(double2); |
| 4659 | char2 __ovld __cnfn convert_char2_sat_rtp(double2); |
| 4660 | char2 __ovld __cnfn convert_char2_sat_rtz(double2); |
| 4661 | char3 __ovld __cnfn convert_char3(double3); |
| 4662 | char3 __ovld __cnfn convert_char3_rte(double3); |
| 4663 | char3 __ovld __cnfn convert_char3_rtn(double3); |
| 4664 | char3 __ovld __cnfn convert_char3_rtp(double3); |
| 4665 | char3 __ovld __cnfn convert_char3_rtz(double3); |
| 4666 | char3 __ovld __cnfn convert_char3_sat(double3); |
| 4667 | char3 __ovld __cnfn convert_char3_sat_rte(double3); |
| 4668 | char3 __ovld __cnfn convert_char3_sat_rtn(double3); |
| 4669 | char3 __ovld __cnfn convert_char3_sat_rtp(double3); |
| 4670 | char3 __ovld __cnfn convert_char3_sat_rtz(double3); |
| 4671 | char4 __ovld __cnfn convert_char4(double4); |
| 4672 | char4 __ovld __cnfn convert_char4_rte(double4); |
| 4673 | char4 __ovld __cnfn convert_char4_rtn(double4); |
| 4674 | char4 __ovld __cnfn convert_char4_rtp(double4); |
| 4675 | char4 __ovld __cnfn convert_char4_rtz(double4); |
| 4676 | char4 __ovld __cnfn convert_char4_sat(double4); |
| 4677 | char4 __ovld __cnfn convert_char4_sat_rte(double4); |
| 4678 | char4 __ovld __cnfn convert_char4_sat_rtn(double4); |
| 4679 | char4 __ovld __cnfn convert_char4_sat_rtp(double4); |
| 4680 | char4 __ovld __cnfn convert_char4_sat_rtz(double4); |
| 4681 | char8 __ovld __cnfn convert_char8(double8); |
| 4682 | char8 __ovld __cnfn convert_char8_rte(double8); |
| 4683 | char8 __ovld __cnfn convert_char8_rtn(double8); |
| 4684 | char8 __ovld __cnfn convert_char8_rtp(double8); |
| 4685 | char8 __ovld __cnfn convert_char8_rtz(double8); |
| 4686 | char8 __ovld __cnfn convert_char8_sat(double8); |
| 4687 | char8 __ovld __cnfn convert_char8_sat_rte(double8); |
| 4688 | char8 __ovld __cnfn convert_char8_sat_rtn(double8); |
| 4689 | char8 __ovld __cnfn convert_char8_sat_rtp(double8); |
| 4690 | char8 __ovld __cnfn convert_char8_sat_rtz(double8); |
| 4691 | char16 __ovld __cnfn convert_char16(double16); |
| 4692 | char16 __ovld __cnfn convert_char16_rte(double16); |
| 4693 | char16 __ovld __cnfn convert_char16_rtn(double16); |
| 4694 | char16 __ovld __cnfn convert_char16_rtp(double16); |
| 4695 | char16 __ovld __cnfn convert_char16_rtz(double16); |
| 4696 | char16 __ovld __cnfn convert_char16_sat(double16); |
| 4697 | char16 __ovld __cnfn convert_char16_sat_rte(double16); |
| 4698 | char16 __ovld __cnfn convert_char16_sat_rtn(double16); |
| 4699 | char16 __ovld __cnfn convert_char16_sat_rtp(double16); |
| 4700 | char16 __ovld __cnfn convert_char16_sat_rtz(double16); |
| 4701 | |
| 4702 | uchar __ovld __cnfn convert_uchar(double); |
| 4703 | uchar __ovld __cnfn convert_uchar_rte(double); |
| 4704 | uchar __ovld __cnfn convert_uchar_rtn(double); |
| 4705 | uchar __ovld __cnfn convert_uchar_rtp(double); |
| 4706 | uchar __ovld __cnfn convert_uchar_rtz(double); |
| 4707 | uchar __ovld __cnfn convert_uchar_sat(double); |
| 4708 | uchar __ovld __cnfn convert_uchar_sat_rte(double); |
| 4709 | uchar __ovld __cnfn convert_uchar_sat_rtn(double); |
| 4710 | uchar __ovld __cnfn convert_uchar_sat_rtp(double); |
| 4711 | uchar __ovld __cnfn convert_uchar_sat_rtz(double); |
| 4712 | uchar2 __ovld __cnfn convert_uchar2(double2); |
| 4713 | uchar2 __ovld __cnfn convert_uchar2_rte(double2); |
| 4714 | uchar2 __ovld __cnfn convert_uchar2_rtn(double2); |
| 4715 | uchar2 __ovld __cnfn convert_uchar2_rtp(double2); |
| 4716 | uchar2 __ovld __cnfn convert_uchar2_rtz(double2); |
| 4717 | uchar2 __ovld __cnfn convert_uchar2_sat(double2); |
| 4718 | uchar2 __ovld __cnfn convert_uchar2_sat_rte(double2); |
| 4719 | uchar2 __ovld __cnfn convert_uchar2_sat_rtn(double2); |
| 4720 | uchar2 __ovld __cnfn convert_uchar2_sat_rtp(double2); |
| 4721 | uchar2 __ovld __cnfn convert_uchar2_sat_rtz(double2); |
| 4722 | uchar3 __ovld __cnfn convert_uchar3(double3); |
| 4723 | uchar3 __ovld __cnfn convert_uchar3_rte(double3); |
| 4724 | uchar3 __ovld __cnfn convert_uchar3_rtn(double3); |
| 4725 | uchar3 __ovld __cnfn convert_uchar3_rtp(double3); |
| 4726 | uchar3 __ovld __cnfn convert_uchar3_rtz(double3); |
| 4727 | uchar3 __ovld __cnfn convert_uchar3_sat(double3); |
| 4728 | uchar3 __ovld __cnfn convert_uchar3_sat_rte(double3); |
| 4729 | uchar3 __ovld __cnfn convert_uchar3_sat_rtn(double3); |
| 4730 | uchar3 __ovld __cnfn convert_uchar3_sat_rtp(double3); |
| 4731 | uchar3 __ovld __cnfn convert_uchar3_sat_rtz(double3); |
| 4732 | uchar4 __ovld __cnfn convert_uchar4(double4); |
| 4733 | uchar4 __ovld __cnfn convert_uchar4_rte(double4); |
| 4734 | uchar4 __ovld __cnfn convert_uchar4_rtn(double4); |
| 4735 | uchar4 __ovld __cnfn convert_uchar4_rtp(double4); |
| 4736 | uchar4 __ovld __cnfn convert_uchar4_rtz(double4); |
| 4737 | uchar4 __ovld __cnfn convert_uchar4_sat(double4); |
| 4738 | uchar4 __ovld __cnfn convert_uchar4_sat_rte(double4); |
| 4739 | uchar4 __ovld __cnfn convert_uchar4_sat_rtn(double4); |
| 4740 | uchar4 __ovld __cnfn convert_uchar4_sat_rtp(double4); |
| 4741 | uchar4 __ovld __cnfn convert_uchar4_sat_rtz(double4); |
| 4742 | uchar8 __ovld __cnfn convert_uchar8(double8); |
| 4743 | uchar8 __ovld __cnfn convert_uchar8_rte(double8); |
| 4744 | uchar8 __ovld __cnfn convert_uchar8_rtn(double8); |
| 4745 | uchar8 __ovld __cnfn convert_uchar8_rtp(double8); |
| 4746 | uchar8 __ovld __cnfn convert_uchar8_rtz(double8); |
| 4747 | uchar8 __ovld __cnfn convert_uchar8_sat(double8); |
| 4748 | uchar8 __ovld __cnfn convert_uchar8_sat_rte(double8); |
| 4749 | uchar8 __ovld __cnfn convert_uchar8_sat_rtn(double8); |
| 4750 | uchar8 __ovld __cnfn convert_uchar8_sat_rtp(double8); |
| 4751 | uchar8 __ovld __cnfn convert_uchar8_sat_rtz(double8); |
| 4752 | uchar16 __ovld __cnfn convert_uchar16(double16); |
| 4753 | uchar16 __ovld __cnfn convert_uchar16_rte(double16); |
| 4754 | uchar16 __ovld __cnfn convert_uchar16_rtn(double16); |
| 4755 | uchar16 __ovld __cnfn convert_uchar16_rtp(double16); |
| 4756 | uchar16 __ovld __cnfn convert_uchar16_rtz(double16); |
| 4757 | uchar16 __ovld __cnfn convert_uchar16_sat(double16); |
| 4758 | uchar16 __ovld __cnfn convert_uchar16_sat_rte(double16); |
| 4759 | uchar16 __ovld __cnfn convert_uchar16_sat_rtn(double16); |
| 4760 | uchar16 __ovld __cnfn convert_uchar16_sat_rtp(double16); |
| 4761 | uchar16 __ovld __cnfn convert_uchar16_sat_rtz(double16); |
| 4762 | |
| 4763 | short __ovld __cnfn convert_short(double); |
| 4764 | short __ovld __cnfn convert_short_rte(double); |
| 4765 | short __ovld __cnfn convert_short_rtn(double); |
| 4766 | short __ovld __cnfn convert_short_rtp(double); |
| 4767 | short __ovld __cnfn convert_short_rtz(double); |
| 4768 | short __ovld __cnfn convert_short_sat(double); |
| 4769 | short __ovld __cnfn convert_short_sat_rte(double); |
| 4770 | short __ovld __cnfn convert_short_sat_rtn(double); |
| 4771 | short __ovld __cnfn convert_short_sat_rtp(double); |
| 4772 | short __ovld __cnfn convert_short_sat_rtz(double); |
| 4773 | short2 __ovld __cnfn convert_short2(double2); |
| 4774 | short2 __ovld __cnfn convert_short2_rte(double2); |
| 4775 | short2 __ovld __cnfn convert_short2_rtn(double2); |
| 4776 | short2 __ovld __cnfn convert_short2_rtp(double2); |
| 4777 | short2 __ovld __cnfn convert_short2_rtz(double2); |
| 4778 | short2 __ovld __cnfn convert_short2_sat(double2); |
| 4779 | short2 __ovld __cnfn convert_short2_sat_rte(double2); |
| 4780 | short2 __ovld __cnfn convert_short2_sat_rtn(double2); |
| 4781 | short2 __ovld __cnfn convert_short2_sat_rtp(double2); |
| 4782 | short2 __ovld __cnfn convert_short2_sat_rtz(double2); |
| 4783 | short3 __ovld __cnfn convert_short3(double3); |
| 4784 | short3 __ovld __cnfn convert_short3_rte(double3); |
| 4785 | short3 __ovld __cnfn convert_short3_rtn(double3); |
| 4786 | short3 __ovld __cnfn convert_short3_rtp(double3); |
| 4787 | short3 __ovld __cnfn convert_short3_rtz(double3); |
| 4788 | short3 __ovld __cnfn convert_short3_sat(double3); |
| 4789 | short3 __ovld __cnfn convert_short3_sat_rte(double3); |
| 4790 | short3 __ovld __cnfn convert_short3_sat_rtn(double3); |
| 4791 | short3 __ovld __cnfn convert_short3_sat_rtp(double3); |
| 4792 | short3 __ovld __cnfn convert_short3_sat_rtz(double3); |
| 4793 | short4 __ovld __cnfn convert_short4(double4); |
| 4794 | short4 __ovld __cnfn convert_short4_rte(double4); |
| 4795 | short4 __ovld __cnfn convert_short4_rtn(double4); |
| 4796 | short4 __ovld __cnfn convert_short4_rtp(double4); |
| 4797 | short4 __ovld __cnfn convert_short4_rtz(double4); |
| 4798 | short4 __ovld __cnfn convert_short4_sat(double4); |
| 4799 | short4 __ovld __cnfn convert_short4_sat_rte(double4); |
| 4800 | short4 __ovld __cnfn convert_short4_sat_rtn(double4); |
| 4801 | short4 __ovld __cnfn convert_short4_sat_rtp(double4); |
| 4802 | short4 __ovld __cnfn convert_short4_sat_rtz(double4); |
| 4803 | short8 __ovld __cnfn convert_short8(double8); |
| 4804 | short8 __ovld __cnfn convert_short8_rte(double8); |
| 4805 | short8 __ovld __cnfn convert_short8_rtn(double8); |
| 4806 | short8 __ovld __cnfn convert_short8_rtp(double8); |
| 4807 | short8 __ovld __cnfn convert_short8_rtz(double8); |
| 4808 | short8 __ovld __cnfn convert_short8_sat(double8); |
| 4809 | short8 __ovld __cnfn convert_short8_sat_rte(double8); |
| 4810 | short8 __ovld __cnfn convert_short8_sat_rtn(double8); |
| 4811 | short8 __ovld __cnfn convert_short8_sat_rtp(double8); |
| 4812 | short8 __ovld __cnfn convert_short8_sat_rtz(double8); |
| 4813 | short16 __ovld __cnfn convert_short16(double16); |
| 4814 | short16 __ovld __cnfn convert_short16_rte(double16); |
| 4815 | short16 __ovld __cnfn convert_short16_rtn(double16); |
| 4816 | short16 __ovld __cnfn convert_short16_rtp(double16); |
| 4817 | short16 __ovld __cnfn convert_short16_rtz(double16); |
| 4818 | short16 __ovld __cnfn convert_short16_sat(double16); |
| 4819 | short16 __ovld __cnfn convert_short16_sat_rte(double16); |
| 4820 | short16 __ovld __cnfn convert_short16_sat_rtn(double16); |
| 4821 | short16 __ovld __cnfn convert_short16_sat_rtp(double16); |
| 4822 | short16 __ovld __cnfn convert_short16_sat_rtz(double16); |
| 4823 | |
| 4824 | ushort __ovld __cnfn convert_ushort(double); |
| 4825 | ushort __ovld __cnfn convert_ushort_rte(double); |
| 4826 | ushort __ovld __cnfn convert_ushort_rtn(double); |
| 4827 | ushort __ovld __cnfn convert_ushort_rtp(double); |
| 4828 | ushort __ovld __cnfn convert_ushort_rtz(double); |
| 4829 | ushort __ovld __cnfn convert_ushort_sat(double); |
| 4830 | ushort __ovld __cnfn convert_ushort_sat_rte(double); |
| 4831 | ushort __ovld __cnfn convert_ushort_sat_rtn(double); |
| 4832 | ushort __ovld __cnfn convert_ushort_sat_rtp(double); |
| 4833 | ushort __ovld __cnfn convert_ushort_sat_rtz(double); |
| 4834 | ushort2 __ovld __cnfn convert_ushort2(double2); |
| 4835 | ushort2 __ovld __cnfn convert_ushort2_rte(double2); |
| 4836 | ushort2 __ovld __cnfn convert_ushort2_rtn(double2); |
| 4837 | ushort2 __ovld __cnfn convert_ushort2_rtp(double2); |
| 4838 | ushort2 __ovld __cnfn convert_ushort2_rtz(double2); |
| 4839 | ushort2 __ovld __cnfn convert_ushort2_sat(double2); |
| 4840 | ushort2 __ovld __cnfn convert_ushort2_sat_rte(double2); |
| 4841 | ushort2 __ovld __cnfn convert_ushort2_sat_rtn(double2); |
| 4842 | ushort2 __ovld __cnfn convert_ushort2_sat_rtp(double2); |
| 4843 | ushort2 __ovld __cnfn convert_ushort2_sat_rtz(double2); |
| 4844 | ushort3 __ovld __cnfn convert_ushort3(double3); |
| 4845 | ushort3 __ovld __cnfn convert_ushort3_rte(double3); |
| 4846 | ushort3 __ovld __cnfn convert_ushort3_rtn(double3); |
| 4847 | ushort3 __ovld __cnfn convert_ushort3_rtp(double3); |
| 4848 | ushort3 __ovld __cnfn convert_ushort3_rtz(double3); |
| 4849 | ushort3 __ovld __cnfn convert_ushort3_sat(double3); |
| 4850 | ushort3 __ovld __cnfn convert_ushort3_sat_rte(double3); |
| 4851 | ushort3 __ovld __cnfn convert_ushort3_sat_rtn(double3); |
| 4852 | ushort3 __ovld __cnfn convert_ushort3_sat_rtp(double3); |
| 4853 | ushort3 __ovld __cnfn convert_ushort3_sat_rtz(double3); |
| 4854 | ushort4 __ovld __cnfn convert_ushort4(double4); |
| 4855 | ushort4 __ovld __cnfn convert_ushort4_rte(double4); |
| 4856 | ushort4 __ovld __cnfn convert_ushort4_rtn(double4); |
| 4857 | ushort4 __ovld __cnfn convert_ushort4_rtp(double4); |
| 4858 | ushort4 __ovld __cnfn convert_ushort4_rtz(double4); |
| 4859 | ushort4 __ovld __cnfn convert_ushort4_sat(double4); |
| 4860 | ushort4 __ovld __cnfn convert_ushort4_sat_rte(double4); |
| 4861 | ushort4 __ovld __cnfn convert_ushort4_sat_rtn(double4); |
| 4862 | ushort4 __ovld __cnfn convert_ushort4_sat_rtp(double4); |
| 4863 | ushort4 __ovld __cnfn convert_ushort4_sat_rtz(double4); |
| 4864 | ushort8 __ovld __cnfn convert_ushort8(double8); |
| 4865 | ushort8 __ovld __cnfn convert_ushort8_rte(double8); |
| 4866 | ushort8 __ovld __cnfn convert_ushort8_rtn(double8); |
| 4867 | ushort8 __ovld __cnfn convert_ushort8_rtp(double8); |
| 4868 | ushort8 __ovld __cnfn convert_ushort8_rtz(double8); |
| 4869 | ushort8 __ovld __cnfn convert_ushort8_sat(double8); |
| 4870 | ushort8 __ovld __cnfn convert_ushort8_sat_rte(double8); |
| 4871 | ushort8 __ovld __cnfn convert_ushort8_sat_rtn(double8); |
| 4872 | ushort8 __ovld __cnfn convert_ushort8_sat_rtp(double8); |
| 4873 | ushort8 __ovld __cnfn convert_ushort8_sat_rtz(double8); |
| 4874 | ushort16 __ovld __cnfn convert_ushort16(double16); |
| 4875 | ushort16 __ovld __cnfn convert_ushort16_rte(double16); |
| 4876 | ushort16 __ovld __cnfn convert_ushort16_rtn(double16); |
| 4877 | ushort16 __ovld __cnfn convert_ushort16_rtp(double16); |
| 4878 | ushort16 __ovld __cnfn convert_ushort16_rtz(double16); |
| 4879 | ushort16 __ovld __cnfn convert_ushort16_sat(double16); |
| 4880 | ushort16 __ovld __cnfn convert_ushort16_sat_rte(double16); |
| 4881 | ushort16 __ovld __cnfn convert_ushort16_sat_rtn(double16); |
| 4882 | ushort16 __ovld __cnfn convert_ushort16_sat_rtp(double16); |
| 4883 | ushort16 __ovld __cnfn convert_ushort16_sat_rtz(double16); |
| 4884 | |
| 4885 | int __ovld __cnfn convert_int(double); |
| 4886 | int __ovld __cnfn convert_int_rte(double); |
| 4887 | int __ovld __cnfn convert_int_rtn(double); |
| 4888 | int __ovld __cnfn convert_int_rtp(double); |
| 4889 | int __ovld __cnfn convert_int_rtz(double); |
| 4890 | int __ovld __cnfn convert_int_sat(double); |
| 4891 | int __ovld __cnfn convert_int_sat_rte(double); |
| 4892 | int __ovld __cnfn convert_int_sat_rtn(double); |
| 4893 | int __ovld __cnfn convert_int_sat_rtp(double); |
| 4894 | int __ovld __cnfn convert_int_sat_rtz(double); |
| 4895 | int2 __ovld __cnfn convert_int2(double2); |
| 4896 | int2 __ovld __cnfn convert_int2_rte(double2); |
| 4897 | int2 __ovld __cnfn convert_int2_rtn(double2); |
| 4898 | int2 __ovld __cnfn convert_int2_rtp(double2); |
| 4899 | int2 __ovld __cnfn convert_int2_rtz(double2); |
| 4900 | int2 __ovld __cnfn convert_int2_sat(double2); |
| 4901 | int2 __ovld __cnfn convert_int2_sat_rte(double2); |
| 4902 | int2 __ovld __cnfn convert_int2_sat_rtn(double2); |
| 4903 | int2 __ovld __cnfn convert_int2_sat_rtp(double2); |
| 4904 | int2 __ovld __cnfn convert_int2_sat_rtz(double2); |
| 4905 | int3 __ovld __cnfn convert_int3(double3); |
| 4906 | int3 __ovld __cnfn convert_int3_rte(double3); |
| 4907 | int3 __ovld __cnfn convert_int3_rtn(double3); |
| 4908 | int3 __ovld __cnfn convert_int3_rtp(double3); |
| 4909 | int3 __ovld __cnfn convert_int3_rtz(double3); |
| 4910 | int3 __ovld __cnfn convert_int3_sat(double3); |
| 4911 | int3 __ovld __cnfn convert_int3_sat_rte(double3); |
| 4912 | int3 __ovld __cnfn convert_int3_sat_rtn(double3); |
| 4913 | int3 __ovld __cnfn convert_int3_sat_rtp(double3); |
| 4914 | int3 __ovld __cnfn convert_int3_sat_rtz(double3); |
| 4915 | int4 __ovld __cnfn convert_int4(double4); |
| 4916 | int4 __ovld __cnfn convert_int4_rte(double4); |
| 4917 | int4 __ovld __cnfn convert_int4_rtn(double4); |
| 4918 | int4 __ovld __cnfn convert_int4_rtp(double4); |
| 4919 | int4 __ovld __cnfn convert_int4_rtz(double4); |
| 4920 | int4 __ovld __cnfn convert_int4_sat(double4); |
| 4921 | int4 __ovld __cnfn convert_int4_sat_rte(double4); |
| 4922 | int4 __ovld __cnfn convert_int4_sat_rtn(double4); |
| 4923 | int4 __ovld __cnfn convert_int4_sat_rtp(double4); |
| 4924 | int4 __ovld __cnfn convert_int4_sat_rtz(double4); |
| 4925 | int8 __ovld __cnfn convert_int8(double8); |
| 4926 | int8 __ovld __cnfn convert_int8_rte(double8); |
| 4927 | int8 __ovld __cnfn convert_int8_rtn(double8); |
| 4928 | int8 __ovld __cnfn convert_int8_rtp(double8); |
| 4929 | int8 __ovld __cnfn convert_int8_rtz(double8); |
| 4930 | int8 __ovld __cnfn convert_int8_sat(double8); |
| 4931 | int8 __ovld __cnfn convert_int8_sat_rte(double8); |
| 4932 | int8 __ovld __cnfn convert_int8_sat_rtn(double8); |
| 4933 | int8 __ovld __cnfn convert_int8_sat_rtp(double8); |
| 4934 | int8 __ovld __cnfn convert_int8_sat_rtz(double8); |
| 4935 | int16 __ovld __cnfn convert_int16(double16); |
| 4936 | int16 __ovld __cnfn convert_int16_rte(double16); |
| 4937 | int16 __ovld __cnfn convert_int16_rtn(double16); |
| 4938 | int16 __ovld __cnfn convert_int16_rtp(double16); |
| 4939 | int16 __ovld __cnfn convert_int16_rtz(double16); |
| 4940 | int16 __ovld __cnfn convert_int16_sat(double16); |
| 4941 | int16 __ovld __cnfn convert_int16_sat_rte(double16); |
| 4942 | int16 __ovld __cnfn convert_int16_sat_rtn(double16); |
| 4943 | int16 __ovld __cnfn convert_int16_sat_rtp(double16); |
| 4944 | int16 __ovld __cnfn convert_int16_sat_rtz(double16); |
| 4945 | |
| 4946 | uint __ovld __cnfn convert_uint(double); |
| 4947 | uint __ovld __cnfn convert_uint_rte(double); |
| 4948 | uint __ovld __cnfn convert_uint_rtn(double); |
| 4949 | uint __ovld __cnfn convert_uint_rtp(double); |
| 4950 | uint __ovld __cnfn convert_uint_rtz(double); |
| 4951 | uint __ovld __cnfn convert_uint_sat(double); |
| 4952 | uint __ovld __cnfn convert_uint_sat_rte(double); |
| 4953 | uint __ovld __cnfn convert_uint_sat_rtn(double); |
| 4954 | uint __ovld __cnfn convert_uint_sat_rtp(double); |
| 4955 | uint __ovld __cnfn convert_uint_sat_rtz(double); |
| 4956 | uint2 __ovld __cnfn convert_uint2(double2); |
| 4957 | uint2 __ovld __cnfn convert_uint2_rte(double2); |
| 4958 | uint2 __ovld __cnfn convert_uint2_rtn(double2); |
| 4959 | uint2 __ovld __cnfn convert_uint2_rtp(double2); |
| 4960 | uint2 __ovld __cnfn convert_uint2_rtz(double2); |
| 4961 | uint2 __ovld __cnfn convert_uint2_sat(double2); |
| 4962 | uint2 __ovld __cnfn convert_uint2_sat_rte(double2); |
| 4963 | uint2 __ovld __cnfn convert_uint2_sat_rtn(double2); |
| 4964 | uint2 __ovld __cnfn convert_uint2_sat_rtp(double2); |
| 4965 | uint2 __ovld __cnfn convert_uint2_sat_rtz(double2); |
| 4966 | uint3 __ovld __cnfn convert_uint3(double3); |
| 4967 | uint3 __ovld __cnfn convert_uint3_rte(double3); |
| 4968 | uint3 __ovld __cnfn convert_uint3_rtn(double3); |
| 4969 | uint3 __ovld __cnfn convert_uint3_rtp(double3); |
| 4970 | uint3 __ovld __cnfn convert_uint3_rtz(double3); |
| 4971 | uint3 __ovld __cnfn convert_uint3_sat(double3); |
| 4972 | uint3 __ovld __cnfn convert_uint3_sat_rte(double3); |
| 4973 | uint3 __ovld __cnfn convert_uint3_sat_rtn(double3); |
| 4974 | uint3 __ovld __cnfn convert_uint3_sat_rtp(double3); |
| 4975 | uint3 __ovld __cnfn convert_uint3_sat_rtz(double3); |
| 4976 | uint4 __ovld __cnfn convert_uint4(double4); |
| 4977 | uint4 __ovld __cnfn convert_uint4_rte(double4); |
| 4978 | uint4 __ovld __cnfn convert_uint4_rtn(double4); |
| 4979 | uint4 __ovld __cnfn convert_uint4_rtp(double4); |
| 4980 | uint4 __ovld __cnfn convert_uint4_rtz(double4); |
| 4981 | uint4 __ovld __cnfn convert_uint4_sat(double4); |
| 4982 | uint4 __ovld __cnfn convert_uint4_sat_rte(double4); |
| 4983 | uint4 __ovld __cnfn convert_uint4_sat_rtn(double4); |
| 4984 | uint4 __ovld __cnfn convert_uint4_sat_rtp(double4); |
| 4985 | uint4 __ovld __cnfn convert_uint4_sat_rtz(double4); |
| 4986 | uint8 __ovld __cnfn convert_uint8(double8); |
| 4987 | uint8 __ovld __cnfn convert_uint8_rte(double8); |
| 4988 | uint8 __ovld __cnfn convert_uint8_rtn(double8); |
| 4989 | uint8 __ovld __cnfn convert_uint8_rtp(double8); |
| 4990 | uint8 __ovld __cnfn convert_uint8_rtz(double8); |
| 4991 | uint8 __ovld __cnfn convert_uint8_sat(double8); |
| 4992 | uint8 __ovld __cnfn convert_uint8_sat_rte(double8); |
| 4993 | uint8 __ovld __cnfn convert_uint8_sat_rtn(double8); |
| 4994 | uint8 __ovld __cnfn convert_uint8_sat_rtp(double8); |
| 4995 | uint8 __ovld __cnfn convert_uint8_sat_rtz(double8); |
| 4996 | uint16 __ovld __cnfn convert_uint16(double16); |
| 4997 | uint16 __ovld __cnfn convert_uint16_rte(double16); |
| 4998 | uint16 __ovld __cnfn convert_uint16_rtn(double16); |
| 4999 | uint16 __ovld __cnfn convert_uint16_rtp(double16); |
| 5000 | uint16 __ovld __cnfn convert_uint16_rtz(double16); |
| 5001 | uint16 __ovld __cnfn convert_uint16_sat(double16); |
| 5002 | uint16 __ovld __cnfn convert_uint16_sat_rte(double16); |
| 5003 | uint16 __ovld __cnfn convert_uint16_sat_rtn(double16); |
| 5004 | uint16 __ovld __cnfn convert_uint16_sat_rtp(double16); |
| 5005 | uint16 __ovld __cnfn convert_uint16_sat_rtz(double16); |
| 5006 | |
| 5007 | long __ovld __cnfn convert_long(double); |
| 5008 | long __ovld __cnfn convert_long_rte(double); |
| 5009 | long __ovld __cnfn convert_long_rtn(double); |
| 5010 | long __ovld __cnfn convert_long_rtp(double); |
| 5011 | long __ovld __cnfn convert_long_rtz(double); |
| 5012 | long __ovld __cnfn convert_long_sat(double); |
| 5013 | long __ovld __cnfn convert_long_sat_rte(double); |
| 5014 | long __ovld __cnfn convert_long_sat_rtn(double); |
| 5015 | long __ovld __cnfn convert_long_sat_rtp(double); |
| 5016 | long __ovld __cnfn convert_long_sat_rtz(double); |
| 5017 | long2 __ovld __cnfn convert_long2(double2); |
| 5018 | long2 __ovld __cnfn convert_long2_rte(double2); |
| 5019 | long2 __ovld __cnfn convert_long2_rtn(double2); |
| 5020 | long2 __ovld __cnfn convert_long2_rtp(double2); |
| 5021 | long2 __ovld __cnfn convert_long2_rtz(double2); |
| 5022 | long2 __ovld __cnfn convert_long2_sat(double2); |
| 5023 | long2 __ovld __cnfn convert_long2_sat_rte(double2); |
| 5024 | long2 __ovld __cnfn convert_long2_sat_rtn(double2); |
| 5025 | long2 __ovld __cnfn convert_long2_sat_rtp(double2); |
| 5026 | long2 __ovld __cnfn convert_long2_sat_rtz(double2); |
| 5027 | long3 __ovld __cnfn convert_long3(double3); |
| 5028 | long3 __ovld __cnfn convert_long3_rte(double3); |
| 5029 | long3 __ovld __cnfn convert_long3_rtn(double3); |
| 5030 | long3 __ovld __cnfn convert_long3_rtp(double3); |
| 5031 | long3 __ovld __cnfn convert_long3_rtz(double3); |
| 5032 | long3 __ovld __cnfn convert_long3_sat(double3); |
| 5033 | long3 __ovld __cnfn convert_long3_sat_rte(double3); |
| 5034 | long3 __ovld __cnfn convert_long3_sat_rtn(double3); |
| 5035 | long3 __ovld __cnfn convert_long3_sat_rtp(double3); |
| 5036 | long3 __ovld __cnfn convert_long3_sat_rtz(double3); |
| 5037 | long4 __ovld __cnfn convert_long4(double4); |
| 5038 | long4 __ovld __cnfn convert_long4_rte(double4); |
| 5039 | long4 __ovld __cnfn convert_long4_rtn(double4); |
| 5040 | long4 __ovld __cnfn convert_long4_rtp(double4); |
| 5041 | long4 __ovld __cnfn convert_long4_rtz(double4); |
| 5042 | long4 __ovld __cnfn convert_long4_sat(double4); |
| 5043 | long4 __ovld __cnfn convert_long4_sat_rte(double4); |
| 5044 | long4 __ovld __cnfn convert_long4_sat_rtn(double4); |
| 5045 | long4 __ovld __cnfn convert_long4_sat_rtp(double4); |
| 5046 | long4 __ovld __cnfn convert_long4_sat_rtz(double4); |
| 5047 | long8 __ovld __cnfn convert_long8(double8); |
| 5048 | long8 __ovld __cnfn convert_long8_rte(double8); |
| 5049 | long8 __ovld __cnfn convert_long8_rtn(double8); |
| 5050 | long8 __ovld __cnfn convert_long8_rtp(double8); |
| 5051 | long8 __ovld __cnfn convert_long8_rtz(double8); |
| 5052 | long8 __ovld __cnfn convert_long8_sat(double8); |
| 5053 | long8 __ovld __cnfn convert_long8_sat_rte(double8); |
| 5054 | long8 __ovld __cnfn convert_long8_sat_rtn(double8); |
| 5055 | long8 __ovld __cnfn convert_long8_sat_rtp(double8); |
| 5056 | long8 __ovld __cnfn convert_long8_sat_rtz(double8); |
| 5057 | long16 __ovld __cnfn convert_long16(double16); |
| 5058 | long16 __ovld __cnfn convert_long16_rte(double16); |
| 5059 | long16 __ovld __cnfn convert_long16_rtn(double16); |
| 5060 | long16 __ovld __cnfn convert_long16_rtp(double16); |
| 5061 | long16 __ovld __cnfn convert_long16_rtz(double16); |
| 5062 | long16 __ovld __cnfn convert_long16_sat(double16); |
| 5063 | long16 __ovld __cnfn convert_long16_sat_rte(double16); |
| 5064 | long16 __ovld __cnfn convert_long16_sat_rtn(double16); |
| 5065 | long16 __ovld __cnfn convert_long16_sat_rtp(double16); |
| 5066 | long16 __ovld __cnfn convert_long16_sat_rtz(double16); |
| 5067 | |
| 5068 | ulong __ovld __cnfn convert_ulong(double); |
| 5069 | ulong __ovld __cnfn convert_ulong_rte(double); |
| 5070 | ulong __ovld __cnfn convert_ulong_rtn(double); |
| 5071 | ulong __ovld __cnfn convert_ulong_rtp(double); |
| 5072 | ulong __ovld __cnfn convert_ulong_rtz(double); |
| 5073 | ulong __ovld __cnfn convert_ulong_sat(double); |
| 5074 | ulong __ovld __cnfn convert_ulong_sat_rte(double); |
| 5075 | ulong __ovld __cnfn convert_ulong_sat_rtn(double); |
| 5076 | ulong __ovld __cnfn convert_ulong_sat_rtp(double); |
| 5077 | ulong __ovld __cnfn convert_ulong_sat_rtz(double); |
| 5078 | ulong2 __ovld __cnfn convert_ulong2(double2); |
| 5079 | ulong2 __ovld __cnfn convert_ulong2_rte(double2); |
| 5080 | ulong2 __ovld __cnfn convert_ulong2_rtn(double2); |
| 5081 | ulong2 __ovld __cnfn convert_ulong2_rtp(double2); |
| 5082 | ulong2 __ovld __cnfn convert_ulong2_rtz(double2); |
| 5083 | ulong2 __ovld __cnfn convert_ulong2_sat(double2); |
| 5084 | ulong2 __ovld __cnfn convert_ulong2_sat_rte(double2); |
| 5085 | ulong2 __ovld __cnfn convert_ulong2_sat_rtn(double2); |
| 5086 | ulong2 __ovld __cnfn convert_ulong2_sat_rtp(double2); |
| 5087 | ulong2 __ovld __cnfn convert_ulong2_sat_rtz(double2); |
| 5088 | ulong3 __ovld __cnfn convert_ulong3(double3); |
| 5089 | ulong3 __ovld __cnfn convert_ulong3_rte(double3); |
| 5090 | ulong3 __ovld __cnfn convert_ulong3_rtn(double3); |
| 5091 | ulong3 __ovld __cnfn convert_ulong3_rtp(double3); |
| 5092 | ulong3 __ovld __cnfn convert_ulong3_rtz(double3); |
| 5093 | ulong3 __ovld __cnfn convert_ulong3_sat(double3); |
| 5094 | ulong3 __ovld __cnfn convert_ulong3_sat_rte(double3); |
| 5095 | ulong3 __ovld __cnfn convert_ulong3_sat_rtn(double3); |
| 5096 | ulong3 __ovld __cnfn convert_ulong3_sat_rtp(double3); |
| 5097 | ulong3 __ovld __cnfn convert_ulong3_sat_rtz(double3); |
| 5098 | ulong4 __ovld __cnfn convert_ulong4(double4); |
| 5099 | ulong4 __ovld __cnfn convert_ulong4_rte(double4); |
| 5100 | ulong4 __ovld __cnfn convert_ulong4_rtn(double4); |
| 5101 | ulong4 __ovld __cnfn convert_ulong4_rtp(double4); |
| 5102 | ulong4 __ovld __cnfn convert_ulong4_rtz(double4); |
| 5103 | ulong4 __ovld __cnfn convert_ulong4_sat(double4); |
| 5104 | ulong4 __ovld __cnfn convert_ulong4_sat_rte(double4); |
| 5105 | ulong4 __ovld __cnfn convert_ulong4_sat_rtn(double4); |
| 5106 | ulong4 __ovld __cnfn convert_ulong4_sat_rtp(double4); |
| 5107 | ulong4 __ovld __cnfn convert_ulong4_sat_rtz(double4); |
| 5108 | ulong8 __ovld __cnfn convert_ulong8(double8); |
| 5109 | ulong8 __ovld __cnfn convert_ulong8_rte(double8); |
| 5110 | ulong8 __ovld __cnfn convert_ulong8_rtn(double8); |
| 5111 | ulong8 __ovld __cnfn convert_ulong8_rtp(double8); |
| 5112 | ulong8 __ovld __cnfn convert_ulong8_rtz(double8); |
| 5113 | ulong8 __ovld __cnfn convert_ulong8_sat(double8); |
| 5114 | ulong8 __ovld __cnfn convert_ulong8_sat_rte(double8); |
| 5115 | ulong8 __ovld __cnfn convert_ulong8_sat_rtn(double8); |
| 5116 | ulong8 __ovld __cnfn convert_ulong8_sat_rtp(double8); |
| 5117 | ulong8 __ovld __cnfn convert_ulong8_sat_rtz(double8); |
| 5118 | ulong16 __ovld __cnfn convert_ulong16(double16); |
| 5119 | ulong16 __ovld __cnfn convert_ulong16_rte(double16); |
| 5120 | ulong16 __ovld __cnfn convert_ulong16_rtn(double16); |
| 5121 | ulong16 __ovld __cnfn convert_ulong16_rtp(double16); |
| 5122 | ulong16 __ovld __cnfn convert_ulong16_rtz(double16); |
| 5123 | ulong16 __ovld __cnfn convert_ulong16_sat(double16); |
| 5124 | ulong16 __ovld __cnfn convert_ulong16_sat_rte(double16); |
| 5125 | ulong16 __ovld __cnfn convert_ulong16_sat_rtn(double16); |
| 5126 | ulong16 __ovld __cnfn convert_ulong16_sat_rtp(double16); |
| 5127 | ulong16 __ovld __cnfn convert_ulong16_sat_rtz(double16); |
| 5128 | |
| 5129 | float __ovld __cnfn convert_float(double); |
| 5130 | float __ovld __cnfn convert_float_rte(double); |
| 5131 | float __ovld __cnfn convert_float_rtn(double); |
| 5132 | float __ovld __cnfn convert_float_rtp(double); |
| 5133 | float __ovld __cnfn convert_float_rtz(double); |
| 5134 | float2 __ovld __cnfn convert_float2(double2); |
| 5135 | float2 __ovld __cnfn convert_float2_rte(double2); |
| 5136 | float2 __ovld __cnfn convert_float2_rtn(double2); |
| 5137 | float2 __ovld __cnfn convert_float2_rtp(double2); |
| 5138 | float2 __ovld __cnfn convert_float2_rtz(double2); |
| 5139 | float3 __ovld __cnfn convert_float3(double3); |
| 5140 | float3 __ovld __cnfn convert_float3_rte(double3); |
| 5141 | float3 __ovld __cnfn convert_float3_rtn(double3); |
| 5142 | float3 __ovld __cnfn convert_float3_rtp(double3); |
| 5143 | float3 __ovld __cnfn convert_float3_rtz(double3); |
| 5144 | float4 __ovld __cnfn convert_float4(double4); |
| 5145 | float4 __ovld __cnfn convert_float4_rte(double4); |
| 5146 | float4 __ovld __cnfn convert_float4_rtn(double4); |
| 5147 | float4 __ovld __cnfn convert_float4_rtp(double4); |
| 5148 | float4 __ovld __cnfn convert_float4_rtz(double4); |
| 5149 | float8 __ovld __cnfn convert_float8(double8); |
| 5150 | float8 __ovld __cnfn convert_float8_rte(double8); |
| 5151 | float8 __ovld __cnfn convert_float8_rtn(double8); |
| 5152 | float8 __ovld __cnfn convert_float8_rtp(double8); |
| 5153 | float8 __ovld __cnfn convert_float8_rtz(double8); |
| 5154 | float16 __ovld __cnfn convert_float16(double16); |
| 5155 | float16 __ovld __cnfn convert_float16_rte(double16); |
| 5156 | float16 __ovld __cnfn convert_float16_rtn(double16); |
| 5157 | float16 __ovld __cnfn convert_float16_rtp(double16); |
| 5158 | float16 __ovld __cnfn convert_float16_rtz(double16); |
| 5159 | |
| 5160 | double __ovld __cnfn convert_double(char); |
| 5161 | double __ovld __cnfn convert_double(double); |
| 5162 | double __ovld __cnfn convert_double(float); |
| 5163 | double __ovld __cnfn convert_double(int); |
| 5164 | double __ovld __cnfn convert_double(long); |
| 5165 | double __ovld __cnfn convert_double(short); |
| 5166 | double __ovld __cnfn convert_double(uchar); |
| 5167 | double __ovld __cnfn convert_double(uint); |
| 5168 | double __ovld __cnfn convert_double(ulong); |
| 5169 | double __ovld __cnfn convert_double(ushort); |
| 5170 | double __ovld __cnfn convert_double_rte(char); |
| 5171 | double __ovld __cnfn convert_double_rte(double); |
| 5172 | double __ovld __cnfn convert_double_rte(float); |
| 5173 | double __ovld __cnfn convert_double_rte(int); |
| 5174 | double __ovld __cnfn convert_double_rte(long); |
| 5175 | double __ovld __cnfn convert_double_rte(short); |
| 5176 | double __ovld __cnfn convert_double_rte(uchar); |
| 5177 | double __ovld __cnfn convert_double_rte(uint); |
| 5178 | double __ovld __cnfn convert_double_rte(ulong); |
| 5179 | double __ovld __cnfn convert_double_rte(ushort); |
| 5180 | double __ovld __cnfn convert_double_rtn(char); |
| 5181 | double __ovld __cnfn convert_double_rtn(double); |
| 5182 | double __ovld __cnfn convert_double_rtn(float); |
| 5183 | double __ovld __cnfn convert_double_rtn(int); |
| 5184 | double __ovld __cnfn convert_double_rtn(long); |
| 5185 | double __ovld __cnfn convert_double_rtn(short); |
| 5186 | double __ovld __cnfn convert_double_rtn(uchar); |
| 5187 | double __ovld __cnfn convert_double_rtn(uint); |
| 5188 | double __ovld __cnfn convert_double_rtn(ulong); |
| 5189 | double __ovld __cnfn convert_double_rtn(ushort); |
| 5190 | double __ovld __cnfn convert_double_rtp(char); |
| 5191 | double __ovld __cnfn convert_double_rtp(double); |
| 5192 | double __ovld __cnfn convert_double_rtp(float); |
| 5193 | double __ovld __cnfn convert_double_rtp(int); |
| 5194 | double __ovld __cnfn convert_double_rtp(long); |
| 5195 | double __ovld __cnfn convert_double_rtp(short); |
| 5196 | double __ovld __cnfn convert_double_rtp(uchar); |
| 5197 | double __ovld __cnfn convert_double_rtp(uint); |
| 5198 | double __ovld __cnfn convert_double_rtp(ulong); |
| 5199 | double __ovld __cnfn convert_double_rtp(ushort); |
| 5200 | double __ovld __cnfn convert_double_rtz(char); |
| 5201 | double __ovld __cnfn convert_double_rtz(double); |
| 5202 | double __ovld __cnfn convert_double_rtz(float); |
| 5203 | double __ovld __cnfn convert_double_rtz(int); |
| 5204 | double __ovld __cnfn convert_double_rtz(long); |
| 5205 | double __ovld __cnfn convert_double_rtz(short); |
| 5206 | double __ovld __cnfn convert_double_rtz(uchar); |
| 5207 | double __ovld __cnfn convert_double_rtz(uint); |
| 5208 | double __ovld __cnfn convert_double_rtz(ulong); |
| 5209 | double __ovld __cnfn convert_double_rtz(ushort); |
| 5210 | double2 __ovld __cnfn convert_double2(char2); |
| 5211 | double2 __ovld __cnfn convert_double2(double2); |
| 5212 | double2 __ovld __cnfn convert_double2(float2); |
| 5213 | double2 __ovld __cnfn convert_double2(int2); |
| 5214 | double2 __ovld __cnfn convert_double2(long2); |
| 5215 | double2 __ovld __cnfn convert_double2(short2); |
| 5216 | double2 __ovld __cnfn convert_double2(uchar2); |
| 5217 | double2 __ovld __cnfn convert_double2(uint2); |
| 5218 | double2 __ovld __cnfn convert_double2(ulong2); |
| 5219 | double2 __ovld __cnfn convert_double2(ushort2); |
| 5220 | double2 __ovld __cnfn convert_double2_rte(char2); |
| 5221 | double2 __ovld __cnfn convert_double2_rte(double2); |
| 5222 | double2 __ovld __cnfn convert_double2_rte(float2); |
| 5223 | double2 __ovld __cnfn convert_double2_rte(int2); |
| 5224 | double2 __ovld __cnfn convert_double2_rte(long2); |
| 5225 | double2 __ovld __cnfn convert_double2_rte(short2); |
| 5226 | double2 __ovld __cnfn convert_double2_rte(uchar2); |
| 5227 | double2 __ovld __cnfn convert_double2_rte(uint2); |
| 5228 | double2 __ovld __cnfn convert_double2_rte(ulong2); |
| 5229 | double2 __ovld __cnfn convert_double2_rte(ushort2); |
| 5230 | double2 __ovld __cnfn convert_double2_rtn(char2); |
| 5231 | double2 __ovld __cnfn convert_double2_rtn(double2); |
| 5232 | double2 __ovld __cnfn convert_double2_rtn(float2); |
| 5233 | double2 __ovld __cnfn convert_double2_rtn(int2); |
| 5234 | double2 __ovld __cnfn convert_double2_rtn(long2); |
| 5235 | double2 __ovld __cnfn convert_double2_rtn(short2); |
| 5236 | double2 __ovld __cnfn convert_double2_rtn(uchar2); |
| 5237 | double2 __ovld __cnfn convert_double2_rtn(uint2); |
| 5238 | double2 __ovld __cnfn convert_double2_rtn(ulong2); |
| 5239 | double2 __ovld __cnfn convert_double2_rtn(ushort2); |
| 5240 | double2 __ovld __cnfn convert_double2_rtp(char2); |
| 5241 | double2 __ovld __cnfn convert_double2_rtp(double2); |
| 5242 | double2 __ovld __cnfn convert_double2_rtp(float2); |
| 5243 | double2 __ovld __cnfn convert_double2_rtp(int2); |
| 5244 | double2 __ovld __cnfn convert_double2_rtp(long2); |
| 5245 | double2 __ovld __cnfn convert_double2_rtp(short2); |
| 5246 | double2 __ovld __cnfn convert_double2_rtp(uchar2); |
| 5247 | double2 __ovld __cnfn convert_double2_rtp(uint2); |
| 5248 | double2 __ovld __cnfn convert_double2_rtp(ulong2); |
| 5249 | double2 __ovld __cnfn convert_double2_rtp(ushort2); |
| 5250 | double2 __ovld __cnfn convert_double2_rtz(char2); |
| 5251 | double2 __ovld __cnfn convert_double2_rtz(double2); |
| 5252 | double2 __ovld __cnfn convert_double2_rtz(float2); |
| 5253 | double2 __ovld __cnfn convert_double2_rtz(int2); |
| 5254 | double2 __ovld __cnfn convert_double2_rtz(long2); |
| 5255 | double2 __ovld __cnfn convert_double2_rtz(short2); |
| 5256 | double2 __ovld __cnfn convert_double2_rtz(uchar2); |
| 5257 | double2 __ovld __cnfn convert_double2_rtz(uint2); |
| 5258 | double2 __ovld __cnfn convert_double2_rtz(ulong2); |
| 5259 | double2 __ovld __cnfn convert_double2_rtz(ushort2); |
| 5260 | double3 __ovld __cnfn convert_double3(char3); |
| 5261 | double3 __ovld __cnfn convert_double3(double3); |
| 5262 | double3 __ovld __cnfn convert_double3(float3); |
| 5263 | double3 __ovld __cnfn convert_double3(int3); |
| 5264 | double3 __ovld __cnfn convert_double3(long3); |
| 5265 | double3 __ovld __cnfn convert_double3(short3); |
| 5266 | double3 __ovld __cnfn convert_double3(uchar3); |
| 5267 | double3 __ovld __cnfn convert_double3(uint3); |
| 5268 | double3 __ovld __cnfn convert_double3(ulong3); |
| 5269 | double3 __ovld __cnfn convert_double3(ushort3); |
| 5270 | double3 __ovld __cnfn convert_double3_rte(char3); |
| 5271 | double3 __ovld __cnfn convert_double3_rte(double3); |
| 5272 | double3 __ovld __cnfn convert_double3_rte(float3); |
| 5273 | double3 __ovld __cnfn convert_double3_rte(int3); |
| 5274 | double3 __ovld __cnfn convert_double3_rte(long3); |
| 5275 | double3 __ovld __cnfn convert_double3_rte(short3); |
| 5276 | double3 __ovld __cnfn convert_double3_rte(uchar3); |
| 5277 | double3 __ovld __cnfn convert_double3_rte(uint3); |
| 5278 | double3 __ovld __cnfn convert_double3_rte(ulong3); |
| 5279 | double3 __ovld __cnfn convert_double3_rte(ushort3); |
| 5280 | double3 __ovld __cnfn convert_double3_rtn(char3); |
| 5281 | double3 __ovld __cnfn convert_double3_rtn(double3); |
| 5282 | double3 __ovld __cnfn convert_double3_rtn(float3); |
| 5283 | double3 __ovld __cnfn convert_double3_rtn(int3); |
| 5284 | double3 __ovld __cnfn convert_double3_rtn(long3); |
| 5285 | double3 __ovld __cnfn convert_double3_rtn(short3); |
| 5286 | double3 __ovld __cnfn convert_double3_rtn(uchar3); |
| 5287 | double3 __ovld __cnfn convert_double3_rtn(uint3); |
| 5288 | double3 __ovld __cnfn convert_double3_rtn(ulong3); |
| 5289 | double3 __ovld __cnfn convert_double3_rtn(ushort3); |
| 5290 | double3 __ovld __cnfn convert_double3_rtp(char3); |
| 5291 | double3 __ovld __cnfn convert_double3_rtp(double3); |
| 5292 | double3 __ovld __cnfn convert_double3_rtp(float3); |
| 5293 | double3 __ovld __cnfn convert_double3_rtp(int3); |
| 5294 | double3 __ovld __cnfn convert_double3_rtp(long3); |
| 5295 | double3 __ovld __cnfn convert_double3_rtp(short3); |
| 5296 | double3 __ovld __cnfn convert_double3_rtp(uchar3); |
| 5297 | double3 __ovld __cnfn convert_double3_rtp(uint3); |
| 5298 | double3 __ovld __cnfn convert_double3_rtp(ulong3); |
| 5299 | double3 __ovld __cnfn convert_double3_rtp(ushort3); |
| 5300 | double3 __ovld __cnfn convert_double3_rtz(char3); |
| 5301 | double3 __ovld __cnfn convert_double3_rtz(double3); |
| 5302 | double3 __ovld __cnfn convert_double3_rtz(float3); |
| 5303 | double3 __ovld __cnfn convert_double3_rtz(int3); |
| 5304 | double3 __ovld __cnfn convert_double3_rtz(long3); |
| 5305 | double3 __ovld __cnfn convert_double3_rtz(short3); |
| 5306 | double3 __ovld __cnfn convert_double3_rtz(uchar3); |
| 5307 | double3 __ovld __cnfn convert_double3_rtz(uint3); |
| 5308 | double3 __ovld __cnfn convert_double3_rtz(ulong3); |
| 5309 | double3 __ovld __cnfn convert_double3_rtz(ushort3); |
| 5310 | double4 __ovld __cnfn convert_double4(char4); |
| 5311 | double4 __ovld __cnfn convert_double4(double4); |
| 5312 | double4 __ovld __cnfn convert_double4(float4); |
| 5313 | double4 __ovld __cnfn convert_double4(int4); |
| 5314 | double4 __ovld __cnfn convert_double4(long4); |
| 5315 | double4 __ovld __cnfn convert_double4(short4); |
| 5316 | double4 __ovld __cnfn convert_double4(uchar4); |
| 5317 | double4 __ovld __cnfn convert_double4(uint4); |
| 5318 | double4 __ovld __cnfn convert_double4(ulong4); |
| 5319 | double4 __ovld __cnfn convert_double4(ushort4); |
| 5320 | double4 __ovld __cnfn convert_double4_rte(char4); |
| 5321 | double4 __ovld __cnfn convert_double4_rte(double4); |
| 5322 | double4 __ovld __cnfn convert_double4_rte(float4); |
| 5323 | double4 __ovld __cnfn convert_double4_rte(int4); |
| 5324 | double4 __ovld __cnfn convert_double4_rte(long4); |
| 5325 | double4 __ovld __cnfn convert_double4_rte(short4); |
| 5326 | double4 __ovld __cnfn convert_double4_rte(uchar4); |
| 5327 | double4 __ovld __cnfn convert_double4_rte(uint4); |
| 5328 | double4 __ovld __cnfn convert_double4_rte(ulong4); |
| 5329 | double4 __ovld __cnfn convert_double4_rte(ushort4); |
| 5330 | double4 __ovld __cnfn convert_double4_rtn(char4); |
| 5331 | double4 __ovld __cnfn convert_double4_rtn(double4); |
| 5332 | double4 __ovld __cnfn convert_double4_rtn(float4); |
| 5333 | double4 __ovld __cnfn convert_double4_rtn(int4); |
| 5334 | double4 __ovld __cnfn convert_double4_rtn(long4); |
| 5335 | double4 __ovld __cnfn convert_double4_rtn(short4); |
| 5336 | double4 __ovld __cnfn convert_double4_rtn(uchar4); |
| 5337 | double4 __ovld __cnfn convert_double4_rtn(uint4); |
| 5338 | double4 __ovld __cnfn convert_double4_rtn(ulong4); |
| 5339 | double4 __ovld __cnfn convert_double4_rtn(ushort4); |
| 5340 | double4 __ovld __cnfn convert_double4_rtp(char4); |
| 5341 | double4 __ovld __cnfn convert_double4_rtp(double4); |
| 5342 | double4 __ovld __cnfn convert_double4_rtp(float4); |
| 5343 | double4 __ovld __cnfn convert_double4_rtp(int4); |
| 5344 | double4 __ovld __cnfn convert_double4_rtp(long4); |
| 5345 | double4 __ovld __cnfn convert_double4_rtp(short4); |
| 5346 | double4 __ovld __cnfn convert_double4_rtp(uchar4); |
| 5347 | double4 __ovld __cnfn convert_double4_rtp(uint4); |
| 5348 | double4 __ovld __cnfn convert_double4_rtp(ulong4); |
| 5349 | double4 __ovld __cnfn convert_double4_rtp(ushort4); |
| 5350 | double4 __ovld __cnfn convert_double4_rtz(char4); |
| 5351 | double4 __ovld __cnfn convert_double4_rtz(double4); |
| 5352 | double4 __ovld __cnfn convert_double4_rtz(float4); |
| 5353 | double4 __ovld __cnfn convert_double4_rtz(int4); |
| 5354 | double4 __ovld __cnfn convert_double4_rtz(long4); |
| 5355 | double4 __ovld __cnfn convert_double4_rtz(short4); |
| 5356 | double4 __ovld __cnfn convert_double4_rtz(uchar4); |
| 5357 | double4 __ovld __cnfn convert_double4_rtz(uint4); |
| 5358 | double4 __ovld __cnfn convert_double4_rtz(ulong4); |
| 5359 | double4 __ovld __cnfn convert_double4_rtz(ushort4); |
| 5360 | double8 __ovld __cnfn convert_double8(char8); |
| 5361 | double8 __ovld __cnfn convert_double8(double8); |
| 5362 | double8 __ovld __cnfn convert_double8(float8); |
| 5363 | double8 __ovld __cnfn convert_double8(int8); |
| 5364 | double8 __ovld __cnfn convert_double8(long8); |
| 5365 | double8 __ovld __cnfn convert_double8(short8); |
| 5366 | double8 __ovld __cnfn convert_double8(uchar8); |
| 5367 | double8 __ovld __cnfn convert_double8(uint8); |
| 5368 | double8 __ovld __cnfn convert_double8(ulong8); |
| 5369 | double8 __ovld __cnfn convert_double8(ushort8); |
| 5370 | double8 __ovld __cnfn convert_double8_rte(char8); |
| 5371 | double8 __ovld __cnfn convert_double8_rte(double8); |
| 5372 | double8 __ovld __cnfn convert_double8_rte(float8); |
| 5373 | double8 __ovld __cnfn convert_double8_rte(int8); |
| 5374 | double8 __ovld __cnfn convert_double8_rte(long8); |
| 5375 | double8 __ovld __cnfn convert_double8_rte(short8); |
| 5376 | double8 __ovld __cnfn convert_double8_rte(uchar8); |
| 5377 | double8 __ovld __cnfn convert_double8_rte(uint8); |
| 5378 | double8 __ovld __cnfn convert_double8_rte(ulong8); |
| 5379 | double8 __ovld __cnfn convert_double8_rte(ushort8); |
| 5380 | double8 __ovld __cnfn convert_double8_rtn(char8); |
| 5381 | double8 __ovld __cnfn convert_double8_rtn(double8); |
| 5382 | double8 __ovld __cnfn convert_double8_rtn(float8); |
| 5383 | double8 __ovld __cnfn convert_double8_rtn(int8); |
| 5384 | double8 __ovld __cnfn convert_double8_rtn(long8); |
| 5385 | double8 __ovld __cnfn convert_double8_rtn(short8); |
| 5386 | double8 __ovld __cnfn convert_double8_rtn(uchar8); |
| 5387 | double8 __ovld __cnfn convert_double8_rtn(uint8); |
| 5388 | double8 __ovld __cnfn convert_double8_rtn(ulong8); |
| 5389 | double8 __ovld __cnfn convert_double8_rtn(ushort8); |
| 5390 | double8 __ovld __cnfn convert_double8_rtp(char8); |
| 5391 | double8 __ovld __cnfn convert_double8_rtp(double8); |
| 5392 | double8 __ovld __cnfn convert_double8_rtp(float8); |
| 5393 | double8 __ovld __cnfn convert_double8_rtp(int8); |
| 5394 | double8 __ovld __cnfn convert_double8_rtp(long8); |
| 5395 | double8 __ovld __cnfn convert_double8_rtp(short8); |
| 5396 | double8 __ovld __cnfn convert_double8_rtp(uchar8); |
| 5397 | double8 __ovld __cnfn convert_double8_rtp(uint8); |
| 5398 | double8 __ovld __cnfn convert_double8_rtp(ulong8); |
| 5399 | double8 __ovld __cnfn convert_double8_rtp(ushort8); |
| 5400 | double8 __ovld __cnfn convert_double8_rtz(char8); |
| 5401 | double8 __ovld __cnfn convert_double8_rtz(double8); |
| 5402 | double8 __ovld __cnfn convert_double8_rtz(float8); |
| 5403 | double8 __ovld __cnfn convert_double8_rtz(int8); |
| 5404 | double8 __ovld __cnfn convert_double8_rtz(long8); |
| 5405 | double8 __ovld __cnfn convert_double8_rtz(short8); |
| 5406 | double8 __ovld __cnfn convert_double8_rtz(uchar8); |
| 5407 | double8 __ovld __cnfn convert_double8_rtz(uint8); |
| 5408 | double8 __ovld __cnfn convert_double8_rtz(ulong8); |
| 5409 | double8 __ovld __cnfn convert_double8_rtz(ushort8); |
| 5410 | double16 __ovld __cnfn convert_double16(char16); |
| 5411 | double16 __ovld __cnfn convert_double16(double16); |
| 5412 | double16 __ovld __cnfn convert_double16(float16); |
| 5413 | double16 __ovld __cnfn convert_double16(int16); |
| 5414 | double16 __ovld __cnfn convert_double16(long16); |
| 5415 | double16 __ovld __cnfn convert_double16(short16); |
| 5416 | double16 __ovld __cnfn convert_double16(uchar16); |
| 5417 | double16 __ovld __cnfn convert_double16(uint16); |
| 5418 | double16 __ovld __cnfn convert_double16(ulong16); |
| 5419 | double16 __ovld __cnfn convert_double16(ushort16); |
| 5420 | double16 __ovld __cnfn convert_double16_rte(char16); |
| 5421 | double16 __ovld __cnfn convert_double16_rte(double16); |
| 5422 | double16 __ovld __cnfn convert_double16_rte(float16); |
| 5423 | double16 __ovld __cnfn convert_double16_rte(int16); |
| 5424 | double16 __ovld __cnfn convert_double16_rte(long16); |
| 5425 | double16 __ovld __cnfn convert_double16_rte(short16); |
| 5426 | double16 __ovld __cnfn convert_double16_rte(uchar16); |
| 5427 | double16 __ovld __cnfn convert_double16_rte(uint16); |
| 5428 | double16 __ovld __cnfn convert_double16_rte(ulong16); |
| 5429 | double16 __ovld __cnfn convert_double16_rte(ushort16); |
| 5430 | double16 __ovld __cnfn convert_double16_rtn(char16); |
| 5431 | double16 __ovld __cnfn convert_double16_rtn(double16); |
| 5432 | double16 __ovld __cnfn convert_double16_rtn(float16); |
| 5433 | double16 __ovld __cnfn convert_double16_rtn(int16); |
| 5434 | double16 __ovld __cnfn convert_double16_rtn(long16); |
| 5435 | double16 __ovld __cnfn convert_double16_rtn(short16); |
| 5436 | double16 __ovld __cnfn convert_double16_rtn(uchar16); |
| 5437 | double16 __ovld __cnfn convert_double16_rtn(uint16); |
| 5438 | double16 __ovld __cnfn convert_double16_rtn(ulong16); |
| 5439 | double16 __ovld __cnfn convert_double16_rtn(ushort16); |
| 5440 | double16 __ovld __cnfn convert_double16_rtp(char16); |
| 5441 | double16 __ovld __cnfn convert_double16_rtp(double16); |
| 5442 | double16 __ovld __cnfn convert_double16_rtp(float16); |
| 5443 | double16 __ovld __cnfn convert_double16_rtp(int16); |
| 5444 | double16 __ovld __cnfn convert_double16_rtp(long16); |
| 5445 | double16 __ovld __cnfn convert_double16_rtp(short16); |
| 5446 | double16 __ovld __cnfn convert_double16_rtp(uchar16); |
| 5447 | double16 __ovld __cnfn convert_double16_rtp(uint16); |
| 5448 | double16 __ovld __cnfn convert_double16_rtp(ulong16); |
| 5449 | double16 __ovld __cnfn convert_double16_rtp(ushort16); |
| 5450 | double16 __ovld __cnfn convert_double16_rtz(char16); |
| 5451 | double16 __ovld __cnfn convert_double16_rtz(double16); |
| 5452 | double16 __ovld __cnfn convert_double16_rtz(float16); |
| 5453 | double16 __ovld __cnfn convert_double16_rtz(int16); |
| 5454 | double16 __ovld __cnfn convert_double16_rtz(long16); |
| 5455 | double16 __ovld __cnfn convert_double16_rtz(short16); |
| 5456 | double16 __ovld __cnfn convert_double16_rtz(uchar16); |
| 5457 | double16 __ovld __cnfn convert_double16_rtz(uint16); |
| 5458 | double16 __ovld __cnfn convert_double16_rtz(ulong16); |
| 5459 | double16 __ovld __cnfn convert_double16_rtz(ushort16); |
| 5460 | #endif //cl_khr_fp64 |
| 5461 | |
| 5462 | #ifdef cl_khr_fp16 |
Pirama Arumuga Nainar | 986b880 | 2021-06-03 16:00:34 -0700 | [diff] [blame] | 5463 | #pragma OPENCL EXTENSION cl_khr_fp16 : enable |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 5464 | // Convert half types to non-double types. |
| 5465 | uchar __ovld __cnfn convert_uchar(half); |
| 5466 | uchar __ovld __cnfn convert_uchar_rte(half); |
| 5467 | uchar __ovld __cnfn convert_uchar_rtp(half); |
| 5468 | uchar __ovld __cnfn convert_uchar_rtn(half); |
| 5469 | uchar __ovld __cnfn convert_uchar_rtz(half); |
| 5470 | uchar __ovld __cnfn convert_uchar_sat(half); |
| 5471 | uchar __ovld __cnfn convert_uchar_sat_rte(half); |
| 5472 | uchar __ovld __cnfn convert_uchar_sat_rtp(half); |
| 5473 | uchar __ovld __cnfn convert_uchar_sat_rtn(half); |
| 5474 | uchar __ovld __cnfn convert_uchar_sat_rtz(half); |
| 5475 | uchar2 __ovld __cnfn convert_uchar2(half2); |
| 5476 | uchar2 __ovld __cnfn convert_uchar2_rte(half2); |
| 5477 | uchar2 __ovld __cnfn convert_uchar2_rtp(half2); |
| 5478 | uchar2 __ovld __cnfn convert_uchar2_rtn(half2); |
| 5479 | uchar2 __ovld __cnfn convert_uchar2_rtz(half2); |
| 5480 | uchar2 __ovld __cnfn convert_uchar2_sat(half2); |
| 5481 | uchar2 __ovld __cnfn convert_uchar2_sat_rte(half2); |
| 5482 | uchar2 __ovld __cnfn convert_uchar2_sat_rtp(half2); |
| 5483 | uchar2 __ovld __cnfn convert_uchar2_sat_rtn(half2); |
| 5484 | uchar2 __ovld __cnfn convert_uchar2_sat_rtz(half2); |
| 5485 | uchar3 __ovld __cnfn convert_uchar3(half3); |
| 5486 | uchar3 __ovld __cnfn convert_uchar3_rte(half3); |
| 5487 | uchar3 __ovld __cnfn convert_uchar3_rtp(half3); |
| 5488 | uchar3 __ovld __cnfn convert_uchar3_rtn(half3); |
| 5489 | uchar3 __ovld __cnfn convert_uchar3_rtz(half3); |
| 5490 | uchar3 __ovld __cnfn convert_uchar3_sat(half3); |
| 5491 | uchar3 __ovld __cnfn convert_uchar3_sat_rte(half3); |
| 5492 | uchar3 __ovld __cnfn convert_uchar3_sat_rtp(half3); |
| 5493 | uchar3 __ovld __cnfn convert_uchar3_sat_rtn(half3); |
| 5494 | uchar3 __ovld __cnfn convert_uchar3_sat_rtz(half3); |
| 5495 | uchar4 __ovld __cnfn convert_uchar4(half4); |
| 5496 | uchar4 __ovld __cnfn convert_uchar4_rte(half4); |
| 5497 | uchar4 __ovld __cnfn convert_uchar4_rtp(half4); |
| 5498 | uchar4 __ovld __cnfn convert_uchar4_rtn(half4); |
| 5499 | uchar4 __ovld __cnfn convert_uchar4_rtz(half4); |
| 5500 | uchar4 __ovld __cnfn convert_uchar4_sat(half4); |
| 5501 | uchar4 __ovld __cnfn convert_uchar4_sat_rte(half4); |
| 5502 | uchar4 __ovld __cnfn convert_uchar4_sat_rtp(half4); |
| 5503 | uchar4 __ovld __cnfn convert_uchar4_sat_rtn(half4); |
| 5504 | uchar4 __ovld __cnfn convert_uchar4_sat_rtz(half4); |
| 5505 | uchar8 __ovld __cnfn convert_uchar8(half8); |
| 5506 | uchar8 __ovld __cnfn convert_uchar8_rte(half8); |
| 5507 | uchar8 __ovld __cnfn convert_uchar8_rtp(half8); |
| 5508 | uchar8 __ovld __cnfn convert_uchar8_rtn(half8); |
| 5509 | uchar8 __ovld __cnfn convert_uchar8_rtz(half8); |
| 5510 | uchar8 __ovld __cnfn convert_uchar8_sat(half8); |
| 5511 | uchar8 __ovld __cnfn convert_uchar8_sat_rte(half8); |
| 5512 | uchar8 __ovld __cnfn convert_uchar8_sat_rtp(half8); |
| 5513 | uchar8 __ovld __cnfn convert_uchar8_sat_rtn(half8); |
| 5514 | uchar8 __ovld __cnfn convert_uchar8_sat_rtz(half8); |
| 5515 | uchar16 __ovld __cnfn convert_uchar16(half16); |
| 5516 | uchar16 __ovld __cnfn convert_uchar16_rte(half16); |
| 5517 | uchar16 __ovld __cnfn convert_uchar16_rtp(half16); |
| 5518 | uchar16 __ovld __cnfn convert_uchar16_rtn(half16); |
| 5519 | uchar16 __ovld __cnfn convert_uchar16_rtz(half16); |
| 5520 | uchar16 __ovld __cnfn convert_uchar16_sat(half16); |
| 5521 | uchar16 __ovld __cnfn convert_uchar16_sat_rte(half16); |
| 5522 | uchar16 __ovld __cnfn convert_uchar16_sat_rtp(half16); |
| 5523 | uchar16 __ovld __cnfn convert_uchar16_sat_rtn(half16); |
| 5524 | uchar16 __ovld __cnfn convert_uchar16_sat_rtz(half16); |
| 5525 | ushort __ovld __cnfn convert_ushort(half); |
| 5526 | ushort __ovld __cnfn convert_ushort_rte(half); |
| 5527 | ushort __ovld __cnfn convert_ushort_rtp(half); |
| 5528 | ushort __ovld __cnfn convert_ushort_rtn(half); |
| 5529 | ushort __ovld __cnfn convert_ushort_rtz(half); |
| 5530 | ushort __ovld __cnfn convert_ushort_sat(half); |
| 5531 | ushort __ovld __cnfn convert_ushort_sat_rte(half); |
| 5532 | ushort __ovld __cnfn convert_ushort_sat_rtp(half); |
| 5533 | ushort __ovld __cnfn convert_ushort_sat_rtn(half); |
| 5534 | ushort __ovld __cnfn convert_ushort_sat_rtz(half); |
| 5535 | ushort2 __ovld __cnfn convert_ushort2(half2); |
| 5536 | ushort2 __ovld __cnfn convert_ushort2_rte(half2); |
| 5537 | ushort2 __ovld __cnfn convert_ushort2_rtp(half2); |
| 5538 | ushort2 __ovld __cnfn convert_ushort2_rtn(half2); |
| 5539 | ushort2 __ovld __cnfn convert_ushort2_rtz(half2); |
| 5540 | ushort2 __ovld __cnfn convert_ushort2_sat(half2); |
| 5541 | ushort2 __ovld __cnfn convert_ushort2_sat_rte(half2); |
| 5542 | ushort2 __ovld __cnfn convert_ushort2_sat_rtp(half2); |
| 5543 | ushort2 __ovld __cnfn convert_ushort2_sat_rtn(half2); |
| 5544 | ushort2 __ovld __cnfn convert_ushort2_sat_rtz(half2); |
| 5545 | ushort3 __ovld __cnfn convert_ushort3(half3); |
| 5546 | ushort3 __ovld __cnfn convert_ushort3_rte(half3); |
| 5547 | ushort3 __ovld __cnfn convert_ushort3_rtp(half3); |
| 5548 | ushort3 __ovld __cnfn convert_ushort3_rtn(half3); |
| 5549 | ushort3 __ovld __cnfn convert_ushort3_rtz(half3); |
| 5550 | ushort3 __ovld __cnfn convert_ushort3_sat(half3); |
| 5551 | ushort3 __ovld __cnfn convert_ushort3_sat_rte(half3); |
| 5552 | ushort3 __ovld __cnfn convert_ushort3_sat_rtp(half3); |
| 5553 | ushort3 __ovld __cnfn convert_ushort3_sat_rtn(half3); |
| 5554 | ushort3 __ovld __cnfn convert_ushort3_sat_rtz(half3); |
| 5555 | ushort4 __ovld __cnfn convert_ushort4(half4); |
| 5556 | ushort4 __ovld __cnfn convert_ushort4_rte(half4); |
| 5557 | ushort4 __ovld __cnfn convert_ushort4_rtp(half4); |
| 5558 | ushort4 __ovld __cnfn convert_ushort4_rtn(half4); |
| 5559 | ushort4 __ovld __cnfn convert_ushort4_rtz(half4); |
| 5560 | ushort4 __ovld __cnfn convert_ushort4_sat(half4); |
| 5561 | ushort4 __ovld __cnfn convert_ushort4_sat_rte(half4); |
| 5562 | ushort4 __ovld __cnfn convert_ushort4_sat_rtp(half4); |
| 5563 | ushort4 __ovld __cnfn convert_ushort4_sat_rtn(half4); |
| 5564 | ushort4 __ovld __cnfn convert_ushort4_sat_rtz(half4); |
| 5565 | ushort8 __ovld __cnfn convert_ushort8(half8); |
| 5566 | ushort8 __ovld __cnfn convert_ushort8_rte(half8); |
| 5567 | ushort8 __ovld __cnfn convert_ushort8_rtp(half8); |
| 5568 | ushort8 __ovld __cnfn convert_ushort8_rtn(half8); |
| 5569 | ushort8 __ovld __cnfn convert_ushort8_rtz(half8); |
| 5570 | ushort8 __ovld __cnfn convert_ushort8_sat(half8); |
| 5571 | ushort8 __ovld __cnfn convert_ushort8_sat_rte(half8); |
| 5572 | ushort8 __ovld __cnfn convert_ushort8_sat_rtp(half8); |
| 5573 | ushort8 __ovld __cnfn convert_ushort8_sat_rtn(half8); |
| 5574 | ushort8 __ovld __cnfn convert_ushort8_sat_rtz(half8); |
| 5575 | ushort16 __ovld __cnfn convert_ushort16(half16); |
| 5576 | ushort16 __ovld __cnfn convert_ushort16_rte(half16); |
| 5577 | ushort16 __ovld __cnfn convert_ushort16_rtp(half16); |
| 5578 | ushort16 __ovld __cnfn convert_ushort16_rtn(half16); |
| 5579 | ushort16 __ovld __cnfn convert_ushort16_rtz(half16); |
| 5580 | ushort16 __ovld __cnfn convert_ushort16_sat(half16); |
| 5581 | ushort16 __ovld __cnfn convert_ushort16_sat_rte(half16); |
| 5582 | ushort16 __ovld __cnfn convert_ushort16_sat_rtp(half16); |
| 5583 | ushort16 __ovld __cnfn convert_ushort16_sat_rtn(half16); |
| 5584 | ushort16 __ovld __cnfn convert_ushort16_sat_rtz(half16); |
| 5585 | uint __ovld __cnfn convert_uint(half); |
| 5586 | uint __ovld __cnfn convert_uint_rte(half); |
| 5587 | uint __ovld __cnfn convert_uint_rtp(half); |
| 5588 | uint __ovld __cnfn convert_uint_rtn(half); |
| 5589 | uint __ovld __cnfn convert_uint_rtz(half); |
| 5590 | uint __ovld __cnfn convert_uint_sat(half); |
| 5591 | uint __ovld __cnfn convert_uint_sat_rte(half); |
| 5592 | uint __ovld __cnfn convert_uint_sat_rtp(half); |
| 5593 | uint __ovld __cnfn convert_uint_sat_rtn(half); |
| 5594 | uint __ovld __cnfn convert_uint_sat_rtz(half); |
| 5595 | uint2 __ovld __cnfn convert_uint2(half2); |
| 5596 | uint2 __ovld __cnfn convert_uint2_rte(half2); |
| 5597 | uint2 __ovld __cnfn convert_uint2_rtp(half2); |
| 5598 | uint2 __ovld __cnfn convert_uint2_rtn(half2); |
| 5599 | uint2 __ovld __cnfn convert_uint2_rtz(half2); |
| 5600 | uint2 __ovld __cnfn convert_uint2_sat(half2); |
| 5601 | uint2 __ovld __cnfn convert_uint2_sat_rte(half2); |
| 5602 | uint2 __ovld __cnfn convert_uint2_sat_rtp(half2); |
| 5603 | uint2 __ovld __cnfn convert_uint2_sat_rtn(half2); |
| 5604 | uint2 __ovld __cnfn convert_uint2_sat_rtz(half2); |
| 5605 | uint3 __ovld __cnfn convert_uint3(half3); |
| 5606 | uint3 __ovld __cnfn convert_uint3_rte(half3); |
| 5607 | uint3 __ovld __cnfn convert_uint3_rtp(half3); |
| 5608 | uint3 __ovld __cnfn convert_uint3_rtn(half3); |
| 5609 | uint3 __ovld __cnfn convert_uint3_rtz(half3); |
| 5610 | uint3 __ovld __cnfn convert_uint3_sat(half3); |
| 5611 | uint3 __ovld __cnfn convert_uint3_sat_rte(half3); |
| 5612 | uint3 __ovld __cnfn convert_uint3_sat_rtp(half3); |
| 5613 | uint3 __ovld __cnfn convert_uint3_sat_rtn(half3); |
| 5614 | uint3 __ovld __cnfn convert_uint3_sat_rtz(half3); |
| 5615 | uint4 __ovld __cnfn convert_uint4(half4); |
| 5616 | uint4 __ovld __cnfn convert_uint4_rte(half4); |
| 5617 | uint4 __ovld __cnfn convert_uint4_rtp(half4); |
| 5618 | uint4 __ovld __cnfn convert_uint4_rtn(half4); |
| 5619 | uint4 __ovld __cnfn convert_uint4_rtz(half4); |
| 5620 | uint4 __ovld __cnfn convert_uint4_sat(half4); |
| 5621 | uint4 __ovld __cnfn convert_uint4_sat_rte(half4); |
| 5622 | uint4 __ovld __cnfn convert_uint4_sat_rtp(half4); |
| 5623 | uint4 __ovld __cnfn convert_uint4_sat_rtn(half4); |
| 5624 | uint4 __ovld __cnfn convert_uint4_sat_rtz(half4); |
| 5625 | uint8 __ovld __cnfn convert_uint8(half8); |
| 5626 | uint8 __ovld __cnfn convert_uint8_rte(half8); |
| 5627 | uint8 __ovld __cnfn convert_uint8_rtp(half8); |
| 5628 | uint8 __ovld __cnfn convert_uint8_rtn(half8); |
| 5629 | uint8 __ovld __cnfn convert_uint8_rtz(half8); |
| 5630 | uint8 __ovld __cnfn convert_uint8_sat(half8); |
| 5631 | uint8 __ovld __cnfn convert_uint8_sat_rte(half8); |
| 5632 | uint8 __ovld __cnfn convert_uint8_sat_rtp(half8); |
| 5633 | uint8 __ovld __cnfn convert_uint8_sat_rtn(half8); |
| 5634 | uint8 __ovld __cnfn convert_uint8_sat_rtz(half8); |
| 5635 | uint16 __ovld __cnfn convert_uint16(half16); |
| 5636 | uint16 __ovld __cnfn convert_uint16_rte(half16); |
| 5637 | uint16 __ovld __cnfn convert_uint16_rtp(half16); |
| 5638 | uint16 __ovld __cnfn convert_uint16_rtn(half16); |
| 5639 | uint16 __ovld __cnfn convert_uint16_rtz(half16); |
| 5640 | uint16 __ovld __cnfn convert_uint16_sat(half16); |
| 5641 | uint16 __ovld __cnfn convert_uint16_sat_rte(half16); |
| 5642 | uint16 __ovld __cnfn convert_uint16_sat_rtp(half16); |
| 5643 | uint16 __ovld __cnfn convert_uint16_sat_rtn(half16); |
| 5644 | uint16 __ovld __cnfn convert_uint16_sat_rtz(half16); |
| 5645 | ulong __ovld __cnfn convert_ulong(half); |
| 5646 | ulong __ovld __cnfn convert_ulong_rte(half); |
| 5647 | ulong __ovld __cnfn convert_ulong_rtp(half); |
| 5648 | ulong __ovld __cnfn convert_ulong_rtn(half); |
| 5649 | ulong __ovld __cnfn convert_ulong_rtz(half); |
| 5650 | ulong __ovld __cnfn convert_ulong_sat(half); |
| 5651 | ulong __ovld __cnfn convert_ulong_sat_rte(half); |
| 5652 | ulong __ovld __cnfn convert_ulong_sat_rtp(half); |
| 5653 | ulong __ovld __cnfn convert_ulong_sat_rtn(half); |
| 5654 | ulong __ovld __cnfn convert_ulong_sat_rtz(half); |
| 5655 | ulong2 __ovld __cnfn convert_ulong2(half2); |
| 5656 | ulong2 __ovld __cnfn convert_ulong2_rte(half2); |
| 5657 | ulong2 __ovld __cnfn convert_ulong2_rtp(half2); |
| 5658 | ulong2 __ovld __cnfn convert_ulong2_rtn(half2); |
| 5659 | ulong2 __ovld __cnfn convert_ulong2_rtz(half2); |
| 5660 | ulong2 __ovld __cnfn convert_ulong2_sat(half2); |
| 5661 | ulong2 __ovld __cnfn convert_ulong2_sat_rte(half2); |
| 5662 | ulong2 __ovld __cnfn convert_ulong2_sat_rtp(half2); |
| 5663 | ulong2 __ovld __cnfn convert_ulong2_sat_rtn(half2); |
| 5664 | ulong2 __ovld __cnfn convert_ulong2_sat_rtz(half2); |
| 5665 | ulong3 __ovld __cnfn convert_ulong3(half3); |
| 5666 | ulong3 __ovld __cnfn convert_ulong3_rte(half3); |
| 5667 | ulong3 __ovld __cnfn convert_ulong3_rtp(half3); |
| 5668 | ulong3 __ovld __cnfn convert_ulong3_rtn(half3); |
| 5669 | ulong3 __ovld __cnfn convert_ulong3_rtz(half3); |
| 5670 | ulong3 __ovld __cnfn convert_ulong3_sat(half3); |
| 5671 | ulong3 __ovld __cnfn convert_ulong3_sat_rte(half3); |
| 5672 | ulong3 __ovld __cnfn convert_ulong3_sat_rtp(half3); |
| 5673 | ulong3 __ovld __cnfn convert_ulong3_sat_rtn(half3); |
| 5674 | ulong3 __ovld __cnfn convert_ulong3_sat_rtz(half3); |
| 5675 | ulong4 __ovld __cnfn convert_ulong4(half4); |
| 5676 | ulong4 __ovld __cnfn convert_ulong4_rte(half4); |
| 5677 | ulong4 __ovld __cnfn convert_ulong4_rtp(half4); |
| 5678 | ulong4 __ovld __cnfn convert_ulong4_rtn(half4); |
| 5679 | ulong4 __ovld __cnfn convert_ulong4_rtz(half4); |
| 5680 | ulong4 __ovld __cnfn convert_ulong4_sat(half4); |
| 5681 | ulong4 __ovld __cnfn convert_ulong4_sat_rte(half4); |
| 5682 | ulong4 __ovld __cnfn convert_ulong4_sat_rtp(half4); |
| 5683 | ulong4 __ovld __cnfn convert_ulong4_sat_rtn(half4); |
| 5684 | ulong4 __ovld __cnfn convert_ulong4_sat_rtz(half4); |
| 5685 | ulong8 __ovld __cnfn convert_ulong8(half8); |
| 5686 | ulong8 __ovld __cnfn convert_ulong8_rte(half8); |
| 5687 | ulong8 __ovld __cnfn convert_ulong8_rtp(half8); |
| 5688 | ulong8 __ovld __cnfn convert_ulong8_rtn(half8); |
| 5689 | ulong8 __ovld __cnfn convert_ulong8_rtz(half8); |
| 5690 | ulong8 __ovld __cnfn convert_ulong8_sat(half8); |
| 5691 | ulong8 __ovld __cnfn convert_ulong8_sat_rte(half8); |
| 5692 | ulong8 __ovld __cnfn convert_ulong8_sat_rtp(half8); |
| 5693 | ulong8 __ovld __cnfn convert_ulong8_sat_rtn(half8); |
| 5694 | ulong8 __ovld __cnfn convert_ulong8_sat_rtz(half8); |
| 5695 | ulong16 __ovld __cnfn convert_ulong16(half16); |
| 5696 | ulong16 __ovld __cnfn convert_ulong16_rte(half16); |
| 5697 | ulong16 __ovld __cnfn convert_ulong16_rtp(half16); |
| 5698 | ulong16 __ovld __cnfn convert_ulong16_rtn(half16); |
| 5699 | ulong16 __ovld __cnfn convert_ulong16_rtz(half16); |
| 5700 | ulong16 __ovld __cnfn convert_ulong16_sat(half16); |
| 5701 | ulong16 __ovld __cnfn convert_ulong16_sat_rte(half16); |
| 5702 | ulong16 __ovld __cnfn convert_ulong16_sat_rtp(half16); |
| 5703 | ulong16 __ovld __cnfn convert_ulong16_sat_rtn(half16); |
| 5704 | ulong16 __ovld __cnfn convert_ulong16_sat_rtz(half16); |
| 5705 | char __ovld __cnfn convert_char(half); |
| 5706 | char __ovld __cnfn convert_char_rte(half); |
| 5707 | char __ovld __cnfn convert_char_rtp(half); |
| 5708 | char __ovld __cnfn convert_char_rtn(half); |
| 5709 | char __ovld __cnfn convert_char_rtz(half); |
| 5710 | char __ovld __cnfn convert_char_sat(half); |
| 5711 | char __ovld __cnfn convert_char_sat_rte(half); |
| 5712 | char __ovld __cnfn convert_char_sat_rtp(half); |
| 5713 | char __ovld __cnfn convert_char_sat_rtn(half); |
| 5714 | char __ovld __cnfn convert_char_sat_rtz(half); |
| 5715 | char2 __ovld __cnfn convert_char2(half2); |
| 5716 | char2 __ovld __cnfn convert_char2_rte(half2); |
| 5717 | char2 __ovld __cnfn convert_char2_rtp(half2); |
| 5718 | char2 __ovld __cnfn convert_char2_rtn(half2); |
| 5719 | char2 __ovld __cnfn convert_char2_rtz(half2); |
| 5720 | char2 __ovld __cnfn convert_char2_sat(half2); |
| 5721 | char2 __ovld __cnfn convert_char2_sat_rte(half2); |
| 5722 | char2 __ovld __cnfn convert_char2_sat_rtp(half2); |
| 5723 | char2 __ovld __cnfn convert_char2_sat_rtn(half2); |
| 5724 | char2 __ovld __cnfn convert_char2_sat_rtz(half2); |
| 5725 | char3 __ovld __cnfn convert_char3(half3); |
| 5726 | char3 __ovld __cnfn convert_char3_rte(half3); |
| 5727 | char3 __ovld __cnfn convert_char3_rtp(half3); |
| 5728 | char3 __ovld __cnfn convert_char3_rtn(half3); |
| 5729 | char3 __ovld __cnfn convert_char3_rtz(half3); |
| 5730 | char3 __ovld __cnfn convert_char3_sat(half3); |
| 5731 | char3 __ovld __cnfn convert_char3_sat_rte(half3); |
| 5732 | char3 __ovld __cnfn convert_char3_sat_rtp(half3); |
| 5733 | char3 __ovld __cnfn convert_char3_sat_rtn(half3); |
| 5734 | char3 __ovld __cnfn convert_char3_sat_rtz(half3); |
| 5735 | char4 __ovld __cnfn convert_char4(half4); |
| 5736 | char4 __ovld __cnfn convert_char4_rte(half4); |
| 5737 | char4 __ovld __cnfn convert_char4_rtp(half4); |
| 5738 | char4 __ovld __cnfn convert_char4_rtn(half4); |
| 5739 | char4 __ovld __cnfn convert_char4_rtz(half4); |
| 5740 | char4 __ovld __cnfn convert_char4_sat(half4); |
| 5741 | char4 __ovld __cnfn convert_char4_sat_rte(half4); |
| 5742 | char4 __ovld __cnfn convert_char4_sat_rtp(half4); |
| 5743 | char4 __ovld __cnfn convert_char4_sat_rtn(half4); |
| 5744 | char4 __ovld __cnfn convert_char4_sat_rtz(half4); |
| 5745 | char8 __ovld __cnfn convert_char8(half8); |
| 5746 | char8 __ovld __cnfn convert_char8_rte(half8); |
| 5747 | char8 __ovld __cnfn convert_char8_rtp(half8); |
| 5748 | char8 __ovld __cnfn convert_char8_rtn(half8); |
| 5749 | char8 __ovld __cnfn convert_char8_rtz(half8); |
| 5750 | char8 __ovld __cnfn convert_char8_sat(half8); |
| 5751 | char8 __ovld __cnfn convert_char8_sat_rte(half8); |
| 5752 | char8 __ovld __cnfn convert_char8_sat_rtp(half8); |
| 5753 | char8 __ovld __cnfn convert_char8_sat_rtn(half8); |
| 5754 | char8 __ovld __cnfn convert_char8_sat_rtz(half8); |
| 5755 | char16 __ovld __cnfn convert_char16(half16); |
| 5756 | char16 __ovld __cnfn convert_char16_rte(half16); |
| 5757 | char16 __ovld __cnfn convert_char16_rtp(half16); |
| 5758 | char16 __ovld __cnfn convert_char16_rtn(half16); |
| 5759 | char16 __ovld __cnfn convert_char16_rtz(half16); |
| 5760 | char16 __ovld __cnfn convert_char16_sat(half16); |
| 5761 | char16 __ovld __cnfn convert_char16_sat_rte(half16); |
| 5762 | char16 __ovld __cnfn convert_char16_sat_rtp(half16); |
| 5763 | char16 __ovld __cnfn convert_char16_sat_rtn(half16); |
| 5764 | char16 __ovld __cnfn convert_char16_sat_rtz(half16); |
| 5765 | short __ovld __cnfn convert_short(half); |
| 5766 | short __ovld __cnfn convert_short_rte(half); |
| 5767 | short __ovld __cnfn convert_short_rtp(half); |
| 5768 | short __ovld __cnfn convert_short_rtn(half); |
| 5769 | short __ovld __cnfn convert_short_rtz(half); |
| 5770 | short __ovld __cnfn convert_short_sat(half); |
| 5771 | short __ovld __cnfn convert_short_sat_rte(half); |
| 5772 | short __ovld __cnfn convert_short_sat_rtp(half); |
| 5773 | short __ovld __cnfn convert_short_sat_rtn(half); |
| 5774 | short __ovld __cnfn convert_short_sat_rtz(half); |
| 5775 | short2 __ovld __cnfn convert_short2(half2); |
| 5776 | short2 __ovld __cnfn convert_short2_rte(half2); |
| 5777 | short2 __ovld __cnfn convert_short2_rtp(half2); |
| 5778 | short2 __ovld __cnfn convert_short2_rtn(half2); |
| 5779 | short2 __ovld __cnfn convert_short2_rtz(half2); |
| 5780 | short2 __ovld __cnfn convert_short2_sat(half2); |
| 5781 | short2 __ovld __cnfn convert_short2_sat_rte(half2); |
| 5782 | short2 __ovld __cnfn convert_short2_sat_rtp(half2); |
| 5783 | short2 __ovld __cnfn convert_short2_sat_rtn(half2); |
| 5784 | short2 __ovld __cnfn convert_short2_sat_rtz(half2); |
| 5785 | short3 __ovld __cnfn convert_short3(half3); |
| 5786 | short3 __ovld __cnfn convert_short3_rte(half3); |
| 5787 | short3 __ovld __cnfn convert_short3_rtp(half3); |
| 5788 | short3 __ovld __cnfn convert_short3_rtn(half3); |
| 5789 | short3 __ovld __cnfn convert_short3_rtz(half3); |
| 5790 | short3 __ovld __cnfn convert_short3_sat(half3); |
| 5791 | short3 __ovld __cnfn convert_short3_sat_rte(half3); |
| 5792 | short3 __ovld __cnfn convert_short3_sat_rtp(half3); |
| 5793 | short3 __ovld __cnfn convert_short3_sat_rtn(half3); |
| 5794 | short3 __ovld __cnfn convert_short3_sat_rtz(half3); |
| 5795 | short4 __ovld __cnfn convert_short4(half4); |
| 5796 | short4 __ovld __cnfn convert_short4_rte(half4); |
| 5797 | short4 __ovld __cnfn convert_short4_rtp(half4); |
| 5798 | short4 __ovld __cnfn convert_short4_rtn(half4); |
| 5799 | short4 __ovld __cnfn convert_short4_rtz(half4); |
| 5800 | short4 __ovld __cnfn convert_short4_sat(half4); |
| 5801 | short4 __ovld __cnfn convert_short4_sat_rte(half4); |
| 5802 | short4 __ovld __cnfn convert_short4_sat_rtp(half4); |
| 5803 | short4 __ovld __cnfn convert_short4_sat_rtn(half4); |
| 5804 | short4 __ovld __cnfn convert_short4_sat_rtz(half4); |
| 5805 | short8 __ovld __cnfn convert_short8(half8); |
| 5806 | short8 __ovld __cnfn convert_short8_rte(half8); |
| 5807 | short8 __ovld __cnfn convert_short8_rtp(half8); |
| 5808 | short8 __ovld __cnfn convert_short8_rtn(half8); |
| 5809 | short8 __ovld __cnfn convert_short8_rtz(half8); |
| 5810 | short8 __ovld __cnfn convert_short8_sat(half8); |
| 5811 | short8 __ovld __cnfn convert_short8_sat_rte(half8); |
| 5812 | short8 __ovld __cnfn convert_short8_sat_rtp(half8); |
| 5813 | short8 __ovld __cnfn convert_short8_sat_rtn(half8); |
| 5814 | short8 __ovld __cnfn convert_short8_sat_rtz(half8); |
| 5815 | short16 __ovld __cnfn convert_short16(half16); |
| 5816 | short16 __ovld __cnfn convert_short16_rte(half16); |
| 5817 | short16 __ovld __cnfn convert_short16_rtp(half16); |
| 5818 | short16 __ovld __cnfn convert_short16_rtn(half16); |
| 5819 | short16 __ovld __cnfn convert_short16_rtz(half16); |
| 5820 | short16 __ovld __cnfn convert_short16_sat(half16); |
| 5821 | short16 __ovld __cnfn convert_short16_sat_rte(half16); |
| 5822 | short16 __ovld __cnfn convert_short16_sat_rtp(half16); |
| 5823 | short16 __ovld __cnfn convert_short16_sat_rtn(half16); |
| 5824 | short16 __ovld __cnfn convert_short16_sat_rtz(half16); |
| 5825 | int __ovld __cnfn convert_int(half); |
| 5826 | int __ovld __cnfn convert_int_rte(half); |
| 5827 | int __ovld __cnfn convert_int_rtp(half); |
| 5828 | int __ovld __cnfn convert_int_rtn(half); |
| 5829 | int __ovld __cnfn convert_int_rtz(half); |
| 5830 | int __ovld __cnfn convert_int_sat(half); |
| 5831 | int __ovld __cnfn convert_int_sat_rte(half); |
| 5832 | int __ovld __cnfn convert_int_sat_rtp(half); |
| 5833 | int __ovld __cnfn convert_int_sat_rtn(half); |
| 5834 | int __ovld __cnfn convert_int_sat_rtz(half); |
| 5835 | int2 __ovld __cnfn convert_int2(half2); |
| 5836 | int2 __ovld __cnfn convert_int2_rte(half2); |
| 5837 | int2 __ovld __cnfn convert_int2_rtp(half2); |
| 5838 | int2 __ovld __cnfn convert_int2_rtn(half2); |
| 5839 | int2 __ovld __cnfn convert_int2_rtz(half2); |
| 5840 | int2 __ovld __cnfn convert_int2_sat(half2); |
| 5841 | int2 __ovld __cnfn convert_int2_sat_rte(half2); |
| 5842 | int2 __ovld __cnfn convert_int2_sat_rtp(half2); |
| 5843 | int2 __ovld __cnfn convert_int2_sat_rtn(half2); |
| 5844 | int2 __ovld __cnfn convert_int2_sat_rtz(half2); |
| 5845 | int3 __ovld __cnfn convert_int3(half3); |
| 5846 | int3 __ovld __cnfn convert_int3_rte(half3); |
| 5847 | int3 __ovld __cnfn convert_int3_rtp(half3); |
| 5848 | int3 __ovld __cnfn convert_int3_rtn(half3); |
| 5849 | int3 __ovld __cnfn convert_int3_rtz(half3); |
| 5850 | int3 __ovld __cnfn convert_int3_sat(half3); |
| 5851 | int3 __ovld __cnfn convert_int3_sat_rte(half3); |
| 5852 | int3 __ovld __cnfn convert_int3_sat_rtp(half3); |
| 5853 | int3 __ovld __cnfn convert_int3_sat_rtn(half3); |
| 5854 | int3 __ovld __cnfn convert_int3_sat_rtz(half3); |
| 5855 | int4 __ovld __cnfn convert_int4(half4); |
| 5856 | int4 __ovld __cnfn convert_int4_rte(half4); |
| 5857 | int4 __ovld __cnfn convert_int4_rtp(half4); |
| 5858 | int4 __ovld __cnfn convert_int4_rtn(half4); |
| 5859 | int4 __ovld __cnfn convert_int4_rtz(half4); |
| 5860 | int4 __ovld __cnfn convert_int4_sat(half4); |
| 5861 | int4 __ovld __cnfn convert_int4_sat_rte(half4); |
| 5862 | int4 __ovld __cnfn convert_int4_sat_rtp(half4); |
| 5863 | int4 __ovld __cnfn convert_int4_sat_rtn(half4); |
| 5864 | int4 __ovld __cnfn convert_int4_sat_rtz(half4); |
| 5865 | int8 __ovld __cnfn convert_int8(half8); |
| 5866 | int8 __ovld __cnfn convert_int8_rte(half8); |
| 5867 | int8 __ovld __cnfn convert_int8_rtp(half8); |
| 5868 | int8 __ovld __cnfn convert_int8_rtn(half8); |
| 5869 | int8 __ovld __cnfn convert_int8_rtz(half8); |
| 5870 | int8 __ovld __cnfn convert_int8_sat(half8); |
| 5871 | int8 __ovld __cnfn convert_int8_sat_rte(half8); |
| 5872 | int8 __ovld __cnfn convert_int8_sat_rtp(half8); |
| 5873 | int8 __ovld __cnfn convert_int8_sat_rtn(half8); |
| 5874 | int8 __ovld __cnfn convert_int8_sat_rtz(half8); |
| 5875 | int16 __ovld __cnfn convert_int16(half16); |
| 5876 | int16 __ovld __cnfn convert_int16_rte(half16); |
| 5877 | int16 __ovld __cnfn convert_int16_rtp(half16); |
| 5878 | int16 __ovld __cnfn convert_int16_rtn(half16); |
| 5879 | int16 __ovld __cnfn convert_int16_rtz(half16); |
| 5880 | int16 __ovld __cnfn convert_int16_sat(half16); |
| 5881 | int16 __ovld __cnfn convert_int16_sat_rte(half16); |
| 5882 | int16 __ovld __cnfn convert_int16_sat_rtp(half16); |
| 5883 | int16 __ovld __cnfn convert_int16_sat_rtn(half16); |
| 5884 | int16 __ovld __cnfn convert_int16_sat_rtz(half16); |
| 5885 | long __ovld __cnfn convert_long(half); |
| 5886 | long __ovld __cnfn convert_long_rte(half); |
| 5887 | long __ovld __cnfn convert_long_rtp(half); |
| 5888 | long __ovld __cnfn convert_long_rtn(half); |
| 5889 | long __ovld __cnfn convert_long_rtz(half); |
| 5890 | long __ovld __cnfn convert_long_sat(half); |
| 5891 | long __ovld __cnfn convert_long_sat_rte(half); |
| 5892 | long __ovld __cnfn convert_long_sat_rtp(half); |
| 5893 | long __ovld __cnfn convert_long_sat_rtn(half); |
| 5894 | long __ovld __cnfn convert_long_sat_rtz(half); |
| 5895 | long2 __ovld __cnfn convert_long2(half2); |
| 5896 | long2 __ovld __cnfn convert_long2_rte(half2); |
| 5897 | long2 __ovld __cnfn convert_long2_rtp(half2); |
| 5898 | long2 __ovld __cnfn convert_long2_rtn(half2); |
| 5899 | long2 __ovld __cnfn convert_long2_rtz(half2); |
| 5900 | long2 __ovld __cnfn convert_long2_sat(half2); |
| 5901 | long2 __ovld __cnfn convert_long2_sat_rte(half2); |
| 5902 | long2 __ovld __cnfn convert_long2_sat_rtp(half2); |
| 5903 | long2 __ovld __cnfn convert_long2_sat_rtn(half2); |
| 5904 | long2 __ovld __cnfn convert_long2_sat_rtz(half2); |
| 5905 | long3 __ovld __cnfn convert_long3(half3); |
| 5906 | long3 __ovld __cnfn convert_long3_rte(half3); |
| 5907 | long3 __ovld __cnfn convert_long3_rtp(half3); |
| 5908 | long3 __ovld __cnfn convert_long3_rtn(half3); |
| 5909 | long3 __ovld __cnfn convert_long3_rtz(half3); |
| 5910 | long3 __ovld __cnfn convert_long3_sat(half3); |
| 5911 | long3 __ovld __cnfn convert_long3_sat_rte(half3); |
| 5912 | long3 __ovld __cnfn convert_long3_sat_rtp(half3); |
| 5913 | long3 __ovld __cnfn convert_long3_sat_rtn(half3); |
| 5914 | long3 __ovld __cnfn convert_long3_sat_rtz(half3); |
| 5915 | long4 __ovld __cnfn convert_long4(half4); |
| 5916 | long4 __ovld __cnfn convert_long4_rte(half4); |
| 5917 | long4 __ovld __cnfn convert_long4_rtp(half4); |
| 5918 | long4 __ovld __cnfn convert_long4_rtn(half4); |
| 5919 | long4 __ovld __cnfn convert_long4_rtz(half4); |
| 5920 | long4 __ovld __cnfn convert_long4_sat(half4); |
| 5921 | long4 __ovld __cnfn convert_long4_sat_rte(half4); |
| 5922 | long4 __ovld __cnfn convert_long4_sat_rtp(half4); |
| 5923 | long4 __ovld __cnfn convert_long4_sat_rtn(half4); |
| 5924 | long4 __ovld __cnfn convert_long4_sat_rtz(half4); |
| 5925 | long8 __ovld __cnfn convert_long8(half8); |
| 5926 | long8 __ovld __cnfn convert_long8_rte(half8); |
| 5927 | long8 __ovld __cnfn convert_long8_rtp(half8); |
| 5928 | long8 __ovld __cnfn convert_long8_rtn(half8); |
| 5929 | long8 __ovld __cnfn convert_long8_rtz(half8); |
| 5930 | long8 __ovld __cnfn convert_long8_sat(half8); |
| 5931 | long8 __ovld __cnfn convert_long8_sat_rte(half8); |
| 5932 | long8 __ovld __cnfn convert_long8_sat_rtp(half8); |
| 5933 | long8 __ovld __cnfn convert_long8_sat_rtn(half8); |
| 5934 | long8 __ovld __cnfn convert_long8_sat_rtz(half8); |
| 5935 | long16 __ovld __cnfn convert_long16(half16); |
| 5936 | long16 __ovld __cnfn convert_long16_rte(half16); |
| 5937 | long16 __ovld __cnfn convert_long16_rtp(half16); |
| 5938 | long16 __ovld __cnfn convert_long16_rtn(half16); |
| 5939 | long16 __ovld __cnfn convert_long16_rtz(half16); |
| 5940 | long16 __ovld __cnfn convert_long16_sat(half16); |
| 5941 | long16 __ovld __cnfn convert_long16_sat_rte(half16); |
| 5942 | long16 __ovld __cnfn convert_long16_sat_rtp(half16); |
| 5943 | long16 __ovld __cnfn convert_long16_sat_rtn(half16); |
| 5944 | long16 __ovld __cnfn convert_long16_sat_rtz(half16); |
| 5945 | float __ovld __cnfn convert_float(half); |
| 5946 | float __ovld __cnfn convert_float_rte(half); |
| 5947 | float __ovld __cnfn convert_float_rtp(half); |
| 5948 | float __ovld __cnfn convert_float_rtn(half); |
| 5949 | float __ovld __cnfn convert_float_rtz(half); |
| 5950 | float2 __ovld __cnfn convert_float2(half2); |
| 5951 | float2 __ovld __cnfn convert_float2_rte(half2); |
| 5952 | float2 __ovld __cnfn convert_float2_rtp(half2); |
| 5953 | float2 __ovld __cnfn convert_float2_rtn(half2); |
| 5954 | float2 __ovld __cnfn convert_float2_rtz(half2); |
| 5955 | float3 __ovld __cnfn convert_float3(half3); |
| 5956 | float3 __ovld __cnfn convert_float3_rte(half3); |
| 5957 | float3 __ovld __cnfn convert_float3_rtp(half3); |
| 5958 | float3 __ovld __cnfn convert_float3_rtn(half3); |
| 5959 | float3 __ovld __cnfn convert_float3_rtz(half3); |
| 5960 | float4 __ovld __cnfn convert_float4(half4); |
| 5961 | float4 __ovld __cnfn convert_float4_rte(half4); |
| 5962 | float4 __ovld __cnfn convert_float4_rtp(half4); |
| 5963 | float4 __ovld __cnfn convert_float4_rtn(half4); |
| 5964 | float4 __ovld __cnfn convert_float4_rtz(half4); |
| 5965 | float8 __ovld __cnfn convert_float8(half8); |
| 5966 | float8 __ovld __cnfn convert_float8_rte(half8); |
| 5967 | float8 __ovld __cnfn convert_float8_rtp(half8); |
| 5968 | float8 __ovld __cnfn convert_float8_rtn(half8); |
| 5969 | float8 __ovld __cnfn convert_float8_rtz(half8); |
| 5970 | float16 __ovld __cnfn convert_float16(half16); |
| 5971 | float16 __ovld __cnfn convert_float16_rte(half16); |
| 5972 | float16 __ovld __cnfn convert_float16_rtp(half16); |
| 5973 | float16 __ovld __cnfn convert_float16_rtn(half16); |
| 5974 | float16 __ovld __cnfn convert_float16_rtz(half16); |
| 5975 | |
| 5976 | // Convert non-double types to half types. |
| 5977 | half __ovld __cnfn convert_half(uchar); |
| 5978 | half __ovld __cnfn convert_half(ushort); |
| 5979 | half __ovld __cnfn convert_half(uint); |
| 5980 | half __ovld __cnfn convert_half(ulong); |
| 5981 | half __ovld __cnfn convert_half(char); |
| 5982 | half __ovld __cnfn convert_half(short); |
| 5983 | half __ovld __cnfn convert_half(int); |
| 5984 | half __ovld __cnfn convert_half(long); |
| 5985 | half __ovld __cnfn convert_half(float); |
| 5986 | half __ovld __cnfn convert_half(half); |
| 5987 | half __ovld __cnfn convert_half_rte(uchar); |
| 5988 | half __ovld __cnfn convert_half_rte(ushort); |
| 5989 | half __ovld __cnfn convert_half_rte(uint); |
| 5990 | half __ovld __cnfn convert_half_rte(ulong); |
| 5991 | half __ovld __cnfn convert_half_rte(char); |
| 5992 | half __ovld __cnfn convert_half_rte(short); |
| 5993 | half __ovld __cnfn convert_half_rte(int); |
| 5994 | half __ovld __cnfn convert_half_rte(long); |
| 5995 | half __ovld __cnfn convert_half_rte(float); |
| 5996 | half __ovld __cnfn convert_half_rte(half); |
| 5997 | half __ovld __cnfn convert_half_rtp(uchar); |
| 5998 | half __ovld __cnfn convert_half_rtp(ushort); |
| 5999 | half __ovld __cnfn convert_half_rtp(uint); |
| 6000 | half __ovld __cnfn convert_half_rtp(ulong); |
| 6001 | half __ovld __cnfn convert_half_rtp(char); |
| 6002 | half __ovld __cnfn convert_half_rtp(short); |
| 6003 | half __ovld __cnfn convert_half_rtp(int); |
| 6004 | half __ovld __cnfn convert_half_rtp(long); |
| 6005 | half __ovld __cnfn convert_half_rtp(float); |
| 6006 | half __ovld __cnfn convert_half_rtp(half); |
| 6007 | half __ovld __cnfn convert_half_rtn(uchar); |
| 6008 | half __ovld __cnfn convert_half_rtn(ushort); |
| 6009 | half __ovld __cnfn convert_half_rtn(uint); |
| 6010 | half __ovld __cnfn convert_half_rtn(ulong); |
| 6011 | half __ovld __cnfn convert_half_rtn(char); |
| 6012 | half __ovld __cnfn convert_half_rtn(short); |
| 6013 | half __ovld __cnfn convert_half_rtn(int); |
| 6014 | half __ovld __cnfn convert_half_rtn(long); |
| 6015 | half __ovld __cnfn convert_half_rtn(float); |
| 6016 | half __ovld __cnfn convert_half_rtn(half); |
| 6017 | half __ovld __cnfn convert_half_rtz(uchar); |
| 6018 | half __ovld __cnfn convert_half_rtz(ushort); |
| 6019 | half __ovld __cnfn convert_half_rtz(uint); |
| 6020 | half __ovld __cnfn convert_half_rtz(ulong); |
| 6021 | half __ovld __cnfn convert_half_rtz(char); |
| 6022 | half __ovld __cnfn convert_half_rtz(short); |
| 6023 | half __ovld __cnfn convert_half_rtz(int); |
| 6024 | half __ovld __cnfn convert_half_rtz(long); |
| 6025 | half __ovld __cnfn convert_half_rtz(float); |
| 6026 | half __ovld __cnfn convert_half_rtz(half); |
| 6027 | half2 __ovld __cnfn convert_half2(char2); |
| 6028 | half2 __ovld __cnfn convert_half2(uchar2); |
| 6029 | half2 __ovld __cnfn convert_half2(short2); |
| 6030 | half2 __ovld __cnfn convert_half2(ushort2); |
| 6031 | half2 __ovld __cnfn convert_half2(int2); |
| 6032 | half2 __ovld __cnfn convert_half2(uint2); |
| 6033 | half2 __ovld __cnfn convert_half2(long2); |
| 6034 | half2 __ovld __cnfn convert_half2(ulong2); |
| 6035 | half2 __ovld __cnfn convert_half2(float2); |
| 6036 | half2 __ovld __cnfn convert_half2(half2); |
| 6037 | half2 __ovld __cnfn convert_half2_rte(char2); |
| 6038 | half2 __ovld __cnfn convert_half2_rte(uchar2); |
| 6039 | half2 __ovld __cnfn convert_half2_rte(short2); |
| 6040 | half2 __ovld __cnfn convert_half2_rte(ushort2); |
| 6041 | half2 __ovld __cnfn convert_half2_rte(int2); |
| 6042 | half2 __ovld __cnfn convert_half2_rte(uint2); |
| 6043 | half2 __ovld __cnfn convert_half2_rte(long2); |
| 6044 | half2 __ovld __cnfn convert_half2_rte(ulong2); |
| 6045 | half2 __ovld __cnfn convert_half2_rte(float2); |
| 6046 | half2 __ovld __cnfn convert_half2_rte(half2); |
| 6047 | half2 __ovld __cnfn convert_half2_rtp(char2); |
| 6048 | half2 __ovld __cnfn convert_half2_rtp(uchar2); |
| 6049 | half2 __ovld __cnfn convert_half2_rtp(short2); |
| 6050 | half2 __ovld __cnfn convert_half2_rtp(ushort2); |
| 6051 | half2 __ovld __cnfn convert_half2_rtp(int2); |
| 6052 | half2 __ovld __cnfn convert_half2_rtp(uint2); |
| 6053 | half2 __ovld __cnfn convert_half2_rtp(long2); |
| 6054 | half2 __ovld __cnfn convert_half2_rtp(ulong2); |
| 6055 | half2 __ovld __cnfn convert_half2_rtp(float2); |
| 6056 | half2 __ovld __cnfn convert_half2_rtp(half2); |
| 6057 | half2 __ovld __cnfn convert_half2_rtn(char2); |
| 6058 | half2 __ovld __cnfn convert_half2_rtn(uchar2); |
| 6059 | half2 __ovld __cnfn convert_half2_rtn(short2); |
| 6060 | half2 __ovld __cnfn convert_half2_rtn(ushort2); |
| 6061 | half2 __ovld __cnfn convert_half2_rtn(int2); |
| 6062 | half2 __ovld __cnfn convert_half2_rtn(uint2); |
| 6063 | half2 __ovld __cnfn convert_half2_rtn(long2); |
| 6064 | half2 __ovld __cnfn convert_half2_rtn(ulong2); |
| 6065 | half2 __ovld __cnfn convert_half2_rtn(float2); |
| 6066 | half2 __ovld __cnfn convert_half2_rtn(half2); |
| 6067 | half2 __ovld __cnfn convert_half2_rtz(char2); |
| 6068 | half2 __ovld __cnfn convert_half2_rtz(uchar2); |
| 6069 | half2 __ovld __cnfn convert_half2_rtz(short2); |
| 6070 | half2 __ovld __cnfn convert_half2_rtz(ushort2); |
| 6071 | half2 __ovld __cnfn convert_half2_rtz(int2); |
| 6072 | half2 __ovld __cnfn convert_half2_rtz(uint2); |
| 6073 | half2 __ovld __cnfn convert_half2_rtz(long2); |
| 6074 | half2 __ovld __cnfn convert_half2_rtz(ulong2); |
| 6075 | half2 __ovld __cnfn convert_half2_rtz(float2); |
| 6076 | half2 __ovld __cnfn convert_half2_rtz(half2); |
| 6077 | half3 __ovld __cnfn convert_half3(char3); |
| 6078 | half3 __ovld __cnfn convert_half3(uchar3); |
| 6079 | half3 __ovld __cnfn convert_half3(short3); |
| 6080 | half3 __ovld __cnfn convert_half3(ushort3); |
| 6081 | half3 __ovld __cnfn convert_half3(int3); |
| 6082 | half3 __ovld __cnfn convert_half3(uint3); |
| 6083 | half3 __ovld __cnfn convert_half3(long3); |
| 6084 | half3 __ovld __cnfn convert_half3(ulong3); |
| 6085 | half3 __ovld __cnfn convert_half3(float3); |
| 6086 | half3 __ovld __cnfn convert_half3(half3); |
| 6087 | half3 __ovld __cnfn convert_half3_rte(char3); |
| 6088 | half3 __ovld __cnfn convert_half3_rte(uchar3); |
| 6089 | half3 __ovld __cnfn convert_half3_rte(short3); |
| 6090 | half3 __ovld __cnfn convert_half3_rte(ushort3); |
| 6091 | half3 __ovld __cnfn convert_half3_rte(int3); |
| 6092 | half3 __ovld __cnfn convert_half3_rte(uint3); |
| 6093 | half3 __ovld __cnfn convert_half3_rte(long3); |
| 6094 | half3 __ovld __cnfn convert_half3_rte(ulong3); |
| 6095 | half3 __ovld __cnfn convert_half3_rte(float3); |
| 6096 | half3 __ovld __cnfn convert_half3_rte(half3); |
| 6097 | half3 __ovld __cnfn convert_half3_rtp(char3); |
| 6098 | half3 __ovld __cnfn convert_half3_rtp(uchar3); |
| 6099 | half3 __ovld __cnfn convert_half3_rtp(short3); |
| 6100 | half3 __ovld __cnfn convert_half3_rtp(ushort3); |
| 6101 | half3 __ovld __cnfn convert_half3_rtp(int3); |
| 6102 | half3 __ovld __cnfn convert_half3_rtp(uint3); |
| 6103 | half3 __ovld __cnfn convert_half3_rtp(long3); |
| 6104 | half3 __ovld __cnfn convert_half3_rtp(ulong3); |
| 6105 | half3 __ovld __cnfn convert_half3_rtp(float3); |
| 6106 | half3 __ovld __cnfn convert_half3_rtp(half3); |
| 6107 | half3 __ovld __cnfn convert_half3_rtn(char3); |
| 6108 | half3 __ovld __cnfn convert_half3_rtn(uchar3); |
| 6109 | half3 __ovld __cnfn convert_half3_rtn(short3); |
| 6110 | half3 __ovld __cnfn convert_half3_rtn(ushort3); |
| 6111 | half3 __ovld __cnfn convert_half3_rtn(int3); |
| 6112 | half3 __ovld __cnfn convert_half3_rtn(uint3); |
| 6113 | half3 __ovld __cnfn convert_half3_rtn(long3); |
| 6114 | half3 __ovld __cnfn convert_half3_rtn(ulong3); |
| 6115 | half3 __ovld __cnfn convert_half3_rtn(float3); |
| 6116 | half3 __ovld __cnfn convert_half3_rtn(half3); |
| 6117 | half3 __ovld __cnfn convert_half3_rtz(char3); |
| 6118 | half3 __ovld __cnfn convert_half3_rtz(uchar3); |
| 6119 | half3 __ovld __cnfn convert_half3_rtz(short3); |
| 6120 | half3 __ovld __cnfn convert_half3_rtz(ushort3); |
| 6121 | half3 __ovld __cnfn convert_half3_rtz(int3); |
| 6122 | half3 __ovld __cnfn convert_half3_rtz(uint3); |
| 6123 | half3 __ovld __cnfn convert_half3_rtz(long3); |
| 6124 | half3 __ovld __cnfn convert_half3_rtz(ulong3); |
| 6125 | half3 __ovld __cnfn convert_half3_rtz(float3); |
| 6126 | half3 __ovld __cnfn convert_half3_rtz(half3); |
| 6127 | half4 __ovld __cnfn convert_half4(char4); |
| 6128 | half4 __ovld __cnfn convert_half4(uchar4); |
| 6129 | half4 __ovld __cnfn convert_half4(short4); |
| 6130 | half4 __ovld __cnfn convert_half4(ushort4); |
| 6131 | half4 __ovld __cnfn convert_half4(int4); |
| 6132 | half4 __ovld __cnfn convert_half4(uint4); |
| 6133 | half4 __ovld __cnfn convert_half4(long4); |
| 6134 | half4 __ovld __cnfn convert_half4(ulong4); |
| 6135 | half4 __ovld __cnfn convert_half4(float4); |
| 6136 | half4 __ovld __cnfn convert_half4(half4); |
| 6137 | half4 __ovld __cnfn convert_half4_rte(char4); |
| 6138 | half4 __ovld __cnfn convert_half4_rte(uchar4); |
| 6139 | half4 __ovld __cnfn convert_half4_rte(short4); |
| 6140 | half4 __ovld __cnfn convert_half4_rte(ushort4); |
| 6141 | half4 __ovld __cnfn convert_half4_rte(int4); |
| 6142 | half4 __ovld __cnfn convert_half4_rte(uint4); |
| 6143 | half4 __ovld __cnfn convert_half4_rte(long4); |
| 6144 | half4 __ovld __cnfn convert_half4_rte(ulong4); |
| 6145 | half4 __ovld __cnfn convert_half4_rte(float4); |
| 6146 | half4 __ovld __cnfn convert_half4_rte(half4); |
| 6147 | half4 __ovld __cnfn convert_half4_rtp(char4); |
| 6148 | half4 __ovld __cnfn convert_half4_rtp(uchar4); |
| 6149 | half4 __ovld __cnfn convert_half4_rtp(short4); |
| 6150 | half4 __ovld __cnfn convert_half4_rtp(ushort4); |
| 6151 | half4 __ovld __cnfn convert_half4_rtp(int4); |
| 6152 | half4 __ovld __cnfn convert_half4_rtp(uint4); |
| 6153 | half4 __ovld __cnfn convert_half4_rtp(long4); |
| 6154 | half4 __ovld __cnfn convert_half4_rtp(ulong4); |
| 6155 | half4 __ovld __cnfn convert_half4_rtp(float4); |
| 6156 | half4 __ovld __cnfn convert_half4_rtp(half4); |
| 6157 | half4 __ovld __cnfn convert_half4_rtn(char4); |
| 6158 | half4 __ovld __cnfn convert_half4_rtn(uchar4); |
| 6159 | half4 __ovld __cnfn convert_half4_rtn(short4); |
| 6160 | half4 __ovld __cnfn convert_half4_rtn(ushort4); |
| 6161 | half4 __ovld __cnfn convert_half4_rtn(int4); |
| 6162 | half4 __ovld __cnfn convert_half4_rtn(uint4); |
| 6163 | half4 __ovld __cnfn convert_half4_rtn(long4); |
| 6164 | half4 __ovld __cnfn convert_half4_rtn(ulong4); |
| 6165 | half4 __ovld __cnfn convert_half4_rtn(float4); |
| 6166 | half4 __ovld __cnfn convert_half4_rtn(half4); |
| 6167 | half4 __ovld __cnfn convert_half4_rtz(char4); |
| 6168 | half4 __ovld __cnfn convert_half4_rtz(uchar4); |
| 6169 | half4 __ovld __cnfn convert_half4_rtz(short4); |
| 6170 | half4 __ovld __cnfn convert_half4_rtz(ushort4); |
| 6171 | half4 __ovld __cnfn convert_half4_rtz(int4); |
| 6172 | half4 __ovld __cnfn convert_half4_rtz(uint4); |
| 6173 | half4 __ovld __cnfn convert_half4_rtz(long4); |
| 6174 | half4 __ovld __cnfn convert_half4_rtz(ulong4); |
| 6175 | half4 __ovld __cnfn convert_half4_rtz(float4); |
| 6176 | half4 __ovld __cnfn convert_half4_rtz(half4); |
| 6177 | half8 __ovld __cnfn convert_half8(char8); |
| 6178 | half8 __ovld __cnfn convert_half8(uchar8); |
| 6179 | half8 __ovld __cnfn convert_half8(short8); |
| 6180 | half8 __ovld __cnfn convert_half8(ushort8); |
| 6181 | half8 __ovld __cnfn convert_half8(int8); |
| 6182 | half8 __ovld __cnfn convert_half8(uint8); |
| 6183 | half8 __ovld __cnfn convert_half8(long8); |
| 6184 | half8 __ovld __cnfn convert_half8(ulong8); |
| 6185 | half8 __ovld __cnfn convert_half8(float8); |
| 6186 | half8 __ovld __cnfn convert_half8(half8); |
| 6187 | half8 __ovld __cnfn convert_half8_rte(char8); |
| 6188 | half8 __ovld __cnfn convert_half8_rte(uchar8); |
| 6189 | half8 __ovld __cnfn convert_half8_rte(short8); |
| 6190 | half8 __ovld __cnfn convert_half8_rte(ushort8); |
| 6191 | half8 __ovld __cnfn convert_half8_rte(int8); |
| 6192 | half8 __ovld __cnfn convert_half8_rte(uint8); |
| 6193 | half8 __ovld __cnfn convert_half8_rte(long8); |
| 6194 | half8 __ovld __cnfn convert_half8_rte(ulong8); |
| 6195 | half8 __ovld __cnfn convert_half8_rte(float8); |
| 6196 | half8 __ovld __cnfn convert_half8_rte(half8); |
| 6197 | half8 __ovld __cnfn convert_half8_rtp(char8); |
| 6198 | half8 __ovld __cnfn convert_half8_rtp(uchar8); |
| 6199 | half8 __ovld __cnfn convert_half8_rtp(short8); |
| 6200 | half8 __ovld __cnfn convert_half8_rtp(ushort8); |
| 6201 | half8 __ovld __cnfn convert_half8_rtp(int8); |
| 6202 | half8 __ovld __cnfn convert_half8_rtp(uint8); |
| 6203 | half8 __ovld __cnfn convert_half8_rtp(long8); |
| 6204 | half8 __ovld __cnfn convert_half8_rtp(ulong8); |
| 6205 | half8 __ovld __cnfn convert_half8_rtp(float8); |
| 6206 | half8 __ovld __cnfn convert_half8_rtp(half8); |
| 6207 | half8 __ovld __cnfn convert_half8_rtn(char8); |
| 6208 | half8 __ovld __cnfn convert_half8_rtn(uchar8); |
| 6209 | half8 __ovld __cnfn convert_half8_rtn(short8); |
| 6210 | half8 __ovld __cnfn convert_half8_rtn(ushort8); |
| 6211 | half8 __ovld __cnfn convert_half8_rtn(int8); |
| 6212 | half8 __ovld __cnfn convert_half8_rtn(uint8); |
| 6213 | half8 __ovld __cnfn convert_half8_rtn(long8); |
| 6214 | half8 __ovld __cnfn convert_half8_rtn(ulong8); |
| 6215 | half8 __ovld __cnfn convert_half8_rtn(float8); |
| 6216 | half8 __ovld __cnfn convert_half8_rtn(half8); |
| 6217 | half8 __ovld __cnfn convert_half8_rtz(char8); |
| 6218 | half8 __ovld __cnfn convert_half8_rtz(uchar8); |
| 6219 | half8 __ovld __cnfn convert_half8_rtz(short8); |
| 6220 | half8 __ovld __cnfn convert_half8_rtz(ushort8); |
| 6221 | half8 __ovld __cnfn convert_half8_rtz(int8); |
| 6222 | half8 __ovld __cnfn convert_half8_rtz(uint8); |
| 6223 | half8 __ovld __cnfn convert_half8_rtz(long8); |
| 6224 | half8 __ovld __cnfn convert_half8_rtz(ulong8); |
| 6225 | half8 __ovld __cnfn convert_half8_rtz(float8); |
| 6226 | half8 __ovld __cnfn convert_half8_rtz(half8); |
| 6227 | half16 __ovld __cnfn convert_half16(char16); |
| 6228 | half16 __ovld __cnfn convert_half16(uchar16); |
| 6229 | half16 __ovld __cnfn convert_half16(short16); |
| 6230 | half16 __ovld __cnfn convert_half16(ushort16); |
| 6231 | half16 __ovld __cnfn convert_half16(int16); |
| 6232 | half16 __ovld __cnfn convert_half16(uint16); |
| 6233 | half16 __ovld __cnfn convert_half16(long16); |
| 6234 | half16 __ovld __cnfn convert_half16(ulong16); |
| 6235 | half16 __ovld __cnfn convert_half16(float16); |
| 6236 | half16 __ovld __cnfn convert_half16(half16); |
| 6237 | half16 __ovld __cnfn convert_half16_rte(char16); |
| 6238 | half16 __ovld __cnfn convert_half16_rte(uchar16); |
| 6239 | half16 __ovld __cnfn convert_half16_rte(short16); |
| 6240 | half16 __ovld __cnfn convert_half16_rte(ushort16); |
| 6241 | half16 __ovld __cnfn convert_half16_rte(int16); |
| 6242 | half16 __ovld __cnfn convert_half16_rte(uint16); |
| 6243 | half16 __ovld __cnfn convert_half16_rte(long16); |
| 6244 | half16 __ovld __cnfn convert_half16_rte(ulong16); |
| 6245 | half16 __ovld __cnfn convert_half16_rte(float16); |
| 6246 | half16 __ovld __cnfn convert_half16_rte(half16); |
| 6247 | half16 __ovld __cnfn convert_half16_rtp(char16); |
| 6248 | half16 __ovld __cnfn convert_half16_rtp(uchar16); |
| 6249 | half16 __ovld __cnfn convert_half16_rtp(short16); |
| 6250 | half16 __ovld __cnfn convert_half16_rtp(ushort16); |
| 6251 | half16 __ovld __cnfn convert_half16_rtp(int16); |
| 6252 | half16 __ovld __cnfn convert_half16_rtp(uint16); |
| 6253 | half16 __ovld __cnfn convert_half16_rtp(long16); |
| 6254 | half16 __ovld __cnfn convert_half16_rtp(ulong16); |
| 6255 | half16 __ovld __cnfn convert_half16_rtp(float16); |
| 6256 | half16 __ovld __cnfn convert_half16_rtp(half16); |
| 6257 | half16 __ovld __cnfn convert_half16_rtn(char16); |
| 6258 | half16 __ovld __cnfn convert_half16_rtn(uchar16); |
| 6259 | half16 __ovld __cnfn convert_half16_rtn(short16); |
| 6260 | half16 __ovld __cnfn convert_half16_rtn(ushort16); |
| 6261 | half16 __ovld __cnfn convert_half16_rtn(int16); |
| 6262 | half16 __ovld __cnfn convert_half16_rtn(uint16); |
| 6263 | half16 __ovld __cnfn convert_half16_rtn(long16); |
| 6264 | half16 __ovld __cnfn convert_half16_rtn(ulong16); |
| 6265 | half16 __ovld __cnfn convert_half16_rtn(float16); |
| 6266 | half16 __ovld __cnfn convert_half16_rtn(half16); |
| 6267 | half16 __ovld __cnfn convert_half16_rtz(char16); |
| 6268 | half16 __ovld __cnfn convert_half16_rtz(uchar16); |
| 6269 | half16 __ovld __cnfn convert_half16_rtz(short16); |
| 6270 | half16 __ovld __cnfn convert_half16_rtz(ushort16); |
| 6271 | half16 __ovld __cnfn convert_half16_rtz(int16); |
| 6272 | half16 __ovld __cnfn convert_half16_rtz(uint16); |
| 6273 | half16 __ovld __cnfn convert_half16_rtz(long16); |
| 6274 | half16 __ovld __cnfn convert_half16_rtz(ulong16); |
| 6275 | half16 __ovld __cnfn convert_half16_rtz(float16); |
| 6276 | half16 __ovld __cnfn convert_half16_rtz(half16); |
| 6277 | |
| 6278 | // Convert half types to double types. |
| 6279 | #ifdef cl_khr_fp64 |
| 6280 | double __ovld __cnfn convert_double(half); |
| 6281 | double __ovld __cnfn convert_double_rte(half); |
| 6282 | double __ovld __cnfn convert_double_rtp(half); |
| 6283 | double __ovld __cnfn convert_double_rtn(half); |
| 6284 | double __ovld __cnfn convert_double_rtz(half); |
| 6285 | double2 __ovld __cnfn convert_double2(half2); |
| 6286 | double2 __ovld __cnfn convert_double2_rte(half2); |
| 6287 | double2 __ovld __cnfn convert_double2_rtp(half2); |
| 6288 | double2 __ovld __cnfn convert_double2_rtn(half2); |
| 6289 | double2 __ovld __cnfn convert_double2_rtz(half2); |
| 6290 | double3 __ovld __cnfn convert_double3(half3); |
| 6291 | double3 __ovld __cnfn convert_double3_rte(half3); |
| 6292 | double3 __ovld __cnfn convert_double3_rtp(half3); |
| 6293 | double3 __ovld __cnfn convert_double3_rtn(half3); |
| 6294 | double3 __ovld __cnfn convert_double3_rtz(half3); |
| 6295 | double4 __ovld __cnfn convert_double4(half4); |
| 6296 | double4 __ovld __cnfn convert_double4_rte(half4); |
| 6297 | double4 __ovld __cnfn convert_double4_rtp(half4); |
| 6298 | double4 __ovld __cnfn convert_double4_rtn(half4); |
| 6299 | double4 __ovld __cnfn convert_double4_rtz(half4); |
| 6300 | double8 __ovld __cnfn convert_double8(half8); |
| 6301 | double8 __ovld __cnfn convert_double8_rte(half8); |
| 6302 | double8 __ovld __cnfn convert_double8_rtp(half8); |
| 6303 | double8 __ovld __cnfn convert_double8_rtn(half8); |
| 6304 | double8 __ovld __cnfn convert_double8_rtz(half8); |
| 6305 | double16 __ovld __cnfn convert_double16(half16); |
| 6306 | double16 __ovld __cnfn convert_double16_rte(half16); |
| 6307 | double16 __ovld __cnfn convert_double16_rtp(half16); |
| 6308 | double16 __ovld __cnfn convert_double16_rtn(half16); |
| 6309 | double16 __ovld __cnfn convert_double16_rtz(half16); |
| 6310 | |
| 6311 | // Convert double types to half types. |
| 6312 | half __ovld __cnfn convert_half(double); |
| 6313 | half __ovld __cnfn convert_half_rte(double); |
| 6314 | half __ovld __cnfn convert_half_rtp(double); |
| 6315 | half __ovld __cnfn convert_half_rtn(double); |
| 6316 | half __ovld __cnfn convert_half_rtz(double); |
| 6317 | half2 __ovld __cnfn convert_half2(double2); |
| 6318 | half2 __ovld __cnfn convert_half2_rte(double2); |
| 6319 | half2 __ovld __cnfn convert_half2_rtp(double2); |
| 6320 | half2 __ovld __cnfn convert_half2_rtn(double2); |
| 6321 | half2 __ovld __cnfn convert_half2_rtz(double2); |
| 6322 | half3 __ovld __cnfn convert_half3(double3); |
| 6323 | half3 __ovld __cnfn convert_half3_rte(double3); |
| 6324 | half3 __ovld __cnfn convert_half3_rtp(double3); |
| 6325 | half3 __ovld __cnfn convert_half3_rtn(double3); |
| 6326 | half3 __ovld __cnfn convert_half3_rtz(double3); |
| 6327 | half4 __ovld __cnfn convert_half4(double4); |
| 6328 | half4 __ovld __cnfn convert_half4_rte(double4); |
| 6329 | half4 __ovld __cnfn convert_half4_rtp(double4); |
| 6330 | half4 __ovld __cnfn convert_half4_rtn(double4); |
| 6331 | half4 __ovld __cnfn convert_half4_rtz(double4); |
| 6332 | half8 __ovld __cnfn convert_half8(double8); |
| 6333 | half8 __ovld __cnfn convert_half8_rte(double8); |
| 6334 | half8 __ovld __cnfn convert_half8_rtp(double8); |
| 6335 | half8 __ovld __cnfn convert_half8_rtn(double8); |
| 6336 | half8 __ovld __cnfn convert_half8_rtz(double8); |
| 6337 | half16 __ovld __cnfn convert_half16(double16); |
| 6338 | half16 __ovld __cnfn convert_half16_rte(double16); |
| 6339 | half16 __ovld __cnfn convert_half16_rtp(double16); |
| 6340 | half16 __ovld __cnfn convert_half16_rtn(double16); |
| 6341 | half16 __ovld __cnfn convert_half16_rtz(double16); |
| 6342 | #endif //cl_khr_fp64 |
| 6343 | |
| 6344 | #endif // cl_khr_fp16 |
| 6345 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 6346 | // OpenCL v1.1 s6.11.1, v1.2 s6.12.1, v2.0 s6.13.1 - Work-item Functions |
| 6347 | |
| 6348 | /** |
| 6349 | * Returns the number of dimensions in use. This is the |
| 6350 | * value given to the work_dim argument specified in |
| 6351 | * clEnqueueNDRangeKernel. |
| 6352 | * For clEnqueueTask, this returns 1. |
| 6353 | */ |
| 6354 | uint __ovld __cnfn get_work_dim(void); |
| 6355 | |
| 6356 | /** |
| 6357 | * Returns the number of global work-items specified for |
| 6358 | * dimension identified by dimindx. This value is given by |
| 6359 | * the global_work_size argument to |
| 6360 | * clEnqueueNDRangeKernel. Valid values of dimindx |
| 6361 | * are 0 to get_work_dim() - 1. For other values of |
| 6362 | * dimindx, get_global_size() returns 1. |
| 6363 | * For clEnqueueTask, this always returns 1. |
| 6364 | */ |
| 6365 | size_t __ovld __cnfn get_global_size(uint dimindx); |
| 6366 | |
| 6367 | /** |
| 6368 | * Returns the unique global work-item ID value for |
| 6369 | * dimension identified by dimindx. The global work-item |
| 6370 | * ID specifies the work-item ID based on the number of |
| 6371 | * global work-items specified to execute the kernel. Valid |
| 6372 | * values of dimindx are 0 to get_work_dim() - 1. For |
| 6373 | * other values of dimindx, get_global_id() returns 0. |
| 6374 | * For clEnqueueTask, this returns 0. |
| 6375 | */ |
| 6376 | size_t __ovld __cnfn get_global_id(uint dimindx); |
| 6377 | |
| 6378 | /** |
| 6379 | * Returns the number of local work-items specified in |
| 6380 | * dimension identified by dimindx. This value is given by |
| 6381 | * the local_work_size argument to |
| 6382 | * clEnqueueNDRangeKernel if local_work_size is not |
| 6383 | * NULL; otherwise the OpenCL implementation chooses |
| 6384 | * an appropriate local_work_size value which is returned |
| 6385 | * by this function. Valid values of dimindx are 0 to |
| 6386 | * get_work_dim() - 1. For other values of dimindx, |
| 6387 | * get_local_size() returns 1. |
| 6388 | * For clEnqueueTask, this always returns 1. |
| 6389 | */ |
| 6390 | size_t __ovld __cnfn get_local_size(uint dimindx); |
| 6391 | |
| 6392 | /** |
| 6393 | * Returns the unique local work-item ID i.e. a work-item |
| 6394 | * within a specific work-group for dimension identified by |
| 6395 | * dimindx. Valid values of dimindx are 0 to |
| 6396 | * get_work_dim() - 1. For other values of dimindx, |
| 6397 | * get_local_id() returns 0. |
| 6398 | * For clEnqueueTask, this returns 0. |
| 6399 | */ |
| 6400 | size_t __ovld __cnfn get_local_id(uint dimindx); |
| 6401 | |
| 6402 | /** |
| 6403 | * Returns the number of work-groups that will execute a |
| 6404 | * kernel for dimension identified by dimindx. |
| 6405 | * Valid values of dimindx are 0 to get_work_dim() - 1. |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 6406 | * For other values of dimindx, get_num_groups() returns 1. |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 6407 | * For clEnqueueTask, this always returns 1. |
| 6408 | */ |
| 6409 | size_t __ovld __cnfn get_num_groups(uint dimindx); |
| 6410 | |
| 6411 | /** |
| 6412 | * get_group_id returns the work-group ID which is a |
| 6413 | * number from 0 .. get_num_groups(dimindx) - 1. |
| 6414 | * Valid values of dimindx are 0 to get_work_dim() - 1. |
| 6415 | * For other values, get_group_id() returns 0. |
| 6416 | * For clEnqueueTask, this returns 0. |
| 6417 | */ |
| 6418 | size_t __ovld __cnfn get_group_id(uint dimindx); |
| 6419 | |
| 6420 | /** |
| 6421 | * get_global_offset returns the offset values specified in |
| 6422 | * global_work_offset argument to |
| 6423 | * clEnqueueNDRangeKernel. |
| 6424 | * Valid values of dimindx are 0 to get_work_dim() - 1. |
| 6425 | * For other values, get_global_offset() returns 0. |
| 6426 | * For clEnqueueTask, this returns 0. |
| 6427 | */ |
| 6428 | size_t __ovld __cnfn get_global_offset(uint dimindx); |
| 6429 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 6430 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 6431 | size_t __ovld get_enqueued_local_size(uint dimindx); |
| 6432 | size_t __ovld get_global_linear_id(void); |
| 6433 | size_t __ovld get_local_linear_id(void); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 6434 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 6435 | |
| 6436 | // OpenCL v1.1 s6.11.2, v1.2 s6.12.2, v2.0 s6.13.2 - Math functions |
| 6437 | |
| 6438 | /** |
| 6439 | * Arc cosine function. |
| 6440 | */ |
| 6441 | float __ovld __cnfn acos(float); |
| 6442 | float2 __ovld __cnfn acos(float2); |
| 6443 | float3 __ovld __cnfn acos(float3); |
| 6444 | float4 __ovld __cnfn acos(float4); |
| 6445 | float8 __ovld __cnfn acos(float8); |
| 6446 | float16 __ovld __cnfn acos(float16); |
| 6447 | #ifdef cl_khr_fp64 |
| 6448 | double __ovld __cnfn acos(double); |
| 6449 | double2 __ovld __cnfn acos(double2); |
| 6450 | double3 __ovld __cnfn acos(double3); |
| 6451 | double4 __ovld __cnfn acos(double4); |
| 6452 | double8 __ovld __cnfn acos(double8); |
| 6453 | double16 __ovld __cnfn acos(double16); |
| 6454 | #endif //cl_khr_fp64 |
| 6455 | #ifdef cl_khr_fp16 |
| 6456 | half __ovld __cnfn acos(half); |
| 6457 | half2 __ovld __cnfn acos(half2); |
| 6458 | half3 __ovld __cnfn acos(half3); |
| 6459 | half4 __ovld __cnfn acos(half4); |
| 6460 | half8 __ovld __cnfn acos(half8); |
| 6461 | half16 __ovld __cnfn acos(half16); |
| 6462 | #endif //cl_khr_fp16 |
| 6463 | |
| 6464 | /** |
| 6465 | * Inverse hyperbolic cosine. |
| 6466 | */ |
| 6467 | float __ovld __cnfn acosh(float); |
| 6468 | float2 __ovld __cnfn acosh(float2); |
| 6469 | float3 __ovld __cnfn acosh(float3); |
| 6470 | float4 __ovld __cnfn acosh(float4); |
| 6471 | float8 __ovld __cnfn acosh(float8); |
| 6472 | float16 __ovld __cnfn acosh(float16); |
| 6473 | #ifdef cl_khr_fp64 |
| 6474 | double __ovld __cnfn acosh(double); |
| 6475 | double2 __ovld __cnfn acosh(double2); |
| 6476 | double3 __ovld __cnfn acosh(double3); |
| 6477 | double4 __ovld __cnfn acosh(double4); |
| 6478 | double8 __ovld __cnfn acosh(double8); |
| 6479 | double16 __ovld __cnfn acosh(double16); |
| 6480 | #endif //cl_khr_fp64 |
| 6481 | #ifdef cl_khr_fp16 |
| 6482 | half __ovld __cnfn acosh(half); |
| 6483 | half2 __ovld __cnfn acosh(half2); |
| 6484 | half3 __ovld __cnfn acosh(half3); |
| 6485 | half4 __ovld __cnfn acosh(half4); |
| 6486 | half8 __ovld __cnfn acosh(half8); |
| 6487 | half16 __ovld __cnfn acosh(half16); |
| 6488 | #endif //cl_khr_fp16 |
| 6489 | |
| 6490 | /** |
| 6491 | * Compute acos (x) / PI. |
| 6492 | */ |
| 6493 | float __ovld __cnfn acospi(float x); |
| 6494 | float2 __ovld __cnfn acospi(float2 x); |
| 6495 | float3 __ovld __cnfn acospi(float3 x); |
| 6496 | float4 __ovld __cnfn acospi(float4 x); |
| 6497 | float8 __ovld __cnfn acospi(float8 x); |
| 6498 | float16 __ovld __cnfn acospi(float16 x); |
| 6499 | #ifdef cl_khr_fp64 |
| 6500 | double __ovld __cnfn acospi(double x); |
| 6501 | double2 __ovld __cnfn acospi(double2 x); |
| 6502 | double3 __ovld __cnfn acospi(double3 x); |
| 6503 | double4 __ovld __cnfn acospi(double4 x); |
| 6504 | double8 __ovld __cnfn acospi(double8 x); |
| 6505 | double16 __ovld __cnfn acospi(double16 x); |
| 6506 | #endif //cl_khr_fp64 |
| 6507 | #ifdef cl_khr_fp16 |
| 6508 | half __ovld __cnfn acospi(half x); |
| 6509 | half2 __ovld __cnfn acospi(half2 x); |
| 6510 | half3 __ovld __cnfn acospi(half3 x); |
| 6511 | half4 __ovld __cnfn acospi(half4 x); |
| 6512 | half8 __ovld __cnfn acospi(half8 x); |
| 6513 | half16 __ovld __cnfn acospi(half16 x); |
| 6514 | #endif //cl_khr_fp16 |
| 6515 | |
| 6516 | /** |
| 6517 | * Arc sine function. |
| 6518 | */ |
| 6519 | float __ovld __cnfn asin(float); |
| 6520 | float2 __ovld __cnfn asin(float2); |
| 6521 | float3 __ovld __cnfn asin(float3); |
| 6522 | float4 __ovld __cnfn asin(float4); |
| 6523 | float8 __ovld __cnfn asin(float8); |
| 6524 | float16 __ovld __cnfn asin(float16); |
| 6525 | #ifdef cl_khr_fp64 |
| 6526 | double __ovld __cnfn asin(double); |
| 6527 | double2 __ovld __cnfn asin(double2); |
| 6528 | double3 __ovld __cnfn asin(double3); |
| 6529 | double4 __ovld __cnfn asin(double4); |
| 6530 | double8 __ovld __cnfn asin(double8); |
| 6531 | double16 __ovld __cnfn asin(double16); |
| 6532 | #endif //cl_khr_fp64 |
| 6533 | #ifdef cl_khr_fp16 |
| 6534 | half __ovld __cnfn asin(half); |
| 6535 | half2 __ovld __cnfn asin(half2); |
| 6536 | half3 __ovld __cnfn asin(half3); |
| 6537 | half4 __ovld __cnfn asin(half4); |
| 6538 | half8 __ovld __cnfn asin(half8); |
| 6539 | half16 __ovld __cnfn asin(half16); |
| 6540 | #endif //cl_khr_fp16 |
| 6541 | |
| 6542 | /** |
| 6543 | * Inverse hyperbolic sine. |
| 6544 | */ |
| 6545 | float __ovld __cnfn asinh(float); |
| 6546 | float2 __ovld __cnfn asinh(float2); |
| 6547 | float3 __ovld __cnfn asinh(float3); |
| 6548 | float4 __ovld __cnfn asinh(float4); |
| 6549 | float8 __ovld __cnfn asinh(float8); |
| 6550 | float16 __ovld __cnfn asinh(float16); |
| 6551 | #ifdef cl_khr_fp64 |
| 6552 | double __ovld __cnfn asinh(double); |
| 6553 | double2 __ovld __cnfn asinh(double2); |
| 6554 | double3 __ovld __cnfn asinh(double3); |
| 6555 | double4 __ovld __cnfn asinh(double4); |
| 6556 | double8 __ovld __cnfn asinh(double8); |
| 6557 | double16 __ovld __cnfn asinh(double16); |
| 6558 | #endif //cl_khr_fp64 |
| 6559 | #ifdef cl_khr_fp16 |
| 6560 | half __ovld __cnfn asinh(half); |
| 6561 | half2 __ovld __cnfn asinh(half2); |
| 6562 | half3 __ovld __cnfn asinh(half3); |
| 6563 | half4 __ovld __cnfn asinh(half4); |
| 6564 | half8 __ovld __cnfn asinh(half8); |
| 6565 | half16 __ovld __cnfn asinh(half16); |
| 6566 | #endif //cl_khr_fp16 |
| 6567 | |
| 6568 | /** |
| 6569 | * Compute asin (x) / PI. |
| 6570 | */ |
| 6571 | float __ovld __cnfn asinpi(float x); |
| 6572 | float2 __ovld __cnfn asinpi(float2 x); |
| 6573 | float3 __ovld __cnfn asinpi(float3 x); |
| 6574 | float4 __ovld __cnfn asinpi(float4 x); |
| 6575 | float8 __ovld __cnfn asinpi(float8 x); |
| 6576 | float16 __ovld __cnfn asinpi(float16 x); |
| 6577 | #ifdef cl_khr_fp64 |
| 6578 | double __ovld __cnfn asinpi(double x); |
| 6579 | double2 __ovld __cnfn asinpi(double2 x); |
| 6580 | double3 __ovld __cnfn asinpi(double3 x); |
| 6581 | double4 __ovld __cnfn asinpi(double4 x); |
| 6582 | double8 __ovld __cnfn asinpi(double8 x); |
| 6583 | double16 __ovld __cnfn asinpi(double16 x); |
| 6584 | #endif //cl_khr_fp64 |
| 6585 | #ifdef cl_khr_fp16 |
| 6586 | half __ovld __cnfn asinpi(half x); |
| 6587 | half2 __ovld __cnfn asinpi(half2 x); |
| 6588 | half3 __ovld __cnfn asinpi(half3 x); |
| 6589 | half4 __ovld __cnfn asinpi(half4 x); |
| 6590 | half8 __ovld __cnfn asinpi(half8 x); |
| 6591 | half16 __ovld __cnfn asinpi(half16 x); |
| 6592 | #endif //cl_khr_fp16 |
| 6593 | |
| 6594 | /** |
| 6595 | * Arc tangent function. |
| 6596 | */ |
| 6597 | float __ovld __cnfn atan(float y_over_x); |
| 6598 | float2 __ovld __cnfn atan(float2 y_over_x); |
| 6599 | float3 __ovld __cnfn atan(float3 y_over_x); |
| 6600 | float4 __ovld __cnfn atan(float4 y_over_x); |
| 6601 | float8 __ovld __cnfn atan(float8 y_over_x); |
| 6602 | float16 __ovld __cnfn atan(float16 y_over_x); |
| 6603 | #ifdef cl_khr_fp64 |
| 6604 | double __ovld __cnfn atan(double y_over_x); |
| 6605 | double2 __ovld __cnfn atan(double2 y_over_x); |
| 6606 | double3 __ovld __cnfn atan(double3 y_over_x); |
| 6607 | double4 __ovld __cnfn atan(double4 y_over_x); |
| 6608 | double8 __ovld __cnfn atan(double8 y_over_x); |
| 6609 | double16 __ovld __cnfn atan(double16 y_over_x); |
| 6610 | #endif //cl_khr_fp64 |
| 6611 | #ifdef cl_khr_fp16 |
| 6612 | half __ovld __cnfn atan(half y_over_x); |
| 6613 | half2 __ovld __cnfn atan(half2 y_over_x); |
| 6614 | half3 __ovld __cnfn atan(half3 y_over_x); |
| 6615 | half4 __ovld __cnfn atan(half4 y_over_x); |
| 6616 | half8 __ovld __cnfn atan(half8 y_over_x); |
| 6617 | half16 __ovld __cnfn atan(half16 y_over_x); |
| 6618 | #endif //cl_khr_fp16 |
| 6619 | |
| 6620 | /** |
| 6621 | * Arc tangent of y / x. |
| 6622 | */ |
| 6623 | float __ovld __cnfn atan2(float y, float x); |
| 6624 | float2 __ovld __cnfn atan2(float2 y, float2 x); |
| 6625 | float3 __ovld __cnfn atan2(float3 y, float3 x); |
| 6626 | float4 __ovld __cnfn atan2(float4 y, float4 x); |
| 6627 | float8 __ovld __cnfn atan2(float8 y, float8 x); |
| 6628 | float16 __ovld __cnfn atan2(float16 y, float16 x); |
| 6629 | #ifdef cl_khr_fp64 |
| 6630 | double __ovld __cnfn atan2(double y, double x); |
| 6631 | double2 __ovld __cnfn atan2(double2 y, double2 x); |
| 6632 | double3 __ovld __cnfn atan2(double3 y, double3 x); |
| 6633 | double4 __ovld __cnfn atan2(double4 y, double4 x); |
| 6634 | double8 __ovld __cnfn atan2(double8 y, double8 x); |
| 6635 | double16 __ovld __cnfn atan2(double16 y, double16 x); |
| 6636 | #endif //cl_khr_fp64 |
| 6637 | #ifdef cl_khr_fp16 |
| 6638 | half __ovld __cnfn atan2(half y, half x); |
| 6639 | half2 __ovld __cnfn atan2(half2 y, half2 x); |
| 6640 | half3 __ovld __cnfn atan2(half3 y, half3 x); |
| 6641 | half4 __ovld __cnfn atan2(half4 y, half4 x); |
| 6642 | half8 __ovld __cnfn atan2(half8 y, half8 x); |
| 6643 | half16 __ovld __cnfn atan2(half16 y, half16 x); |
| 6644 | #endif //cl_khr_fp16 |
| 6645 | |
| 6646 | /** |
| 6647 | * Hyperbolic arc tangent. |
| 6648 | */ |
| 6649 | float __ovld __cnfn atanh(float); |
| 6650 | float2 __ovld __cnfn atanh(float2); |
| 6651 | float3 __ovld __cnfn atanh(float3); |
| 6652 | float4 __ovld __cnfn atanh(float4); |
| 6653 | float8 __ovld __cnfn atanh(float8); |
| 6654 | float16 __ovld __cnfn atanh(float16); |
| 6655 | #ifdef cl_khr_fp64 |
| 6656 | double __ovld __cnfn atanh(double); |
| 6657 | double2 __ovld __cnfn atanh(double2); |
| 6658 | double3 __ovld __cnfn atanh(double3); |
| 6659 | double4 __ovld __cnfn atanh(double4); |
| 6660 | double8 __ovld __cnfn atanh(double8); |
| 6661 | double16 __ovld __cnfn atanh(double16); |
| 6662 | #endif //cl_khr_fp64 |
| 6663 | #ifdef cl_khr_fp16 |
| 6664 | half __ovld __cnfn atanh(half); |
| 6665 | half2 __ovld __cnfn atanh(half2); |
| 6666 | half3 __ovld __cnfn atanh(half3); |
| 6667 | half4 __ovld __cnfn atanh(half4); |
| 6668 | half8 __ovld __cnfn atanh(half8); |
| 6669 | half16 __ovld __cnfn atanh(half16); |
| 6670 | #endif //cl_khr_fp16 |
| 6671 | |
| 6672 | /** |
| 6673 | * Compute atan (x) / PI. |
| 6674 | */ |
| 6675 | float __ovld __cnfn atanpi(float x); |
| 6676 | float2 __ovld __cnfn atanpi(float2 x); |
| 6677 | float3 __ovld __cnfn atanpi(float3 x); |
| 6678 | float4 __ovld __cnfn atanpi(float4 x); |
| 6679 | float8 __ovld __cnfn atanpi(float8 x); |
| 6680 | float16 __ovld __cnfn atanpi(float16 x); |
| 6681 | #ifdef cl_khr_fp64 |
| 6682 | double __ovld __cnfn atanpi(double x); |
| 6683 | double2 __ovld __cnfn atanpi(double2 x); |
| 6684 | double3 __ovld __cnfn atanpi(double3 x); |
| 6685 | double4 __ovld __cnfn atanpi(double4 x); |
| 6686 | double8 __ovld __cnfn atanpi(double8 x); |
| 6687 | double16 __ovld __cnfn atanpi(double16 x); |
| 6688 | #endif //cl_khr_fp64 |
| 6689 | #ifdef cl_khr_fp16 |
| 6690 | half __ovld __cnfn atanpi(half x); |
| 6691 | half2 __ovld __cnfn atanpi(half2 x); |
| 6692 | half3 __ovld __cnfn atanpi(half3 x); |
| 6693 | half4 __ovld __cnfn atanpi(half4 x); |
| 6694 | half8 __ovld __cnfn atanpi(half8 x); |
| 6695 | half16 __ovld __cnfn atanpi(half16 x); |
| 6696 | #endif //cl_khr_fp16 |
| 6697 | |
| 6698 | /** |
| 6699 | * Compute atan2 (y, x) / PI. |
| 6700 | */ |
| 6701 | float __ovld __cnfn atan2pi(float y, float x); |
| 6702 | float2 __ovld __cnfn atan2pi(float2 y, float2 x); |
| 6703 | float3 __ovld __cnfn atan2pi(float3 y, float3 x); |
| 6704 | float4 __ovld __cnfn atan2pi(float4 y, float4 x); |
| 6705 | float8 __ovld __cnfn atan2pi(float8 y, float8 x); |
| 6706 | float16 __ovld __cnfn atan2pi(float16 y, float16 x); |
| 6707 | #ifdef cl_khr_fp64 |
| 6708 | double __ovld __cnfn atan2pi(double y, double x); |
| 6709 | double2 __ovld __cnfn atan2pi(double2 y, double2 x); |
| 6710 | double3 __ovld __cnfn atan2pi(double3 y, double3 x); |
| 6711 | double4 __ovld __cnfn atan2pi(double4 y, double4 x); |
| 6712 | double8 __ovld __cnfn atan2pi(double8 y, double8 x); |
| 6713 | double16 __ovld __cnfn atan2pi(double16 y, double16 x); |
| 6714 | #endif //cl_khr_fp64 |
| 6715 | #ifdef cl_khr_fp16 |
| 6716 | half __ovld __cnfn atan2pi(half y, half x); |
| 6717 | half2 __ovld __cnfn atan2pi(half2 y, half2 x); |
| 6718 | half3 __ovld __cnfn atan2pi(half3 y, half3 x); |
| 6719 | half4 __ovld __cnfn atan2pi(half4 y, half4 x); |
| 6720 | half8 __ovld __cnfn atan2pi(half8 y, half8 x); |
| 6721 | half16 __ovld __cnfn atan2pi(half16 y, half16 x); |
| 6722 | #endif //cl_khr_fp16 |
| 6723 | |
| 6724 | /** |
| 6725 | * Compute cube-root. |
| 6726 | */ |
| 6727 | float __ovld __cnfn cbrt(float); |
| 6728 | float2 __ovld __cnfn cbrt(float2); |
| 6729 | float3 __ovld __cnfn cbrt(float3); |
| 6730 | float4 __ovld __cnfn cbrt(float4); |
| 6731 | float8 __ovld __cnfn cbrt(float8); |
| 6732 | float16 __ovld __cnfn cbrt(float16); |
| 6733 | #ifdef cl_khr_fp64 |
| 6734 | double __ovld __cnfn cbrt(double); |
| 6735 | double2 __ovld __cnfn cbrt(double2); |
| 6736 | double3 __ovld __cnfn cbrt(double3); |
| 6737 | double4 __ovld __cnfn cbrt(double4); |
| 6738 | double8 __ovld __cnfn cbrt(double8); |
| 6739 | double16 __ovld __cnfn cbrt(double16); |
| 6740 | #endif //cl_khr_fp64 |
| 6741 | #ifdef cl_khr_fp16 |
| 6742 | half __ovld __cnfn cbrt(half); |
| 6743 | half2 __ovld __cnfn cbrt(half2); |
| 6744 | half3 __ovld __cnfn cbrt(half3); |
| 6745 | half4 __ovld __cnfn cbrt(half4); |
| 6746 | half8 __ovld __cnfn cbrt(half8); |
| 6747 | half16 __ovld __cnfn cbrt(half16); |
| 6748 | #endif //cl_khr_fp16 |
| 6749 | |
| 6750 | /** |
| 6751 | * Round to integral value using the round to positive |
| 6752 | * infinity rounding mode. |
| 6753 | */ |
| 6754 | float __ovld __cnfn ceil(float); |
| 6755 | float2 __ovld __cnfn ceil(float2); |
| 6756 | float3 __ovld __cnfn ceil(float3); |
| 6757 | float4 __ovld __cnfn ceil(float4); |
| 6758 | float8 __ovld __cnfn ceil(float8); |
| 6759 | float16 __ovld __cnfn ceil(float16); |
| 6760 | #ifdef cl_khr_fp64 |
| 6761 | double __ovld __cnfn ceil(double); |
| 6762 | double2 __ovld __cnfn ceil(double2); |
| 6763 | double3 __ovld __cnfn ceil(double3); |
| 6764 | double4 __ovld __cnfn ceil(double4); |
| 6765 | double8 __ovld __cnfn ceil(double8); |
| 6766 | double16 __ovld __cnfn ceil(double16); |
| 6767 | #endif //cl_khr_fp64 |
| 6768 | #ifdef cl_khr_fp16 |
| 6769 | half __ovld __cnfn ceil(half); |
| 6770 | half2 __ovld __cnfn ceil(half2); |
| 6771 | half3 __ovld __cnfn ceil(half3); |
| 6772 | half4 __ovld __cnfn ceil(half4); |
| 6773 | half8 __ovld __cnfn ceil(half8); |
| 6774 | half16 __ovld __cnfn ceil(half16); |
| 6775 | #endif //cl_khr_fp16 |
| 6776 | |
| 6777 | /** |
| 6778 | * Returns x with its sign changed to match the sign of y. |
| 6779 | */ |
| 6780 | float __ovld __cnfn copysign(float x, float y); |
| 6781 | float2 __ovld __cnfn copysign(float2 x, float2 y); |
| 6782 | float3 __ovld __cnfn copysign(float3 x, float3 y); |
| 6783 | float4 __ovld __cnfn copysign(float4 x, float4 y); |
| 6784 | float8 __ovld __cnfn copysign(float8 x, float8 y); |
| 6785 | float16 __ovld __cnfn copysign(float16 x, float16 y); |
| 6786 | #ifdef cl_khr_fp64 |
| 6787 | double __ovld __cnfn copysign(double x, double y); |
| 6788 | double2 __ovld __cnfn copysign(double2 x, double2 y); |
| 6789 | double3 __ovld __cnfn copysign(double3 x, double3 y); |
| 6790 | double4 __ovld __cnfn copysign(double4 x, double4 y); |
| 6791 | double8 __ovld __cnfn copysign(double8 x, double8 y); |
| 6792 | double16 __ovld __cnfn copysign(double16 x, double16 y); |
| 6793 | #endif //cl_khr_fp64 |
| 6794 | #ifdef cl_khr_fp16 |
| 6795 | half __ovld __cnfn copysign(half x, half y); |
| 6796 | half2 __ovld __cnfn copysign(half2 x, half2 y); |
| 6797 | half3 __ovld __cnfn copysign(half3 x, half3 y); |
| 6798 | half4 __ovld __cnfn copysign(half4 x, half4 y); |
| 6799 | half8 __ovld __cnfn copysign(half8 x, half8 y); |
| 6800 | half16 __ovld __cnfn copysign(half16 x, half16 y); |
| 6801 | #endif //cl_khr_fp16 |
| 6802 | |
| 6803 | /** |
| 6804 | * Compute cosine. |
| 6805 | */ |
| 6806 | float __ovld __cnfn cos(float); |
| 6807 | float2 __ovld __cnfn cos(float2); |
| 6808 | float3 __ovld __cnfn cos(float3); |
| 6809 | float4 __ovld __cnfn cos(float4); |
| 6810 | float8 __ovld __cnfn cos(float8); |
| 6811 | float16 __ovld __cnfn cos(float16); |
| 6812 | #ifdef cl_khr_fp64 |
| 6813 | double __ovld __cnfn cos(double); |
| 6814 | double2 __ovld __cnfn cos(double2); |
| 6815 | double3 __ovld __cnfn cos(double3); |
| 6816 | double4 __ovld __cnfn cos(double4); |
| 6817 | double8 __ovld __cnfn cos(double8); |
| 6818 | double16 __ovld __cnfn cos(double16); |
| 6819 | #endif //cl_khr_fp64 |
| 6820 | #ifdef cl_khr_fp16 |
| 6821 | half __ovld __cnfn cos(half); |
| 6822 | half2 __ovld __cnfn cos(half2); |
| 6823 | half3 __ovld __cnfn cos(half3); |
| 6824 | half4 __ovld __cnfn cos(half4); |
| 6825 | half8 __ovld __cnfn cos(half8); |
| 6826 | half16 __ovld __cnfn cos(half16); |
| 6827 | #endif //cl_khr_fp16 |
| 6828 | |
| 6829 | /** |
| 6830 | * Compute hyperbolic cosine. |
| 6831 | */ |
| 6832 | float __ovld __cnfn cosh(float); |
| 6833 | float2 __ovld __cnfn cosh(float2); |
| 6834 | float3 __ovld __cnfn cosh(float3); |
| 6835 | float4 __ovld __cnfn cosh(float4); |
| 6836 | float8 __ovld __cnfn cosh(float8); |
| 6837 | float16 __ovld __cnfn cosh(float16); |
| 6838 | #ifdef cl_khr_fp64 |
| 6839 | double __ovld __cnfn cosh(double); |
| 6840 | double2 __ovld __cnfn cosh(double2); |
| 6841 | double3 __ovld __cnfn cosh(double3); |
| 6842 | double4 __ovld __cnfn cosh(double4); |
| 6843 | double8 __ovld __cnfn cosh(double8); |
| 6844 | double16 __ovld __cnfn cosh(double16); |
| 6845 | #endif //cl_khr_fp64 |
| 6846 | #ifdef cl_khr_fp16 |
| 6847 | half __ovld __cnfn cosh(half); |
| 6848 | half2 __ovld __cnfn cosh(half2); |
| 6849 | half3 __ovld __cnfn cosh(half3); |
| 6850 | half4 __ovld __cnfn cosh(half4); |
| 6851 | half8 __ovld __cnfn cosh(half8); |
| 6852 | half16 __ovld __cnfn cosh(half16); |
| 6853 | #endif //cl_khr_fp16 |
| 6854 | |
| 6855 | /** |
| 6856 | * Compute cos (PI * x). |
| 6857 | */ |
| 6858 | float __ovld __cnfn cospi(float x); |
| 6859 | float2 __ovld __cnfn cospi(float2 x); |
| 6860 | float3 __ovld __cnfn cospi(float3 x); |
| 6861 | float4 __ovld __cnfn cospi(float4 x); |
| 6862 | float8 __ovld __cnfn cospi(float8 x); |
| 6863 | float16 __ovld __cnfn cospi(float16 x); |
| 6864 | #ifdef cl_khr_fp64 |
| 6865 | double __ovld __cnfn cospi(double x); |
| 6866 | double2 __ovld __cnfn cospi(double2 x); |
| 6867 | double3 __ovld __cnfn cospi(double3 x); |
| 6868 | double4 __ovld __cnfn cospi(double4 x); |
| 6869 | double8 __ovld __cnfn cospi(double8 x); |
| 6870 | double16 __ovld __cnfn cospi(double16 x); |
| 6871 | #endif //cl_khr_fp64 |
| 6872 | #ifdef cl_khr_fp16 |
| 6873 | half __ovld __cnfn cospi(half x); |
| 6874 | half2 __ovld __cnfn cospi(half2 x); |
| 6875 | half3 __ovld __cnfn cospi(half3 x); |
| 6876 | half4 __ovld __cnfn cospi(half4 x); |
| 6877 | half8 __ovld __cnfn cospi(half8 x); |
| 6878 | half16 __ovld __cnfn cospi(half16 x); |
| 6879 | #endif //cl_khr_fp16 |
| 6880 | |
| 6881 | /** |
| 6882 | * Complementary error function. |
| 6883 | */ |
| 6884 | float __ovld __cnfn erfc(float); |
| 6885 | float2 __ovld __cnfn erfc(float2); |
| 6886 | float3 __ovld __cnfn erfc(float3); |
| 6887 | float4 __ovld __cnfn erfc(float4); |
| 6888 | float8 __ovld __cnfn erfc(float8); |
| 6889 | float16 __ovld __cnfn erfc(float16); |
| 6890 | #ifdef cl_khr_fp64 |
| 6891 | double __ovld __cnfn erfc(double); |
| 6892 | double2 __ovld __cnfn erfc(double2); |
| 6893 | double3 __ovld __cnfn erfc(double3); |
| 6894 | double4 __ovld __cnfn erfc(double4); |
| 6895 | double8 __ovld __cnfn erfc(double8); |
| 6896 | double16 __ovld __cnfn erfc(double16); |
| 6897 | #endif //cl_khr_fp64 |
| 6898 | #ifdef cl_khr_fp16 |
| 6899 | half __ovld __cnfn erfc(half); |
| 6900 | half2 __ovld __cnfn erfc(half2); |
| 6901 | half3 __ovld __cnfn erfc(half3); |
| 6902 | half4 __ovld __cnfn erfc(half4); |
| 6903 | half8 __ovld __cnfn erfc(half8); |
| 6904 | half16 __ovld __cnfn erfc(half16); |
| 6905 | #endif //cl_khr_fp16 |
| 6906 | |
| 6907 | /** |
| 6908 | * Error function encountered in integrating the |
| 6909 | * normal distribution. |
| 6910 | */ |
| 6911 | float __ovld __cnfn erf(float); |
| 6912 | float2 __ovld __cnfn erf(float2); |
| 6913 | float3 __ovld __cnfn erf(float3); |
| 6914 | float4 __ovld __cnfn erf(float4); |
| 6915 | float8 __ovld __cnfn erf(float8); |
| 6916 | float16 __ovld __cnfn erf(float16); |
| 6917 | #ifdef cl_khr_fp64 |
| 6918 | double __ovld __cnfn erf(double); |
| 6919 | double2 __ovld __cnfn erf(double2); |
| 6920 | double3 __ovld __cnfn erf(double3); |
| 6921 | double4 __ovld __cnfn erf(double4); |
| 6922 | double8 __ovld __cnfn erf(double8); |
| 6923 | double16 __ovld __cnfn erf(double16); |
| 6924 | #endif //cl_khr_fp64 |
| 6925 | #ifdef cl_khr_fp16 |
| 6926 | half __ovld __cnfn erf(half); |
| 6927 | half2 __ovld __cnfn erf(half2); |
| 6928 | half3 __ovld __cnfn erf(half3); |
| 6929 | half4 __ovld __cnfn erf(half4); |
| 6930 | half8 __ovld __cnfn erf(half8); |
| 6931 | half16 __ovld __cnfn erf(half16); |
| 6932 | #endif //cl_khr_fp16 |
| 6933 | |
| 6934 | /** |
| 6935 | * Compute the base e exponential function of x. |
| 6936 | */ |
| 6937 | float __ovld __cnfn exp(float x); |
| 6938 | float2 __ovld __cnfn exp(float2 x); |
| 6939 | float3 __ovld __cnfn exp(float3 x); |
| 6940 | float4 __ovld __cnfn exp(float4 x); |
| 6941 | float8 __ovld __cnfn exp(float8 x); |
| 6942 | float16 __ovld __cnfn exp(float16 x); |
| 6943 | #ifdef cl_khr_fp64 |
| 6944 | double __ovld __cnfn exp(double x); |
| 6945 | double2 __ovld __cnfn exp(double2 x); |
| 6946 | double3 __ovld __cnfn exp(double3 x); |
| 6947 | double4 __ovld __cnfn exp(double4 x); |
| 6948 | double8 __ovld __cnfn exp(double8 x); |
| 6949 | double16 __ovld __cnfn exp(double16 x); |
| 6950 | #endif //cl_khr_fp64 |
| 6951 | #ifdef cl_khr_fp16 |
| 6952 | half __ovld __cnfn exp(half x); |
| 6953 | half2 __ovld __cnfn exp(half2 x); |
| 6954 | half3 __ovld __cnfn exp(half3 x); |
| 6955 | half4 __ovld __cnfn exp(half4 x); |
| 6956 | half8 __ovld __cnfn exp(half8 x); |
| 6957 | half16 __ovld __cnfn exp(half16 x); |
| 6958 | #endif //cl_khr_fp16 |
| 6959 | |
| 6960 | /** |
| 6961 | * Exponential base 2 function. |
| 6962 | */ |
| 6963 | float __ovld __cnfn exp2(float); |
| 6964 | float2 __ovld __cnfn exp2(float2); |
| 6965 | float3 __ovld __cnfn exp2(float3); |
| 6966 | float4 __ovld __cnfn exp2(float4); |
| 6967 | float8 __ovld __cnfn exp2(float8); |
| 6968 | float16 __ovld __cnfn exp2(float16); |
| 6969 | #ifdef cl_khr_fp64 |
| 6970 | double __ovld __cnfn exp2(double); |
| 6971 | double2 __ovld __cnfn exp2(double2); |
| 6972 | double3 __ovld __cnfn exp2(double3); |
| 6973 | double4 __ovld __cnfn exp2(double4); |
| 6974 | double8 __ovld __cnfn exp2(double8); |
| 6975 | double16 __ovld __cnfn exp2(double16); |
| 6976 | #endif //cl_khr_fp64 |
| 6977 | #ifdef cl_khr_fp16 |
| 6978 | half __ovld __cnfn exp2(half); |
| 6979 | half2 __ovld __cnfn exp2(half2); |
| 6980 | half3 __ovld __cnfn exp2(half3); |
| 6981 | half4 __ovld __cnfn exp2(half4); |
| 6982 | half8 __ovld __cnfn exp2(half8); |
| 6983 | half16 __ovld __cnfn exp2(half16); |
| 6984 | #endif //cl_khr_fp16 |
| 6985 | |
| 6986 | /** |
| 6987 | * Exponential base 10 function. |
| 6988 | */ |
| 6989 | float __ovld __cnfn exp10(float); |
| 6990 | float2 __ovld __cnfn exp10(float2); |
| 6991 | float3 __ovld __cnfn exp10(float3); |
| 6992 | float4 __ovld __cnfn exp10(float4); |
| 6993 | float8 __ovld __cnfn exp10(float8); |
| 6994 | float16 __ovld __cnfn exp10(float16); |
| 6995 | #ifdef cl_khr_fp64 |
| 6996 | double __ovld __cnfn exp10(double); |
| 6997 | double2 __ovld __cnfn exp10(double2); |
| 6998 | double3 __ovld __cnfn exp10(double3); |
| 6999 | double4 __ovld __cnfn exp10(double4); |
| 7000 | double8 __ovld __cnfn exp10(double8); |
| 7001 | double16 __ovld __cnfn exp10(double16); |
| 7002 | #endif //cl_khr_fp64 |
| 7003 | #ifdef cl_khr_fp16 |
| 7004 | half __ovld __cnfn exp10(half); |
| 7005 | half2 __ovld __cnfn exp10(half2); |
| 7006 | half3 __ovld __cnfn exp10(half3); |
| 7007 | half4 __ovld __cnfn exp10(half4); |
| 7008 | half8 __ovld __cnfn exp10(half8); |
| 7009 | half16 __ovld __cnfn exp10(half16); |
| 7010 | #endif //cl_khr_fp16 |
| 7011 | |
| 7012 | /** |
| 7013 | * Compute e^x- 1.0. |
| 7014 | */ |
| 7015 | float __ovld __cnfn expm1(float x); |
| 7016 | float2 __ovld __cnfn expm1(float2 x); |
| 7017 | float3 __ovld __cnfn expm1(float3 x); |
| 7018 | float4 __ovld __cnfn expm1(float4 x); |
| 7019 | float8 __ovld __cnfn expm1(float8 x); |
| 7020 | float16 __ovld __cnfn expm1(float16 x); |
| 7021 | #ifdef cl_khr_fp64 |
| 7022 | double __ovld __cnfn expm1(double x); |
| 7023 | double2 __ovld __cnfn expm1(double2 x); |
| 7024 | double3 __ovld __cnfn expm1(double3 x); |
| 7025 | double4 __ovld __cnfn expm1(double4 x); |
| 7026 | double8 __ovld __cnfn expm1(double8 x); |
| 7027 | double16 __ovld __cnfn expm1(double16 x); |
| 7028 | #endif //cl_khr_fp64 |
| 7029 | #ifdef cl_khr_fp16 |
| 7030 | half __ovld __cnfn expm1(half x); |
| 7031 | half2 __ovld __cnfn expm1(half2 x); |
| 7032 | half3 __ovld __cnfn expm1(half3 x); |
| 7033 | half4 __ovld __cnfn expm1(half4 x); |
| 7034 | half8 __ovld __cnfn expm1(half8 x); |
| 7035 | half16 __ovld __cnfn expm1(half16 x); |
| 7036 | #endif //cl_khr_fp16 |
| 7037 | |
| 7038 | /** |
| 7039 | * Compute absolute value of a floating-point number. |
| 7040 | */ |
| 7041 | float __ovld __cnfn fabs(float); |
| 7042 | float2 __ovld __cnfn fabs(float2); |
| 7043 | float3 __ovld __cnfn fabs(float3); |
| 7044 | float4 __ovld __cnfn fabs(float4); |
| 7045 | float8 __ovld __cnfn fabs(float8); |
| 7046 | float16 __ovld __cnfn fabs(float16); |
| 7047 | #ifdef cl_khr_fp64 |
| 7048 | double __ovld __cnfn fabs(double); |
| 7049 | double2 __ovld __cnfn fabs(double2); |
| 7050 | double3 __ovld __cnfn fabs(double3); |
| 7051 | double4 __ovld __cnfn fabs(double4); |
| 7052 | double8 __ovld __cnfn fabs(double8); |
| 7053 | double16 __ovld __cnfn fabs(double16); |
| 7054 | #endif //cl_khr_fp64 |
| 7055 | #ifdef cl_khr_fp16 |
| 7056 | half __ovld __cnfn fabs(half); |
| 7057 | half2 __ovld __cnfn fabs(half2); |
| 7058 | half3 __ovld __cnfn fabs(half3); |
| 7059 | half4 __ovld __cnfn fabs(half4); |
| 7060 | half8 __ovld __cnfn fabs(half8); |
| 7061 | half16 __ovld __cnfn fabs(half16); |
| 7062 | #endif //cl_khr_fp16 |
| 7063 | |
| 7064 | /** |
| 7065 | * x - y if x > y, +0 if x is less than or equal to y. |
| 7066 | */ |
| 7067 | float __ovld __cnfn fdim(float x, float y); |
| 7068 | float2 __ovld __cnfn fdim(float2 x, float2 y); |
| 7069 | float3 __ovld __cnfn fdim(float3 x, float3 y); |
| 7070 | float4 __ovld __cnfn fdim(float4 x, float4 y); |
| 7071 | float8 __ovld __cnfn fdim(float8 x, float8 y); |
| 7072 | float16 __ovld __cnfn fdim(float16 x, float16 y); |
| 7073 | #ifdef cl_khr_fp64 |
| 7074 | double __ovld __cnfn fdim(double x, double y); |
| 7075 | double2 __ovld __cnfn fdim(double2 x, double2 y); |
| 7076 | double3 __ovld __cnfn fdim(double3 x, double3 y); |
| 7077 | double4 __ovld __cnfn fdim(double4 x, double4 y); |
| 7078 | double8 __ovld __cnfn fdim(double8 x, double8 y); |
| 7079 | double16 __ovld __cnfn fdim(double16 x, double16 y); |
| 7080 | #endif //cl_khr_fp64 |
| 7081 | #ifdef cl_khr_fp16 |
| 7082 | half __ovld __cnfn fdim(half x, half y); |
| 7083 | half2 __ovld __cnfn fdim(half2 x, half2 y); |
| 7084 | half3 __ovld __cnfn fdim(half3 x, half3 y); |
| 7085 | half4 __ovld __cnfn fdim(half4 x, half4 y); |
| 7086 | half8 __ovld __cnfn fdim(half8 x, half8 y); |
| 7087 | half16 __ovld __cnfn fdim(half16 x, half16 y); |
| 7088 | #endif //cl_khr_fp16 |
| 7089 | |
| 7090 | /** |
| 7091 | * Round to integral value using the round to -ve |
| 7092 | * infinity rounding mode. |
| 7093 | */ |
| 7094 | float __ovld __cnfn floor(float); |
| 7095 | float2 __ovld __cnfn floor(float2); |
| 7096 | float3 __ovld __cnfn floor(float3); |
| 7097 | float4 __ovld __cnfn floor(float4); |
| 7098 | float8 __ovld __cnfn floor(float8); |
| 7099 | float16 __ovld __cnfn floor(float16); |
| 7100 | #ifdef cl_khr_fp64 |
| 7101 | double __ovld __cnfn floor(double); |
| 7102 | double2 __ovld __cnfn floor(double2); |
| 7103 | double3 __ovld __cnfn floor(double3); |
| 7104 | double4 __ovld __cnfn floor(double4); |
| 7105 | double8 __ovld __cnfn floor(double8); |
| 7106 | double16 __ovld __cnfn floor(double16); |
| 7107 | #endif //cl_khr_fp64 |
| 7108 | #ifdef cl_khr_fp16 |
| 7109 | half __ovld __cnfn floor(half); |
| 7110 | half2 __ovld __cnfn floor(half2); |
| 7111 | half3 __ovld __cnfn floor(half3); |
| 7112 | half4 __ovld __cnfn floor(half4); |
| 7113 | half8 __ovld __cnfn floor(half8); |
| 7114 | half16 __ovld __cnfn floor(half16); |
| 7115 | #endif //cl_khr_fp16 |
| 7116 | |
| 7117 | /** |
| 7118 | * Returns the correctly rounded floating-point |
| 7119 | * representation of the sum of c with the infinitely |
| 7120 | * precise product of a and b. Rounding of |
| 7121 | * intermediate products shall not occur. Edge case |
| 7122 | * behavior is per the IEEE 754-2008 standard. |
| 7123 | */ |
| 7124 | float __ovld __cnfn fma(float a, float b, float c); |
| 7125 | float2 __ovld __cnfn fma(float2 a, float2 b, float2 c); |
| 7126 | float3 __ovld __cnfn fma(float3 a, float3 b, float3 c); |
| 7127 | float4 __ovld __cnfn fma(float4 a, float4 b, float4 c); |
| 7128 | float8 __ovld __cnfn fma(float8 a, float8 b, float8 c); |
| 7129 | float16 __ovld __cnfn fma(float16 a, float16 b, float16 c); |
| 7130 | #ifdef cl_khr_fp64 |
| 7131 | double __ovld __cnfn fma(double a, double b, double c); |
| 7132 | double2 __ovld __cnfn fma(double2 a, double2 b, double2 c); |
| 7133 | double3 __ovld __cnfn fma(double3 a, double3 b, double3 c); |
| 7134 | double4 __ovld __cnfn fma(double4 a, double4 b, double4 c); |
| 7135 | double8 __ovld __cnfn fma(double8 a, double8 b, double8 c); |
| 7136 | double16 __ovld __cnfn fma(double16 a, double16 b, double16 c); |
| 7137 | #endif //cl_khr_fp64 |
| 7138 | #ifdef cl_khr_fp16 |
| 7139 | half __ovld __cnfn fma(half a, half b, half c); |
| 7140 | half2 __ovld __cnfn fma(half2 a, half2 b, half2 c); |
| 7141 | half3 __ovld __cnfn fma(half3 a, half3 b, half3 c); |
| 7142 | half4 __ovld __cnfn fma(half4 a, half4 b, half4 c); |
| 7143 | half8 __ovld __cnfn fma(half8 a, half8 b, half8 c); |
| 7144 | half16 __ovld __cnfn fma(half16 a, half16 b, half16 c); |
| 7145 | #endif //cl_khr_fp16 |
| 7146 | |
| 7147 | /** |
| 7148 | * Returns y if x < y, otherwise it returns x. If one |
| 7149 | * argument is a NaN, fmax() returns the other |
| 7150 | * argument. If both arguments are NaNs, fmax() |
| 7151 | * returns a NaN. |
| 7152 | */ |
| 7153 | float __ovld __cnfn fmax(float x, float y); |
| 7154 | float2 __ovld __cnfn fmax(float2 x, float2 y); |
| 7155 | float3 __ovld __cnfn fmax(float3 x, float3 y); |
| 7156 | float4 __ovld __cnfn fmax(float4 x, float4 y); |
| 7157 | float8 __ovld __cnfn fmax(float8 x, float8 y); |
| 7158 | float16 __ovld __cnfn fmax(float16 x, float16 y); |
| 7159 | float2 __ovld __cnfn fmax(float2 x, float y); |
| 7160 | float3 __ovld __cnfn fmax(float3 x, float y); |
| 7161 | float4 __ovld __cnfn fmax(float4 x, float y); |
| 7162 | float8 __ovld __cnfn fmax(float8 x, float y); |
| 7163 | float16 __ovld __cnfn fmax(float16 x, float y); |
| 7164 | #ifdef cl_khr_fp64 |
| 7165 | double __ovld __cnfn fmax(double x, double y); |
| 7166 | double2 __ovld __cnfn fmax(double2 x, double2 y); |
| 7167 | double3 __ovld __cnfn fmax(double3 x, double3 y); |
| 7168 | double4 __ovld __cnfn fmax(double4 x, double4 y); |
| 7169 | double8 __ovld __cnfn fmax(double8 x, double8 y); |
| 7170 | double16 __ovld __cnfn fmax(double16 x, double16 y); |
| 7171 | double2 __ovld __cnfn fmax(double2 x, double y); |
| 7172 | double3 __ovld __cnfn fmax(double3 x, double y); |
| 7173 | double4 __ovld __cnfn fmax(double4 x, double y); |
| 7174 | double8 __ovld __cnfn fmax(double8 x, double y); |
| 7175 | double16 __ovld __cnfn fmax(double16 x, double y); |
| 7176 | #endif //cl_khr_fp64 |
| 7177 | #ifdef cl_khr_fp16 |
| 7178 | half __ovld __cnfn fmax(half x, half y); |
| 7179 | half2 __ovld __cnfn fmax(half2 x, half2 y); |
| 7180 | half3 __ovld __cnfn fmax(half3 x, half3 y); |
| 7181 | half4 __ovld __cnfn fmax(half4 x, half4 y); |
| 7182 | half8 __ovld __cnfn fmax(half8 x, half8 y); |
| 7183 | half16 __ovld __cnfn fmax(half16 x, half16 y); |
| 7184 | half2 __ovld __cnfn fmax(half2 x, half y); |
| 7185 | half3 __ovld __cnfn fmax(half3 x, half y); |
| 7186 | half4 __ovld __cnfn fmax(half4 x, half y); |
| 7187 | half8 __ovld __cnfn fmax(half8 x, half y); |
| 7188 | half16 __ovld __cnfn fmax(half16 x, half y); |
| 7189 | #endif //cl_khr_fp16 |
| 7190 | |
| 7191 | /** |
| 7192 | * Returns y if y < x, otherwise it returns x. If one |
| 7193 | * argument is a NaN, fmin() returns the other |
| 7194 | * argument. If both arguments are NaNs, fmin() |
| 7195 | * returns a NaN. |
| 7196 | */ |
| 7197 | float __ovld __cnfn fmin(float x, float y); |
| 7198 | float2 __ovld __cnfn fmin(float2 x, float2 y); |
| 7199 | float3 __ovld __cnfn fmin(float3 x, float3 y); |
| 7200 | float4 __ovld __cnfn fmin(float4 x, float4 y); |
| 7201 | float8 __ovld __cnfn fmin(float8 x, float8 y); |
| 7202 | float16 __ovld __cnfn fmin(float16 x, float16 y); |
| 7203 | float2 __ovld __cnfn fmin(float2 x, float y); |
| 7204 | float3 __ovld __cnfn fmin(float3 x, float y); |
| 7205 | float4 __ovld __cnfn fmin(float4 x, float y); |
| 7206 | float8 __ovld __cnfn fmin(float8 x, float y); |
| 7207 | float16 __ovld __cnfn fmin(float16 x, float y); |
| 7208 | #ifdef cl_khr_fp64 |
| 7209 | double __ovld __cnfn fmin(double x, double y); |
| 7210 | double2 __ovld __cnfn fmin(double2 x, double2 y); |
| 7211 | double3 __ovld __cnfn fmin(double3 x, double3 y); |
| 7212 | double4 __ovld __cnfn fmin(double4 x, double4 y); |
| 7213 | double8 __ovld __cnfn fmin(double8 x, double8 y); |
| 7214 | double16 __ovld __cnfn fmin(double16 x, double16 y); |
| 7215 | double2 __ovld __cnfn fmin(double2 x, double y); |
| 7216 | double3 __ovld __cnfn fmin(double3 x, double y); |
| 7217 | double4 __ovld __cnfn fmin(double4 x, double y); |
| 7218 | double8 __ovld __cnfn fmin(double8 x, double y); |
| 7219 | double16 __ovld __cnfn fmin(double16 x, double y); |
| 7220 | #endif //cl_khr_fp64 |
| 7221 | #ifdef cl_khr_fp16 |
| 7222 | half __ovld __cnfn fmin(half x, half y); |
| 7223 | half2 __ovld __cnfn fmin(half2 x, half2 y); |
| 7224 | half3 __ovld __cnfn fmin(half3 x, half3 y); |
| 7225 | half4 __ovld __cnfn fmin(half4 x, half4 y); |
| 7226 | half8 __ovld __cnfn fmin(half8 x, half8 y); |
| 7227 | half16 __ovld __cnfn fmin(half16 x, half16 y); |
| 7228 | half2 __ovld __cnfn fmin(half2 x, half y); |
| 7229 | half3 __ovld __cnfn fmin(half3 x, half y); |
| 7230 | half4 __ovld __cnfn fmin(half4 x, half y); |
| 7231 | half8 __ovld __cnfn fmin(half8 x, half y); |
| 7232 | half16 __ovld __cnfn fmin(half16 x, half y); |
| 7233 | #endif //cl_khr_fp16 |
| 7234 | |
| 7235 | /** |
| 7236 | * Modulus. Returns x - y * trunc (x/y). |
| 7237 | */ |
| 7238 | float __ovld __cnfn fmod(float x, float y); |
| 7239 | float2 __ovld __cnfn fmod(float2 x, float2 y); |
| 7240 | float3 __ovld __cnfn fmod(float3 x, float3 y); |
| 7241 | float4 __ovld __cnfn fmod(float4 x, float4 y); |
| 7242 | float8 __ovld __cnfn fmod(float8 x, float8 y); |
| 7243 | float16 __ovld __cnfn fmod(float16 x, float16 y); |
| 7244 | #ifdef cl_khr_fp64 |
| 7245 | double __ovld __cnfn fmod(double x, double y); |
| 7246 | double2 __ovld __cnfn fmod(double2 x, double2 y); |
| 7247 | double3 __ovld __cnfn fmod(double3 x, double3 y); |
| 7248 | double4 __ovld __cnfn fmod(double4 x, double4 y); |
| 7249 | double8 __ovld __cnfn fmod(double8 x, double8 y); |
| 7250 | double16 __ovld __cnfn fmod(double16 x, double16 y); |
| 7251 | #endif //cl_khr_fp64 |
| 7252 | #ifdef cl_khr_fp16 |
| 7253 | half __ovld __cnfn fmod(half x, half y); |
| 7254 | half2 __ovld __cnfn fmod(half2 x, half2 y); |
| 7255 | half3 __ovld __cnfn fmod(half3 x, half3 y); |
| 7256 | half4 __ovld __cnfn fmod(half4 x, half4 y); |
| 7257 | half8 __ovld __cnfn fmod(half8 x, half8 y); |
| 7258 | half16 __ovld __cnfn fmod(half16 x, half16 y); |
| 7259 | #endif //cl_khr_fp16 |
| 7260 | |
| 7261 | /** |
| 7262 | * Returns fmin(x - floor (x), 0x1.fffffep-1f ). |
| 7263 | * floor(x) is returned in iptr. |
| 7264 | */ |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 7265 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 7266 | float __ovld fract(float x, float *iptr); |
| 7267 | float2 __ovld fract(float2 x, float2 *iptr); |
| 7268 | float3 __ovld fract(float3 x, float3 *iptr); |
| 7269 | float4 __ovld fract(float4 x, float4 *iptr); |
| 7270 | float8 __ovld fract(float8 x, float8 *iptr); |
| 7271 | float16 __ovld fract(float16 x, float16 *iptr); |
| 7272 | #ifdef cl_khr_fp64 |
| 7273 | double __ovld fract(double x, double *iptr); |
| 7274 | double2 __ovld fract(double2 x, double2 *iptr); |
| 7275 | double3 __ovld fract(double3 x, double3 *iptr); |
| 7276 | double4 __ovld fract(double4 x, double4 *iptr); |
| 7277 | double8 __ovld fract(double8 x, double8 *iptr); |
| 7278 | double16 __ovld fract(double16 x, double16 *iptr); |
| 7279 | #endif //cl_khr_fp64 |
| 7280 | #ifdef cl_khr_fp16 |
| 7281 | half __ovld fract(half x, half *iptr); |
| 7282 | half2 __ovld fract(half2 x, half2 *iptr); |
| 7283 | half3 __ovld fract(half3 x, half3 *iptr); |
| 7284 | half4 __ovld fract(half4 x, half4 *iptr); |
| 7285 | half8 __ovld fract(half8 x, half8 *iptr); |
| 7286 | half16 __ovld fract(half16 x, half16 *iptr); |
| 7287 | #endif //cl_khr_fp16 |
| 7288 | #else |
| 7289 | float __ovld fract(float x, __global float *iptr); |
| 7290 | float2 __ovld fract(float2 x, __global float2 *iptr); |
| 7291 | float3 __ovld fract(float3 x, __global float3 *iptr); |
| 7292 | float4 __ovld fract(float4 x, __global float4 *iptr); |
| 7293 | float8 __ovld fract(float8 x, __global float8 *iptr); |
| 7294 | float16 __ovld fract(float16 x, __global float16 *iptr); |
| 7295 | float __ovld fract(float x, __local float *iptr); |
| 7296 | float2 __ovld fract(float2 x, __local float2 *iptr); |
| 7297 | float3 __ovld fract(float3 x, __local float3 *iptr); |
| 7298 | float4 __ovld fract(float4 x, __local float4 *iptr); |
| 7299 | float8 __ovld fract(float8 x, __local float8 *iptr); |
| 7300 | float16 __ovld fract(float16 x, __local float16 *iptr); |
| 7301 | float __ovld fract(float x, __private float *iptr); |
| 7302 | float2 __ovld fract(float2 x, __private float2 *iptr); |
| 7303 | float3 __ovld fract(float3 x, __private float3 *iptr); |
| 7304 | float4 __ovld fract(float4 x, __private float4 *iptr); |
| 7305 | float8 __ovld fract(float8 x, __private float8 *iptr); |
| 7306 | float16 __ovld fract(float16 x, __private float16 *iptr); |
| 7307 | #ifdef cl_khr_fp64 |
| 7308 | double __ovld fract(double x, __global double *iptr); |
| 7309 | double2 __ovld fract(double2 x, __global double2 *iptr); |
| 7310 | double3 __ovld fract(double3 x, __global double3 *iptr); |
| 7311 | double4 __ovld fract(double4 x, __global double4 *iptr); |
| 7312 | double8 __ovld fract(double8 x, __global double8 *iptr); |
| 7313 | double16 __ovld fract(double16 x, __global double16 *iptr); |
| 7314 | double __ovld fract(double x, __local double *iptr); |
| 7315 | double2 __ovld fract(double2 x, __local double2 *iptr); |
| 7316 | double3 __ovld fract(double3 x, __local double3 *iptr); |
| 7317 | double4 __ovld fract(double4 x, __local double4 *iptr); |
| 7318 | double8 __ovld fract(double8 x, __local double8 *iptr); |
| 7319 | double16 __ovld fract(double16 x, __local double16 *iptr); |
| 7320 | double __ovld fract(double x, __private double *iptr); |
| 7321 | double2 __ovld fract(double2 x, __private double2 *iptr); |
| 7322 | double3 __ovld fract(double3 x, __private double3 *iptr); |
| 7323 | double4 __ovld fract(double4 x, __private double4 *iptr); |
| 7324 | double8 __ovld fract(double8 x, __private double8 *iptr); |
| 7325 | double16 __ovld fract(double16 x, __private double16 *iptr); |
| 7326 | #endif //cl_khr_fp64 |
| 7327 | #ifdef cl_khr_fp16 |
| 7328 | half __ovld fract(half x, __global half *iptr); |
| 7329 | half2 __ovld fract(half2 x, __global half2 *iptr); |
| 7330 | half3 __ovld fract(half3 x, __global half3 *iptr); |
| 7331 | half4 __ovld fract(half4 x, __global half4 *iptr); |
| 7332 | half8 __ovld fract(half8 x, __global half8 *iptr); |
| 7333 | half16 __ovld fract(half16 x, __global half16 *iptr); |
| 7334 | half __ovld fract(half x, __local half *iptr); |
| 7335 | half2 __ovld fract(half2 x, __local half2 *iptr); |
| 7336 | half3 __ovld fract(half3 x, __local half3 *iptr); |
| 7337 | half4 __ovld fract(half4 x, __local half4 *iptr); |
| 7338 | half8 __ovld fract(half8 x, __local half8 *iptr); |
| 7339 | half16 __ovld fract(half16 x, __local half16 *iptr); |
| 7340 | half __ovld fract(half x, __private half *iptr); |
| 7341 | half2 __ovld fract(half2 x, __private half2 *iptr); |
| 7342 | half3 __ovld fract(half3 x, __private half3 *iptr); |
| 7343 | half4 __ovld fract(half4 x, __private half4 *iptr); |
| 7344 | half8 __ovld fract(half8 x, __private half8 *iptr); |
| 7345 | half16 __ovld fract(half16 x, __private half16 *iptr); |
| 7346 | #endif //cl_khr_fp16 |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 7347 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 7348 | |
| 7349 | /** |
| 7350 | * Extract mantissa and exponent from x. For each |
| 7351 | * component the mantissa returned is a float with |
| 7352 | * magnitude in the interval [1/2, 1) or 0. Each |
| 7353 | * component of x equals mantissa returned * 2^exp. |
| 7354 | */ |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 7355 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 7356 | float __ovld frexp(float x, int *exp); |
| 7357 | float2 __ovld frexp(float2 x, int2 *exp); |
| 7358 | float3 __ovld frexp(float3 x, int3 *exp); |
| 7359 | float4 __ovld frexp(float4 x, int4 *exp); |
| 7360 | float8 __ovld frexp(float8 x, int8 *exp); |
| 7361 | float16 __ovld frexp(float16 x, int16 *exp); |
| 7362 | #ifdef cl_khr_fp64 |
| 7363 | double __ovld frexp(double x, int *exp); |
| 7364 | double2 __ovld frexp(double2 x, int2 *exp); |
| 7365 | double3 __ovld frexp(double3 x, int3 *exp); |
| 7366 | double4 __ovld frexp(double4 x, int4 *exp); |
| 7367 | double8 __ovld frexp(double8 x, int8 *exp); |
| 7368 | double16 __ovld frexp(double16 x, int16 *exp); |
| 7369 | #endif //cl_khr_fp64 |
| 7370 | #ifdef cl_khr_fp16 |
| 7371 | half __ovld frexp(half x, int *exp); |
| 7372 | half2 __ovld frexp(half2 x, int2 *exp); |
| 7373 | half3 __ovld frexp(half3 x, int3 *exp); |
| 7374 | half4 __ovld frexp(half4 x, int4 *exp); |
| 7375 | half8 __ovld frexp(half8 x, int8 *exp); |
| 7376 | half16 __ovld frexp(half16 x, int16 *exp); |
| 7377 | #endif //cl_khr_fp16 |
| 7378 | #else |
| 7379 | float __ovld frexp(float x, __global int *exp); |
| 7380 | float2 __ovld frexp(float2 x, __global int2 *exp); |
| 7381 | float3 __ovld frexp(float3 x, __global int3 *exp); |
| 7382 | float4 __ovld frexp(float4 x, __global int4 *exp); |
| 7383 | float8 __ovld frexp(float8 x, __global int8 *exp); |
| 7384 | float16 __ovld frexp(float16 x, __global int16 *exp); |
| 7385 | float __ovld frexp(float x, __local int *exp); |
| 7386 | float2 __ovld frexp(float2 x, __local int2 *exp); |
| 7387 | float3 __ovld frexp(float3 x, __local int3 *exp); |
| 7388 | float4 __ovld frexp(float4 x, __local int4 *exp); |
| 7389 | float8 __ovld frexp(float8 x, __local int8 *exp); |
| 7390 | float16 __ovld frexp(float16 x, __local int16 *exp); |
| 7391 | float __ovld frexp(float x, __private int *exp); |
| 7392 | float2 __ovld frexp(float2 x, __private int2 *exp); |
| 7393 | float3 __ovld frexp(float3 x, __private int3 *exp); |
| 7394 | float4 __ovld frexp(float4 x, __private int4 *exp); |
| 7395 | float8 __ovld frexp(float8 x, __private int8 *exp); |
| 7396 | float16 __ovld frexp(float16 x, __private int16 *exp); |
| 7397 | #ifdef cl_khr_fp64 |
| 7398 | double __ovld frexp(double x, __global int *exp); |
| 7399 | double2 __ovld frexp(double2 x, __global int2 *exp); |
| 7400 | double3 __ovld frexp(double3 x, __global int3 *exp); |
| 7401 | double4 __ovld frexp(double4 x, __global int4 *exp); |
| 7402 | double8 __ovld frexp(double8 x, __global int8 *exp); |
| 7403 | double16 __ovld frexp(double16 x, __global int16 *exp); |
| 7404 | double __ovld frexp(double x, __local int *exp); |
| 7405 | double2 __ovld frexp(double2 x, __local int2 *exp); |
| 7406 | double3 __ovld frexp(double3 x, __local int3 *exp); |
| 7407 | double4 __ovld frexp(double4 x, __local int4 *exp); |
| 7408 | double8 __ovld frexp(double8 x, __local int8 *exp); |
| 7409 | double16 __ovld frexp(double16 x, __local int16 *exp); |
| 7410 | double __ovld frexp(double x, __private int *exp); |
| 7411 | double2 __ovld frexp(double2 x, __private int2 *exp); |
| 7412 | double3 __ovld frexp(double3 x, __private int3 *exp); |
| 7413 | double4 __ovld frexp(double4 x, __private int4 *exp); |
| 7414 | double8 __ovld frexp(double8 x, __private int8 *exp); |
| 7415 | double16 __ovld frexp(double16 x, __private int16 *exp); |
| 7416 | #endif //cl_khr_fp64 |
| 7417 | #ifdef cl_khr_fp16 |
| 7418 | half __ovld frexp(half x, __global int *exp); |
| 7419 | half2 __ovld frexp(half2 x, __global int2 *exp); |
| 7420 | half3 __ovld frexp(half3 x, __global int3 *exp); |
| 7421 | half4 __ovld frexp(half4 x, __global int4 *exp); |
| 7422 | half8 __ovld frexp(half8 x, __global int8 *exp); |
| 7423 | half16 __ovld frexp(half16 x, __global int16 *exp); |
| 7424 | half __ovld frexp(half x, __local int *exp); |
| 7425 | half2 __ovld frexp(half2 x, __local int2 *exp); |
| 7426 | half3 __ovld frexp(half3 x, __local int3 *exp); |
| 7427 | half4 __ovld frexp(half4 x, __local int4 *exp); |
| 7428 | half8 __ovld frexp(half8 x, __local int8 *exp); |
| 7429 | half16 __ovld frexp(half16 x, __local int16 *exp); |
| 7430 | half __ovld frexp(half x, __private int *exp); |
| 7431 | half2 __ovld frexp(half2 x, __private int2 *exp); |
| 7432 | half3 __ovld frexp(half3 x, __private int3 *exp); |
| 7433 | half4 __ovld frexp(half4 x, __private int4 *exp); |
| 7434 | half8 __ovld frexp(half8 x, __private int8 *exp); |
| 7435 | half16 __ovld frexp(half16 x, __private int16 *exp); |
| 7436 | #endif //cl_khr_fp16 |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 7437 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 7438 | |
| 7439 | /** |
| 7440 | * Compute the value of the square root of x^2 + y^2 |
| 7441 | * without undue overflow or underflow. |
| 7442 | */ |
| 7443 | float __ovld __cnfn hypot(float x, float y); |
| 7444 | float2 __ovld __cnfn hypot(float2 x, float2 y); |
| 7445 | float3 __ovld __cnfn hypot(float3 x, float3 y); |
| 7446 | float4 __ovld __cnfn hypot(float4 x, float4 y); |
| 7447 | float8 __ovld __cnfn hypot(float8 x, float8 y); |
| 7448 | float16 __ovld __cnfn hypot(float16 x, float16 y); |
| 7449 | #ifdef cl_khr_fp64 |
| 7450 | double __ovld __cnfn hypot(double x, double y); |
| 7451 | double2 __ovld __cnfn hypot(double2 x, double2 y); |
| 7452 | double3 __ovld __cnfn hypot(double3 x, double3 y); |
| 7453 | double4 __ovld __cnfn hypot(double4 x, double4 y); |
| 7454 | double8 __ovld __cnfn hypot(double8 x, double8 y); |
| 7455 | double16 __ovld __cnfn hypot(double16 x, double16 y); |
| 7456 | #endif //cl_khr_fp64 |
| 7457 | #ifdef cl_khr_fp16 |
| 7458 | half __ovld __cnfn hypot(half x, half y); |
| 7459 | half2 __ovld __cnfn hypot(half2 x, half2 y); |
| 7460 | half3 __ovld __cnfn hypot(half3 x, half3 y); |
| 7461 | half4 __ovld __cnfn hypot(half4 x, half4 y); |
| 7462 | half8 __ovld __cnfn hypot(half8 x, half8 y); |
| 7463 | half16 __ovld __cnfn hypot(half16 x, half16 y); |
| 7464 | #endif //cl_khr_fp16 |
| 7465 | |
| 7466 | /** |
| 7467 | * Return the exponent as an integer value. |
| 7468 | */ |
| 7469 | int __ovld __cnfn ilogb(float x); |
| 7470 | int2 __ovld __cnfn ilogb(float2 x); |
| 7471 | int3 __ovld __cnfn ilogb(float3 x); |
| 7472 | int4 __ovld __cnfn ilogb(float4 x); |
| 7473 | int8 __ovld __cnfn ilogb(float8 x); |
| 7474 | int16 __ovld __cnfn ilogb(float16 x); |
| 7475 | #ifdef cl_khr_fp64 |
| 7476 | int __ovld __cnfn ilogb(double x); |
| 7477 | int2 __ovld __cnfn ilogb(double2 x); |
| 7478 | int3 __ovld __cnfn ilogb(double3 x); |
| 7479 | int4 __ovld __cnfn ilogb(double4 x); |
| 7480 | int8 __ovld __cnfn ilogb(double8 x); |
| 7481 | int16 __ovld __cnfn ilogb(double16 x); |
| 7482 | #endif //cl_khr_fp64 |
| 7483 | #ifdef cl_khr_fp16 |
| 7484 | int __ovld __cnfn ilogb(half x); |
| 7485 | int2 __ovld __cnfn ilogb(half2 x); |
| 7486 | int3 __ovld __cnfn ilogb(half3 x); |
| 7487 | int4 __ovld __cnfn ilogb(half4 x); |
| 7488 | int8 __ovld __cnfn ilogb(half8 x); |
| 7489 | int16 __ovld __cnfn ilogb(half16 x); |
| 7490 | #endif //cl_khr_fp16 |
| 7491 | |
| 7492 | /** |
| 7493 | * Multiply x by 2 to the power n. |
| 7494 | */ |
| 7495 | float __ovld __cnfn ldexp(float x, int n); |
| 7496 | float2 __ovld __cnfn ldexp(float2 x, int2 n); |
| 7497 | float3 __ovld __cnfn ldexp(float3 x, int3 n); |
| 7498 | float4 __ovld __cnfn ldexp(float4 x, int4 n); |
| 7499 | float8 __ovld __cnfn ldexp(float8 x, int8 n); |
| 7500 | float16 __ovld __cnfn ldexp(float16 x, int16 n); |
| 7501 | float2 __ovld __cnfn ldexp(float2 x, int n); |
| 7502 | float3 __ovld __cnfn ldexp(float3 x, int n); |
| 7503 | float4 __ovld __cnfn ldexp(float4 x, int n); |
| 7504 | float8 __ovld __cnfn ldexp(float8 x, int n); |
| 7505 | float16 __ovld __cnfn ldexp(float16 x, int n); |
| 7506 | #ifdef cl_khr_fp64 |
| 7507 | double __ovld __cnfn ldexp(double x, int n); |
| 7508 | double2 __ovld __cnfn ldexp(double2 x, int2 n); |
| 7509 | double3 __ovld __cnfn ldexp(double3 x, int3 n); |
| 7510 | double4 __ovld __cnfn ldexp(double4 x, int4 n); |
| 7511 | double8 __ovld __cnfn ldexp(double8 x, int8 n); |
| 7512 | double16 __ovld __cnfn ldexp(double16 x, int16 n); |
| 7513 | double2 __ovld __cnfn ldexp(double2 x, int n); |
| 7514 | double3 __ovld __cnfn ldexp(double3 x, int n); |
| 7515 | double4 __ovld __cnfn ldexp(double4 x, int n); |
| 7516 | double8 __ovld __cnfn ldexp(double8 x, int n); |
| 7517 | double16 __ovld __cnfn ldexp(double16 x, int n); |
| 7518 | #endif //cl_khr_fp64 |
| 7519 | #ifdef cl_khr_fp16 |
| 7520 | half __ovld __cnfn ldexp(half x, int n); |
| 7521 | half2 __ovld __cnfn ldexp(half2 x, int2 n); |
| 7522 | half3 __ovld __cnfn ldexp(half3 x, int3 n); |
| 7523 | half4 __ovld __cnfn ldexp(half4 x, int4 n); |
| 7524 | half8 __ovld __cnfn ldexp(half8 x, int8 n); |
| 7525 | half16 __ovld __cnfn ldexp(half16 x, int16 n); |
| 7526 | half2 __ovld __cnfn ldexp(half2 x, int n); |
| 7527 | half3 __ovld __cnfn ldexp(half3 x, int n); |
| 7528 | half4 __ovld __cnfn ldexp(half4 x, int n); |
| 7529 | half8 __ovld __cnfn ldexp(half8 x, int n); |
| 7530 | half16 __ovld __cnfn ldexp(half16 x, int n); |
| 7531 | #endif //cl_khr_fp16 |
| 7532 | |
| 7533 | /** |
| 7534 | * Log gamma function. Returns the natural |
| 7535 | * logarithm of the absolute value of the gamma |
| 7536 | * function. The sign of the gamma function is |
| 7537 | * returned in the signp argument of lgamma_r. |
| 7538 | */ |
| 7539 | float __ovld __cnfn lgamma(float x); |
| 7540 | float2 __ovld __cnfn lgamma(float2 x); |
| 7541 | float3 __ovld __cnfn lgamma(float3 x); |
| 7542 | float4 __ovld __cnfn lgamma(float4 x); |
| 7543 | float8 __ovld __cnfn lgamma(float8 x); |
| 7544 | float16 __ovld __cnfn lgamma(float16 x); |
| 7545 | #ifdef cl_khr_fp64 |
| 7546 | double __ovld __cnfn lgamma(double x); |
| 7547 | double2 __ovld __cnfn lgamma(double2 x); |
| 7548 | double3 __ovld __cnfn lgamma(double3 x); |
| 7549 | double4 __ovld __cnfn lgamma(double4 x); |
| 7550 | double8 __ovld __cnfn lgamma(double8 x); |
| 7551 | double16 __ovld __cnfn lgamma(double16 x); |
| 7552 | #endif //cl_khr_fp64 |
| 7553 | #ifdef cl_khr_fp16 |
| 7554 | half __ovld __cnfn lgamma(half x); |
| 7555 | half2 __ovld __cnfn lgamma(half2 x); |
| 7556 | half3 __ovld __cnfn lgamma(half3 x); |
| 7557 | half4 __ovld __cnfn lgamma(half4 x); |
| 7558 | half8 __ovld __cnfn lgamma(half8 x); |
| 7559 | half16 __ovld __cnfn lgamma(half16 x); |
| 7560 | #endif //cl_khr_fp16 |
| 7561 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 7562 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 7563 | float __ovld lgamma_r(float x, int *signp); |
| 7564 | float2 __ovld lgamma_r(float2 x, int2 *signp); |
| 7565 | float3 __ovld lgamma_r(float3 x, int3 *signp); |
| 7566 | float4 __ovld lgamma_r(float4 x, int4 *signp); |
| 7567 | float8 __ovld lgamma_r(float8 x, int8 *signp); |
| 7568 | float16 __ovld lgamma_r(float16 x, int16 *signp); |
| 7569 | #ifdef cl_khr_fp64 |
| 7570 | double __ovld lgamma_r(double x, int *signp); |
| 7571 | double2 __ovld lgamma_r(double2 x, int2 *signp); |
| 7572 | double3 __ovld lgamma_r(double3 x, int3 *signp); |
| 7573 | double4 __ovld lgamma_r(double4 x, int4 *signp); |
| 7574 | double8 __ovld lgamma_r(double8 x, int8 *signp); |
| 7575 | double16 __ovld lgamma_r(double16 x, int16 *signp); |
| 7576 | #endif //cl_khr_fp64 |
| 7577 | #ifdef cl_khr_fp16 |
| 7578 | half __ovld lgamma_r(half x, int *signp); |
| 7579 | half2 __ovld lgamma_r(half2 x, int2 *signp); |
| 7580 | half3 __ovld lgamma_r(half3 x, int3 *signp); |
| 7581 | half4 __ovld lgamma_r(half4 x, int4 *signp); |
| 7582 | half8 __ovld lgamma_r(half8 x, int8 *signp); |
| 7583 | half16 __ovld lgamma_r(half16 x, int16 *signp); |
| 7584 | #endif //cl_khr_fp16 |
| 7585 | #else |
| 7586 | float __ovld lgamma_r(float x, __global int *signp); |
| 7587 | float2 __ovld lgamma_r(float2 x, __global int2 *signp); |
| 7588 | float3 __ovld lgamma_r(float3 x, __global int3 *signp); |
| 7589 | float4 __ovld lgamma_r(float4 x, __global int4 *signp); |
| 7590 | float8 __ovld lgamma_r(float8 x, __global int8 *signp); |
| 7591 | float16 __ovld lgamma_r(float16 x, __global int16 *signp); |
| 7592 | float __ovld lgamma_r(float x, __local int *signp); |
| 7593 | float2 __ovld lgamma_r(float2 x, __local int2 *signp); |
| 7594 | float3 __ovld lgamma_r(float3 x, __local int3 *signp); |
| 7595 | float4 __ovld lgamma_r(float4 x, __local int4 *signp); |
| 7596 | float8 __ovld lgamma_r(float8 x, __local int8 *signp); |
| 7597 | float16 __ovld lgamma_r(float16 x, __local int16 *signp); |
| 7598 | float __ovld lgamma_r(float x, __private int *signp); |
| 7599 | float2 __ovld lgamma_r(float2 x, __private int2 *signp); |
| 7600 | float3 __ovld lgamma_r(float3 x, __private int3 *signp); |
| 7601 | float4 __ovld lgamma_r(float4 x, __private int4 *signp); |
| 7602 | float8 __ovld lgamma_r(float8 x, __private int8 *signp); |
| 7603 | float16 __ovld lgamma_r(float16 x, __private int16 *signp); |
| 7604 | #ifdef cl_khr_fp64 |
| 7605 | double __ovld lgamma_r(double x, __global int *signp); |
| 7606 | double2 __ovld lgamma_r(double2 x, __global int2 *signp); |
| 7607 | double3 __ovld lgamma_r(double3 x, __global int3 *signp); |
| 7608 | double4 __ovld lgamma_r(double4 x, __global int4 *signp); |
| 7609 | double8 __ovld lgamma_r(double8 x, __global int8 *signp); |
| 7610 | double16 __ovld lgamma_r(double16 x, __global int16 *signp); |
| 7611 | double __ovld lgamma_r(double x, __local int *signp); |
| 7612 | double2 __ovld lgamma_r(double2 x, __local int2 *signp); |
| 7613 | double3 __ovld lgamma_r(double3 x, __local int3 *signp); |
| 7614 | double4 __ovld lgamma_r(double4 x, __local int4 *signp); |
| 7615 | double8 __ovld lgamma_r(double8 x, __local int8 *signp); |
| 7616 | double16 __ovld lgamma_r(double16 x, __local int16 *signp); |
| 7617 | double __ovld lgamma_r(double x, __private int *signp); |
| 7618 | double2 __ovld lgamma_r(double2 x, __private int2 *signp); |
| 7619 | double3 __ovld lgamma_r(double3 x, __private int3 *signp); |
| 7620 | double4 __ovld lgamma_r(double4 x, __private int4 *signp); |
| 7621 | double8 __ovld lgamma_r(double8 x, __private int8 *signp); |
| 7622 | double16 __ovld lgamma_r(double16 x, __private int16 *signp); |
| 7623 | #endif //cl_khr_fp64 |
| 7624 | #ifdef cl_khr_fp16 |
| 7625 | half __ovld lgamma_r(half x, __global int *signp); |
| 7626 | half2 __ovld lgamma_r(half2 x, __global int2 *signp); |
| 7627 | half3 __ovld lgamma_r(half3 x, __global int3 *signp); |
| 7628 | half4 __ovld lgamma_r(half4 x, __global int4 *signp); |
| 7629 | half8 __ovld lgamma_r(half8 x, __global int8 *signp); |
| 7630 | half16 __ovld lgamma_r(half16 x, __global int16 *signp); |
| 7631 | half __ovld lgamma_r(half x, __local int *signp); |
| 7632 | half2 __ovld lgamma_r(half2 x, __local int2 *signp); |
| 7633 | half3 __ovld lgamma_r(half3 x, __local int3 *signp); |
| 7634 | half4 __ovld lgamma_r(half4 x, __local int4 *signp); |
| 7635 | half8 __ovld lgamma_r(half8 x, __local int8 *signp); |
| 7636 | half16 __ovld lgamma_r(half16 x, __local int16 *signp); |
| 7637 | half __ovld lgamma_r(half x, __private int *signp); |
| 7638 | half2 __ovld lgamma_r(half2 x, __private int2 *signp); |
| 7639 | half3 __ovld lgamma_r(half3 x, __private int3 *signp); |
| 7640 | half4 __ovld lgamma_r(half4 x, __private int4 *signp); |
| 7641 | half8 __ovld lgamma_r(half8 x, __private int8 *signp); |
| 7642 | half16 __ovld lgamma_r(half16 x, __private int16 *signp); |
| 7643 | #endif //cl_khr_fp16 |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 7644 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 7645 | |
| 7646 | /** |
| 7647 | * Compute natural logarithm. |
| 7648 | */ |
| 7649 | float __ovld __cnfn log(float); |
| 7650 | float2 __ovld __cnfn log(float2); |
| 7651 | float3 __ovld __cnfn log(float3); |
| 7652 | float4 __ovld __cnfn log(float4); |
| 7653 | float8 __ovld __cnfn log(float8); |
| 7654 | float16 __ovld __cnfn log(float16); |
| 7655 | #ifdef cl_khr_fp64 |
| 7656 | double __ovld __cnfn log(double); |
| 7657 | double2 __ovld __cnfn log(double2); |
| 7658 | double3 __ovld __cnfn log(double3); |
| 7659 | double4 __ovld __cnfn log(double4); |
| 7660 | double8 __ovld __cnfn log(double8); |
| 7661 | double16 __ovld __cnfn log(double16); |
| 7662 | #endif //cl_khr_fp64 |
| 7663 | #ifdef cl_khr_fp16 |
| 7664 | half __ovld __cnfn log(half); |
| 7665 | half2 __ovld __cnfn log(half2); |
| 7666 | half3 __ovld __cnfn log(half3); |
| 7667 | half4 __ovld __cnfn log(half4); |
| 7668 | half8 __ovld __cnfn log(half8); |
| 7669 | half16 __ovld __cnfn log(half16); |
| 7670 | #endif //cl_khr_fp16 |
| 7671 | |
| 7672 | /** |
| 7673 | * Compute a base 2 logarithm. |
| 7674 | */ |
| 7675 | float __ovld __cnfn log2(float); |
| 7676 | float2 __ovld __cnfn log2(float2); |
| 7677 | float3 __ovld __cnfn log2(float3); |
| 7678 | float4 __ovld __cnfn log2(float4); |
| 7679 | float8 __ovld __cnfn log2(float8); |
| 7680 | float16 __ovld __cnfn log2(float16); |
| 7681 | #ifdef cl_khr_fp64 |
| 7682 | double __ovld __cnfn log2(double); |
| 7683 | double2 __ovld __cnfn log2(double2); |
| 7684 | double3 __ovld __cnfn log2(double3); |
| 7685 | double4 __ovld __cnfn log2(double4); |
| 7686 | double8 __ovld __cnfn log2(double8); |
| 7687 | double16 __ovld __cnfn log2(double16); |
| 7688 | #endif //cl_khr_fp64 |
| 7689 | #ifdef cl_khr_fp16 |
| 7690 | half __ovld __cnfn log2(half); |
| 7691 | half2 __ovld __cnfn log2(half2); |
| 7692 | half3 __ovld __cnfn log2(half3); |
| 7693 | half4 __ovld __cnfn log2(half4); |
| 7694 | half8 __ovld __cnfn log2(half8); |
| 7695 | half16 __ovld __cnfn log2(half16); |
| 7696 | #endif //cl_khr_fp16 |
| 7697 | |
| 7698 | /** |
| 7699 | * Compute a base 10 logarithm. |
| 7700 | */ |
| 7701 | float __ovld __cnfn log10(float); |
| 7702 | float2 __ovld __cnfn log10(float2); |
| 7703 | float3 __ovld __cnfn log10(float3); |
| 7704 | float4 __ovld __cnfn log10(float4); |
| 7705 | float8 __ovld __cnfn log10(float8); |
| 7706 | float16 __ovld __cnfn log10(float16); |
| 7707 | #ifdef cl_khr_fp64 |
| 7708 | double __ovld __cnfn log10(double); |
| 7709 | double2 __ovld __cnfn log10(double2); |
| 7710 | double3 __ovld __cnfn log10(double3); |
| 7711 | double4 __ovld __cnfn log10(double4); |
| 7712 | double8 __ovld __cnfn log10(double8); |
| 7713 | double16 __ovld __cnfn log10(double16); |
| 7714 | #endif //cl_khr_fp64 |
| 7715 | #ifdef cl_khr_fp16 |
| 7716 | half __ovld __cnfn log10(half); |
| 7717 | half2 __ovld __cnfn log10(half2); |
| 7718 | half3 __ovld __cnfn log10(half3); |
| 7719 | half4 __ovld __cnfn log10(half4); |
| 7720 | half8 __ovld __cnfn log10(half8); |
| 7721 | half16 __ovld __cnfn log10(half16); |
| 7722 | #endif //cl_khr_fp16 |
| 7723 | |
| 7724 | /** |
| 7725 | * Compute a base e logarithm of (1.0 + x). |
| 7726 | */ |
| 7727 | float __ovld __cnfn log1p(float x); |
| 7728 | float2 __ovld __cnfn log1p(float2 x); |
| 7729 | float3 __ovld __cnfn log1p(float3 x); |
| 7730 | float4 __ovld __cnfn log1p(float4 x); |
| 7731 | float8 __ovld __cnfn log1p(float8 x); |
| 7732 | float16 __ovld __cnfn log1p(float16 x); |
| 7733 | #ifdef cl_khr_fp64 |
| 7734 | double __ovld __cnfn log1p(double x); |
| 7735 | double2 __ovld __cnfn log1p(double2 x); |
| 7736 | double3 __ovld __cnfn log1p(double3 x); |
| 7737 | double4 __ovld __cnfn log1p(double4 x); |
| 7738 | double8 __ovld __cnfn log1p(double8 x); |
| 7739 | double16 __ovld __cnfn log1p(double16 x); |
| 7740 | #endif //cl_khr_fp64 |
| 7741 | #ifdef cl_khr_fp16 |
| 7742 | half __ovld __cnfn log1p(half x); |
| 7743 | half2 __ovld __cnfn log1p(half2 x); |
| 7744 | half3 __ovld __cnfn log1p(half3 x); |
| 7745 | half4 __ovld __cnfn log1p(half4 x); |
| 7746 | half8 __ovld __cnfn log1p(half8 x); |
| 7747 | half16 __ovld __cnfn log1p(half16 x); |
| 7748 | #endif //cl_khr_fp16 |
| 7749 | |
| 7750 | /** |
| 7751 | * Compute the exponent of x, which is the integral |
| 7752 | * part of logr | x |. |
| 7753 | */ |
| 7754 | float __ovld __cnfn logb(float x); |
| 7755 | float2 __ovld __cnfn logb(float2 x); |
| 7756 | float3 __ovld __cnfn logb(float3 x); |
| 7757 | float4 __ovld __cnfn logb(float4 x); |
| 7758 | float8 __ovld __cnfn logb(float8 x); |
| 7759 | float16 __ovld __cnfn logb(float16 x); |
| 7760 | #ifdef cl_khr_fp64 |
| 7761 | double __ovld __cnfn logb(double x); |
| 7762 | double2 __ovld __cnfn logb(double2 x); |
| 7763 | double3 __ovld __cnfn logb(double3 x); |
| 7764 | double4 __ovld __cnfn logb(double4 x); |
| 7765 | double8 __ovld __cnfn logb(double8 x); |
| 7766 | double16 __ovld __cnfn logb(double16 x); |
| 7767 | #endif //cl_khr_fp64 |
| 7768 | #ifdef cl_khr_fp16 |
| 7769 | half __ovld __cnfn logb(half x); |
| 7770 | half2 __ovld __cnfn logb(half2 x); |
| 7771 | half3 __ovld __cnfn logb(half3 x); |
| 7772 | half4 __ovld __cnfn logb(half4 x); |
| 7773 | half8 __ovld __cnfn logb(half8 x); |
| 7774 | half16 __ovld __cnfn logb(half16 x); |
| 7775 | #endif //cl_khr_fp16 |
| 7776 | |
| 7777 | /** |
| 7778 | * mad approximates a * b + c. Whether or how the |
| 7779 | * product of a * b is rounded and how supernormal or |
| 7780 | * subnormal intermediate products are handled is not |
| 7781 | * defined. mad is intended to be used where speed is |
| 7782 | * preferred over accuracy. |
| 7783 | */ |
| 7784 | float __ovld __cnfn mad(float a, float b, float c); |
| 7785 | float2 __ovld __cnfn mad(float2 a, float2 b, float2 c); |
| 7786 | float3 __ovld __cnfn mad(float3 a, float3 b, float3 c); |
| 7787 | float4 __ovld __cnfn mad(float4 a, float4 b, float4 c); |
| 7788 | float8 __ovld __cnfn mad(float8 a, float8 b, float8 c); |
| 7789 | float16 __ovld __cnfn mad(float16 a, float16 b, float16 c); |
| 7790 | #ifdef cl_khr_fp64 |
| 7791 | double __ovld __cnfn mad(double a, double b, double c); |
| 7792 | double2 __ovld __cnfn mad(double2 a, double2 b, double2 c); |
| 7793 | double3 __ovld __cnfn mad(double3 a, double3 b, double3 c); |
| 7794 | double4 __ovld __cnfn mad(double4 a, double4 b, double4 c); |
| 7795 | double8 __ovld __cnfn mad(double8 a, double8 b, double8 c); |
| 7796 | double16 __ovld __cnfn mad(double16 a, double16 b, double16 c); |
| 7797 | #endif //cl_khr_fp64 |
| 7798 | #ifdef cl_khr_fp16 |
| 7799 | half __ovld __cnfn mad(half a, half b, half c); |
| 7800 | half2 __ovld __cnfn mad(half2 a, half2 b, half2 c); |
| 7801 | half3 __ovld __cnfn mad(half3 a, half3 b, half3 c); |
| 7802 | half4 __ovld __cnfn mad(half4 a, half4 b, half4 c); |
| 7803 | half8 __ovld __cnfn mad(half8 a, half8 b, half8 c); |
| 7804 | half16 __ovld __cnfn mad(half16 a, half16 b, half16 c); |
| 7805 | #endif //cl_khr_fp16 |
| 7806 | |
| 7807 | /** |
| 7808 | * Returns x if | x | > | y |, y if | y | > | x |, otherwise |
| 7809 | * fmax(x, y). |
| 7810 | */ |
| 7811 | float __ovld __cnfn maxmag(float x, float y); |
| 7812 | float2 __ovld __cnfn maxmag(float2 x, float2 y); |
| 7813 | float3 __ovld __cnfn maxmag(float3 x, float3 y); |
| 7814 | float4 __ovld __cnfn maxmag(float4 x, float4 y); |
| 7815 | float8 __ovld __cnfn maxmag(float8 x, float8 y); |
| 7816 | float16 __ovld __cnfn maxmag(float16 x, float16 y); |
| 7817 | #ifdef cl_khr_fp64 |
| 7818 | double __ovld __cnfn maxmag(double x, double y); |
| 7819 | double2 __ovld __cnfn maxmag(double2 x, double2 y); |
| 7820 | double3 __ovld __cnfn maxmag(double3 x, double3 y); |
| 7821 | double4 __ovld __cnfn maxmag(double4 x, double4 y); |
| 7822 | double8 __ovld __cnfn maxmag(double8 x, double8 y); |
| 7823 | double16 __ovld __cnfn maxmag(double16 x, double16 y); |
| 7824 | #endif //cl_khr_fp64 |
| 7825 | #ifdef cl_khr_fp16 |
| 7826 | half __ovld __cnfn maxmag(half x, half y); |
| 7827 | half2 __ovld __cnfn maxmag(half2 x, half2 y); |
| 7828 | half3 __ovld __cnfn maxmag(half3 x, half3 y); |
| 7829 | half4 __ovld __cnfn maxmag(half4 x, half4 y); |
| 7830 | half8 __ovld __cnfn maxmag(half8 x, half8 y); |
| 7831 | half16 __ovld __cnfn maxmag(half16 x, half16 y); |
| 7832 | #endif //cl_khr_fp16 |
| 7833 | |
| 7834 | /** |
| 7835 | * Returns x if | x | < | y |, y if | y | < | x |, otherwise |
| 7836 | * fmin(x, y). |
| 7837 | */ |
| 7838 | float __ovld __cnfn minmag(float x, float y); |
| 7839 | float2 __ovld __cnfn minmag(float2 x, float2 y); |
| 7840 | float3 __ovld __cnfn minmag(float3 x, float3 y); |
| 7841 | float4 __ovld __cnfn minmag(float4 x, float4 y); |
| 7842 | float8 __ovld __cnfn minmag(float8 x, float8 y); |
| 7843 | float16 __ovld __cnfn minmag(float16 x, float16 y); |
| 7844 | #ifdef cl_khr_fp64 |
| 7845 | double __ovld __cnfn minmag(double x, double y); |
| 7846 | double2 __ovld __cnfn minmag(double2 x, double2 y); |
| 7847 | double3 __ovld __cnfn minmag(double3 x, double3 y); |
| 7848 | double4 __ovld __cnfn minmag(double4 x, double4 y); |
| 7849 | double8 __ovld __cnfn minmag(double8 x, double8 y); |
| 7850 | double16 __ovld __cnfn minmag(double16 x, double16 y); |
| 7851 | #endif //cl_khr_fp64 |
| 7852 | #ifdef cl_khr_fp16 |
| 7853 | half __ovld __cnfn minmag(half x, half y); |
| 7854 | half2 __ovld __cnfn minmag(half2 x, half2 y); |
| 7855 | half3 __ovld __cnfn minmag(half3 x, half3 y); |
| 7856 | half4 __ovld __cnfn minmag(half4 x, half4 y); |
| 7857 | half8 __ovld __cnfn minmag(half8 x, half8 y); |
| 7858 | half16 __ovld __cnfn minmag(half16 x, half16 y); |
| 7859 | #endif //cl_khr_fp16 |
| 7860 | |
| 7861 | /** |
| 7862 | * Decompose a floating-point number. The modf |
| 7863 | * function breaks the argument x into integral and |
| 7864 | * fractional parts, each of which has the same sign as |
| 7865 | * the argument. It stores the integral part in the object |
| 7866 | * pointed to by iptr. |
| 7867 | */ |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 7868 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 7869 | float __ovld modf(float x, float *iptr); |
| 7870 | float2 __ovld modf(float2 x, float2 *iptr); |
| 7871 | float3 __ovld modf(float3 x, float3 *iptr); |
| 7872 | float4 __ovld modf(float4 x, float4 *iptr); |
| 7873 | float8 __ovld modf(float8 x, float8 *iptr); |
| 7874 | float16 __ovld modf(float16 x, float16 *iptr); |
| 7875 | #ifdef cl_khr_fp64 |
| 7876 | double __ovld modf(double x, double *iptr); |
| 7877 | double2 __ovld modf(double2 x, double2 *iptr); |
| 7878 | double3 __ovld modf(double3 x, double3 *iptr); |
| 7879 | double4 __ovld modf(double4 x, double4 *iptr); |
| 7880 | double8 __ovld modf(double8 x, double8 *iptr); |
| 7881 | double16 __ovld modf(double16 x, double16 *iptr); |
| 7882 | #endif //cl_khr_fp64 |
| 7883 | #ifdef cl_khr_fp16 |
| 7884 | half __ovld modf(half x, half *iptr); |
| 7885 | half2 __ovld modf(half2 x, half2 *iptr); |
| 7886 | half3 __ovld modf(half3 x, half3 *iptr); |
| 7887 | half4 __ovld modf(half4 x, half4 *iptr); |
| 7888 | half8 __ovld modf(half8 x, half8 *iptr); |
| 7889 | half16 __ovld modf(half16 x, half16 *iptr); |
| 7890 | #endif //cl_khr_fp16 |
| 7891 | #else |
| 7892 | float __ovld modf(float x, __global float *iptr); |
| 7893 | float2 __ovld modf(float2 x, __global float2 *iptr); |
| 7894 | float3 __ovld modf(float3 x, __global float3 *iptr); |
| 7895 | float4 __ovld modf(float4 x, __global float4 *iptr); |
| 7896 | float8 __ovld modf(float8 x, __global float8 *iptr); |
| 7897 | float16 __ovld modf(float16 x, __global float16 *iptr); |
| 7898 | float __ovld modf(float x, __local float *iptr); |
| 7899 | float2 __ovld modf(float2 x, __local float2 *iptr); |
| 7900 | float3 __ovld modf(float3 x, __local float3 *iptr); |
| 7901 | float4 __ovld modf(float4 x, __local float4 *iptr); |
| 7902 | float8 __ovld modf(float8 x, __local float8 *iptr); |
| 7903 | float16 __ovld modf(float16 x, __local float16 *iptr); |
| 7904 | float __ovld modf(float x, __private float *iptr); |
| 7905 | float2 __ovld modf(float2 x, __private float2 *iptr); |
| 7906 | float3 __ovld modf(float3 x, __private float3 *iptr); |
| 7907 | float4 __ovld modf(float4 x, __private float4 *iptr); |
| 7908 | float8 __ovld modf(float8 x, __private float8 *iptr); |
| 7909 | float16 __ovld modf(float16 x, __private float16 *iptr); |
| 7910 | #ifdef cl_khr_fp64 |
| 7911 | double __ovld modf(double x, __global double *iptr); |
| 7912 | double2 __ovld modf(double2 x, __global double2 *iptr); |
| 7913 | double3 __ovld modf(double3 x, __global double3 *iptr); |
| 7914 | double4 __ovld modf(double4 x, __global double4 *iptr); |
| 7915 | double8 __ovld modf(double8 x, __global double8 *iptr); |
| 7916 | double16 __ovld modf(double16 x, __global double16 *iptr); |
| 7917 | double __ovld modf(double x, __local double *iptr); |
| 7918 | double2 __ovld modf(double2 x, __local double2 *iptr); |
| 7919 | double3 __ovld modf(double3 x, __local double3 *iptr); |
| 7920 | double4 __ovld modf(double4 x, __local double4 *iptr); |
| 7921 | double8 __ovld modf(double8 x, __local double8 *iptr); |
| 7922 | double16 __ovld modf(double16 x, __local double16 *iptr); |
| 7923 | double __ovld modf(double x, __private double *iptr); |
| 7924 | double2 __ovld modf(double2 x, __private double2 *iptr); |
| 7925 | double3 __ovld modf(double3 x, __private double3 *iptr); |
| 7926 | double4 __ovld modf(double4 x, __private double4 *iptr); |
| 7927 | double8 __ovld modf(double8 x, __private double8 *iptr); |
| 7928 | double16 __ovld modf(double16 x, __private double16 *iptr); |
| 7929 | #endif //cl_khr_fp64 |
| 7930 | #ifdef cl_khr_fp16 |
| 7931 | half __ovld modf(half x, __global half *iptr); |
| 7932 | half2 __ovld modf(half2 x, __global half2 *iptr); |
| 7933 | half3 __ovld modf(half3 x, __global half3 *iptr); |
| 7934 | half4 __ovld modf(half4 x, __global half4 *iptr); |
| 7935 | half8 __ovld modf(half8 x, __global half8 *iptr); |
| 7936 | half16 __ovld modf(half16 x, __global half16 *iptr); |
| 7937 | half __ovld modf(half x, __local half *iptr); |
| 7938 | half2 __ovld modf(half2 x, __local half2 *iptr); |
| 7939 | half3 __ovld modf(half3 x, __local half3 *iptr); |
| 7940 | half4 __ovld modf(half4 x, __local half4 *iptr); |
| 7941 | half8 __ovld modf(half8 x, __local half8 *iptr); |
| 7942 | half16 __ovld modf(half16 x, __local half16 *iptr); |
| 7943 | half __ovld modf(half x, __private half *iptr); |
| 7944 | half2 __ovld modf(half2 x, __private half2 *iptr); |
| 7945 | half3 __ovld modf(half3 x, __private half3 *iptr); |
| 7946 | half4 __ovld modf(half4 x, __private half4 *iptr); |
| 7947 | half8 __ovld modf(half8 x, __private half8 *iptr); |
| 7948 | half16 __ovld modf(half16 x, __private half16 *iptr); |
| 7949 | #endif //cl_khr_fp16 |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 7950 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 7951 | |
| 7952 | /** |
| 7953 | * Returns a quiet NaN. The nancode may be placed |
| 7954 | * in the significand of the resulting NaN. |
| 7955 | */ |
| 7956 | float __ovld __cnfn nan(uint nancode); |
| 7957 | float2 __ovld __cnfn nan(uint2 nancode); |
| 7958 | float3 __ovld __cnfn nan(uint3 nancode); |
| 7959 | float4 __ovld __cnfn nan(uint4 nancode); |
| 7960 | float8 __ovld __cnfn nan(uint8 nancode); |
| 7961 | float16 __ovld __cnfn nan(uint16 nancode); |
| 7962 | #ifdef cl_khr_fp64 |
| 7963 | double __ovld __cnfn nan(ulong nancode); |
| 7964 | double2 __ovld __cnfn nan(ulong2 nancode); |
| 7965 | double3 __ovld __cnfn nan(ulong3 nancode); |
| 7966 | double4 __ovld __cnfn nan(ulong4 nancode); |
| 7967 | double8 __ovld __cnfn nan(ulong8 nancode); |
| 7968 | double16 __ovld __cnfn nan(ulong16 nancode); |
| 7969 | #endif //cl_khr_fp64 |
| 7970 | #ifdef cl_khr_fp16 |
| 7971 | half __ovld __cnfn nan(ushort nancode); |
| 7972 | half2 __ovld __cnfn nan(ushort2 nancode); |
| 7973 | half3 __ovld __cnfn nan(ushort3 nancode); |
| 7974 | half4 __ovld __cnfn nan(ushort4 nancode); |
| 7975 | half8 __ovld __cnfn nan(ushort8 nancode); |
| 7976 | half16 __ovld __cnfn nan(ushort16 nancode); |
| 7977 | #endif //cl_khr_fp16 |
| 7978 | |
| 7979 | /** |
| 7980 | * Computes the next representable single-precision |
| 7981 | * floating-point value following x in the direction of |
| 7982 | * y. Thus, if y is less than x, nextafter() returns the |
| 7983 | * largest representable floating-point number less |
| 7984 | * than x. |
| 7985 | */ |
| 7986 | float __ovld __cnfn nextafter(float x, float y); |
| 7987 | float2 __ovld __cnfn nextafter(float2 x, float2 y); |
| 7988 | float3 __ovld __cnfn nextafter(float3 x, float3 y); |
| 7989 | float4 __ovld __cnfn nextafter(float4 x, float4 y); |
| 7990 | float8 __ovld __cnfn nextafter(float8 x, float8 y); |
| 7991 | float16 __ovld __cnfn nextafter(float16 x, float16 y); |
| 7992 | #ifdef cl_khr_fp64 |
| 7993 | double __ovld __cnfn nextafter(double x, double y); |
| 7994 | double2 __ovld __cnfn nextafter(double2 x, double2 y); |
| 7995 | double3 __ovld __cnfn nextafter(double3 x, double3 y); |
| 7996 | double4 __ovld __cnfn nextafter(double4 x, double4 y); |
| 7997 | double8 __ovld __cnfn nextafter(double8 x, double8 y); |
| 7998 | double16 __ovld __cnfn nextafter(double16 x, double16 y); |
| 7999 | #endif //cl_khr_fp64 |
| 8000 | #ifdef cl_khr_fp16 |
| 8001 | half __ovld __cnfn nextafter(half x, half y); |
| 8002 | half2 __ovld __cnfn nextafter(half2 x, half2 y); |
| 8003 | half3 __ovld __cnfn nextafter(half3 x, half3 y); |
| 8004 | half4 __ovld __cnfn nextafter(half4 x, half4 y); |
| 8005 | half8 __ovld __cnfn nextafter(half8 x, half8 y); |
| 8006 | half16 __ovld __cnfn nextafter(half16 x, half16 y); |
| 8007 | #endif //cl_khr_fp16 |
| 8008 | |
| 8009 | /** |
| 8010 | * Compute x to the power y. |
| 8011 | */ |
| 8012 | float __ovld __cnfn pow(float x, float y); |
| 8013 | float2 __ovld __cnfn pow(float2 x, float2 y); |
| 8014 | float3 __ovld __cnfn pow(float3 x, float3 y); |
| 8015 | float4 __ovld __cnfn pow(float4 x, float4 y); |
| 8016 | float8 __ovld __cnfn pow(float8 x, float8 y); |
| 8017 | float16 __ovld __cnfn pow(float16 x, float16 y); |
| 8018 | #ifdef cl_khr_fp64 |
| 8019 | double __ovld __cnfn pow(double x, double y); |
| 8020 | double2 __ovld __cnfn pow(double2 x, double2 y); |
| 8021 | double3 __ovld __cnfn pow(double3 x, double3 y); |
| 8022 | double4 __ovld __cnfn pow(double4 x, double4 y); |
| 8023 | double8 __ovld __cnfn pow(double8 x, double8 y); |
| 8024 | double16 __ovld __cnfn pow(double16 x, double16 y); |
| 8025 | #endif //cl_khr_fp64 |
| 8026 | #ifdef cl_khr_fp16 |
| 8027 | half __ovld __cnfn pow(half x, half y); |
| 8028 | half2 __ovld __cnfn pow(half2 x, half2 y); |
| 8029 | half3 __ovld __cnfn pow(half3 x, half3 y); |
| 8030 | half4 __ovld __cnfn pow(half4 x, half4 y); |
| 8031 | half8 __ovld __cnfn pow(half8 x, half8 y); |
| 8032 | half16 __ovld __cnfn pow(half16 x, half16 y); |
| 8033 | #endif //cl_khr_fp16 |
| 8034 | |
| 8035 | /** |
| 8036 | * Compute x to the power y, where y is an integer. |
| 8037 | */ |
| 8038 | float __ovld __cnfn pown(float x, int y); |
| 8039 | float2 __ovld __cnfn pown(float2 x, int2 y); |
| 8040 | float3 __ovld __cnfn pown(float3 x, int3 y); |
| 8041 | float4 __ovld __cnfn pown(float4 x, int4 y); |
| 8042 | float8 __ovld __cnfn pown(float8 x, int8 y); |
| 8043 | float16 __ovld __cnfn pown(float16 x, int16 y); |
| 8044 | #ifdef cl_khr_fp64 |
| 8045 | double __ovld __cnfn pown(double x, int y); |
| 8046 | double2 __ovld __cnfn pown(double2 x, int2 y); |
| 8047 | double3 __ovld __cnfn pown(double3 x, int3 y); |
| 8048 | double4 __ovld __cnfn pown(double4 x, int4 y); |
| 8049 | double8 __ovld __cnfn pown(double8 x, int8 y); |
| 8050 | double16 __ovld __cnfn pown(double16 x, int16 y); |
| 8051 | #endif //cl_khr_fp64 |
| 8052 | #ifdef cl_khr_fp16 |
| 8053 | half __ovld __cnfn pown(half x, int y); |
| 8054 | half2 __ovld __cnfn pown(half2 x, int2 y); |
| 8055 | half3 __ovld __cnfn pown(half3 x, int3 y); |
| 8056 | half4 __ovld __cnfn pown(half4 x, int4 y); |
| 8057 | half8 __ovld __cnfn pown(half8 x, int8 y); |
| 8058 | half16 __ovld __cnfn pown(half16 x, int16 y); |
| 8059 | #endif //cl_khr_fp16 |
| 8060 | |
| 8061 | /** |
| 8062 | * Compute x to the power y, where x is >= 0. |
| 8063 | */ |
| 8064 | float __ovld __cnfn powr(float x, float y); |
| 8065 | float2 __ovld __cnfn powr(float2 x, float2 y); |
| 8066 | float3 __ovld __cnfn powr(float3 x, float3 y); |
| 8067 | float4 __ovld __cnfn powr(float4 x, float4 y); |
| 8068 | float8 __ovld __cnfn powr(float8 x, float8 y); |
| 8069 | float16 __ovld __cnfn powr(float16 x, float16 y); |
| 8070 | #ifdef cl_khr_fp64 |
| 8071 | double __ovld __cnfn powr(double x, double y); |
| 8072 | double2 __ovld __cnfn powr(double2 x, double2 y); |
| 8073 | double3 __ovld __cnfn powr(double3 x, double3 y); |
| 8074 | double4 __ovld __cnfn powr(double4 x, double4 y); |
| 8075 | double8 __ovld __cnfn powr(double8 x, double8 y); |
| 8076 | double16 __ovld __cnfn powr(double16 x, double16 y); |
| 8077 | #endif //cl_khr_fp64 |
| 8078 | #ifdef cl_khr_fp16 |
| 8079 | half __ovld __cnfn powr(half x, half y); |
| 8080 | half2 __ovld __cnfn powr(half2 x, half2 y); |
| 8081 | half3 __ovld __cnfn powr(half3 x, half3 y); |
| 8082 | half4 __ovld __cnfn powr(half4 x, half4 y); |
| 8083 | half8 __ovld __cnfn powr(half8 x, half8 y); |
| 8084 | half16 __ovld __cnfn powr(half16 x, half16 y); |
| 8085 | #endif //cl_khr_fp16 |
| 8086 | |
| 8087 | /** |
| 8088 | * Compute the value r such that r = x - n*y, where n |
| 8089 | * is the integer nearest the exact value of x/y. If there |
| 8090 | * are two integers closest to x/y, n shall be the even |
| 8091 | * one. If r is zero, it is given the same sign as x. |
| 8092 | */ |
| 8093 | float __ovld __cnfn remainder(float x, float y); |
| 8094 | float2 __ovld __cnfn remainder(float2 x, float2 y); |
| 8095 | float3 __ovld __cnfn remainder(float3 x, float3 y); |
| 8096 | float4 __ovld __cnfn remainder(float4 x, float4 y); |
| 8097 | float8 __ovld __cnfn remainder(float8 x, float8 y); |
| 8098 | float16 __ovld __cnfn remainder(float16 x, float16 y); |
| 8099 | #ifdef cl_khr_fp64 |
| 8100 | double __ovld __cnfn remainder(double x, double y); |
| 8101 | double2 __ovld __cnfn remainder(double2 x, double2 y); |
| 8102 | double3 __ovld __cnfn remainder(double3 x, double3 y); |
| 8103 | double4 __ovld __cnfn remainder(double4 x, double4 y); |
| 8104 | double8 __ovld __cnfn remainder(double8 x, double8 y); |
| 8105 | double16 __ovld __cnfn remainder(double16 x, double16 y); |
| 8106 | #endif //cl_khr_fp64 |
| 8107 | #ifdef cl_khr_fp16 |
| 8108 | half __ovld __cnfn remainder(half x, half y); |
| 8109 | half2 __ovld __cnfn remainder(half2 x, half2 y); |
| 8110 | half3 __ovld __cnfn remainder(half3 x, half3 y); |
| 8111 | half4 __ovld __cnfn remainder(half4 x, half4 y); |
| 8112 | half8 __ovld __cnfn remainder(half8 x, half8 y); |
| 8113 | half16 __ovld __cnfn remainder(half16 x, half16 y); |
| 8114 | #endif //cl_khr_fp16 |
| 8115 | |
| 8116 | /** |
| 8117 | * The remquo function computes the value r such |
| 8118 | * that r = x - n*y, where n is the integer nearest the |
| 8119 | * exact value of x/y. If there are two integers closest |
| 8120 | * to x/y, n shall be the even one. If r is zero, it is |
| 8121 | * given the same sign as x. This is the same value |
| 8122 | * that is returned by the remainder function. |
| 8123 | * remquo also calculates the lower seven bits of the |
| 8124 | * integral quotient x/y, and gives that value the same |
| 8125 | * sign as x/y. It stores this signed value in the object |
| 8126 | * pointed to by quo. |
| 8127 | */ |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 8128 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8129 | float __ovld remquo(float x, float y, int *quo); |
| 8130 | float2 __ovld remquo(float2 x, float2 y, int2 *quo); |
| 8131 | float3 __ovld remquo(float3 x, float3 y, int3 *quo); |
| 8132 | float4 __ovld remquo(float4 x, float4 y, int4 *quo); |
| 8133 | float8 __ovld remquo(float8 x, float8 y, int8 *quo); |
| 8134 | float16 __ovld remquo(float16 x, float16 y, int16 *quo); |
| 8135 | #ifdef cl_khr_fp64 |
| 8136 | double __ovld remquo(double x, double y, int *quo); |
| 8137 | double2 __ovld remquo(double2 x, double2 y, int2 *quo); |
| 8138 | double3 __ovld remquo(double3 x, double3 y, int3 *quo); |
| 8139 | double4 __ovld remquo(double4 x, double4 y, int4 *quo); |
| 8140 | double8 __ovld remquo(double8 x, double8 y, int8 *quo); |
| 8141 | double16 __ovld remquo(double16 x, double16 y, int16 *quo); |
| 8142 | #endif //cl_khr_fp64 |
| 8143 | #ifdef cl_khr_fp16 |
| 8144 | half __ovld remquo(half x, half y, int *quo); |
| 8145 | half2 __ovld remquo(half2 x, half2 y, int2 *quo); |
| 8146 | half3 __ovld remquo(half3 x, half3 y, int3 *quo); |
| 8147 | half4 __ovld remquo(half4 x, half4 y, int4 *quo); |
| 8148 | half8 __ovld remquo(half8 x, half8 y, int8 *quo); |
| 8149 | half16 __ovld remquo(half16 x, half16 y, int16 *quo); |
| 8150 | |
| 8151 | #endif //cl_khr_fp16 |
| 8152 | #else |
| 8153 | float __ovld remquo(float x, float y, __global int *quo); |
| 8154 | float2 __ovld remquo(float2 x, float2 y, __global int2 *quo); |
| 8155 | float3 __ovld remquo(float3 x, float3 y, __global int3 *quo); |
| 8156 | float4 __ovld remquo(float4 x, float4 y, __global int4 *quo); |
| 8157 | float8 __ovld remquo(float8 x, float8 y, __global int8 *quo); |
| 8158 | float16 __ovld remquo(float16 x, float16 y, __global int16 *quo); |
| 8159 | float __ovld remquo(float x, float y, __local int *quo); |
| 8160 | float2 __ovld remquo(float2 x, float2 y, __local int2 *quo); |
| 8161 | float3 __ovld remquo(float3 x, float3 y, __local int3 *quo); |
| 8162 | float4 __ovld remquo(float4 x, float4 y, __local int4 *quo); |
| 8163 | float8 __ovld remquo(float8 x, float8 y, __local int8 *quo); |
| 8164 | float16 __ovld remquo(float16 x, float16 y, __local int16 *quo); |
| 8165 | float __ovld remquo(float x, float y, __private int *quo); |
| 8166 | float2 __ovld remquo(float2 x, float2 y, __private int2 *quo); |
| 8167 | float3 __ovld remquo(float3 x, float3 y, __private int3 *quo); |
| 8168 | float4 __ovld remquo(float4 x, float4 y, __private int4 *quo); |
| 8169 | float8 __ovld remquo(float8 x, float8 y, __private int8 *quo); |
| 8170 | float16 __ovld remquo(float16 x, float16 y, __private int16 *quo); |
| 8171 | #ifdef cl_khr_fp64 |
| 8172 | double __ovld remquo(double x, double y, __global int *quo); |
| 8173 | double2 __ovld remquo(double2 x, double2 y, __global int2 *quo); |
| 8174 | double3 __ovld remquo(double3 x, double3 y, __global int3 *quo); |
| 8175 | double4 __ovld remquo(double4 x, double4 y, __global int4 *quo); |
| 8176 | double8 __ovld remquo(double8 x, double8 y, __global int8 *quo); |
| 8177 | double16 __ovld remquo(double16 x, double16 y, __global int16 *quo); |
| 8178 | double __ovld remquo(double x, double y, __local int *quo); |
| 8179 | double2 __ovld remquo(double2 x, double2 y, __local int2 *quo); |
| 8180 | double3 __ovld remquo(double3 x, double3 y, __local int3 *quo); |
| 8181 | double4 __ovld remquo(double4 x, double4 y, __local int4 *quo); |
| 8182 | double8 __ovld remquo(double8 x, double8 y, __local int8 *quo); |
| 8183 | double16 __ovld remquo(double16 x, double16 y, __local int16 *quo); |
| 8184 | double __ovld remquo(double x, double y, __private int *quo); |
| 8185 | double2 __ovld remquo(double2 x, double2 y, __private int2 *quo); |
| 8186 | double3 __ovld remquo(double3 x, double3 y, __private int3 *quo); |
| 8187 | double4 __ovld remquo(double4 x, double4 y, __private int4 *quo); |
| 8188 | double8 __ovld remquo(double8 x, double8 y, __private int8 *quo); |
| 8189 | double16 __ovld remquo(double16 x, double16 y, __private int16 *quo); |
| 8190 | #endif //cl_khr_fp64 |
| 8191 | #ifdef cl_khr_fp16 |
| 8192 | half __ovld remquo(half x, half y, __global int *quo); |
| 8193 | half2 __ovld remquo(half2 x, half2 y, __global int2 *quo); |
| 8194 | half3 __ovld remquo(half3 x, half3 y, __global int3 *quo); |
| 8195 | half4 __ovld remquo(half4 x, half4 y, __global int4 *quo); |
| 8196 | half8 __ovld remquo(half8 x, half8 y, __global int8 *quo); |
| 8197 | half16 __ovld remquo(half16 x, half16 y, __global int16 *quo); |
| 8198 | half __ovld remquo(half x, half y, __local int *quo); |
| 8199 | half2 __ovld remquo(half2 x, half2 y, __local int2 *quo); |
| 8200 | half3 __ovld remquo(half3 x, half3 y, __local int3 *quo); |
| 8201 | half4 __ovld remquo(half4 x, half4 y, __local int4 *quo); |
| 8202 | half8 __ovld remquo(half8 x, half8 y, __local int8 *quo); |
| 8203 | half16 __ovld remquo(half16 x, half16 y, __local int16 *quo); |
| 8204 | half __ovld remquo(half x, half y, __private int *quo); |
| 8205 | half2 __ovld remquo(half2 x, half2 y, __private int2 *quo); |
| 8206 | half3 __ovld remquo(half3 x, half3 y, __private int3 *quo); |
| 8207 | half4 __ovld remquo(half4 x, half4 y, __private int4 *quo); |
| 8208 | half8 __ovld remquo(half8 x, half8 y, __private int8 *quo); |
| 8209 | half16 __ovld remquo(half16 x, half16 y, __private int16 *quo); |
| 8210 | #endif //cl_khr_fp16 |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 8211 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8212 | /** |
| 8213 | * Round to integral value (using round to nearest |
| 8214 | * even rounding mode) in floating-point format. |
| 8215 | * Refer to section 7.1 for description of rounding |
| 8216 | * modes. |
| 8217 | */ |
| 8218 | float __ovld __cnfn rint(float); |
| 8219 | float2 __ovld __cnfn rint(float2); |
| 8220 | float3 __ovld __cnfn rint(float3); |
| 8221 | float4 __ovld __cnfn rint(float4); |
| 8222 | float8 __ovld __cnfn rint(float8); |
| 8223 | float16 __ovld __cnfn rint(float16); |
| 8224 | #ifdef cl_khr_fp64 |
| 8225 | double __ovld __cnfn rint(double); |
| 8226 | double2 __ovld __cnfn rint(double2); |
| 8227 | double3 __ovld __cnfn rint(double3); |
| 8228 | double4 __ovld __cnfn rint(double4); |
| 8229 | double8 __ovld __cnfn rint(double8); |
| 8230 | double16 __ovld __cnfn rint(double16); |
| 8231 | #endif //cl_khr_fp64 |
| 8232 | #ifdef cl_khr_fp16 |
| 8233 | half __ovld __cnfn rint(half); |
| 8234 | half2 __ovld __cnfn rint(half2); |
| 8235 | half3 __ovld __cnfn rint(half3); |
| 8236 | half4 __ovld __cnfn rint(half4); |
| 8237 | half8 __ovld __cnfn rint(half8); |
| 8238 | half16 __ovld __cnfn rint(half16); |
| 8239 | #endif //cl_khr_fp16 |
| 8240 | |
| 8241 | /** |
| 8242 | * Compute x to the power 1/y. |
| 8243 | */ |
| 8244 | float __ovld __cnfn rootn(float x, int y); |
| 8245 | float2 __ovld __cnfn rootn(float2 x, int2 y); |
| 8246 | float3 __ovld __cnfn rootn(float3 x, int3 y); |
| 8247 | float4 __ovld __cnfn rootn(float4 x, int4 y); |
| 8248 | float8 __ovld __cnfn rootn(float8 x, int8 y); |
| 8249 | float16 __ovld __cnfn rootn(float16 x, int16 y); |
| 8250 | #ifdef cl_khr_fp64 |
| 8251 | double __ovld __cnfn rootn(double x, int y); |
| 8252 | double2 __ovld __cnfn rootn(double2 x, int2 y); |
| 8253 | double3 __ovld __cnfn rootn(double3 x, int3 y); |
| 8254 | double4 __ovld __cnfn rootn(double4 x, int4 y); |
| 8255 | double8 __ovld __cnfn rootn(double8 x, int8 y); |
| 8256 | double16 __ovld __cnfn rootn(double16 x, int16 y); |
| 8257 | #endif //cl_khr_fp64 |
| 8258 | #ifdef cl_khr_fp16 |
| 8259 | half __ovld __cnfn rootn(half x, int y); |
| 8260 | half2 __ovld __cnfn rootn(half2 x, int2 y); |
| 8261 | half3 __ovld __cnfn rootn(half3 x, int3 y); |
| 8262 | half4 __ovld __cnfn rootn(half4 x, int4 y); |
| 8263 | half8 __ovld __cnfn rootn(half8 x, int8 y); |
| 8264 | half16 __ovld __cnfn rootn(half16 x, int16 y); |
| 8265 | #endif //cl_khr_fp16 |
| 8266 | |
| 8267 | /** |
| 8268 | * Return the integral value nearest to x rounding |
| 8269 | * halfway cases away from zero, regardless of the |
| 8270 | * current rounding direction. |
| 8271 | */ |
| 8272 | float __ovld __cnfn round(float x); |
| 8273 | float2 __ovld __cnfn round(float2 x); |
| 8274 | float3 __ovld __cnfn round(float3 x); |
| 8275 | float4 __ovld __cnfn round(float4 x); |
| 8276 | float8 __ovld __cnfn round(float8 x); |
| 8277 | float16 __ovld __cnfn round(float16 x); |
| 8278 | #ifdef cl_khr_fp64 |
| 8279 | double __ovld __cnfn round(double x); |
| 8280 | double2 __ovld __cnfn round(double2 x); |
| 8281 | double3 __ovld __cnfn round(double3 x); |
| 8282 | double4 __ovld __cnfn round(double4 x); |
| 8283 | double8 __ovld __cnfn round(double8 x); |
| 8284 | double16 __ovld __cnfn round(double16 x); |
| 8285 | #endif //cl_khr_fp64 |
| 8286 | #ifdef cl_khr_fp16 |
| 8287 | half __ovld __cnfn round(half x); |
| 8288 | half2 __ovld __cnfn round(half2 x); |
| 8289 | half3 __ovld __cnfn round(half3 x); |
| 8290 | half4 __ovld __cnfn round(half4 x); |
| 8291 | half8 __ovld __cnfn round(half8 x); |
| 8292 | half16 __ovld __cnfn round(half16 x); |
| 8293 | #endif //cl_khr_fp16 |
| 8294 | |
| 8295 | /** |
| 8296 | * Compute inverse square root. |
| 8297 | */ |
| 8298 | float __ovld __cnfn rsqrt(float); |
| 8299 | float2 __ovld __cnfn rsqrt(float2); |
| 8300 | float3 __ovld __cnfn rsqrt(float3); |
| 8301 | float4 __ovld __cnfn rsqrt(float4); |
| 8302 | float8 __ovld __cnfn rsqrt(float8); |
| 8303 | float16 __ovld __cnfn rsqrt(float16); |
| 8304 | #ifdef cl_khr_fp64 |
| 8305 | double __ovld __cnfn rsqrt(double); |
| 8306 | double2 __ovld __cnfn rsqrt(double2); |
| 8307 | double3 __ovld __cnfn rsqrt(double3); |
| 8308 | double4 __ovld __cnfn rsqrt(double4); |
| 8309 | double8 __ovld __cnfn rsqrt(double8); |
| 8310 | double16 __ovld __cnfn rsqrt(double16); |
| 8311 | #endif //cl_khr_fp64 |
| 8312 | #ifdef cl_khr_fp16 |
| 8313 | half __ovld __cnfn rsqrt(half); |
| 8314 | half2 __ovld __cnfn rsqrt(half2); |
| 8315 | half3 __ovld __cnfn rsqrt(half3); |
| 8316 | half4 __ovld __cnfn rsqrt(half4); |
| 8317 | half8 __ovld __cnfn rsqrt(half8); |
| 8318 | half16 __ovld __cnfn rsqrt(half16); |
| 8319 | #endif //cl_khr_fp16 |
| 8320 | |
| 8321 | /** |
| 8322 | * Compute sine. |
| 8323 | */ |
| 8324 | float __ovld __cnfn sin(float); |
| 8325 | float2 __ovld __cnfn sin(float2); |
| 8326 | float3 __ovld __cnfn sin(float3); |
| 8327 | float4 __ovld __cnfn sin(float4); |
| 8328 | float8 __ovld __cnfn sin(float8); |
| 8329 | float16 __ovld __cnfn sin(float16); |
| 8330 | #ifdef cl_khr_fp64 |
| 8331 | double __ovld __cnfn sin(double); |
| 8332 | double2 __ovld __cnfn sin(double2); |
| 8333 | double3 __ovld __cnfn sin(double3); |
| 8334 | double4 __ovld __cnfn sin(double4); |
| 8335 | double8 __ovld __cnfn sin(double8); |
| 8336 | double16 __ovld __cnfn sin(double16); |
| 8337 | #endif //cl_khr_fp64 |
| 8338 | #ifdef cl_khr_fp16 |
| 8339 | half __ovld __cnfn sin(half); |
| 8340 | half2 __ovld __cnfn sin(half2); |
| 8341 | half3 __ovld __cnfn sin(half3); |
| 8342 | half4 __ovld __cnfn sin(half4); |
| 8343 | half8 __ovld __cnfn sin(half8); |
| 8344 | half16 __ovld __cnfn sin(half16); |
| 8345 | #endif //cl_khr_fp16 |
| 8346 | |
| 8347 | /** |
| 8348 | * Compute sine and cosine of x. The computed sine |
| 8349 | * is the return value and computed cosine is returned |
| 8350 | * in cosval. |
| 8351 | */ |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 8352 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8353 | float __ovld sincos(float x, float *cosval); |
| 8354 | float2 __ovld sincos(float2 x, float2 *cosval); |
| 8355 | float3 __ovld sincos(float3 x, float3 *cosval); |
| 8356 | float4 __ovld sincos(float4 x, float4 *cosval); |
| 8357 | float8 __ovld sincos(float8 x, float8 *cosval); |
| 8358 | float16 __ovld sincos(float16 x, float16 *cosval); |
| 8359 | #ifdef cl_khr_fp64 |
| 8360 | double __ovld sincos(double x, double *cosval); |
| 8361 | double2 __ovld sincos(double2 x, double2 *cosval); |
| 8362 | double3 __ovld sincos(double3 x, double3 *cosval); |
| 8363 | double4 __ovld sincos(double4 x, double4 *cosval); |
| 8364 | double8 __ovld sincos(double8 x, double8 *cosval); |
| 8365 | double16 __ovld sincos(double16 x, double16 *cosval); |
| 8366 | #endif //cl_khr_fp64 |
| 8367 | #ifdef cl_khr_fp16 |
| 8368 | half __ovld sincos(half x, half *cosval); |
| 8369 | half2 __ovld sincos(half2 x, half2 *cosval); |
| 8370 | half3 __ovld sincos(half3 x, half3 *cosval); |
| 8371 | half4 __ovld sincos(half4 x, half4 *cosval); |
| 8372 | half8 __ovld sincos(half8 x, half8 *cosval); |
| 8373 | half16 __ovld sincos(half16 x, half16 *cosval); |
| 8374 | #endif //cl_khr_fp16 |
| 8375 | #else |
| 8376 | float __ovld sincos(float x, __global float *cosval); |
| 8377 | float2 __ovld sincos(float2 x, __global float2 *cosval); |
| 8378 | float3 __ovld sincos(float3 x, __global float3 *cosval); |
| 8379 | float4 __ovld sincos(float4 x, __global float4 *cosval); |
| 8380 | float8 __ovld sincos(float8 x, __global float8 *cosval); |
| 8381 | float16 __ovld sincos(float16 x, __global float16 *cosval); |
| 8382 | float __ovld sincos(float x, __local float *cosval); |
| 8383 | float2 __ovld sincos(float2 x, __local float2 *cosval); |
| 8384 | float3 __ovld sincos(float3 x, __local float3 *cosval); |
| 8385 | float4 __ovld sincos(float4 x, __local float4 *cosval); |
| 8386 | float8 __ovld sincos(float8 x, __local float8 *cosval); |
| 8387 | float16 __ovld sincos(float16 x, __local float16 *cosval); |
| 8388 | float __ovld sincos(float x, __private float *cosval); |
| 8389 | float2 __ovld sincos(float2 x, __private float2 *cosval); |
| 8390 | float3 __ovld sincos(float3 x, __private float3 *cosval); |
| 8391 | float4 __ovld sincos(float4 x, __private float4 *cosval); |
| 8392 | float8 __ovld sincos(float8 x, __private float8 *cosval); |
| 8393 | float16 __ovld sincos(float16 x, __private float16 *cosval); |
| 8394 | #ifdef cl_khr_fp64 |
| 8395 | double __ovld sincos(double x, __global double *cosval); |
| 8396 | double2 __ovld sincos(double2 x, __global double2 *cosval); |
| 8397 | double3 __ovld sincos(double3 x, __global double3 *cosval); |
| 8398 | double4 __ovld sincos(double4 x, __global double4 *cosval); |
| 8399 | double8 __ovld sincos(double8 x, __global double8 *cosval); |
| 8400 | double16 __ovld sincos(double16 x, __global double16 *cosval); |
| 8401 | double __ovld sincos(double x, __local double *cosval); |
| 8402 | double2 __ovld sincos(double2 x, __local double2 *cosval); |
| 8403 | double3 __ovld sincos(double3 x, __local double3 *cosval); |
| 8404 | double4 __ovld sincos(double4 x, __local double4 *cosval); |
| 8405 | double8 __ovld sincos(double8 x, __local double8 *cosval); |
| 8406 | double16 __ovld sincos(double16 x, __local double16 *cosval); |
| 8407 | double __ovld sincos(double x, __private double *cosval); |
| 8408 | double2 __ovld sincos(double2 x, __private double2 *cosval); |
| 8409 | double3 __ovld sincos(double3 x, __private double3 *cosval); |
| 8410 | double4 __ovld sincos(double4 x, __private double4 *cosval); |
| 8411 | double8 __ovld sincos(double8 x, __private double8 *cosval); |
| 8412 | double16 __ovld sincos(double16 x, __private double16 *cosval); |
| 8413 | #endif //cl_khr_fp64 |
| 8414 | #ifdef cl_khr_fp16 |
| 8415 | half __ovld sincos(half x, __global half *cosval); |
| 8416 | half2 __ovld sincos(half2 x, __global half2 *cosval); |
| 8417 | half3 __ovld sincos(half3 x, __global half3 *cosval); |
| 8418 | half4 __ovld sincos(half4 x, __global half4 *cosval); |
| 8419 | half8 __ovld sincos(half8 x, __global half8 *cosval); |
| 8420 | half16 __ovld sincos(half16 x, __global half16 *cosval); |
| 8421 | half __ovld sincos(half x, __local half *cosval); |
| 8422 | half2 __ovld sincos(half2 x, __local half2 *cosval); |
| 8423 | half3 __ovld sincos(half3 x, __local half3 *cosval); |
| 8424 | half4 __ovld sincos(half4 x, __local half4 *cosval); |
| 8425 | half8 __ovld sincos(half8 x, __local half8 *cosval); |
| 8426 | half16 __ovld sincos(half16 x, __local half16 *cosval); |
| 8427 | half __ovld sincos(half x, __private half *cosval); |
| 8428 | half2 __ovld sincos(half2 x, __private half2 *cosval); |
| 8429 | half3 __ovld sincos(half3 x, __private half3 *cosval); |
| 8430 | half4 __ovld sincos(half4 x, __private half4 *cosval); |
| 8431 | half8 __ovld sincos(half8 x, __private half8 *cosval); |
| 8432 | half16 __ovld sincos(half16 x, __private half16 *cosval); |
| 8433 | #endif //cl_khr_fp16 |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 8434 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8435 | |
| 8436 | /** |
| 8437 | * Compute hyperbolic sine. |
| 8438 | */ |
| 8439 | float __ovld __cnfn sinh(float); |
| 8440 | float2 __ovld __cnfn sinh(float2); |
| 8441 | float3 __ovld __cnfn sinh(float3); |
| 8442 | float4 __ovld __cnfn sinh(float4); |
| 8443 | float8 __ovld __cnfn sinh(float8); |
| 8444 | float16 __ovld __cnfn sinh(float16); |
| 8445 | #ifdef cl_khr_fp64 |
| 8446 | double __ovld __cnfn sinh(double); |
| 8447 | double2 __ovld __cnfn sinh(double2); |
| 8448 | double3 __ovld __cnfn sinh(double3); |
| 8449 | double4 __ovld __cnfn sinh(double4); |
| 8450 | double8 __ovld __cnfn sinh(double8); |
| 8451 | double16 __ovld __cnfn sinh(double16); |
| 8452 | #endif //cl_khr_fp64 |
| 8453 | #ifdef cl_khr_fp16 |
| 8454 | half __ovld __cnfn sinh(half); |
| 8455 | half2 __ovld __cnfn sinh(half2); |
| 8456 | half3 __ovld __cnfn sinh(half3); |
| 8457 | half4 __ovld __cnfn sinh(half4); |
| 8458 | half8 __ovld __cnfn sinh(half8); |
| 8459 | half16 __ovld __cnfn sinh(half16); |
| 8460 | #endif //cl_khr_fp16 |
| 8461 | |
| 8462 | /** |
| 8463 | * Compute sin (PI * x). |
| 8464 | */ |
| 8465 | float __ovld __cnfn sinpi(float x); |
| 8466 | float2 __ovld __cnfn sinpi(float2 x); |
| 8467 | float3 __ovld __cnfn sinpi(float3 x); |
| 8468 | float4 __ovld __cnfn sinpi(float4 x); |
| 8469 | float8 __ovld __cnfn sinpi(float8 x); |
| 8470 | float16 __ovld __cnfn sinpi(float16 x); |
| 8471 | #ifdef cl_khr_fp64 |
| 8472 | double __ovld __cnfn sinpi(double x); |
| 8473 | double2 __ovld __cnfn sinpi(double2 x); |
| 8474 | double3 __ovld __cnfn sinpi(double3 x); |
| 8475 | double4 __ovld __cnfn sinpi(double4 x); |
| 8476 | double8 __ovld __cnfn sinpi(double8 x); |
| 8477 | double16 __ovld __cnfn sinpi(double16 x); |
| 8478 | #endif //cl_khr_fp64 |
| 8479 | #ifdef cl_khr_fp16 |
| 8480 | half __ovld __cnfn sinpi(half x); |
| 8481 | half2 __ovld __cnfn sinpi(half2 x); |
| 8482 | half3 __ovld __cnfn sinpi(half3 x); |
| 8483 | half4 __ovld __cnfn sinpi(half4 x); |
| 8484 | half8 __ovld __cnfn sinpi(half8 x); |
| 8485 | half16 __ovld __cnfn sinpi(half16 x); |
| 8486 | #endif //cl_khr_fp16 |
| 8487 | |
| 8488 | /** |
| 8489 | * Compute square root. |
| 8490 | */ |
| 8491 | float __ovld __cnfn sqrt(float); |
| 8492 | float2 __ovld __cnfn sqrt(float2); |
| 8493 | float3 __ovld __cnfn sqrt(float3); |
| 8494 | float4 __ovld __cnfn sqrt(float4); |
| 8495 | float8 __ovld __cnfn sqrt(float8); |
| 8496 | float16 __ovld __cnfn sqrt(float16); |
| 8497 | #ifdef cl_khr_fp64 |
| 8498 | double __ovld __cnfn sqrt(double); |
| 8499 | double2 __ovld __cnfn sqrt(double2); |
| 8500 | double3 __ovld __cnfn sqrt(double3); |
| 8501 | double4 __ovld __cnfn sqrt(double4); |
| 8502 | double8 __ovld __cnfn sqrt(double8); |
| 8503 | double16 __ovld __cnfn sqrt(double16); |
| 8504 | #endif //cl_khr_fp64 |
| 8505 | #ifdef cl_khr_fp16 |
| 8506 | half __ovld __cnfn sqrt(half); |
| 8507 | half2 __ovld __cnfn sqrt(half2); |
| 8508 | half3 __ovld __cnfn sqrt(half3); |
| 8509 | half4 __ovld __cnfn sqrt(half4); |
| 8510 | half8 __ovld __cnfn sqrt(half8); |
| 8511 | half16 __ovld __cnfn sqrt(half16); |
| 8512 | #endif //cl_khr_fp16 |
| 8513 | |
| 8514 | /** |
| 8515 | * Compute tangent. |
| 8516 | */ |
| 8517 | float __ovld __cnfn tan(float); |
| 8518 | float2 __ovld __cnfn tan(float2); |
| 8519 | float3 __ovld __cnfn tan(float3); |
| 8520 | float4 __ovld __cnfn tan(float4); |
| 8521 | float8 __ovld __cnfn tan(float8); |
| 8522 | float16 __ovld __cnfn tan(float16); |
| 8523 | #ifdef cl_khr_fp64 |
| 8524 | double __ovld __cnfn tan(double); |
| 8525 | double2 __ovld __cnfn tan(double2); |
| 8526 | double3 __ovld __cnfn tan(double3); |
| 8527 | double4 __ovld __cnfn tan(double4); |
| 8528 | double8 __ovld __cnfn tan(double8); |
| 8529 | double16 __ovld __cnfn tan(double16); |
| 8530 | #endif //cl_khr_fp64 |
| 8531 | #ifdef cl_khr_fp16 |
| 8532 | half __ovld __cnfn tan(half); |
| 8533 | half2 __ovld __cnfn tan(half2); |
| 8534 | half3 __ovld __cnfn tan(half3); |
| 8535 | half4 __ovld __cnfn tan(half4); |
| 8536 | half8 __ovld __cnfn tan(half8); |
| 8537 | half16 __ovld __cnfn tan(half16); |
| 8538 | #endif //cl_khr_fp16 |
| 8539 | |
| 8540 | /** |
| 8541 | * Compute hyperbolic tangent. |
| 8542 | */ |
| 8543 | float __ovld __cnfn tanh(float); |
| 8544 | float2 __ovld __cnfn tanh(float2); |
| 8545 | float3 __ovld __cnfn tanh(float3); |
| 8546 | float4 __ovld __cnfn tanh(float4); |
| 8547 | float8 __ovld __cnfn tanh(float8); |
| 8548 | float16 __ovld __cnfn tanh(float16); |
| 8549 | #ifdef cl_khr_fp64 |
| 8550 | double __ovld __cnfn tanh(double); |
| 8551 | double2 __ovld __cnfn tanh(double2); |
| 8552 | double3 __ovld __cnfn tanh(double3); |
| 8553 | double4 __ovld __cnfn tanh(double4); |
| 8554 | double8 __ovld __cnfn tanh(double8); |
| 8555 | double16 __ovld __cnfn tanh(double16); |
| 8556 | #endif //cl_khr_fp64 |
| 8557 | #ifdef cl_khr_fp16 |
| 8558 | half __ovld __cnfn tanh(half); |
| 8559 | half2 __ovld __cnfn tanh(half2); |
| 8560 | half3 __ovld __cnfn tanh(half3); |
| 8561 | half4 __ovld __cnfn tanh(half4); |
| 8562 | half8 __ovld __cnfn tanh(half8); |
| 8563 | half16 __ovld __cnfn tanh(half16); |
| 8564 | #endif //cl_khr_fp16 |
| 8565 | |
| 8566 | /** |
| 8567 | * Compute tan (PI * x). |
| 8568 | */ |
| 8569 | float __ovld __cnfn tanpi(float x); |
| 8570 | float2 __ovld __cnfn tanpi(float2 x); |
| 8571 | float3 __ovld __cnfn tanpi(float3 x); |
| 8572 | float4 __ovld __cnfn tanpi(float4 x); |
| 8573 | float8 __ovld __cnfn tanpi(float8 x); |
| 8574 | float16 __ovld __cnfn tanpi(float16 x); |
| 8575 | #ifdef cl_khr_fp64 |
| 8576 | double __ovld __cnfn tanpi(double x); |
| 8577 | double2 __ovld __cnfn tanpi(double2 x); |
| 8578 | double3 __ovld __cnfn tanpi(double3 x); |
| 8579 | double4 __ovld __cnfn tanpi(double4 x); |
| 8580 | double8 __ovld __cnfn tanpi(double8 x); |
| 8581 | double16 __ovld __cnfn tanpi(double16 x); |
| 8582 | #endif //cl_khr_fp64 |
| 8583 | #ifdef cl_khr_fp16 |
| 8584 | half __ovld __cnfn tanpi(half x); |
| 8585 | half2 __ovld __cnfn tanpi(half2 x); |
| 8586 | half3 __ovld __cnfn tanpi(half3 x); |
| 8587 | half4 __ovld __cnfn tanpi(half4 x); |
| 8588 | half8 __ovld __cnfn tanpi(half8 x); |
| 8589 | half16 __ovld __cnfn tanpi(half16 x); |
| 8590 | #endif //cl_khr_fp16 |
| 8591 | |
| 8592 | /** |
| 8593 | * Compute the gamma function. |
| 8594 | */ |
| 8595 | float __ovld __cnfn tgamma(float); |
| 8596 | float2 __ovld __cnfn tgamma(float2); |
| 8597 | float3 __ovld __cnfn tgamma(float3); |
| 8598 | float4 __ovld __cnfn tgamma(float4); |
| 8599 | float8 __ovld __cnfn tgamma(float8); |
| 8600 | float16 __ovld __cnfn tgamma(float16); |
| 8601 | #ifdef cl_khr_fp64 |
| 8602 | double __ovld __cnfn tgamma(double); |
| 8603 | double2 __ovld __cnfn tgamma(double2); |
| 8604 | double3 __ovld __cnfn tgamma(double3); |
| 8605 | double4 __ovld __cnfn tgamma(double4); |
| 8606 | double8 __ovld __cnfn tgamma(double8); |
| 8607 | double16 __ovld __cnfn tgamma(double16); |
| 8608 | #endif //cl_khr_fp64 |
| 8609 | #ifdef cl_khr_fp16 |
| 8610 | half __ovld __cnfn tgamma(half); |
| 8611 | half2 __ovld __cnfn tgamma(half2); |
| 8612 | half3 __ovld __cnfn tgamma(half3); |
| 8613 | half4 __ovld __cnfn tgamma(half4); |
| 8614 | half8 __ovld __cnfn tgamma(half8); |
| 8615 | half16 __ovld __cnfn tgamma(half16); |
| 8616 | #endif //cl_khr_fp16 |
| 8617 | |
| 8618 | /** |
| 8619 | * Round to integral value using the round to zero |
| 8620 | * rounding mode. |
| 8621 | */ |
| 8622 | float __ovld __cnfn trunc(float); |
| 8623 | float2 __ovld __cnfn trunc(float2); |
| 8624 | float3 __ovld __cnfn trunc(float3); |
| 8625 | float4 __ovld __cnfn trunc(float4); |
| 8626 | float8 __ovld __cnfn trunc(float8); |
| 8627 | float16 __ovld __cnfn trunc(float16); |
| 8628 | #ifdef cl_khr_fp64 |
| 8629 | double __ovld __cnfn trunc(double); |
| 8630 | double2 __ovld __cnfn trunc(double2); |
| 8631 | double3 __ovld __cnfn trunc(double3); |
| 8632 | double4 __ovld __cnfn trunc(double4); |
| 8633 | double8 __ovld __cnfn trunc(double8); |
| 8634 | double16 __ovld __cnfn trunc(double16); |
| 8635 | #endif //cl_khr_fp64 |
| 8636 | #ifdef cl_khr_fp16 |
| 8637 | half __ovld __cnfn trunc(half); |
| 8638 | half2 __ovld __cnfn trunc(half2); |
| 8639 | half3 __ovld __cnfn trunc(half3); |
| 8640 | half4 __ovld __cnfn trunc(half4); |
| 8641 | half8 __ovld __cnfn trunc(half8); |
| 8642 | half16 __ovld __cnfn trunc(half16); |
| 8643 | #endif //cl_khr_fp16 |
| 8644 | |
| 8645 | /** |
| 8646 | * Compute cosine. x must be in the range -2^16 ... +2^16. |
| 8647 | */ |
| 8648 | float __ovld __cnfn half_cos(float x); |
| 8649 | float2 __ovld __cnfn half_cos(float2 x); |
| 8650 | float3 __ovld __cnfn half_cos(float3 x); |
| 8651 | float4 __ovld __cnfn half_cos(float4 x); |
| 8652 | float8 __ovld __cnfn half_cos(float8 x); |
| 8653 | float16 __ovld __cnfn half_cos(float16 x); |
| 8654 | |
| 8655 | /** |
| 8656 | * Compute x / y. |
| 8657 | */ |
| 8658 | float __ovld __cnfn half_divide(float x, float y); |
| 8659 | float2 __ovld __cnfn half_divide(float2 x, float2 y); |
| 8660 | float3 __ovld __cnfn half_divide(float3 x, float3 y); |
| 8661 | float4 __ovld __cnfn half_divide(float4 x, float4 y); |
| 8662 | float8 __ovld __cnfn half_divide(float8 x, float8 y); |
| 8663 | float16 __ovld __cnfn half_divide(float16 x, float16 y); |
| 8664 | |
| 8665 | /** |
| 8666 | * Compute the base- e exponential of x. |
| 8667 | */ |
| 8668 | float __ovld __cnfn half_exp(float x); |
| 8669 | float2 __ovld __cnfn half_exp(float2 x); |
| 8670 | float3 __ovld __cnfn half_exp(float3 x); |
| 8671 | float4 __ovld __cnfn half_exp(float4 x); |
| 8672 | float8 __ovld __cnfn half_exp(float8 x); |
| 8673 | float16 __ovld __cnfn half_exp(float16 x); |
| 8674 | |
| 8675 | /** |
| 8676 | * Compute the base- 2 exponential of x. |
| 8677 | */ |
| 8678 | float __ovld __cnfn half_exp2(float x); |
| 8679 | float2 __ovld __cnfn half_exp2(float2 x); |
| 8680 | float3 __ovld __cnfn half_exp2(float3 x); |
| 8681 | float4 __ovld __cnfn half_exp2(float4 x); |
| 8682 | float8 __ovld __cnfn half_exp2(float8 x); |
| 8683 | float16 __ovld __cnfn half_exp2(float16 x); |
| 8684 | |
| 8685 | /** |
| 8686 | * Compute the base- 10 exponential of x. |
| 8687 | */ |
| 8688 | float __ovld __cnfn half_exp10(float x); |
| 8689 | float2 __ovld __cnfn half_exp10(float2 x); |
| 8690 | float3 __ovld __cnfn half_exp10(float3 x); |
| 8691 | float4 __ovld __cnfn half_exp10(float4 x); |
| 8692 | float8 __ovld __cnfn half_exp10(float8 x); |
| 8693 | float16 __ovld __cnfn half_exp10(float16 x); |
| 8694 | |
| 8695 | /** |
| 8696 | * Compute natural logarithm. |
| 8697 | */ |
| 8698 | float __ovld __cnfn half_log(float x); |
| 8699 | float2 __ovld __cnfn half_log(float2 x); |
| 8700 | float3 __ovld __cnfn half_log(float3 x); |
| 8701 | float4 __ovld __cnfn half_log(float4 x); |
| 8702 | float8 __ovld __cnfn half_log(float8 x); |
| 8703 | float16 __ovld __cnfn half_log(float16 x); |
| 8704 | |
| 8705 | /** |
| 8706 | * Compute a base 2 logarithm. |
| 8707 | */ |
| 8708 | float __ovld __cnfn half_log2(float x); |
| 8709 | float2 __ovld __cnfn half_log2(float2 x); |
| 8710 | float3 __ovld __cnfn half_log2(float3 x); |
| 8711 | float4 __ovld __cnfn half_log2(float4 x); |
| 8712 | float8 __ovld __cnfn half_log2(float8 x); |
| 8713 | float16 __ovld __cnfn half_log2(float16 x); |
| 8714 | |
| 8715 | /** |
| 8716 | * Compute a base 10 logarithm. |
| 8717 | */ |
| 8718 | float __ovld __cnfn half_log10(float x); |
| 8719 | float2 __ovld __cnfn half_log10(float2 x); |
| 8720 | float3 __ovld __cnfn half_log10(float3 x); |
| 8721 | float4 __ovld __cnfn half_log10(float4 x); |
| 8722 | float8 __ovld __cnfn half_log10(float8 x); |
| 8723 | float16 __ovld __cnfn half_log10(float16 x); |
| 8724 | |
| 8725 | /** |
| 8726 | * Compute x to the power y, where x is >= 0. |
| 8727 | */ |
| 8728 | float __ovld __cnfn half_powr(float x, float y); |
| 8729 | float2 __ovld __cnfn half_powr(float2 x, float2 y); |
| 8730 | float3 __ovld __cnfn half_powr(float3 x, float3 y); |
| 8731 | float4 __ovld __cnfn half_powr(float4 x, float4 y); |
| 8732 | float8 __ovld __cnfn half_powr(float8 x, float8 y); |
| 8733 | float16 __ovld __cnfn half_powr(float16 x, float16 y); |
| 8734 | |
| 8735 | /** |
| 8736 | * Compute reciprocal. |
| 8737 | */ |
| 8738 | float __ovld __cnfn half_recip(float x); |
| 8739 | float2 __ovld __cnfn half_recip(float2 x); |
| 8740 | float3 __ovld __cnfn half_recip(float3 x); |
| 8741 | float4 __ovld __cnfn half_recip(float4 x); |
| 8742 | float8 __ovld __cnfn half_recip(float8 x); |
| 8743 | float16 __ovld __cnfn half_recip(float16 x); |
| 8744 | |
| 8745 | /** |
| 8746 | * Compute inverse square root. |
| 8747 | */ |
| 8748 | float __ovld __cnfn half_rsqrt(float x); |
| 8749 | float2 __ovld __cnfn half_rsqrt(float2 x); |
| 8750 | float3 __ovld __cnfn half_rsqrt(float3 x); |
| 8751 | float4 __ovld __cnfn half_rsqrt(float4 x); |
| 8752 | float8 __ovld __cnfn half_rsqrt(float8 x); |
| 8753 | float16 __ovld __cnfn half_rsqrt(float16 x); |
| 8754 | |
| 8755 | /** |
| 8756 | * Compute sine. x must be in the range -2^16 ... +2^16. |
| 8757 | */ |
| 8758 | float __ovld __cnfn half_sin(float x); |
| 8759 | float2 __ovld __cnfn half_sin(float2 x); |
| 8760 | float3 __ovld __cnfn half_sin(float3 x); |
| 8761 | float4 __ovld __cnfn half_sin(float4 x); |
| 8762 | float8 __ovld __cnfn half_sin(float8 x); |
| 8763 | float16 __ovld __cnfn half_sin(float16 x); |
| 8764 | |
| 8765 | /** |
| 8766 | * Compute square root. |
| 8767 | */ |
| 8768 | float __ovld __cnfn half_sqrt(float x); |
| 8769 | float2 __ovld __cnfn half_sqrt(float2 x); |
| 8770 | float3 __ovld __cnfn half_sqrt(float3 x); |
| 8771 | float4 __ovld __cnfn half_sqrt(float4 x); |
| 8772 | float8 __ovld __cnfn half_sqrt(float8 x); |
| 8773 | float16 __ovld __cnfn half_sqrt(float16 x); |
| 8774 | |
| 8775 | /** |
| 8776 | * Compute tangent. x must be in the range -216 ... +216. |
| 8777 | */ |
| 8778 | float __ovld __cnfn half_tan(float x); |
| 8779 | float2 __ovld __cnfn half_tan(float2 x); |
| 8780 | float3 __ovld __cnfn half_tan(float3 x); |
| 8781 | float4 __ovld __cnfn half_tan(float4 x); |
| 8782 | float8 __ovld __cnfn half_tan(float8 x); |
| 8783 | float16 __ovld __cnfn half_tan(float16 x); |
| 8784 | |
| 8785 | /** |
| 8786 | * Compute cosine over an implementation-defined range. |
| 8787 | * The maximum error is implementation-defined. |
| 8788 | */ |
| 8789 | float __ovld __cnfn native_cos(float x); |
| 8790 | float2 __ovld __cnfn native_cos(float2 x); |
| 8791 | float3 __ovld __cnfn native_cos(float3 x); |
| 8792 | float4 __ovld __cnfn native_cos(float4 x); |
| 8793 | float8 __ovld __cnfn native_cos(float8 x); |
| 8794 | float16 __ovld __cnfn native_cos(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8795 | |
| 8796 | /** |
| 8797 | * Compute x / y over an implementation-defined range. |
| 8798 | * The maximum error is implementation-defined. |
| 8799 | */ |
| 8800 | float __ovld __cnfn native_divide(float x, float y); |
| 8801 | float2 __ovld __cnfn native_divide(float2 x, float2 y); |
| 8802 | float3 __ovld __cnfn native_divide(float3 x, float3 y); |
| 8803 | float4 __ovld __cnfn native_divide(float4 x, float4 y); |
| 8804 | float8 __ovld __cnfn native_divide(float8 x, float8 y); |
| 8805 | float16 __ovld __cnfn native_divide(float16 x, float16 y); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8806 | |
| 8807 | /** |
| 8808 | * Compute the base- e exponential of x over an |
| 8809 | * implementation-defined range. The maximum error is |
| 8810 | * implementation-defined. |
| 8811 | */ |
| 8812 | float __ovld __cnfn native_exp(float x); |
| 8813 | float2 __ovld __cnfn native_exp(float2 x); |
| 8814 | float3 __ovld __cnfn native_exp(float3 x); |
| 8815 | float4 __ovld __cnfn native_exp(float4 x); |
| 8816 | float8 __ovld __cnfn native_exp(float8 x); |
| 8817 | float16 __ovld __cnfn native_exp(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8818 | |
| 8819 | /** |
| 8820 | * Compute the base- 2 exponential of x over an |
| 8821 | * implementation-defined range. The maximum error is |
| 8822 | * implementation-defined. |
| 8823 | */ |
| 8824 | float __ovld __cnfn native_exp2(float x); |
| 8825 | float2 __ovld __cnfn native_exp2(float2 x); |
| 8826 | float3 __ovld __cnfn native_exp2(float3 x); |
| 8827 | float4 __ovld __cnfn native_exp2(float4 x); |
| 8828 | float8 __ovld __cnfn native_exp2(float8 x); |
| 8829 | float16 __ovld __cnfn native_exp2(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8830 | |
| 8831 | /** |
| 8832 | * Compute the base- 10 exponential of x over an |
| 8833 | * implementation-defined range. The maximum error is |
| 8834 | * implementation-defined. |
| 8835 | */ |
| 8836 | float __ovld __cnfn native_exp10(float x); |
| 8837 | float2 __ovld __cnfn native_exp10(float2 x); |
| 8838 | float3 __ovld __cnfn native_exp10(float3 x); |
| 8839 | float4 __ovld __cnfn native_exp10(float4 x); |
| 8840 | float8 __ovld __cnfn native_exp10(float8 x); |
| 8841 | float16 __ovld __cnfn native_exp10(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8842 | |
| 8843 | /** |
| 8844 | * Compute natural logarithm over an implementationdefined |
| 8845 | * range. The maximum error is implementation |
| 8846 | * defined. |
| 8847 | */ |
| 8848 | float __ovld __cnfn native_log(float x); |
| 8849 | float2 __ovld __cnfn native_log(float2 x); |
| 8850 | float3 __ovld __cnfn native_log(float3 x); |
| 8851 | float4 __ovld __cnfn native_log(float4 x); |
| 8852 | float8 __ovld __cnfn native_log(float8 x); |
| 8853 | float16 __ovld __cnfn native_log(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8854 | |
| 8855 | /** |
| 8856 | * Compute a base 2 logarithm over an implementationdefined |
| 8857 | * range. The maximum error is implementationdefined. |
| 8858 | */ |
| 8859 | float __ovld __cnfn native_log2(float x); |
| 8860 | float2 __ovld __cnfn native_log2(float2 x); |
| 8861 | float3 __ovld __cnfn native_log2(float3 x); |
| 8862 | float4 __ovld __cnfn native_log2(float4 x); |
| 8863 | float8 __ovld __cnfn native_log2(float8 x); |
| 8864 | float16 __ovld __cnfn native_log2(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8865 | |
| 8866 | /** |
| 8867 | * Compute a base 10 logarithm over an implementationdefined |
| 8868 | * range. The maximum error is implementationdefined. |
| 8869 | */ |
| 8870 | float __ovld __cnfn native_log10(float x); |
| 8871 | float2 __ovld __cnfn native_log10(float2 x); |
| 8872 | float3 __ovld __cnfn native_log10(float3 x); |
| 8873 | float4 __ovld __cnfn native_log10(float4 x); |
| 8874 | float8 __ovld __cnfn native_log10(float8 x); |
| 8875 | float16 __ovld __cnfn native_log10(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8876 | |
| 8877 | /** |
| 8878 | * Compute x to the power y, where x is >= 0. The range of |
| 8879 | * x and y are implementation-defined. The maximum error |
| 8880 | * is implementation-defined. |
| 8881 | */ |
| 8882 | float __ovld __cnfn native_powr(float x, float y); |
| 8883 | float2 __ovld __cnfn native_powr(float2 x, float2 y); |
| 8884 | float3 __ovld __cnfn native_powr(float3 x, float3 y); |
| 8885 | float4 __ovld __cnfn native_powr(float4 x, float4 y); |
| 8886 | float8 __ovld __cnfn native_powr(float8 x, float8 y); |
| 8887 | float16 __ovld __cnfn native_powr(float16 x, float16 y); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8888 | |
| 8889 | /** |
| 8890 | * Compute reciprocal over an implementation-defined |
| 8891 | * range. The maximum error is implementation-defined. |
| 8892 | */ |
| 8893 | float __ovld __cnfn native_recip(float x); |
| 8894 | float2 __ovld __cnfn native_recip(float2 x); |
| 8895 | float3 __ovld __cnfn native_recip(float3 x); |
| 8896 | float4 __ovld __cnfn native_recip(float4 x); |
| 8897 | float8 __ovld __cnfn native_recip(float8 x); |
| 8898 | float16 __ovld __cnfn native_recip(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8899 | |
| 8900 | /** |
| 8901 | * Compute inverse square root over an implementationdefined |
| 8902 | * range. The maximum error is implementationdefined. |
| 8903 | */ |
| 8904 | float __ovld __cnfn native_rsqrt(float x); |
| 8905 | float2 __ovld __cnfn native_rsqrt(float2 x); |
| 8906 | float3 __ovld __cnfn native_rsqrt(float3 x); |
| 8907 | float4 __ovld __cnfn native_rsqrt(float4 x); |
| 8908 | float8 __ovld __cnfn native_rsqrt(float8 x); |
| 8909 | float16 __ovld __cnfn native_rsqrt(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8910 | |
| 8911 | /** |
| 8912 | * Compute sine over an implementation-defined range. |
| 8913 | * The maximum error is implementation-defined. |
| 8914 | */ |
| 8915 | float __ovld __cnfn native_sin(float x); |
| 8916 | float2 __ovld __cnfn native_sin(float2 x); |
| 8917 | float3 __ovld __cnfn native_sin(float3 x); |
| 8918 | float4 __ovld __cnfn native_sin(float4 x); |
| 8919 | float8 __ovld __cnfn native_sin(float8 x); |
| 8920 | float16 __ovld __cnfn native_sin(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8921 | |
| 8922 | /** |
| 8923 | * Compute square root over an implementation-defined |
| 8924 | * range. The maximum error is implementation-defined. |
| 8925 | */ |
| 8926 | float __ovld __cnfn native_sqrt(float x); |
| 8927 | float2 __ovld __cnfn native_sqrt(float2 x); |
| 8928 | float3 __ovld __cnfn native_sqrt(float3 x); |
| 8929 | float4 __ovld __cnfn native_sqrt(float4 x); |
| 8930 | float8 __ovld __cnfn native_sqrt(float8 x); |
| 8931 | float16 __ovld __cnfn native_sqrt(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8932 | |
| 8933 | /** |
| 8934 | * Compute tangent over an implementation-defined range. |
| 8935 | * The maximum error is implementation-defined. |
| 8936 | */ |
| 8937 | float __ovld __cnfn native_tan(float x); |
| 8938 | float2 __ovld __cnfn native_tan(float2 x); |
| 8939 | float3 __ovld __cnfn native_tan(float3 x); |
| 8940 | float4 __ovld __cnfn native_tan(float4 x); |
| 8941 | float8 __ovld __cnfn native_tan(float8 x); |
| 8942 | float16 __ovld __cnfn native_tan(float16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 8943 | |
| 8944 | // OpenCL v1.1 s6.11.3, v1.2 s6.12.3, v2.0 s6.13.3 - Integer Functions |
| 8945 | |
| 8946 | /** |
| 8947 | * Returns | x |. |
| 8948 | */ |
| 8949 | uchar __ovld __cnfn abs(char x); |
| 8950 | uchar __ovld __cnfn abs(uchar x); |
| 8951 | uchar2 __ovld __cnfn abs(char2 x); |
| 8952 | uchar2 __ovld __cnfn abs(uchar2 x); |
| 8953 | uchar3 __ovld __cnfn abs(char3 x); |
| 8954 | uchar3 __ovld __cnfn abs(uchar3 x); |
| 8955 | uchar4 __ovld __cnfn abs(char4 x); |
| 8956 | uchar4 __ovld __cnfn abs(uchar4 x); |
| 8957 | uchar8 __ovld __cnfn abs(char8 x); |
| 8958 | uchar8 __ovld __cnfn abs(uchar8 x); |
| 8959 | uchar16 __ovld __cnfn abs(char16 x); |
| 8960 | uchar16 __ovld __cnfn abs(uchar16 x); |
| 8961 | ushort __ovld __cnfn abs(short x); |
| 8962 | ushort __ovld __cnfn abs(ushort x); |
| 8963 | ushort2 __ovld __cnfn abs(short2 x); |
| 8964 | ushort2 __ovld __cnfn abs(ushort2 x); |
| 8965 | ushort3 __ovld __cnfn abs(short3 x); |
| 8966 | ushort3 __ovld __cnfn abs(ushort3 x); |
| 8967 | ushort4 __ovld __cnfn abs(short4 x); |
| 8968 | ushort4 __ovld __cnfn abs(ushort4 x); |
| 8969 | ushort8 __ovld __cnfn abs(short8 x); |
| 8970 | ushort8 __ovld __cnfn abs(ushort8 x); |
| 8971 | ushort16 __ovld __cnfn abs(short16 x); |
| 8972 | ushort16 __ovld __cnfn abs(ushort16 x); |
| 8973 | uint __ovld __cnfn abs(int x); |
| 8974 | uint __ovld __cnfn abs(uint x); |
| 8975 | uint2 __ovld __cnfn abs(int2 x); |
| 8976 | uint2 __ovld __cnfn abs(uint2 x); |
| 8977 | uint3 __ovld __cnfn abs(int3 x); |
| 8978 | uint3 __ovld __cnfn abs(uint3 x); |
| 8979 | uint4 __ovld __cnfn abs(int4 x); |
| 8980 | uint4 __ovld __cnfn abs(uint4 x); |
| 8981 | uint8 __ovld __cnfn abs(int8 x); |
| 8982 | uint8 __ovld __cnfn abs(uint8 x); |
| 8983 | uint16 __ovld __cnfn abs(int16 x); |
| 8984 | uint16 __ovld __cnfn abs(uint16 x); |
| 8985 | ulong __ovld __cnfn abs(long x); |
| 8986 | ulong __ovld __cnfn abs(ulong x); |
| 8987 | ulong2 __ovld __cnfn abs(long2 x); |
| 8988 | ulong2 __ovld __cnfn abs(ulong2 x); |
| 8989 | ulong3 __ovld __cnfn abs(long3 x); |
| 8990 | ulong3 __ovld __cnfn abs(ulong3 x); |
| 8991 | ulong4 __ovld __cnfn abs(long4 x); |
| 8992 | ulong4 __ovld __cnfn abs(ulong4 x); |
| 8993 | ulong8 __ovld __cnfn abs(long8 x); |
| 8994 | ulong8 __ovld __cnfn abs(ulong8 x); |
| 8995 | ulong16 __ovld __cnfn abs(long16 x); |
| 8996 | ulong16 __ovld __cnfn abs(ulong16 x); |
| 8997 | |
| 8998 | /** |
| 8999 | * Returns | x - y | without modulo overflow. |
| 9000 | */ |
| 9001 | uchar __ovld __cnfn abs_diff(char x, char y); |
| 9002 | uchar __ovld __cnfn abs_diff(uchar x, uchar y); |
| 9003 | uchar2 __ovld __cnfn abs_diff(char2 x, char2 y); |
| 9004 | uchar2 __ovld __cnfn abs_diff(uchar2 x, uchar2 y); |
| 9005 | uchar3 __ovld __cnfn abs_diff(char3 x, char3 y); |
| 9006 | uchar3 __ovld __cnfn abs_diff(uchar3 x, uchar3 y); |
| 9007 | uchar4 __ovld __cnfn abs_diff(char4 x, char4 y); |
| 9008 | uchar4 __ovld __cnfn abs_diff(uchar4 x, uchar4 y); |
| 9009 | uchar8 __ovld __cnfn abs_diff(char8 x, char8 y); |
| 9010 | uchar8 __ovld __cnfn abs_diff(uchar8 x, uchar8 y); |
| 9011 | uchar16 __ovld __cnfn abs_diff(char16 x, char16 y); |
| 9012 | uchar16 __ovld __cnfn abs_diff(uchar16 x, uchar16 y); |
| 9013 | ushort __ovld __cnfn abs_diff(short x, short y); |
| 9014 | ushort __ovld __cnfn abs_diff(ushort x, ushort y); |
| 9015 | ushort2 __ovld __cnfn abs_diff(short2 x, short2 y); |
| 9016 | ushort2 __ovld __cnfn abs_diff(ushort2 x, ushort2 y); |
| 9017 | ushort3 __ovld __cnfn abs_diff(short3 x, short3 y); |
| 9018 | ushort3 __ovld __cnfn abs_diff(ushort3 x, ushort3 y); |
| 9019 | ushort4 __ovld __cnfn abs_diff(short4 x, short4 y); |
| 9020 | ushort4 __ovld __cnfn abs_diff(ushort4 x, ushort4 y); |
| 9021 | ushort8 __ovld __cnfn abs_diff(short8 x, short8 y); |
| 9022 | ushort8 __ovld __cnfn abs_diff(ushort8 x, ushort8 y); |
| 9023 | ushort16 __ovld __cnfn abs_diff(short16 x, short16 y); |
| 9024 | ushort16 __ovld __cnfn abs_diff(ushort16 x, ushort16 y); |
| 9025 | uint __ovld __cnfn abs_diff(int x, int y); |
| 9026 | uint __ovld __cnfn abs_diff(uint x, uint y); |
| 9027 | uint2 __ovld __cnfn abs_diff(int2 x, int2 y); |
| 9028 | uint2 __ovld __cnfn abs_diff(uint2 x, uint2 y); |
| 9029 | uint3 __ovld __cnfn abs_diff(int3 x, int3 y); |
| 9030 | uint3 __ovld __cnfn abs_diff(uint3 x, uint3 y); |
| 9031 | uint4 __ovld __cnfn abs_diff(int4 x, int4 y); |
| 9032 | uint4 __ovld __cnfn abs_diff(uint4 x, uint4 y); |
| 9033 | uint8 __ovld __cnfn abs_diff(int8 x, int8 y); |
| 9034 | uint8 __ovld __cnfn abs_diff(uint8 x, uint8 y); |
| 9035 | uint16 __ovld __cnfn abs_diff(int16 x, int16 y); |
| 9036 | uint16 __ovld __cnfn abs_diff(uint16 x, uint16 y); |
| 9037 | ulong __ovld __cnfn abs_diff(long x, long y); |
| 9038 | ulong __ovld __cnfn abs_diff(ulong x, ulong y); |
| 9039 | ulong2 __ovld __cnfn abs_diff(long2 x, long2 y); |
| 9040 | ulong2 __ovld __cnfn abs_diff(ulong2 x, ulong2 y); |
| 9041 | ulong3 __ovld __cnfn abs_diff(long3 x, long3 y); |
| 9042 | ulong3 __ovld __cnfn abs_diff(ulong3 x, ulong3 y); |
| 9043 | ulong4 __ovld __cnfn abs_diff(long4 x, long4 y); |
| 9044 | ulong4 __ovld __cnfn abs_diff(ulong4 x, ulong4 y); |
| 9045 | ulong8 __ovld __cnfn abs_diff(long8 x, long8 y); |
| 9046 | ulong8 __ovld __cnfn abs_diff(ulong8 x, ulong8 y); |
| 9047 | ulong16 __ovld __cnfn abs_diff(long16 x, long16 y); |
| 9048 | ulong16 __ovld __cnfn abs_diff(ulong16 x, ulong16 y); |
| 9049 | |
| 9050 | /** |
| 9051 | * Returns x + y and saturates the result. |
| 9052 | */ |
| 9053 | char __ovld __cnfn add_sat(char x, char y); |
| 9054 | uchar __ovld __cnfn add_sat(uchar x, uchar y); |
| 9055 | char2 __ovld __cnfn add_sat(char2 x, char2 y); |
| 9056 | uchar2 __ovld __cnfn add_sat(uchar2 x, uchar2 y); |
| 9057 | char3 __ovld __cnfn add_sat(char3 x, char3 y); |
| 9058 | uchar3 __ovld __cnfn add_sat(uchar3 x, uchar3 y); |
| 9059 | char4 __ovld __cnfn add_sat(char4 x, char4 y); |
| 9060 | uchar4 __ovld __cnfn add_sat(uchar4 x, uchar4 y); |
| 9061 | char8 __ovld __cnfn add_sat(char8 x, char8 y); |
| 9062 | uchar8 __ovld __cnfn add_sat(uchar8 x, uchar8 y); |
| 9063 | char16 __ovld __cnfn add_sat(char16 x, char16 y); |
| 9064 | uchar16 __ovld __cnfn add_sat(uchar16 x, uchar16 y); |
| 9065 | short __ovld __cnfn add_sat(short x, short y); |
| 9066 | ushort __ovld __cnfn add_sat(ushort x, ushort y); |
| 9067 | short2 __ovld __cnfn add_sat(short2 x, short2 y); |
| 9068 | ushort2 __ovld __cnfn add_sat(ushort2 x, ushort2 y); |
| 9069 | short3 __ovld __cnfn add_sat(short3 x, short3 y); |
| 9070 | ushort3 __ovld __cnfn add_sat(ushort3 x, ushort3 y); |
| 9071 | short4 __ovld __cnfn add_sat(short4 x, short4 y); |
| 9072 | ushort4 __ovld __cnfn add_sat(ushort4 x, ushort4 y); |
| 9073 | short8 __ovld __cnfn add_sat(short8 x, short8 y); |
| 9074 | ushort8 __ovld __cnfn add_sat(ushort8 x, ushort8 y); |
| 9075 | short16 __ovld __cnfn add_sat(short16 x, short16 y); |
| 9076 | ushort16 __ovld __cnfn add_sat(ushort16 x, ushort16 y); |
| 9077 | int __ovld __cnfn add_sat(int x, int y); |
| 9078 | uint __ovld __cnfn add_sat(uint x, uint y); |
| 9079 | int2 __ovld __cnfn add_sat(int2 x, int2 y); |
| 9080 | uint2 __ovld __cnfn add_sat(uint2 x, uint2 y); |
| 9081 | int3 __ovld __cnfn add_sat(int3 x, int3 y); |
| 9082 | uint3 __ovld __cnfn add_sat(uint3 x, uint3 y); |
| 9083 | int4 __ovld __cnfn add_sat(int4 x, int4 y); |
| 9084 | uint4 __ovld __cnfn add_sat(uint4 x, uint4 y); |
| 9085 | int8 __ovld __cnfn add_sat(int8 x, int8 y); |
| 9086 | uint8 __ovld __cnfn add_sat(uint8 x, uint8 y); |
| 9087 | int16 __ovld __cnfn add_sat(int16 x, int16 y); |
| 9088 | uint16 __ovld __cnfn add_sat(uint16 x, uint16 y); |
| 9089 | long __ovld __cnfn add_sat(long x, long y); |
| 9090 | ulong __ovld __cnfn add_sat(ulong x, ulong y); |
| 9091 | long2 __ovld __cnfn add_sat(long2 x, long2 y); |
| 9092 | ulong2 __ovld __cnfn add_sat(ulong2 x, ulong2 y); |
| 9093 | long3 __ovld __cnfn add_sat(long3 x, long3 y); |
| 9094 | ulong3 __ovld __cnfn add_sat(ulong3 x, ulong3 y); |
| 9095 | long4 __ovld __cnfn add_sat(long4 x, long4 y); |
| 9096 | ulong4 __ovld __cnfn add_sat(ulong4 x, ulong4 y); |
| 9097 | long8 __ovld __cnfn add_sat(long8 x, long8 y); |
| 9098 | ulong8 __ovld __cnfn add_sat(ulong8 x, ulong8 y); |
| 9099 | long16 __ovld __cnfn add_sat(long16 x, long16 y); |
| 9100 | ulong16 __ovld __cnfn add_sat(ulong16 x, ulong16 y); |
| 9101 | |
| 9102 | /** |
| 9103 | * Returns (x + y) >> 1. The intermediate sum does |
| 9104 | * not modulo overflow. |
| 9105 | */ |
| 9106 | char __ovld __cnfn hadd(char x, char y); |
| 9107 | uchar __ovld __cnfn hadd(uchar x, uchar y); |
| 9108 | char2 __ovld __cnfn hadd(char2 x, char2 y); |
| 9109 | uchar2 __ovld __cnfn hadd(uchar2 x, uchar2 y); |
| 9110 | char3 __ovld __cnfn hadd(char3 x, char3 y); |
| 9111 | uchar3 __ovld __cnfn hadd(uchar3 x, uchar3 y); |
| 9112 | char4 __ovld __cnfn hadd(char4 x, char4 y); |
| 9113 | uchar4 __ovld __cnfn hadd(uchar4 x, uchar4 y); |
| 9114 | char8 __ovld __cnfn hadd(char8 x, char8 y); |
| 9115 | uchar8 __ovld __cnfn hadd(uchar8 x, uchar8 y); |
| 9116 | char16 __ovld __cnfn hadd(char16 x, char16 y); |
| 9117 | uchar16 __ovld __cnfn hadd(uchar16 x, uchar16 y); |
| 9118 | short __ovld __cnfn hadd(short x, short y); |
| 9119 | ushort __ovld __cnfn hadd(ushort x, ushort y); |
| 9120 | short2 __ovld __cnfn hadd(short2 x, short2 y); |
| 9121 | ushort2 __ovld __cnfn hadd(ushort2 x, ushort2 y); |
| 9122 | short3 __ovld __cnfn hadd(short3 x, short3 y); |
| 9123 | ushort3 __ovld __cnfn hadd(ushort3 x, ushort3 y); |
| 9124 | short4 __ovld __cnfn hadd(short4 x, short4 y); |
| 9125 | ushort4 __ovld __cnfn hadd(ushort4 x, ushort4 y); |
| 9126 | short8 __ovld __cnfn hadd(short8 x, short8 y); |
| 9127 | ushort8 __ovld __cnfn hadd(ushort8 x, ushort8 y); |
| 9128 | short16 __ovld __cnfn hadd(short16 x, short16 y); |
| 9129 | ushort16 __ovld __cnfn hadd(ushort16 x, ushort16 y); |
| 9130 | int __ovld __cnfn hadd(int x, int y); |
| 9131 | uint __ovld __cnfn hadd(uint x, uint y); |
| 9132 | int2 __ovld __cnfn hadd(int2 x, int2 y); |
| 9133 | uint2 __ovld __cnfn hadd(uint2 x, uint2 y); |
| 9134 | int3 __ovld __cnfn hadd(int3 x, int3 y); |
| 9135 | uint3 __ovld __cnfn hadd(uint3 x, uint3 y); |
| 9136 | int4 __ovld __cnfn hadd(int4 x, int4 y); |
| 9137 | uint4 __ovld __cnfn hadd(uint4 x, uint4 y); |
| 9138 | int8 __ovld __cnfn hadd(int8 x, int8 y); |
| 9139 | uint8 __ovld __cnfn hadd(uint8 x, uint8 y); |
| 9140 | int16 __ovld __cnfn hadd(int16 x, int16 y); |
| 9141 | uint16 __ovld __cnfn hadd(uint16 x, uint16 y); |
| 9142 | long __ovld __cnfn hadd(long x, long y); |
| 9143 | ulong __ovld __cnfn hadd(ulong x, ulong y); |
| 9144 | long2 __ovld __cnfn hadd(long2 x, long2 y); |
| 9145 | ulong2 __ovld __cnfn hadd(ulong2 x, ulong2 y); |
| 9146 | long3 __ovld __cnfn hadd(long3 x, long3 y); |
| 9147 | ulong3 __ovld __cnfn hadd(ulong3 x, ulong3 y); |
| 9148 | long4 __ovld __cnfn hadd(long4 x, long4 y); |
| 9149 | ulong4 __ovld __cnfn hadd(ulong4 x, ulong4 y); |
| 9150 | long8 __ovld __cnfn hadd(long8 x, long8 y); |
| 9151 | ulong8 __ovld __cnfn hadd(ulong8 x, ulong8 y); |
| 9152 | long16 __ovld __cnfn hadd(long16 x, long16 y); |
| 9153 | ulong16 __ovld __cnfn hadd(ulong16 x, ulong16 y); |
| 9154 | |
| 9155 | /** |
| 9156 | * Returns (x + y + 1) >> 1. The intermediate sum |
| 9157 | * does not modulo overflow. |
| 9158 | */ |
| 9159 | char __ovld __cnfn rhadd(char x, char y); |
| 9160 | uchar __ovld __cnfn rhadd(uchar x, uchar y); |
| 9161 | char2 __ovld __cnfn rhadd(char2 x, char2 y); |
| 9162 | uchar2 __ovld __cnfn rhadd(uchar2 x, uchar2 y); |
| 9163 | char3 __ovld __cnfn rhadd(char3 x, char3 y); |
| 9164 | uchar3 __ovld __cnfn rhadd(uchar3 x, uchar3 y); |
| 9165 | char4 __ovld __cnfn rhadd(char4 x, char4 y); |
| 9166 | uchar4 __ovld __cnfn rhadd(uchar4 x, uchar4 y); |
| 9167 | char8 __ovld __cnfn rhadd(char8 x, char8 y); |
| 9168 | uchar8 __ovld __cnfn rhadd(uchar8 x, uchar8 y); |
| 9169 | char16 __ovld __cnfn rhadd(char16 x, char16 y); |
| 9170 | uchar16 __ovld __cnfn rhadd(uchar16 x, uchar16 y); |
| 9171 | short __ovld __cnfn rhadd(short x, short y); |
| 9172 | ushort __ovld __cnfn rhadd(ushort x, ushort y); |
| 9173 | short2 __ovld __cnfn rhadd(short2 x, short2 y); |
| 9174 | ushort2 __ovld __cnfn rhadd(ushort2 x, ushort2 y); |
| 9175 | short3 __ovld __cnfn rhadd(short3 x, short3 y); |
| 9176 | ushort3 __ovld __cnfn rhadd(ushort3 x, ushort3 y); |
| 9177 | short4 __ovld __cnfn rhadd(short4 x, short4 y); |
| 9178 | ushort4 __ovld __cnfn rhadd(ushort4 x, ushort4 y); |
| 9179 | short8 __ovld __cnfn rhadd(short8 x, short8 y); |
| 9180 | ushort8 __ovld __cnfn rhadd(ushort8 x, ushort8 y); |
| 9181 | short16 __ovld __cnfn rhadd(short16 x, short16 y); |
| 9182 | ushort16 __ovld __cnfn rhadd(ushort16 x, ushort16 y); |
| 9183 | int __ovld __cnfn rhadd(int x, int y); |
| 9184 | uint __ovld __cnfn rhadd(uint x, uint y); |
| 9185 | int2 __ovld __cnfn rhadd(int2 x, int2 y); |
| 9186 | uint2 __ovld __cnfn rhadd(uint2 x, uint2 y); |
| 9187 | int3 __ovld __cnfn rhadd(int3 x, int3 y); |
| 9188 | uint3 __ovld __cnfn rhadd(uint3 x, uint3 y); |
| 9189 | int4 __ovld __cnfn rhadd(int4 x, int4 y); |
| 9190 | uint4 __ovld __cnfn rhadd(uint4 x, uint4 y); |
| 9191 | int8 __ovld __cnfn rhadd(int8 x, int8 y); |
| 9192 | uint8 __ovld __cnfn rhadd(uint8 x, uint8 y); |
| 9193 | int16 __ovld __cnfn rhadd(int16 x, int16 y); |
| 9194 | uint16 __ovld __cnfn rhadd(uint16 x, uint16 y); |
| 9195 | long __ovld __cnfn rhadd(long x, long y); |
| 9196 | ulong __ovld __cnfn rhadd(ulong x, ulong y); |
| 9197 | long2 __ovld __cnfn rhadd(long2 x, long2 y); |
| 9198 | ulong2 __ovld __cnfn rhadd(ulong2 x, ulong2 y); |
| 9199 | long3 __ovld __cnfn rhadd(long3 x, long3 y); |
| 9200 | ulong3 __ovld __cnfn rhadd(ulong3 x, ulong3 y); |
| 9201 | long4 __ovld __cnfn rhadd(long4 x, long4 y); |
| 9202 | ulong4 __ovld __cnfn rhadd(ulong4 x, ulong4 y); |
| 9203 | long8 __ovld __cnfn rhadd(long8 x, long8 y); |
| 9204 | ulong8 __ovld __cnfn rhadd(ulong8 x, ulong8 y); |
| 9205 | long16 __ovld __cnfn rhadd(long16 x, long16 y); |
| 9206 | ulong16 __ovld __cnfn rhadd(ulong16 x, ulong16 y); |
| 9207 | |
| 9208 | /** |
| 9209 | * Returns min(max(x, minval), maxval). |
| 9210 | * Results are undefined if minval > maxval. |
| 9211 | */ |
| 9212 | char __ovld __cnfn clamp(char x, char minval, char maxval); |
| 9213 | uchar __ovld __cnfn clamp(uchar x, uchar minval, uchar maxval); |
| 9214 | char2 __ovld __cnfn clamp(char2 x, char2 minval, char2 maxval); |
| 9215 | uchar2 __ovld __cnfn clamp(uchar2 x, uchar2 minval, uchar2 maxval); |
| 9216 | char3 __ovld __cnfn clamp(char3 x, char3 minval, char3 maxval); |
| 9217 | uchar3 __ovld __cnfn clamp(uchar3 x, uchar3 minval, uchar3 maxval); |
| 9218 | char4 __ovld __cnfn clamp(char4 x, char4 minval, char4 maxval); |
| 9219 | uchar4 __ovld __cnfn clamp(uchar4 x, uchar4 minval, uchar4 maxval); |
| 9220 | char8 __ovld __cnfn clamp(char8 x, char8 minval, char8 maxval); |
| 9221 | uchar8 __ovld __cnfn clamp(uchar8 x, uchar8 minval, uchar8 maxval); |
| 9222 | char16 __ovld __cnfn clamp(char16 x, char16 minval, char16 maxval); |
| 9223 | uchar16 __ovld __cnfn clamp(uchar16 x, uchar16 minval, uchar16 maxval); |
| 9224 | short __ovld __cnfn clamp(short x, short minval, short maxval); |
| 9225 | ushort __ovld __cnfn clamp(ushort x, ushort minval, ushort maxval); |
| 9226 | short2 __ovld __cnfn clamp(short2 x, short2 minval, short2 maxval); |
| 9227 | ushort2 __ovld __cnfn clamp(ushort2 x, ushort2 minval, ushort2 maxval); |
| 9228 | short3 __ovld __cnfn clamp(short3 x, short3 minval, short3 maxval); |
| 9229 | ushort3 __ovld __cnfn clamp(ushort3 x, ushort3 minval, ushort3 maxval); |
| 9230 | short4 __ovld __cnfn clamp(short4 x, short4 minval, short4 maxval); |
| 9231 | ushort4 __ovld __cnfn clamp(ushort4 x, ushort4 minval, ushort4 maxval); |
| 9232 | short8 __ovld __cnfn clamp(short8 x, short8 minval, short8 maxval); |
| 9233 | ushort8 __ovld __cnfn clamp(ushort8 x, ushort8 minval, ushort8 maxval); |
| 9234 | short16 __ovld __cnfn clamp(short16 x, short16 minval, short16 maxval); |
| 9235 | ushort16 __ovld __cnfn clamp(ushort16 x, ushort16 minval, ushort16 maxval); |
| 9236 | int __ovld __cnfn clamp(int x, int minval, int maxval); |
| 9237 | uint __ovld __cnfn clamp(uint x, uint minval, uint maxval); |
| 9238 | int2 __ovld __cnfn clamp(int2 x, int2 minval, int2 maxval); |
| 9239 | uint2 __ovld __cnfn clamp(uint2 x, uint2 minval, uint2 maxval); |
| 9240 | int3 __ovld __cnfn clamp(int3 x, int3 minval, int3 maxval); |
| 9241 | uint3 __ovld __cnfn clamp(uint3 x, uint3 minval, uint3 maxval); |
| 9242 | int4 __ovld __cnfn clamp(int4 x, int4 minval, int4 maxval); |
| 9243 | uint4 __ovld __cnfn clamp(uint4 x, uint4 minval, uint4 maxval); |
| 9244 | int8 __ovld __cnfn clamp(int8 x, int8 minval, int8 maxval); |
| 9245 | uint8 __ovld __cnfn clamp(uint8 x, uint8 minval, uint8 maxval); |
| 9246 | int16 __ovld __cnfn clamp(int16 x, int16 minval, int16 maxval); |
| 9247 | uint16 __ovld __cnfn clamp(uint16 x, uint16 minval, uint16 maxval); |
| 9248 | long __ovld __cnfn clamp(long x, long minval, long maxval); |
| 9249 | ulong __ovld __cnfn clamp(ulong x, ulong minval, ulong maxval); |
| 9250 | long2 __ovld __cnfn clamp(long2 x, long2 minval, long2 maxval); |
| 9251 | ulong2 __ovld __cnfn clamp(ulong2 x, ulong2 minval, ulong2 maxval); |
| 9252 | long3 __ovld __cnfn clamp(long3 x, long3 minval, long3 maxval); |
| 9253 | ulong3 __ovld __cnfn clamp(ulong3 x, ulong3 minval, ulong3 maxval); |
| 9254 | long4 __ovld __cnfn clamp(long4 x, long4 minval, long4 maxval); |
| 9255 | ulong4 __ovld __cnfn clamp(ulong4 x, ulong4 minval, ulong4 maxval); |
| 9256 | long8 __ovld __cnfn clamp(long8 x, long8 minval, long8 maxval); |
| 9257 | ulong8 __ovld __cnfn clamp(ulong8 x, ulong8 minval, ulong8 maxval); |
| 9258 | long16 __ovld __cnfn clamp(long16 x, long16 minval, long16 maxval); |
| 9259 | ulong16 __ovld __cnfn clamp(ulong16 x, ulong16 minval, ulong16 maxval); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9260 | char2 __ovld __cnfn clamp(char2 x, char minval, char maxval); |
| 9261 | uchar2 __ovld __cnfn clamp(uchar2 x, uchar minval, uchar maxval); |
| 9262 | char3 __ovld __cnfn clamp(char3 x, char minval, char maxval); |
| 9263 | uchar3 __ovld __cnfn clamp(uchar3 x, uchar minval, uchar maxval); |
| 9264 | char4 __ovld __cnfn clamp(char4 x, char minval, char maxval); |
| 9265 | uchar4 __ovld __cnfn clamp(uchar4 x, uchar minval, uchar maxval); |
| 9266 | char8 __ovld __cnfn clamp(char8 x, char minval, char maxval); |
| 9267 | uchar8 __ovld __cnfn clamp(uchar8 x, uchar minval, uchar maxval); |
| 9268 | char16 __ovld __cnfn clamp(char16 x, char minval, char maxval); |
| 9269 | uchar16 __ovld __cnfn clamp(uchar16 x, uchar minval, uchar maxval); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9270 | short2 __ovld __cnfn clamp(short2 x, short minval, short maxval); |
| 9271 | ushort2 __ovld __cnfn clamp(ushort2 x, ushort minval, ushort maxval); |
| 9272 | short3 __ovld __cnfn clamp(short3 x, short minval, short maxval); |
| 9273 | ushort3 __ovld __cnfn clamp(ushort3 x, ushort minval, ushort maxval); |
| 9274 | short4 __ovld __cnfn clamp(short4 x, short minval, short maxval); |
| 9275 | ushort4 __ovld __cnfn clamp(ushort4 x, ushort minval, ushort maxval); |
| 9276 | short8 __ovld __cnfn clamp(short8 x, short minval, short maxval); |
| 9277 | ushort8 __ovld __cnfn clamp(ushort8 x, ushort minval, ushort maxval); |
| 9278 | short16 __ovld __cnfn clamp(short16 x, short minval, short maxval); |
| 9279 | ushort16 __ovld __cnfn clamp(ushort16 x, ushort minval, ushort maxval); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9280 | int2 __ovld __cnfn clamp(int2 x, int minval, int maxval); |
| 9281 | uint2 __ovld __cnfn clamp(uint2 x, uint minval, uint maxval); |
| 9282 | int3 __ovld __cnfn clamp(int3 x, int minval, int maxval); |
| 9283 | uint3 __ovld __cnfn clamp(uint3 x, uint minval, uint maxval); |
| 9284 | int4 __ovld __cnfn clamp(int4 x, int minval, int maxval); |
| 9285 | uint4 __ovld __cnfn clamp(uint4 x, uint minval, uint maxval); |
| 9286 | int8 __ovld __cnfn clamp(int8 x, int minval, int maxval); |
| 9287 | uint8 __ovld __cnfn clamp(uint8 x, uint minval, uint maxval); |
| 9288 | int16 __ovld __cnfn clamp(int16 x, int minval, int maxval); |
| 9289 | uint16 __ovld __cnfn clamp(uint16 x, uint minval, uint maxval); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9290 | long2 __ovld __cnfn clamp(long2 x, long minval, long maxval); |
| 9291 | ulong2 __ovld __cnfn clamp(ulong2 x, ulong minval, ulong maxval); |
| 9292 | long3 __ovld __cnfn clamp(long3 x, long minval, long maxval); |
| 9293 | ulong3 __ovld __cnfn clamp(ulong3 x, ulong minval, ulong maxval); |
| 9294 | long4 __ovld __cnfn clamp(long4 x, long minval, long maxval); |
| 9295 | ulong4 __ovld __cnfn clamp(ulong4 x, ulong minval, ulong maxval); |
| 9296 | long8 __ovld __cnfn clamp(long8 x, long minval, long maxval); |
| 9297 | ulong8 __ovld __cnfn clamp(ulong8 x, ulong minval, ulong maxval); |
| 9298 | long16 __ovld __cnfn clamp(long16 x, long minval, long maxval); |
| 9299 | ulong16 __ovld __cnfn clamp(ulong16 x, ulong minval, ulong maxval); |
| 9300 | |
| 9301 | /** |
| 9302 | * Returns the number of leading 0-bits in x, starting |
| 9303 | * at the most significant bit position. |
| 9304 | */ |
| 9305 | char __ovld __cnfn clz(char x); |
| 9306 | uchar __ovld __cnfn clz(uchar x); |
| 9307 | char2 __ovld __cnfn clz(char2 x); |
| 9308 | uchar2 __ovld __cnfn clz(uchar2 x); |
| 9309 | char3 __ovld __cnfn clz(char3 x); |
| 9310 | uchar3 __ovld __cnfn clz(uchar3 x); |
| 9311 | char4 __ovld __cnfn clz(char4 x); |
| 9312 | uchar4 __ovld __cnfn clz(uchar4 x); |
| 9313 | char8 __ovld __cnfn clz(char8 x); |
| 9314 | uchar8 __ovld __cnfn clz(uchar8 x); |
| 9315 | char16 __ovld __cnfn clz(char16 x); |
| 9316 | uchar16 __ovld __cnfn clz(uchar16 x); |
| 9317 | short __ovld __cnfn clz(short x); |
| 9318 | ushort __ovld __cnfn clz(ushort x); |
| 9319 | short2 __ovld __cnfn clz(short2 x); |
| 9320 | ushort2 __ovld __cnfn clz(ushort2 x); |
| 9321 | short3 __ovld __cnfn clz(short3 x); |
| 9322 | ushort3 __ovld __cnfn clz(ushort3 x); |
| 9323 | short4 __ovld __cnfn clz(short4 x); |
| 9324 | ushort4 __ovld __cnfn clz(ushort4 x); |
| 9325 | short8 __ovld __cnfn clz(short8 x); |
| 9326 | ushort8 __ovld __cnfn clz(ushort8 x); |
| 9327 | short16 __ovld __cnfn clz(short16 x); |
| 9328 | ushort16 __ovld __cnfn clz(ushort16 x); |
| 9329 | int __ovld __cnfn clz(int x); |
| 9330 | uint __ovld __cnfn clz(uint x); |
| 9331 | int2 __ovld __cnfn clz(int2 x); |
| 9332 | uint2 __ovld __cnfn clz(uint2 x); |
| 9333 | int3 __ovld __cnfn clz(int3 x); |
| 9334 | uint3 __ovld __cnfn clz(uint3 x); |
| 9335 | int4 __ovld __cnfn clz(int4 x); |
| 9336 | uint4 __ovld __cnfn clz(uint4 x); |
| 9337 | int8 __ovld __cnfn clz(int8 x); |
| 9338 | uint8 __ovld __cnfn clz(uint8 x); |
| 9339 | int16 __ovld __cnfn clz(int16 x); |
| 9340 | uint16 __ovld __cnfn clz(uint16 x); |
| 9341 | long __ovld __cnfn clz(long x); |
| 9342 | ulong __ovld __cnfn clz(ulong x); |
| 9343 | long2 __ovld __cnfn clz(long2 x); |
| 9344 | ulong2 __ovld __cnfn clz(ulong2 x); |
| 9345 | long3 __ovld __cnfn clz(long3 x); |
| 9346 | ulong3 __ovld __cnfn clz(ulong3 x); |
| 9347 | long4 __ovld __cnfn clz(long4 x); |
| 9348 | ulong4 __ovld __cnfn clz(ulong4 x); |
| 9349 | long8 __ovld __cnfn clz(long8 x); |
| 9350 | ulong8 __ovld __cnfn clz(ulong8 x); |
| 9351 | long16 __ovld __cnfn clz(long16 x); |
| 9352 | ulong16 __ovld __cnfn clz(ulong16 x); |
| 9353 | |
| 9354 | /** |
| 9355 | * Returns the count of trailing 0-bits in x. If x is 0, |
| 9356 | * returns the size in bits of the type of x or |
| 9357 | * component type of x, if x is a vector. |
| 9358 | */ |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 9359 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 9360 | char __ovld __cnfn ctz(char x); |
| 9361 | uchar __ovld __cnfn ctz(uchar x); |
| 9362 | char2 __ovld __cnfn ctz(char2 x); |
| 9363 | uchar2 __ovld __cnfn ctz(uchar2 x); |
| 9364 | char3 __ovld __cnfn ctz(char3 x); |
| 9365 | uchar3 __ovld __cnfn ctz(uchar3 x); |
| 9366 | char4 __ovld __cnfn ctz(char4 x); |
| 9367 | uchar4 __ovld __cnfn ctz(uchar4 x); |
| 9368 | char8 __ovld __cnfn ctz(char8 x); |
| 9369 | uchar8 __ovld __cnfn ctz(uchar8 x); |
| 9370 | char16 __ovld __cnfn ctz(char16 x); |
| 9371 | uchar16 __ovld __cnfn ctz(uchar16 x); |
| 9372 | short __ovld __cnfn ctz(short x); |
| 9373 | ushort __ovld __cnfn ctz(ushort x); |
| 9374 | short2 __ovld __cnfn ctz(short2 x); |
| 9375 | ushort2 __ovld __cnfn ctz(ushort2 x); |
| 9376 | short3 __ovld __cnfn ctz(short3 x); |
| 9377 | ushort3 __ovld __cnfn ctz(ushort3 x); |
| 9378 | short4 __ovld __cnfn ctz(short4 x); |
| 9379 | ushort4 __ovld __cnfn ctz(ushort4 x); |
| 9380 | short8 __ovld __cnfn ctz(short8 x); |
| 9381 | ushort8 __ovld __cnfn ctz(ushort8 x); |
| 9382 | short16 __ovld __cnfn ctz(short16 x); |
| 9383 | ushort16 __ovld __cnfn ctz(ushort16 x); |
| 9384 | int __ovld __cnfn ctz(int x); |
| 9385 | uint __ovld __cnfn ctz(uint x); |
| 9386 | int2 __ovld __cnfn ctz(int2 x); |
| 9387 | uint2 __ovld __cnfn ctz(uint2 x); |
| 9388 | int3 __ovld __cnfn ctz(int3 x); |
| 9389 | uint3 __ovld __cnfn ctz(uint3 x); |
| 9390 | int4 __ovld __cnfn ctz(int4 x); |
| 9391 | uint4 __ovld __cnfn ctz(uint4 x); |
| 9392 | int8 __ovld __cnfn ctz(int8 x); |
| 9393 | uint8 __ovld __cnfn ctz(uint8 x); |
| 9394 | int16 __ovld __cnfn ctz(int16 x); |
| 9395 | uint16 __ovld __cnfn ctz(uint16 x); |
| 9396 | long __ovld __cnfn ctz(long x); |
| 9397 | ulong __ovld __cnfn ctz(ulong x); |
| 9398 | long2 __ovld __cnfn ctz(long2 x); |
| 9399 | ulong2 __ovld __cnfn ctz(ulong2 x); |
| 9400 | long3 __ovld __cnfn ctz(long3 x); |
| 9401 | ulong3 __ovld __cnfn ctz(ulong3 x); |
| 9402 | long4 __ovld __cnfn ctz(long4 x); |
| 9403 | ulong4 __ovld __cnfn ctz(ulong4 x); |
| 9404 | long8 __ovld __cnfn ctz(long8 x); |
| 9405 | ulong8 __ovld __cnfn ctz(ulong8 x); |
| 9406 | long16 __ovld __cnfn ctz(long16 x); |
| 9407 | ulong16 __ovld __cnfn ctz(ulong16 x); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 9408 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9409 | |
| 9410 | /** |
| 9411 | * Returns mul_hi(a, b) + c. |
| 9412 | */ |
| 9413 | char __ovld __cnfn mad_hi(char a, char b, char c); |
| 9414 | uchar __ovld __cnfn mad_hi(uchar a, uchar b, uchar c); |
| 9415 | char2 __ovld __cnfn mad_hi(char2 a, char2 b, char2 c); |
| 9416 | uchar2 __ovld __cnfn mad_hi(uchar2 a, uchar2 b, uchar2 c); |
| 9417 | char3 __ovld __cnfn mad_hi(char3 a, char3 b, char3 c); |
| 9418 | uchar3 __ovld __cnfn mad_hi(uchar3 a, uchar3 b, uchar3 c); |
| 9419 | char4 __ovld __cnfn mad_hi(char4 a, char4 b, char4 c); |
| 9420 | uchar4 __ovld __cnfn mad_hi(uchar4 a, uchar4 b, uchar4 c); |
| 9421 | char8 __ovld __cnfn mad_hi(char8 a, char8 b, char8 c); |
| 9422 | uchar8 __ovld __cnfn mad_hi(uchar8 a, uchar8 b, uchar8 c); |
| 9423 | char16 __ovld __cnfn mad_hi(char16 a, char16 b, char16 c); |
| 9424 | uchar16 __ovld __cnfn mad_hi(uchar16 a, uchar16 b, uchar16 c); |
| 9425 | short __ovld __cnfn mad_hi(short a, short b, short c); |
| 9426 | ushort __ovld __cnfn mad_hi(ushort a, ushort b, ushort c); |
| 9427 | short2 __ovld __cnfn mad_hi(short2 a, short2 b, short2 c); |
| 9428 | ushort2 __ovld __cnfn mad_hi(ushort2 a, ushort2 b, ushort2 c); |
| 9429 | short3 __ovld __cnfn mad_hi(short3 a, short3 b, short3 c); |
| 9430 | ushort3 __ovld __cnfn mad_hi(ushort3 a, ushort3 b, ushort3 c); |
| 9431 | short4 __ovld __cnfn mad_hi(short4 a, short4 b, short4 c); |
| 9432 | ushort4 __ovld __cnfn mad_hi(ushort4 a, ushort4 b, ushort4 c); |
| 9433 | short8 __ovld __cnfn mad_hi(short8 a, short8 b, short8 c); |
| 9434 | ushort8 __ovld __cnfn mad_hi(ushort8 a, ushort8 b, ushort8 c); |
| 9435 | short16 __ovld __cnfn mad_hi(short16 a, short16 b, short16 c); |
| 9436 | ushort16 __ovld __cnfn mad_hi(ushort16 a, ushort16 b, ushort16 c); |
| 9437 | int __ovld __cnfn mad_hi(int a, int b, int c); |
| 9438 | uint __ovld __cnfn mad_hi(uint a, uint b, uint c); |
| 9439 | int2 __ovld __cnfn mad_hi(int2 a, int2 b, int2 c); |
| 9440 | uint2 __ovld __cnfn mad_hi(uint2 a, uint2 b, uint2 c); |
| 9441 | int3 __ovld __cnfn mad_hi(int3 a, int3 b, int3 c); |
| 9442 | uint3 __ovld __cnfn mad_hi(uint3 a, uint3 b, uint3 c); |
| 9443 | int4 __ovld __cnfn mad_hi(int4 a, int4 b, int4 c); |
| 9444 | uint4 __ovld __cnfn mad_hi(uint4 a, uint4 b, uint4 c); |
| 9445 | int8 __ovld __cnfn mad_hi(int8 a, int8 b, int8 c); |
| 9446 | uint8 __ovld __cnfn mad_hi(uint8 a, uint8 b, uint8 c); |
| 9447 | int16 __ovld __cnfn mad_hi(int16 a, int16 b, int16 c); |
| 9448 | uint16 __ovld __cnfn mad_hi(uint16 a, uint16 b, uint16 c); |
| 9449 | long __ovld __cnfn mad_hi(long a, long b, long c); |
| 9450 | ulong __ovld __cnfn mad_hi(ulong a, ulong b, ulong c); |
| 9451 | long2 __ovld __cnfn mad_hi(long2 a, long2 b, long2 c); |
| 9452 | ulong2 __ovld __cnfn mad_hi(ulong2 a, ulong2 b, ulong2 c); |
| 9453 | long3 __ovld __cnfn mad_hi(long3 a, long3 b, long3 c); |
| 9454 | ulong3 __ovld __cnfn mad_hi(ulong3 a, ulong3 b, ulong3 c); |
| 9455 | long4 __ovld __cnfn mad_hi(long4 a, long4 b, long4 c); |
| 9456 | ulong4 __ovld __cnfn mad_hi(ulong4 a, ulong4 b, ulong4 c); |
| 9457 | long8 __ovld __cnfn mad_hi(long8 a, long8 b, long8 c); |
| 9458 | ulong8 __ovld __cnfn mad_hi(ulong8 a, ulong8 b, ulong8 c); |
| 9459 | long16 __ovld __cnfn mad_hi(long16 a, long16 b, long16 c); |
| 9460 | ulong16 __ovld __cnfn mad_hi(ulong16 a, ulong16 b, ulong16 c); |
| 9461 | |
| 9462 | /** |
| 9463 | * Returns a * b + c and saturates the result. |
| 9464 | */ |
| 9465 | char __ovld __cnfn mad_sat(char a, char b, char c); |
| 9466 | uchar __ovld __cnfn mad_sat(uchar a, uchar b, uchar c); |
| 9467 | char2 __ovld __cnfn mad_sat(char2 a, char2 b, char2 c); |
| 9468 | uchar2 __ovld __cnfn mad_sat(uchar2 a, uchar2 b, uchar2 c); |
| 9469 | char3 __ovld __cnfn mad_sat(char3 a, char3 b, char3 c); |
| 9470 | uchar3 __ovld __cnfn mad_sat(uchar3 a, uchar3 b, uchar3 c); |
| 9471 | char4 __ovld __cnfn mad_sat(char4 a, char4 b, char4 c); |
| 9472 | uchar4 __ovld __cnfn mad_sat(uchar4 a, uchar4 b, uchar4 c); |
| 9473 | char8 __ovld __cnfn mad_sat(char8 a, char8 b, char8 c); |
| 9474 | uchar8 __ovld __cnfn mad_sat(uchar8 a, uchar8 b, uchar8 c); |
| 9475 | char16 __ovld __cnfn mad_sat(char16 a, char16 b, char16 c); |
| 9476 | uchar16 __ovld __cnfn mad_sat(uchar16 a, uchar16 b, uchar16 c); |
| 9477 | short __ovld __cnfn mad_sat(short a, short b, short c); |
| 9478 | ushort __ovld __cnfn mad_sat(ushort a, ushort b, ushort c); |
| 9479 | short2 __ovld __cnfn mad_sat(short2 a, short2 b, short2 c); |
| 9480 | ushort2 __ovld __cnfn mad_sat(ushort2 a, ushort2 b, ushort2 c); |
| 9481 | short3 __ovld __cnfn mad_sat(short3 a, short3 b, short3 c); |
| 9482 | ushort3 __ovld __cnfn mad_sat(ushort3 a, ushort3 b, ushort3 c); |
| 9483 | short4 __ovld __cnfn mad_sat(short4 a, short4 b, short4 c); |
| 9484 | ushort4 __ovld __cnfn mad_sat(ushort4 a, ushort4 b, ushort4 c); |
| 9485 | short8 __ovld __cnfn mad_sat(short8 a, short8 b, short8 c); |
| 9486 | ushort8 __ovld __cnfn mad_sat(ushort8 a, ushort8 b, ushort8 c); |
| 9487 | short16 __ovld __cnfn mad_sat(short16 a, short16 b, short16 c); |
| 9488 | ushort16 __ovld __cnfn mad_sat(ushort16 a, ushort16 b, ushort16 c); |
| 9489 | int __ovld __cnfn mad_sat(int a, int b, int c); |
| 9490 | uint __ovld __cnfn mad_sat(uint a, uint b, uint c); |
| 9491 | int2 __ovld __cnfn mad_sat(int2 a, int2 b, int2 c); |
| 9492 | uint2 __ovld __cnfn mad_sat(uint2 a, uint2 b, uint2 c); |
| 9493 | int3 __ovld __cnfn mad_sat(int3 a, int3 b, int3 c); |
| 9494 | uint3 __ovld __cnfn mad_sat(uint3 a, uint3 b, uint3 c); |
| 9495 | int4 __ovld __cnfn mad_sat(int4 a, int4 b, int4 c); |
| 9496 | uint4 __ovld __cnfn mad_sat(uint4 a, uint4 b, uint4 c); |
| 9497 | int8 __ovld __cnfn mad_sat(int8 a, int8 b, int8 c); |
| 9498 | uint8 __ovld __cnfn mad_sat(uint8 a, uint8 b, uint8 c); |
| 9499 | int16 __ovld __cnfn mad_sat(int16 a, int16 b, int16 c); |
| 9500 | uint16 __ovld __cnfn mad_sat(uint16 a, uint16 b, uint16 c); |
| 9501 | long __ovld __cnfn mad_sat(long a, long b, long c); |
| 9502 | ulong __ovld __cnfn mad_sat(ulong a, ulong b, ulong c); |
| 9503 | long2 __ovld __cnfn mad_sat(long2 a, long2 b, long2 c); |
| 9504 | ulong2 __ovld __cnfn mad_sat(ulong2 a, ulong2 b, ulong2 c); |
| 9505 | long3 __ovld __cnfn mad_sat(long3 a, long3 b, long3 c); |
| 9506 | ulong3 __ovld __cnfn mad_sat(ulong3 a, ulong3 b, ulong3 c); |
| 9507 | long4 __ovld __cnfn mad_sat(long4 a, long4 b, long4 c); |
| 9508 | ulong4 __ovld __cnfn mad_sat(ulong4 a, ulong4 b, ulong4 c); |
| 9509 | long8 __ovld __cnfn mad_sat(long8 a, long8 b, long8 c); |
| 9510 | ulong8 __ovld __cnfn mad_sat(ulong8 a, ulong8 b, ulong8 c); |
| 9511 | long16 __ovld __cnfn mad_sat(long16 a, long16 b, long16 c); |
| 9512 | ulong16 __ovld __cnfn mad_sat(ulong16 a, ulong16 b, ulong16 c); |
| 9513 | |
| 9514 | /** |
| 9515 | * Returns y if x < y, otherwise it returns x. |
| 9516 | */ |
| 9517 | char __ovld __cnfn max(char x, char y); |
| 9518 | uchar __ovld __cnfn max(uchar x, uchar y); |
| 9519 | char2 __ovld __cnfn max(char2 x, char2 y); |
| 9520 | uchar2 __ovld __cnfn max(uchar2 x, uchar2 y); |
| 9521 | char3 __ovld __cnfn max(char3 x, char3 y); |
| 9522 | uchar3 __ovld __cnfn max(uchar3 x, uchar3 y); |
| 9523 | char4 __ovld __cnfn max(char4 x, char4 y); |
| 9524 | uchar4 __ovld __cnfn max(uchar4 x, uchar4 y); |
| 9525 | char8 __ovld __cnfn max(char8 x, char8 y); |
| 9526 | uchar8 __ovld __cnfn max(uchar8 x, uchar8 y); |
| 9527 | char16 __ovld __cnfn max(char16 x, char16 y); |
| 9528 | uchar16 __ovld __cnfn max(uchar16 x, uchar16 y); |
| 9529 | short __ovld __cnfn max(short x, short y); |
| 9530 | ushort __ovld __cnfn max(ushort x, ushort y); |
| 9531 | short2 __ovld __cnfn max(short2 x, short2 y); |
| 9532 | ushort2 __ovld __cnfn max(ushort2 x, ushort2 y); |
| 9533 | short3 __ovld __cnfn max(short3 x, short3 y); |
| 9534 | ushort3 __ovld __cnfn max(ushort3 x, ushort3 y); |
| 9535 | short4 __ovld __cnfn max(short4 x, short4 y); |
| 9536 | ushort4 __ovld __cnfn max(ushort4 x, ushort4 y); |
| 9537 | short8 __ovld __cnfn max(short8 x, short8 y); |
| 9538 | ushort8 __ovld __cnfn max(ushort8 x, ushort8 y); |
| 9539 | short16 __ovld __cnfn max(short16 x, short16 y); |
| 9540 | ushort16 __ovld __cnfn max(ushort16 x, ushort16 y); |
| 9541 | int __ovld __cnfn max(int x, int y); |
| 9542 | uint __ovld __cnfn max(uint x, uint y); |
| 9543 | int2 __ovld __cnfn max(int2 x, int2 y); |
| 9544 | uint2 __ovld __cnfn max(uint2 x, uint2 y); |
| 9545 | int3 __ovld __cnfn max(int3 x, int3 y); |
| 9546 | uint3 __ovld __cnfn max(uint3 x, uint3 y); |
| 9547 | int4 __ovld __cnfn max(int4 x, int4 y); |
| 9548 | uint4 __ovld __cnfn max(uint4 x, uint4 y); |
| 9549 | int8 __ovld __cnfn max(int8 x, int8 y); |
| 9550 | uint8 __ovld __cnfn max(uint8 x, uint8 y); |
| 9551 | int16 __ovld __cnfn max(int16 x, int16 y); |
| 9552 | uint16 __ovld __cnfn max(uint16 x, uint16 y); |
| 9553 | long __ovld __cnfn max(long x, long y); |
| 9554 | ulong __ovld __cnfn max(ulong x, ulong y); |
| 9555 | long2 __ovld __cnfn max(long2 x, long2 y); |
| 9556 | ulong2 __ovld __cnfn max(ulong2 x, ulong2 y); |
| 9557 | long3 __ovld __cnfn max(long3 x, long3 y); |
| 9558 | ulong3 __ovld __cnfn max(ulong3 x, ulong3 y); |
| 9559 | long4 __ovld __cnfn max(long4 x, long4 y); |
| 9560 | ulong4 __ovld __cnfn max(ulong4 x, ulong4 y); |
| 9561 | long8 __ovld __cnfn max(long8 x, long8 y); |
| 9562 | ulong8 __ovld __cnfn max(ulong8 x, ulong8 y); |
| 9563 | long16 __ovld __cnfn max(long16 x, long16 y); |
| 9564 | ulong16 __ovld __cnfn max(ulong16 x, ulong16 y); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9565 | char2 __ovld __cnfn max(char2 x, char y); |
| 9566 | uchar2 __ovld __cnfn max(uchar2 x, uchar y); |
| 9567 | char3 __ovld __cnfn max(char3 x, char y); |
| 9568 | uchar3 __ovld __cnfn max(uchar3 x, uchar y); |
| 9569 | char4 __ovld __cnfn max(char4 x, char y); |
| 9570 | uchar4 __ovld __cnfn max(uchar4 x, uchar y); |
| 9571 | char8 __ovld __cnfn max(char8 x, char y); |
| 9572 | uchar8 __ovld __cnfn max(uchar8 x, uchar y); |
| 9573 | char16 __ovld __cnfn max(char16 x, char y); |
| 9574 | uchar16 __ovld __cnfn max(uchar16 x, uchar y); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9575 | short2 __ovld __cnfn max(short2 x, short y); |
| 9576 | ushort2 __ovld __cnfn max(ushort2 x, ushort y); |
| 9577 | short3 __ovld __cnfn max(short3 x, short y); |
| 9578 | ushort3 __ovld __cnfn max(ushort3 x, ushort y); |
| 9579 | short4 __ovld __cnfn max(short4 x, short y); |
| 9580 | ushort4 __ovld __cnfn max(ushort4 x, ushort y); |
| 9581 | short8 __ovld __cnfn max(short8 x, short y); |
| 9582 | ushort8 __ovld __cnfn max(ushort8 x, ushort y); |
| 9583 | short16 __ovld __cnfn max(short16 x, short y); |
| 9584 | ushort16 __ovld __cnfn max(ushort16 x, ushort y); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9585 | int2 __ovld __cnfn max(int2 x, int y); |
| 9586 | uint2 __ovld __cnfn max(uint2 x, uint y); |
| 9587 | int3 __ovld __cnfn max(int3 x, int y); |
| 9588 | uint3 __ovld __cnfn max(uint3 x, uint y); |
| 9589 | int4 __ovld __cnfn max(int4 x, int y); |
| 9590 | uint4 __ovld __cnfn max(uint4 x, uint y); |
| 9591 | int8 __ovld __cnfn max(int8 x, int y); |
| 9592 | uint8 __ovld __cnfn max(uint8 x, uint y); |
| 9593 | int16 __ovld __cnfn max(int16 x, int y); |
| 9594 | uint16 __ovld __cnfn max(uint16 x, uint y); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9595 | long2 __ovld __cnfn max(long2 x, long y); |
| 9596 | ulong2 __ovld __cnfn max(ulong2 x, ulong y); |
| 9597 | long3 __ovld __cnfn max(long3 x, long y); |
| 9598 | ulong3 __ovld __cnfn max(ulong3 x, ulong y); |
| 9599 | long4 __ovld __cnfn max(long4 x, long y); |
| 9600 | ulong4 __ovld __cnfn max(ulong4 x, ulong y); |
| 9601 | long8 __ovld __cnfn max(long8 x, long y); |
| 9602 | ulong8 __ovld __cnfn max(ulong8 x, ulong y); |
| 9603 | long16 __ovld __cnfn max(long16 x, long y); |
| 9604 | ulong16 __ovld __cnfn max(ulong16 x, ulong y); |
| 9605 | |
| 9606 | /** |
| 9607 | * Returns y if y < x, otherwise it returns x. |
| 9608 | */ |
| 9609 | char __ovld __cnfn min(char x, char y); |
| 9610 | uchar __ovld __cnfn min(uchar x, uchar y); |
| 9611 | char2 __ovld __cnfn min(char2 x, char2 y); |
| 9612 | uchar2 __ovld __cnfn min(uchar2 x, uchar2 y); |
| 9613 | char3 __ovld __cnfn min(char3 x, char3 y); |
| 9614 | uchar3 __ovld __cnfn min(uchar3 x, uchar3 y); |
| 9615 | char4 __ovld __cnfn min(char4 x, char4 y); |
| 9616 | uchar4 __ovld __cnfn min(uchar4 x, uchar4 y); |
| 9617 | char8 __ovld __cnfn min(char8 x, char8 y); |
| 9618 | uchar8 __ovld __cnfn min(uchar8 x, uchar8 y); |
| 9619 | char16 __ovld __cnfn min(char16 x, char16 y); |
| 9620 | uchar16 __ovld __cnfn min(uchar16 x, uchar16 y); |
| 9621 | short __ovld __cnfn min(short x, short y); |
| 9622 | ushort __ovld __cnfn min(ushort x, ushort y); |
| 9623 | short2 __ovld __cnfn min(short2 x, short2 y); |
| 9624 | ushort2 __ovld __cnfn min(ushort2 x, ushort2 y); |
| 9625 | short3 __ovld __cnfn min(short3 x, short3 y); |
| 9626 | ushort3 __ovld __cnfn min(ushort3 x, ushort3 y); |
| 9627 | short4 __ovld __cnfn min(short4 x, short4 y); |
| 9628 | ushort4 __ovld __cnfn min(ushort4 x, ushort4 y); |
| 9629 | short8 __ovld __cnfn min(short8 x, short8 y); |
| 9630 | ushort8 __ovld __cnfn min(ushort8 x, ushort8 y); |
| 9631 | short16 __ovld __cnfn min(short16 x, short16 y); |
| 9632 | ushort16 __ovld __cnfn min(ushort16 x, ushort16 y); |
| 9633 | int __ovld __cnfn min(int x, int y); |
| 9634 | uint __ovld __cnfn min(uint x, uint y); |
| 9635 | int2 __ovld __cnfn min(int2 x, int2 y); |
| 9636 | uint2 __ovld __cnfn min(uint2 x, uint2 y); |
| 9637 | int3 __ovld __cnfn min(int3 x, int3 y); |
| 9638 | uint3 __ovld __cnfn min(uint3 x, uint3 y); |
| 9639 | int4 __ovld __cnfn min(int4 x, int4 y); |
| 9640 | uint4 __ovld __cnfn min(uint4 x, uint4 y); |
| 9641 | int8 __ovld __cnfn min(int8 x, int8 y); |
| 9642 | uint8 __ovld __cnfn min(uint8 x, uint8 y); |
| 9643 | int16 __ovld __cnfn min(int16 x, int16 y); |
| 9644 | uint16 __ovld __cnfn min(uint16 x, uint16 y); |
| 9645 | long __ovld __cnfn min(long x, long y); |
| 9646 | ulong __ovld __cnfn min(ulong x, ulong y); |
| 9647 | long2 __ovld __cnfn min(long2 x, long2 y); |
| 9648 | ulong2 __ovld __cnfn min(ulong2 x, ulong2 y); |
| 9649 | long3 __ovld __cnfn min(long3 x, long3 y); |
| 9650 | ulong3 __ovld __cnfn min(ulong3 x, ulong3 y); |
| 9651 | long4 __ovld __cnfn min(long4 x, long4 y); |
| 9652 | ulong4 __ovld __cnfn min(ulong4 x, ulong4 y); |
| 9653 | long8 __ovld __cnfn min(long8 x, long8 y); |
| 9654 | ulong8 __ovld __cnfn min(ulong8 x, ulong8 y); |
| 9655 | long16 __ovld __cnfn min(long16 x, long16 y); |
| 9656 | ulong16 __ovld __cnfn min(ulong16 x, ulong16 y); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9657 | char2 __ovld __cnfn min(char2 x, char y); |
| 9658 | uchar2 __ovld __cnfn min(uchar2 x, uchar y); |
| 9659 | char3 __ovld __cnfn min(char3 x, char y); |
| 9660 | uchar3 __ovld __cnfn min(uchar3 x, uchar y); |
| 9661 | char4 __ovld __cnfn min(char4 x, char y); |
| 9662 | uchar4 __ovld __cnfn min(uchar4 x, uchar y); |
| 9663 | char8 __ovld __cnfn min(char8 x, char y); |
| 9664 | uchar8 __ovld __cnfn min(uchar8 x, uchar y); |
| 9665 | char16 __ovld __cnfn min(char16 x, char y); |
| 9666 | uchar16 __ovld __cnfn min(uchar16 x, uchar y); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9667 | short2 __ovld __cnfn min(short2 x, short y); |
| 9668 | ushort2 __ovld __cnfn min(ushort2 x, ushort y); |
| 9669 | short3 __ovld __cnfn min(short3 x, short y); |
| 9670 | ushort3 __ovld __cnfn min(ushort3 x, ushort y); |
| 9671 | short4 __ovld __cnfn min(short4 x, short y); |
| 9672 | ushort4 __ovld __cnfn min(ushort4 x, ushort y); |
| 9673 | short8 __ovld __cnfn min(short8 x, short y); |
| 9674 | ushort8 __ovld __cnfn min(ushort8 x, ushort y); |
| 9675 | short16 __ovld __cnfn min(short16 x, short y); |
| 9676 | ushort16 __ovld __cnfn min(ushort16 x, ushort y); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9677 | int2 __ovld __cnfn min(int2 x, int y); |
| 9678 | uint2 __ovld __cnfn min(uint2 x, uint y); |
| 9679 | int3 __ovld __cnfn min(int3 x, int y); |
| 9680 | uint3 __ovld __cnfn min(uint3 x, uint y); |
| 9681 | int4 __ovld __cnfn min(int4 x, int y); |
| 9682 | uint4 __ovld __cnfn min(uint4 x, uint y); |
| 9683 | int8 __ovld __cnfn min(int8 x, int y); |
| 9684 | uint8 __ovld __cnfn min(uint8 x, uint y); |
| 9685 | int16 __ovld __cnfn min(int16 x, int y); |
| 9686 | uint16 __ovld __cnfn min(uint16 x, uint y); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9687 | long2 __ovld __cnfn min(long2 x, long y); |
| 9688 | ulong2 __ovld __cnfn min(ulong2 x, ulong y); |
| 9689 | long3 __ovld __cnfn min(long3 x, long y); |
| 9690 | ulong3 __ovld __cnfn min(ulong3 x, ulong y); |
| 9691 | long4 __ovld __cnfn min(long4 x, long y); |
| 9692 | ulong4 __ovld __cnfn min(ulong4 x, ulong y); |
| 9693 | long8 __ovld __cnfn min(long8 x, long y); |
| 9694 | ulong8 __ovld __cnfn min(ulong8 x, ulong y); |
| 9695 | long16 __ovld __cnfn min(long16 x, long y); |
| 9696 | ulong16 __ovld __cnfn min(ulong16 x, ulong y); |
| 9697 | |
| 9698 | /** |
| 9699 | * Computes x * y and returns the high half of the |
| 9700 | * product of x and y. |
| 9701 | */ |
| 9702 | char __ovld __cnfn mul_hi(char x, char y); |
| 9703 | uchar __ovld __cnfn mul_hi(uchar x, uchar y); |
| 9704 | char2 __ovld __cnfn mul_hi(char2 x, char2 y); |
| 9705 | uchar2 __ovld __cnfn mul_hi(uchar2 x, uchar2 y); |
| 9706 | char3 __ovld __cnfn mul_hi(char3 x, char3 y); |
| 9707 | uchar3 __ovld __cnfn mul_hi(uchar3 x, uchar3 y); |
| 9708 | char4 __ovld __cnfn mul_hi(char4 x, char4 y); |
| 9709 | uchar4 __ovld __cnfn mul_hi(uchar4 x, uchar4 y); |
| 9710 | char8 __ovld __cnfn mul_hi(char8 x, char8 y); |
| 9711 | uchar8 __ovld __cnfn mul_hi(uchar8 x, uchar8 y); |
| 9712 | char16 __ovld __cnfn mul_hi(char16 x, char16 y); |
| 9713 | uchar16 __ovld __cnfn mul_hi(uchar16 x, uchar16 y); |
| 9714 | short __ovld __cnfn mul_hi(short x, short y); |
| 9715 | ushort __ovld __cnfn mul_hi(ushort x, ushort y); |
| 9716 | short2 __ovld __cnfn mul_hi(short2 x, short2 y); |
| 9717 | ushort2 __ovld __cnfn mul_hi(ushort2 x, ushort2 y); |
| 9718 | short3 __ovld __cnfn mul_hi(short3 x, short3 y); |
| 9719 | ushort3 __ovld __cnfn mul_hi(ushort3 x, ushort3 y); |
| 9720 | short4 __ovld __cnfn mul_hi(short4 x, short4 y); |
| 9721 | ushort4 __ovld __cnfn mul_hi(ushort4 x, ushort4 y); |
| 9722 | short8 __ovld __cnfn mul_hi(short8 x, short8 y); |
| 9723 | ushort8 __ovld __cnfn mul_hi(ushort8 x, ushort8 y); |
| 9724 | short16 __ovld __cnfn mul_hi(short16 x, short16 y); |
| 9725 | ushort16 __ovld __cnfn mul_hi(ushort16 x, ushort16 y); |
| 9726 | int __ovld __cnfn mul_hi(int x, int y); |
| 9727 | uint __ovld __cnfn mul_hi(uint x, uint y); |
| 9728 | int2 __ovld __cnfn mul_hi(int2 x, int2 y); |
| 9729 | uint2 __ovld __cnfn mul_hi(uint2 x, uint2 y); |
| 9730 | int3 __ovld __cnfn mul_hi(int3 x, int3 y); |
| 9731 | uint3 __ovld __cnfn mul_hi(uint3 x, uint3 y); |
| 9732 | int4 __ovld __cnfn mul_hi(int4 x, int4 y); |
| 9733 | uint4 __ovld __cnfn mul_hi(uint4 x, uint4 y); |
| 9734 | int8 __ovld __cnfn mul_hi(int8 x, int8 y); |
| 9735 | uint8 __ovld __cnfn mul_hi(uint8 x, uint8 y); |
| 9736 | int16 __ovld __cnfn mul_hi(int16 x, int16 y); |
| 9737 | uint16 __ovld __cnfn mul_hi(uint16 x, uint16 y); |
| 9738 | long __ovld __cnfn mul_hi(long x, long y); |
| 9739 | ulong __ovld __cnfn mul_hi(ulong x, ulong y); |
| 9740 | long2 __ovld __cnfn mul_hi(long2 x, long2 y); |
| 9741 | ulong2 __ovld __cnfn mul_hi(ulong2 x, ulong2 y); |
| 9742 | long3 __ovld __cnfn mul_hi(long3 x, long3 y); |
| 9743 | ulong3 __ovld __cnfn mul_hi(ulong3 x, ulong3 y); |
| 9744 | long4 __ovld __cnfn mul_hi(long4 x, long4 y); |
| 9745 | ulong4 __ovld __cnfn mul_hi(ulong4 x, ulong4 y); |
| 9746 | long8 __ovld __cnfn mul_hi(long8 x, long8 y); |
| 9747 | ulong8 __ovld __cnfn mul_hi(ulong8 x, ulong8 y); |
| 9748 | long16 __ovld __cnfn mul_hi(long16 x, long16 y); |
| 9749 | ulong16 __ovld __cnfn mul_hi(ulong16 x, ulong16 y); |
| 9750 | |
| 9751 | /** |
| 9752 | * For each element in v, the bits are shifted left by |
| 9753 | * the number of bits given by the corresponding |
| 9754 | * element in i (subject to usual shift modulo rules |
| 9755 | * described in section 6.3). Bits shifted off the left |
| 9756 | * side of the element are shifted back in from the |
| 9757 | * right. |
| 9758 | */ |
| 9759 | char __ovld __cnfn rotate(char v, char i); |
| 9760 | uchar __ovld __cnfn rotate(uchar v, uchar i); |
| 9761 | char2 __ovld __cnfn rotate(char2 v, char2 i); |
| 9762 | uchar2 __ovld __cnfn rotate(uchar2 v, uchar2 i); |
| 9763 | char3 __ovld __cnfn rotate(char3 v, char3 i); |
| 9764 | uchar3 __ovld __cnfn rotate(uchar3 v, uchar3 i); |
| 9765 | char4 __ovld __cnfn rotate(char4 v, char4 i); |
| 9766 | uchar4 __ovld __cnfn rotate(uchar4 v, uchar4 i); |
| 9767 | char8 __ovld __cnfn rotate(char8 v, char8 i); |
| 9768 | uchar8 __ovld __cnfn rotate(uchar8 v, uchar8 i); |
| 9769 | char16 __ovld __cnfn rotate(char16 v, char16 i); |
| 9770 | uchar16 __ovld __cnfn rotate(uchar16 v, uchar16 i); |
| 9771 | short __ovld __cnfn rotate(short v, short i); |
| 9772 | ushort __ovld __cnfn rotate(ushort v, ushort i); |
| 9773 | short2 __ovld __cnfn rotate(short2 v, short2 i); |
| 9774 | ushort2 __ovld __cnfn rotate(ushort2 v, ushort2 i); |
| 9775 | short3 __ovld __cnfn rotate(short3 v, short3 i); |
| 9776 | ushort3 __ovld __cnfn rotate(ushort3 v, ushort3 i); |
| 9777 | short4 __ovld __cnfn rotate(short4 v, short4 i); |
| 9778 | ushort4 __ovld __cnfn rotate(ushort4 v, ushort4 i); |
| 9779 | short8 __ovld __cnfn rotate(short8 v, short8 i); |
| 9780 | ushort8 __ovld __cnfn rotate(ushort8 v, ushort8 i); |
| 9781 | short16 __ovld __cnfn rotate(short16 v, short16 i); |
| 9782 | ushort16 __ovld __cnfn rotate(ushort16 v, ushort16 i); |
| 9783 | int __ovld __cnfn rotate(int v, int i); |
| 9784 | uint __ovld __cnfn rotate(uint v, uint i); |
| 9785 | int2 __ovld __cnfn rotate(int2 v, int2 i); |
| 9786 | uint2 __ovld __cnfn rotate(uint2 v, uint2 i); |
| 9787 | int3 __ovld __cnfn rotate(int3 v, int3 i); |
| 9788 | uint3 __ovld __cnfn rotate(uint3 v, uint3 i); |
| 9789 | int4 __ovld __cnfn rotate(int4 v, int4 i); |
| 9790 | uint4 __ovld __cnfn rotate(uint4 v, uint4 i); |
| 9791 | int8 __ovld __cnfn rotate(int8 v, int8 i); |
| 9792 | uint8 __ovld __cnfn rotate(uint8 v, uint8 i); |
| 9793 | int16 __ovld __cnfn rotate(int16 v, int16 i); |
| 9794 | uint16 __ovld __cnfn rotate(uint16 v, uint16 i); |
| 9795 | long __ovld __cnfn rotate(long v, long i); |
| 9796 | ulong __ovld __cnfn rotate(ulong v, ulong i); |
| 9797 | long2 __ovld __cnfn rotate(long2 v, long2 i); |
| 9798 | ulong2 __ovld __cnfn rotate(ulong2 v, ulong2 i); |
| 9799 | long3 __ovld __cnfn rotate(long3 v, long3 i); |
| 9800 | ulong3 __ovld __cnfn rotate(ulong3 v, ulong3 i); |
| 9801 | long4 __ovld __cnfn rotate(long4 v, long4 i); |
| 9802 | ulong4 __ovld __cnfn rotate(ulong4 v, ulong4 i); |
| 9803 | long8 __ovld __cnfn rotate(long8 v, long8 i); |
| 9804 | ulong8 __ovld __cnfn rotate(ulong8 v, ulong8 i); |
| 9805 | long16 __ovld __cnfn rotate(long16 v, long16 i); |
| 9806 | ulong16 __ovld __cnfn rotate(ulong16 v, ulong16 i); |
| 9807 | |
| 9808 | /** |
| 9809 | * Returns x - y and saturates the result. |
| 9810 | */ |
| 9811 | char __ovld __cnfn sub_sat(char x, char y); |
| 9812 | uchar __ovld __cnfn sub_sat(uchar x, uchar y); |
| 9813 | char2 __ovld __cnfn sub_sat(char2 x, char2 y); |
| 9814 | uchar2 __ovld __cnfn sub_sat(uchar2 x, uchar2 y); |
| 9815 | char3 __ovld __cnfn sub_sat(char3 x, char3 y); |
| 9816 | uchar3 __ovld __cnfn sub_sat(uchar3 x, uchar3 y); |
| 9817 | char4 __ovld __cnfn sub_sat(char4 x, char4 y); |
| 9818 | uchar4 __ovld __cnfn sub_sat(uchar4 x, uchar4 y); |
| 9819 | char8 __ovld __cnfn sub_sat(char8 x, char8 y); |
| 9820 | uchar8 __ovld __cnfn sub_sat(uchar8 x, uchar8 y); |
| 9821 | char16 __ovld __cnfn sub_sat(char16 x, char16 y); |
| 9822 | uchar16 __ovld __cnfn sub_sat(uchar16 x, uchar16 y); |
| 9823 | short __ovld __cnfn sub_sat(short x, short y); |
| 9824 | ushort __ovld __cnfn sub_sat(ushort x, ushort y); |
| 9825 | short2 __ovld __cnfn sub_sat(short2 x, short2 y); |
| 9826 | ushort2 __ovld __cnfn sub_sat(ushort2 x, ushort2 y); |
| 9827 | short3 __ovld __cnfn sub_sat(short3 x, short3 y); |
| 9828 | ushort3 __ovld __cnfn sub_sat(ushort3 x, ushort3 y); |
| 9829 | short4 __ovld __cnfn sub_sat(short4 x, short4 y); |
| 9830 | ushort4 __ovld __cnfn sub_sat(ushort4 x, ushort4 y); |
| 9831 | short8 __ovld __cnfn sub_sat(short8 x, short8 y); |
| 9832 | ushort8 __ovld __cnfn sub_sat(ushort8 x, ushort8 y); |
| 9833 | short16 __ovld __cnfn sub_sat(short16 x, short16 y); |
| 9834 | ushort16 __ovld __cnfn sub_sat(ushort16 x, ushort16 y); |
| 9835 | int __ovld __cnfn sub_sat(int x, int y); |
| 9836 | uint __ovld __cnfn sub_sat(uint x, uint y); |
| 9837 | int2 __ovld __cnfn sub_sat(int2 x, int2 y); |
| 9838 | uint2 __ovld __cnfn sub_sat(uint2 x, uint2 y); |
| 9839 | int3 __ovld __cnfn sub_sat(int3 x, int3 y); |
| 9840 | uint3 __ovld __cnfn sub_sat(uint3 x, uint3 y); |
| 9841 | int4 __ovld __cnfn sub_sat(int4 x, int4 y); |
| 9842 | uint4 __ovld __cnfn sub_sat(uint4 x, uint4 y); |
| 9843 | int8 __ovld __cnfn sub_sat(int8 x, int8 y); |
| 9844 | uint8 __ovld __cnfn sub_sat(uint8 x, uint8 y); |
| 9845 | int16 __ovld __cnfn sub_sat(int16 x, int16 y); |
| 9846 | uint16 __ovld __cnfn sub_sat(uint16 x, uint16 y); |
| 9847 | long __ovld __cnfn sub_sat(long x, long y); |
| 9848 | ulong __ovld __cnfn sub_sat(ulong x, ulong y); |
| 9849 | long2 __ovld __cnfn sub_sat(long2 x, long2 y); |
| 9850 | ulong2 __ovld __cnfn sub_sat(ulong2 x, ulong2 y); |
| 9851 | long3 __ovld __cnfn sub_sat(long3 x, long3 y); |
| 9852 | ulong3 __ovld __cnfn sub_sat(ulong3 x, ulong3 y); |
| 9853 | long4 __ovld __cnfn sub_sat(long4 x, long4 y); |
| 9854 | ulong4 __ovld __cnfn sub_sat(ulong4 x, ulong4 y); |
| 9855 | long8 __ovld __cnfn sub_sat(long8 x, long8 y); |
| 9856 | ulong8 __ovld __cnfn sub_sat(ulong8 x, ulong8 y); |
| 9857 | long16 __ovld __cnfn sub_sat(long16 x, long16 y); |
| 9858 | ulong16 __ovld __cnfn sub_sat(ulong16 x, ulong16 y); |
| 9859 | |
| 9860 | /** |
| 9861 | * result[i] = ((short)hi[i] << 8) | lo[i] |
| 9862 | * result[i] = ((ushort)hi[i] << 8) | lo[i] |
| 9863 | */ |
| 9864 | short __ovld __cnfn upsample(char hi, uchar lo); |
| 9865 | ushort __ovld __cnfn upsample(uchar hi, uchar lo); |
| 9866 | short2 __ovld __cnfn upsample(char2 hi, uchar2 lo); |
| 9867 | short3 __ovld __cnfn upsample(char3 hi, uchar3 lo); |
| 9868 | short4 __ovld __cnfn upsample(char4 hi, uchar4 lo); |
| 9869 | short8 __ovld __cnfn upsample(char8 hi, uchar8 lo); |
| 9870 | short16 __ovld __cnfn upsample(char16 hi, uchar16 lo); |
| 9871 | ushort2 __ovld __cnfn upsample(uchar2 hi, uchar2 lo); |
| 9872 | ushort3 __ovld __cnfn upsample(uchar3 hi, uchar3 lo); |
| 9873 | ushort4 __ovld __cnfn upsample(uchar4 hi, uchar4 lo); |
| 9874 | ushort8 __ovld __cnfn upsample(uchar8 hi, uchar8 lo); |
| 9875 | ushort16 __ovld __cnfn upsample(uchar16 hi, uchar16 lo); |
| 9876 | |
| 9877 | /** |
| 9878 | * result[i] = ((int)hi[i] << 16) | lo[i] |
| 9879 | * result[i] = ((uint)hi[i] << 16) | lo[i] |
| 9880 | */ |
| 9881 | int __ovld __cnfn upsample(short hi, ushort lo); |
| 9882 | uint __ovld __cnfn upsample(ushort hi, ushort lo); |
| 9883 | int2 __ovld __cnfn upsample(short2 hi, ushort2 lo); |
| 9884 | int3 __ovld __cnfn upsample(short3 hi, ushort3 lo); |
| 9885 | int4 __ovld __cnfn upsample(short4 hi, ushort4 lo); |
| 9886 | int8 __ovld __cnfn upsample(short8 hi, ushort8 lo); |
| 9887 | int16 __ovld __cnfn upsample(short16 hi, ushort16 lo); |
| 9888 | uint2 __ovld __cnfn upsample(ushort2 hi, ushort2 lo); |
| 9889 | uint3 __ovld __cnfn upsample(ushort3 hi, ushort3 lo); |
| 9890 | uint4 __ovld __cnfn upsample(ushort4 hi, ushort4 lo); |
| 9891 | uint8 __ovld __cnfn upsample(ushort8 hi, ushort8 lo); |
| 9892 | uint16 __ovld __cnfn upsample(ushort16 hi, ushort16 lo); |
| 9893 | /** |
| 9894 | * result[i] = ((long)hi[i] << 32) | lo[i] |
| 9895 | * result[i] = ((ulong)hi[i] << 32) | lo[i] |
| 9896 | */ |
| 9897 | long __ovld __cnfn upsample(int hi, uint lo); |
| 9898 | ulong __ovld __cnfn upsample(uint hi, uint lo); |
| 9899 | long2 __ovld __cnfn upsample(int2 hi, uint2 lo); |
| 9900 | long3 __ovld __cnfn upsample(int3 hi, uint3 lo); |
| 9901 | long4 __ovld __cnfn upsample(int4 hi, uint4 lo); |
| 9902 | long8 __ovld __cnfn upsample(int8 hi, uint8 lo); |
| 9903 | long16 __ovld __cnfn upsample(int16 hi, uint16 lo); |
| 9904 | ulong2 __ovld __cnfn upsample(uint2 hi, uint2 lo); |
| 9905 | ulong3 __ovld __cnfn upsample(uint3 hi, uint3 lo); |
| 9906 | ulong4 __ovld __cnfn upsample(uint4 hi, uint4 lo); |
| 9907 | ulong8 __ovld __cnfn upsample(uint8 hi, uint8 lo); |
| 9908 | ulong16 __ovld __cnfn upsample(uint16 hi, uint16 lo); |
| 9909 | |
| 9910 | /* |
| 9911 | * popcount(x): returns the number of set bit in x |
| 9912 | */ |
Pirama Arumuga Nainar | 7e1f839 | 2021-08-16 17:30:48 -0700 | [diff] [blame] | 9913 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9914 | char __ovld __cnfn popcount(char x); |
| 9915 | uchar __ovld __cnfn popcount(uchar x); |
| 9916 | char2 __ovld __cnfn popcount(char2 x); |
| 9917 | uchar2 __ovld __cnfn popcount(uchar2 x); |
| 9918 | char3 __ovld __cnfn popcount(char3 x); |
| 9919 | uchar3 __ovld __cnfn popcount(uchar3 x); |
| 9920 | char4 __ovld __cnfn popcount(char4 x); |
| 9921 | uchar4 __ovld __cnfn popcount(uchar4 x); |
| 9922 | char8 __ovld __cnfn popcount(char8 x); |
| 9923 | uchar8 __ovld __cnfn popcount(uchar8 x); |
| 9924 | char16 __ovld __cnfn popcount(char16 x); |
| 9925 | uchar16 __ovld __cnfn popcount(uchar16 x); |
| 9926 | short __ovld __cnfn popcount(short x); |
| 9927 | ushort __ovld __cnfn popcount(ushort x); |
| 9928 | short2 __ovld __cnfn popcount(short2 x); |
| 9929 | ushort2 __ovld __cnfn popcount(ushort2 x); |
| 9930 | short3 __ovld __cnfn popcount(short3 x); |
| 9931 | ushort3 __ovld __cnfn popcount(ushort3 x); |
| 9932 | short4 __ovld __cnfn popcount(short4 x); |
| 9933 | ushort4 __ovld __cnfn popcount(ushort4 x); |
| 9934 | short8 __ovld __cnfn popcount(short8 x); |
| 9935 | ushort8 __ovld __cnfn popcount(ushort8 x); |
| 9936 | short16 __ovld __cnfn popcount(short16 x); |
| 9937 | ushort16 __ovld __cnfn popcount(ushort16 x); |
| 9938 | int __ovld __cnfn popcount(int x); |
| 9939 | uint __ovld __cnfn popcount(uint x); |
| 9940 | int2 __ovld __cnfn popcount(int2 x); |
| 9941 | uint2 __ovld __cnfn popcount(uint2 x); |
| 9942 | int3 __ovld __cnfn popcount(int3 x); |
| 9943 | uint3 __ovld __cnfn popcount(uint3 x); |
| 9944 | int4 __ovld __cnfn popcount(int4 x); |
| 9945 | uint4 __ovld __cnfn popcount(uint4 x); |
| 9946 | int8 __ovld __cnfn popcount(int8 x); |
| 9947 | uint8 __ovld __cnfn popcount(uint8 x); |
| 9948 | int16 __ovld __cnfn popcount(int16 x); |
| 9949 | uint16 __ovld __cnfn popcount(uint16 x); |
| 9950 | long __ovld __cnfn popcount(long x); |
| 9951 | ulong __ovld __cnfn popcount(ulong x); |
| 9952 | long2 __ovld __cnfn popcount(long2 x); |
| 9953 | ulong2 __ovld __cnfn popcount(ulong2 x); |
| 9954 | long3 __ovld __cnfn popcount(long3 x); |
| 9955 | ulong3 __ovld __cnfn popcount(ulong3 x); |
| 9956 | long4 __ovld __cnfn popcount(long4 x); |
| 9957 | ulong4 __ovld __cnfn popcount(ulong4 x); |
| 9958 | long8 __ovld __cnfn popcount(long8 x); |
| 9959 | ulong8 __ovld __cnfn popcount(ulong8 x); |
| 9960 | long16 __ovld __cnfn popcount(long16 x); |
| 9961 | ulong16 __ovld __cnfn popcount(ulong16 x); |
Pirama Arumuga Nainar | 7e1f839 | 2021-08-16 17:30:48 -0700 | [diff] [blame] | 9962 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 9963 | |
| 9964 | /** |
| 9965 | * Multiply two 24-bit integer values x and y and add |
| 9966 | * the 32-bit integer result to the 32-bit integer z. |
| 9967 | * Refer to definition of mul24 to see how the 24-bit |
| 9968 | * integer multiplication is performed. |
| 9969 | */ |
| 9970 | int __ovld __cnfn mad24(int x, int y, int z); |
| 9971 | uint __ovld __cnfn mad24(uint x, uint y, uint z); |
| 9972 | int2 __ovld __cnfn mad24(int2 x, int2 y, int2 z); |
| 9973 | uint2 __ovld __cnfn mad24(uint2 x, uint2 y, uint2 z); |
| 9974 | int3 __ovld __cnfn mad24(int3 x, int3 y, int3 z); |
| 9975 | uint3 __ovld __cnfn mad24(uint3 x, uint3 y, uint3 z); |
| 9976 | int4 __ovld __cnfn mad24(int4 x, int4 y, int4 z); |
| 9977 | uint4 __ovld __cnfn mad24(uint4 x, uint4 y, uint4 z); |
| 9978 | int8 __ovld __cnfn mad24(int8 x, int8 y, int8 z); |
| 9979 | uint8 __ovld __cnfn mad24(uint8 x, uint8 y, uint8 z); |
| 9980 | int16 __ovld __cnfn mad24(int16 x, int16 y, int16 z); |
| 9981 | uint16 __ovld __cnfn mad24(uint16 x, uint16 y, uint16 z); |
| 9982 | |
| 9983 | /** |
| 9984 | * Multiply two 24-bit integer values x and y. x and y |
| 9985 | * are 32-bit integers but only the low 24-bits are used |
| 9986 | * to perform the multiplication. mul24 should only |
| 9987 | * be used when values in x and y are in the range [- |
| 9988 | * 2^23, 2^23-1] if x and y are signed integers and in the |
| 9989 | * range [0, 2^24-1] if x and y are unsigned integers. If |
| 9990 | * x and y are not in this range, the multiplication |
| 9991 | * result is implementation-defined. |
| 9992 | */ |
| 9993 | int __ovld __cnfn mul24(int x, int y); |
| 9994 | uint __ovld __cnfn mul24(uint x, uint y); |
| 9995 | int2 __ovld __cnfn mul24(int2 x, int2 y); |
| 9996 | uint2 __ovld __cnfn mul24(uint2 x, uint2 y); |
| 9997 | int3 __ovld __cnfn mul24(int3 x, int3 y); |
| 9998 | uint3 __ovld __cnfn mul24(uint3 x, uint3 y); |
| 9999 | int4 __ovld __cnfn mul24(int4 x, int4 y); |
| 10000 | uint4 __ovld __cnfn mul24(uint4 x, uint4 y); |
| 10001 | int8 __ovld __cnfn mul24(int8 x, int8 y); |
| 10002 | uint8 __ovld __cnfn mul24(uint8 x, uint8 y); |
| 10003 | int16 __ovld __cnfn mul24(int16 x, int16 y); |
| 10004 | uint16 __ovld __cnfn mul24(uint16 x, uint16 y); |
| 10005 | |
| 10006 | // OpenCL v1.1 s6.11.4, v1.2 s6.12.4, v2.0 s6.13.4 - Common Functions |
| 10007 | |
| 10008 | /** |
| 10009 | * Returns fmin(fmax(x, minval), maxval). |
| 10010 | * Results are undefined if minval > maxval. |
| 10011 | */ |
| 10012 | float __ovld __cnfn clamp(float x, float minval, float maxval); |
| 10013 | float2 __ovld __cnfn clamp(float2 x, float2 minval, float2 maxval); |
| 10014 | float3 __ovld __cnfn clamp(float3 x, float3 minval, float3 maxval); |
| 10015 | float4 __ovld __cnfn clamp(float4 x, float4 minval, float4 maxval); |
| 10016 | float8 __ovld __cnfn clamp(float8 x, float8 minval, float8 maxval); |
| 10017 | float16 __ovld __cnfn clamp(float16 x, float16 minval, float16 maxval); |
| 10018 | float2 __ovld __cnfn clamp(float2 x, float minval, float maxval); |
| 10019 | float3 __ovld __cnfn clamp(float3 x, float minval, float maxval); |
| 10020 | float4 __ovld __cnfn clamp(float4 x, float minval, float maxval); |
| 10021 | float8 __ovld __cnfn clamp(float8 x, float minval, float maxval); |
| 10022 | float16 __ovld __cnfn clamp(float16 x, float minval, float maxval); |
| 10023 | #ifdef cl_khr_fp64 |
| 10024 | double __ovld __cnfn clamp(double x, double minval, double maxval); |
| 10025 | double2 __ovld __cnfn clamp(double2 x, double2 minval, double2 maxval); |
| 10026 | double3 __ovld __cnfn clamp(double3 x, double3 minval, double3 maxval); |
| 10027 | double4 __ovld __cnfn clamp(double4 x, double4 minval, double4 maxval); |
| 10028 | double8 __ovld __cnfn clamp(double8 x, double8 minval, double8 maxval); |
| 10029 | double16 __ovld __cnfn clamp(double16 x, double16 minval, double16 maxval); |
| 10030 | double2 __ovld __cnfn clamp(double2 x, double minval, double maxval); |
| 10031 | double3 __ovld __cnfn clamp(double3 x, double minval, double maxval); |
| 10032 | double4 __ovld __cnfn clamp(double4 x, double minval, double maxval); |
| 10033 | double8 __ovld __cnfn clamp(double8 x, double minval, double maxval); |
| 10034 | double16 __ovld __cnfn clamp(double16 x, double minval, double maxval); |
| 10035 | #endif //cl_khr_fp64 |
| 10036 | #ifdef cl_khr_fp16 |
| 10037 | half __ovld __cnfn clamp(half x, half minval, half maxval); |
| 10038 | half2 __ovld __cnfn clamp(half2 x, half2 minval, half2 maxval); |
| 10039 | half3 __ovld __cnfn clamp(half3 x, half3 minval, half3 maxval); |
| 10040 | half4 __ovld __cnfn clamp(half4 x, half4 minval, half4 maxval); |
| 10041 | half8 __ovld __cnfn clamp(half8 x, half8 minval, half8 maxval); |
| 10042 | half16 __ovld __cnfn clamp(half16 x, half16 minval, half16 maxval); |
| 10043 | half2 __ovld __cnfn clamp(half2 x, half minval, half maxval); |
| 10044 | half3 __ovld __cnfn clamp(half3 x, half minval, half maxval); |
| 10045 | half4 __ovld __cnfn clamp(half4 x, half minval, half maxval); |
| 10046 | half8 __ovld __cnfn clamp(half8 x, half minval, half maxval); |
| 10047 | half16 __ovld __cnfn clamp(half16 x, half minval, half maxval); |
| 10048 | #endif //cl_khr_fp16 |
| 10049 | |
| 10050 | /** |
| 10051 | * Converts radians to degrees, i.e. (180 / PI) * |
| 10052 | * radians. |
| 10053 | */ |
| 10054 | float __ovld __cnfn degrees(float radians); |
| 10055 | float2 __ovld __cnfn degrees(float2 radians); |
| 10056 | float3 __ovld __cnfn degrees(float3 radians); |
| 10057 | float4 __ovld __cnfn degrees(float4 radians); |
| 10058 | float8 __ovld __cnfn degrees(float8 radians); |
| 10059 | float16 __ovld __cnfn degrees(float16 radians); |
| 10060 | #ifdef cl_khr_fp64 |
| 10061 | double __ovld __cnfn degrees(double radians); |
| 10062 | double2 __ovld __cnfn degrees(double2 radians); |
| 10063 | double3 __ovld __cnfn degrees(double3 radians); |
| 10064 | double4 __ovld __cnfn degrees(double4 radians); |
| 10065 | double8 __ovld __cnfn degrees(double8 radians); |
| 10066 | double16 __ovld __cnfn degrees(double16 radians); |
| 10067 | #endif //cl_khr_fp64 |
| 10068 | #ifdef cl_khr_fp16 |
| 10069 | half __ovld __cnfn degrees(half radians); |
| 10070 | half2 __ovld __cnfn degrees(half2 radians); |
| 10071 | half3 __ovld __cnfn degrees(half3 radians); |
| 10072 | half4 __ovld __cnfn degrees(half4 radians); |
| 10073 | half8 __ovld __cnfn degrees(half8 radians); |
| 10074 | half16 __ovld __cnfn degrees(half16 radians); |
| 10075 | #endif //cl_khr_fp16 |
| 10076 | |
| 10077 | /** |
| 10078 | * Returns y if x < y, otherwise it returns x. If x and y |
| 10079 | * are infinite or NaN, the return values are undefined. |
| 10080 | */ |
| 10081 | float __ovld __cnfn max(float x, float y); |
| 10082 | float2 __ovld __cnfn max(float2 x, float2 y); |
| 10083 | float3 __ovld __cnfn max(float3 x, float3 y); |
| 10084 | float4 __ovld __cnfn max(float4 x, float4 y); |
| 10085 | float8 __ovld __cnfn max(float8 x, float8 y); |
| 10086 | float16 __ovld __cnfn max(float16 x, float16 y); |
| 10087 | float2 __ovld __cnfn max(float2 x, float y); |
| 10088 | float3 __ovld __cnfn max(float3 x, float y); |
| 10089 | float4 __ovld __cnfn max(float4 x, float y); |
| 10090 | float8 __ovld __cnfn max(float8 x, float y); |
| 10091 | float16 __ovld __cnfn max(float16 x, float y); |
| 10092 | #ifdef cl_khr_fp64 |
| 10093 | double __ovld __cnfn max(double x, double y); |
| 10094 | double2 __ovld __cnfn max(double2 x, double2 y); |
| 10095 | double3 __ovld __cnfn max(double3 x, double3 y); |
| 10096 | double4 __ovld __cnfn max(double4 x, double4 y); |
| 10097 | double8 __ovld __cnfn max(double8 x, double8 y); |
| 10098 | double16 __ovld __cnfn max(double16 x, double16 y); |
| 10099 | double2 __ovld __cnfn max(double2 x, double y); |
| 10100 | double3 __ovld __cnfn max(double3 x, double y); |
| 10101 | double4 __ovld __cnfn max(double4 x, double y); |
| 10102 | double8 __ovld __cnfn max(double8 x, double y); |
| 10103 | double16 __ovld __cnfn max(double16 x, double y); |
| 10104 | #endif //cl_khr_fp64 |
| 10105 | #ifdef cl_khr_fp16 |
| 10106 | half __ovld __cnfn max(half x, half y); |
| 10107 | half2 __ovld __cnfn max(half2 x, half2 y); |
| 10108 | half3 __ovld __cnfn max(half3 x, half3 y); |
| 10109 | half4 __ovld __cnfn max(half4 x, half4 y); |
| 10110 | half8 __ovld __cnfn max(half8 x, half8 y); |
| 10111 | half16 __ovld __cnfn max(half16 x, half16 y); |
| 10112 | half2 __ovld __cnfn max(half2 x, half y); |
| 10113 | half3 __ovld __cnfn max(half3 x, half y); |
| 10114 | half4 __ovld __cnfn max(half4 x, half y); |
| 10115 | half8 __ovld __cnfn max(half8 x, half y); |
| 10116 | half16 __ovld __cnfn max(half16 x, half y); |
| 10117 | #endif //cl_khr_fp16 |
| 10118 | |
| 10119 | /** |
| 10120 | * Returns y if y < x, otherwise it returns x. If x and y |
| 10121 | * are infinite or NaN, the return values are undefined. |
| 10122 | */ |
| 10123 | float __ovld __cnfn min(float x, float y); |
| 10124 | float2 __ovld __cnfn min(float2 x, float2 y); |
| 10125 | float3 __ovld __cnfn min(float3 x, float3 y); |
| 10126 | float4 __ovld __cnfn min(float4 x, float4 y); |
| 10127 | float8 __ovld __cnfn min(float8 x, float8 y); |
| 10128 | float16 __ovld __cnfn min(float16 x, float16 y); |
| 10129 | float2 __ovld __cnfn min(float2 x, float y); |
| 10130 | float3 __ovld __cnfn min(float3 x, float y); |
| 10131 | float4 __ovld __cnfn min(float4 x, float y); |
| 10132 | float8 __ovld __cnfn min(float8 x, float y); |
| 10133 | float16 __ovld __cnfn min(float16 x, float y); |
| 10134 | #ifdef cl_khr_fp64 |
| 10135 | double __ovld __cnfn min(double x, double y); |
| 10136 | double2 __ovld __cnfn min(double2 x, double2 y); |
| 10137 | double3 __ovld __cnfn min(double3 x, double3 y); |
| 10138 | double4 __ovld __cnfn min(double4 x, double4 y); |
| 10139 | double8 __ovld __cnfn min(double8 x, double8 y); |
| 10140 | double16 __ovld __cnfn min(double16 x, double16 y); |
| 10141 | double2 __ovld __cnfn min(double2 x, double y); |
| 10142 | double3 __ovld __cnfn min(double3 x, double y); |
| 10143 | double4 __ovld __cnfn min(double4 x, double y); |
| 10144 | double8 __ovld __cnfn min(double8 x, double y); |
| 10145 | double16 __ovld __cnfn min(double16 x, double y); |
| 10146 | #endif //cl_khr_fp64 |
| 10147 | #ifdef cl_khr_fp16 |
| 10148 | half __ovld __cnfn min(half x, half y); |
| 10149 | half2 __ovld __cnfn min(half2 x, half2 y); |
| 10150 | half3 __ovld __cnfn min(half3 x, half3 y); |
| 10151 | half4 __ovld __cnfn min(half4 x, half4 y); |
| 10152 | half8 __ovld __cnfn min(half8 x, half8 y); |
| 10153 | half16 __ovld __cnfn min(half16 x, half16 y); |
| 10154 | half2 __ovld __cnfn min(half2 x, half y); |
| 10155 | half3 __ovld __cnfn min(half3 x, half y); |
| 10156 | half4 __ovld __cnfn min(half4 x, half y); |
| 10157 | half8 __ovld __cnfn min(half8 x, half y); |
| 10158 | half16 __ovld __cnfn min(half16 x, half y); |
| 10159 | #endif //cl_khr_fp16 |
| 10160 | |
| 10161 | /** |
| 10162 | * Returns the linear blend of x & y implemented as: |
| 10163 | * x + (y - x) * a |
| 10164 | * a must be a value in the range 0.0 ... 1.0. If a is not |
| 10165 | * in the range 0.0 ... 1.0, the return values are |
| 10166 | * undefined. |
| 10167 | */ |
| 10168 | float __ovld __cnfn mix(float x, float y, float a); |
| 10169 | float2 __ovld __cnfn mix(float2 x, float2 y, float2 a); |
| 10170 | float3 __ovld __cnfn mix(float3 x, float3 y, float3 a); |
| 10171 | float4 __ovld __cnfn mix(float4 x, float4 y, float4 a); |
| 10172 | float8 __ovld __cnfn mix(float8 x, float8 y, float8 a); |
| 10173 | float16 __ovld __cnfn mix(float16 x, float16 y, float16 a); |
| 10174 | float2 __ovld __cnfn mix(float2 x, float2 y, float a); |
| 10175 | float3 __ovld __cnfn mix(float3 x, float3 y, float a); |
| 10176 | float4 __ovld __cnfn mix(float4 x, float4 y, float a); |
| 10177 | float8 __ovld __cnfn mix(float8 x, float8 y, float a); |
| 10178 | float16 __ovld __cnfn mix(float16 x, float16 y, float a); |
| 10179 | #ifdef cl_khr_fp64 |
| 10180 | double __ovld __cnfn mix(double x, double y, double a); |
| 10181 | double2 __ovld __cnfn mix(double2 x, double2 y, double2 a); |
| 10182 | double3 __ovld __cnfn mix(double3 x, double3 y, double3 a); |
| 10183 | double4 __ovld __cnfn mix(double4 x, double4 y, double4 a); |
| 10184 | double8 __ovld __cnfn mix(double8 x, double8 y, double8 a); |
| 10185 | double16 __ovld __cnfn mix(double16 x, double16 y, double16 a); |
| 10186 | double2 __ovld __cnfn mix(double2 x, double2 y, double a); |
| 10187 | double3 __ovld __cnfn mix(double3 x, double3 y, double a); |
| 10188 | double4 __ovld __cnfn mix(double4 x, double4 y, double a); |
| 10189 | double8 __ovld __cnfn mix(double8 x, double8 y, double a); |
| 10190 | double16 __ovld __cnfn mix(double16 x, double16 y, double a); |
| 10191 | #endif //cl_khr_fp64 |
| 10192 | #ifdef cl_khr_fp16 |
| 10193 | half __ovld __cnfn mix(half x, half y, half a); |
| 10194 | half2 __ovld __cnfn mix(half2 x, half2 y, half2 a); |
| 10195 | half3 __ovld __cnfn mix(half3 x, half3 y, half3 a); |
| 10196 | half4 __ovld __cnfn mix(half4 x, half4 y, half4 a); |
| 10197 | half8 __ovld __cnfn mix(half8 x, half8 y, half8 a); |
| 10198 | half16 __ovld __cnfn mix(half16 x, half16 y, half16 a); |
| 10199 | half2 __ovld __cnfn mix(half2 x, half2 y, half a); |
| 10200 | half3 __ovld __cnfn mix(half3 x, half3 y, half a); |
| 10201 | half4 __ovld __cnfn mix(half4 x, half4 y, half a); |
| 10202 | half8 __ovld __cnfn mix(half8 x, half8 y, half a); |
| 10203 | half16 __ovld __cnfn mix(half16 x, half16 y, half a); |
| 10204 | #endif //cl_khr_fp16 |
| 10205 | |
| 10206 | /** |
| 10207 | * Converts degrees to radians, i.e. (PI / 180) * |
| 10208 | * degrees. |
| 10209 | */ |
| 10210 | float __ovld __cnfn radians(float degrees); |
| 10211 | float2 __ovld __cnfn radians(float2 degrees); |
| 10212 | float3 __ovld __cnfn radians(float3 degrees); |
| 10213 | float4 __ovld __cnfn radians(float4 degrees); |
| 10214 | float8 __ovld __cnfn radians(float8 degrees); |
| 10215 | float16 __ovld __cnfn radians(float16 degrees); |
| 10216 | #ifdef cl_khr_fp64 |
| 10217 | double __ovld __cnfn radians(double degrees); |
| 10218 | double2 __ovld __cnfn radians(double2 degrees); |
| 10219 | double3 __ovld __cnfn radians(double3 degrees); |
| 10220 | double4 __ovld __cnfn radians(double4 degrees); |
| 10221 | double8 __ovld __cnfn radians(double8 degrees); |
| 10222 | double16 __ovld __cnfn radians(double16 degrees); |
| 10223 | #endif //cl_khr_fp64 |
| 10224 | #ifdef cl_khr_fp16 |
| 10225 | half __ovld __cnfn radians(half degrees); |
| 10226 | half2 __ovld __cnfn radians(half2 degrees); |
| 10227 | half3 __ovld __cnfn radians(half3 degrees); |
| 10228 | half4 __ovld __cnfn radians(half4 degrees); |
| 10229 | half8 __ovld __cnfn radians(half8 degrees); |
| 10230 | half16 __ovld __cnfn radians(half16 degrees); |
| 10231 | #endif //cl_khr_fp16 |
| 10232 | |
| 10233 | /** |
| 10234 | * Returns 0.0 if x < edge, otherwise it returns 1.0. |
| 10235 | */ |
| 10236 | float __ovld __cnfn step(float edge, float x); |
| 10237 | float2 __ovld __cnfn step(float2 edge, float2 x); |
| 10238 | float3 __ovld __cnfn step(float3 edge, float3 x); |
| 10239 | float4 __ovld __cnfn step(float4 edge, float4 x); |
| 10240 | float8 __ovld __cnfn step(float8 edge, float8 x); |
| 10241 | float16 __ovld __cnfn step(float16 edge, float16 x); |
| 10242 | float2 __ovld __cnfn step(float edge, float2 x); |
| 10243 | float3 __ovld __cnfn step(float edge, float3 x); |
| 10244 | float4 __ovld __cnfn step(float edge, float4 x); |
| 10245 | float8 __ovld __cnfn step(float edge, float8 x); |
| 10246 | float16 __ovld __cnfn step(float edge, float16 x); |
| 10247 | #ifdef cl_khr_fp64 |
| 10248 | double __ovld __cnfn step(double edge, double x); |
| 10249 | double2 __ovld __cnfn step(double2 edge, double2 x); |
| 10250 | double3 __ovld __cnfn step(double3 edge, double3 x); |
| 10251 | double4 __ovld __cnfn step(double4 edge, double4 x); |
| 10252 | double8 __ovld __cnfn step(double8 edge, double8 x); |
| 10253 | double16 __ovld __cnfn step(double16 edge, double16 x); |
| 10254 | double2 __ovld __cnfn step(double edge, double2 x); |
| 10255 | double3 __ovld __cnfn step(double edge, double3 x); |
| 10256 | double4 __ovld __cnfn step(double edge, double4 x); |
| 10257 | double8 __ovld __cnfn step(double edge, double8 x); |
| 10258 | double16 __ovld __cnfn step(double edge, double16 x); |
| 10259 | #endif //cl_khr_fp64 |
| 10260 | #ifdef cl_khr_fp16 |
| 10261 | half __ovld __cnfn step(half edge, half x); |
| 10262 | half2 __ovld __cnfn step(half2 edge, half2 x); |
| 10263 | half3 __ovld __cnfn step(half3 edge, half3 x); |
| 10264 | half4 __ovld __cnfn step(half4 edge, half4 x); |
| 10265 | half8 __ovld __cnfn step(half8 edge, half8 x); |
| 10266 | half16 __ovld __cnfn step(half16 edge, half16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 10267 | half2 __ovld __cnfn step(half edge, half2 x); |
| 10268 | half3 __ovld __cnfn step(half edge, half3 x); |
| 10269 | half4 __ovld __cnfn step(half edge, half4 x); |
| 10270 | half8 __ovld __cnfn step(half edge, half8 x); |
| 10271 | half16 __ovld __cnfn step(half edge, half16 x); |
| 10272 | #endif //cl_khr_fp16 |
| 10273 | |
| 10274 | /** |
| 10275 | * Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and |
| 10276 | * performs smooth Hermite interpolation between 0 |
| 10277 | * and 1when edge0 < x < edge1. This is useful in |
| 10278 | * cases where you would want a threshold function |
| 10279 | * with a smooth transition. |
| 10280 | * This is equivalent to: |
| 10281 | * gentype t; |
| 10282 | * t = clamp ((x - edge0) / (edge1 - edge0), 0, 1); |
| 10283 | * return t * t * (3 - 2 * t); |
| 10284 | * Results are undefined if edge0 >= edge1 or if x, |
| 10285 | * edge0 or edge1 is a NaN. |
| 10286 | */ |
| 10287 | float __ovld __cnfn smoothstep(float edge0, float edge1, float x); |
| 10288 | float2 __ovld __cnfn smoothstep(float2 edge0, float2 edge1, float2 x); |
| 10289 | float3 __ovld __cnfn smoothstep(float3 edge0, float3 edge1, float3 x); |
| 10290 | float4 __ovld __cnfn smoothstep(float4 edge0, float4 edge1, float4 x); |
| 10291 | float8 __ovld __cnfn smoothstep(float8 edge0, float8 edge1, float8 x); |
| 10292 | float16 __ovld __cnfn smoothstep(float16 edge0, float16 edge1, float16 x); |
| 10293 | float2 __ovld __cnfn smoothstep(float edge0, float edge1, float2 x); |
| 10294 | float3 __ovld __cnfn smoothstep(float edge0, float edge1, float3 x); |
| 10295 | float4 __ovld __cnfn smoothstep(float edge0, float edge1, float4 x); |
| 10296 | float8 __ovld __cnfn smoothstep(float edge0, float edge1, float8 x); |
| 10297 | float16 __ovld __cnfn smoothstep(float edge0, float edge1, float16 x); |
| 10298 | #ifdef cl_khr_fp64 |
| 10299 | double __ovld __cnfn smoothstep(double edge0, double edge1, double x); |
| 10300 | double2 __ovld __cnfn smoothstep(double2 edge0, double2 edge1, double2 x); |
| 10301 | double3 __ovld __cnfn smoothstep(double3 edge0, double3 edge1, double3 x); |
| 10302 | double4 __ovld __cnfn smoothstep(double4 edge0, double4 edge1, double4 x); |
| 10303 | double8 __ovld __cnfn smoothstep(double8 edge0, double8 edge1, double8 x); |
| 10304 | double16 __ovld __cnfn smoothstep(double16 edge0, double16 edge1, double16 x); |
| 10305 | double2 __ovld __cnfn smoothstep(double edge0, double edge1, double2 x); |
| 10306 | double3 __ovld __cnfn smoothstep(double edge0, double edge1, double3 x); |
| 10307 | double4 __ovld __cnfn smoothstep(double edge0, double edge1, double4 x); |
| 10308 | double8 __ovld __cnfn smoothstep(double edge0, double edge1, double8 x); |
| 10309 | double16 __ovld __cnfn smoothstep(double edge0, double edge1, double16 x); |
| 10310 | #endif //cl_khr_fp64 |
| 10311 | #ifdef cl_khr_fp16 |
| 10312 | half __ovld __cnfn smoothstep(half edge0, half edge1, half x); |
| 10313 | half2 __ovld __cnfn smoothstep(half2 edge0, half2 edge1, half2 x); |
| 10314 | half3 __ovld __cnfn smoothstep(half3 edge0, half3 edge1, half3 x); |
| 10315 | half4 __ovld __cnfn smoothstep(half4 edge0, half4 edge1, half4 x); |
| 10316 | half8 __ovld __cnfn smoothstep(half8 edge0, half8 edge1, half8 x); |
| 10317 | half16 __ovld __cnfn smoothstep(half16 edge0, half16 edge1, half16 x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 10318 | half2 __ovld __cnfn smoothstep(half edge0, half edge1, half2 x); |
| 10319 | half3 __ovld __cnfn smoothstep(half edge0, half edge1, half3 x); |
| 10320 | half4 __ovld __cnfn smoothstep(half edge0, half edge1, half4 x); |
| 10321 | half8 __ovld __cnfn smoothstep(half edge0, half edge1, half8 x); |
| 10322 | half16 __ovld __cnfn smoothstep(half edge0, half edge1, half16 x); |
| 10323 | #endif //cl_khr_fp16 |
| 10324 | |
| 10325 | /** |
| 10326 | * Returns 1.0 if x > 0, -0.0 if x = -0.0, +0.0 if x = |
| 10327 | * +0.0, or -1.0 if x < 0. Returns 0.0 if x is a NaN. |
| 10328 | */ |
| 10329 | float __ovld __cnfn sign(float x); |
| 10330 | float2 __ovld __cnfn sign(float2 x); |
| 10331 | float3 __ovld __cnfn sign(float3 x); |
| 10332 | float4 __ovld __cnfn sign(float4 x); |
| 10333 | float8 __ovld __cnfn sign(float8 x); |
| 10334 | float16 __ovld __cnfn sign(float16 x); |
| 10335 | #ifdef cl_khr_fp64 |
| 10336 | double __ovld __cnfn sign(double x); |
| 10337 | double2 __ovld __cnfn sign(double2 x); |
| 10338 | double3 __ovld __cnfn sign(double3 x); |
| 10339 | double4 __ovld __cnfn sign(double4 x); |
| 10340 | double8 __ovld __cnfn sign(double8 x); |
| 10341 | double16 __ovld __cnfn sign(double16 x); |
| 10342 | #endif //cl_khr_fp64 |
| 10343 | #ifdef cl_khr_fp16 |
| 10344 | half __ovld __cnfn sign(half x); |
| 10345 | half2 __ovld __cnfn sign(half2 x); |
| 10346 | half3 __ovld __cnfn sign(half3 x); |
| 10347 | half4 __ovld __cnfn sign(half4 x); |
| 10348 | half8 __ovld __cnfn sign(half8 x); |
| 10349 | half16 __ovld __cnfn sign(half16 x); |
| 10350 | #endif //cl_khr_fp16 |
| 10351 | |
| 10352 | // OpenCL v1.1 s6.11.5, v1.2 s6.12.5, v2.0 s6.13.5 - Geometric Functions |
| 10353 | |
| 10354 | /** |
| 10355 | * Returns the cross product of p0.xyz and p1.xyz. The |
| 10356 | * w component of float4 result returned will be 0.0. |
| 10357 | */ |
| 10358 | float4 __ovld __cnfn cross(float4 p0, float4 p1); |
| 10359 | float3 __ovld __cnfn cross(float3 p0, float3 p1); |
| 10360 | #ifdef cl_khr_fp64 |
| 10361 | double4 __ovld __cnfn cross(double4 p0, double4 p1); |
| 10362 | double3 __ovld __cnfn cross(double3 p0, double3 p1); |
| 10363 | #endif //cl_khr_fp64 |
| 10364 | #ifdef cl_khr_fp16 |
| 10365 | half4 __ovld __cnfn cross(half4 p0, half4 p1); |
| 10366 | half3 __ovld __cnfn cross(half3 p0, half3 p1); |
| 10367 | #endif //cl_khr_fp16 |
| 10368 | |
| 10369 | /** |
| 10370 | * Compute dot product. |
| 10371 | */ |
| 10372 | float __ovld __cnfn dot(float p0, float p1); |
| 10373 | float __ovld __cnfn dot(float2 p0, float2 p1); |
| 10374 | float __ovld __cnfn dot(float3 p0, float3 p1); |
| 10375 | float __ovld __cnfn dot(float4 p0, float4 p1); |
| 10376 | #ifdef cl_khr_fp64 |
| 10377 | double __ovld __cnfn dot(double p0, double p1); |
| 10378 | double __ovld __cnfn dot(double2 p0, double2 p1); |
| 10379 | double __ovld __cnfn dot(double3 p0, double3 p1); |
| 10380 | double __ovld __cnfn dot(double4 p0, double4 p1); |
| 10381 | #endif //cl_khr_fp64 |
| 10382 | #ifdef cl_khr_fp16 |
| 10383 | half __ovld __cnfn dot(half p0, half p1); |
| 10384 | half __ovld __cnfn dot(half2 p0, half2 p1); |
| 10385 | half __ovld __cnfn dot(half3 p0, half3 p1); |
| 10386 | half __ovld __cnfn dot(half4 p0, half4 p1); |
| 10387 | #endif //cl_khr_fp16 |
| 10388 | |
| 10389 | /** |
| 10390 | * Returns the distance between p0 and p1. This is |
| 10391 | * calculated as length(p0 - p1). |
| 10392 | */ |
| 10393 | float __ovld __cnfn distance(float p0, float p1); |
| 10394 | float __ovld __cnfn distance(float2 p0, float2 p1); |
| 10395 | float __ovld __cnfn distance(float3 p0, float3 p1); |
| 10396 | float __ovld __cnfn distance(float4 p0, float4 p1); |
| 10397 | #ifdef cl_khr_fp64 |
| 10398 | double __ovld __cnfn distance(double p0, double p1); |
| 10399 | double __ovld __cnfn distance(double2 p0, double2 p1); |
| 10400 | double __ovld __cnfn distance(double3 p0, double3 p1); |
| 10401 | double __ovld __cnfn distance(double4 p0, double4 p1); |
| 10402 | #endif //cl_khr_fp64 |
| 10403 | #ifdef cl_khr_fp16 |
| 10404 | half __ovld __cnfn distance(half p0, half p1); |
| 10405 | half __ovld __cnfn distance(half2 p0, half2 p1); |
| 10406 | half __ovld __cnfn distance(half3 p0, half3 p1); |
| 10407 | half __ovld __cnfn distance(half4 p0, half4 p1); |
| 10408 | #endif //cl_khr_fp16 |
| 10409 | |
| 10410 | /** |
| 10411 | * Return the length of vector p, i.e., |
| 10412 | * sqrt(p.x2 + p.y 2 + ...) |
| 10413 | */ |
| 10414 | float __ovld __cnfn length(float p); |
| 10415 | float __ovld __cnfn length(float2 p); |
| 10416 | float __ovld __cnfn length(float3 p); |
| 10417 | float __ovld __cnfn length(float4 p); |
| 10418 | #ifdef cl_khr_fp64 |
| 10419 | double __ovld __cnfn length(double p); |
| 10420 | double __ovld __cnfn length(double2 p); |
| 10421 | double __ovld __cnfn length(double3 p); |
| 10422 | double __ovld __cnfn length(double4 p); |
| 10423 | #endif //cl_khr_fp64 |
| 10424 | #ifdef cl_khr_fp16 |
| 10425 | half __ovld __cnfn length(half p); |
| 10426 | half __ovld __cnfn length(half2 p); |
| 10427 | half __ovld __cnfn length(half3 p); |
| 10428 | half __ovld __cnfn length(half4 p); |
| 10429 | #endif //cl_khr_fp16 |
| 10430 | |
| 10431 | /** |
| 10432 | * Returns a vector in the same direction as p but with a |
| 10433 | * length of 1. |
| 10434 | */ |
| 10435 | float __ovld __cnfn normalize(float p); |
| 10436 | float2 __ovld __cnfn normalize(float2 p); |
| 10437 | float3 __ovld __cnfn normalize(float3 p); |
| 10438 | float4 __ovld __cnfn normalize(float4 p); |
| 10439 | #ifdef cl_khr_fp64 |
| 10440 | double __ovld __cnfn normalize(double p); |
| 10441 | double2 __ovld __cnfn normalize(double2 p); |
| 10442 | double3 __ovld __cnfn normalize(double3 p); |
| 10443 | double4 __ovld __cnfn normalize(double4 p); |
| 10444 | #endif //cl_khr_fp64 |
| 10445 | #ifdef cl_khr_fp16 |
| 10446 | half __ovld __cnfn normalize(half p); |
| 10447 | half2 __ovld __cnfn normalize(half2 p); |
| 10448 | half3 __ovld __cnfn normalize(half3 p); |
| 10449 | half4 __ovld __cnfn normalize(half4 p); |
| 10450 | #endif //cl_khr_fp16 |
| 10451 | |
| 10452 | /** |
| 10453 | * Returns fast_length(p0 - p1). |
| 10454 | */ |
| 10455 | float __ovld __cnfn fast_distance(float p0, float p1); |
| 10456 | float __ovld __cnfn fast_distance(float2 p0, float2 p1); |
| 10457 | float __ovld __cnfn fast_distance(float3 p0, float3 p1); |
| 10458 | float __ovld __cnfn fast_distance(float4 p0, float4 p1); |
| 10459 | #ifdef cl_khr_fp16 |
| 10460 | half __ovld __cnfn fast_distance(half p0, half p1); |
| 10461 | half __ovld __cnfn fast_distance(half2 p0, half2 p1); |
| 10462 | half __ovld __cnfn fast_distance(half3 p0, half3 p1); |
| 10463 | half __ovld __cnfn fast_distance(half4 p0, half4 p1); |
| 10464 | #endif //cl_khr_fp16 |
| 10465 | |
| 10466 | /** |
| 10467 | * Returns the length of vector p computed as: |
| 10468 | * half_sqrt(p.x2 + p.y2 + ...) |
| 10469 | */ |
| 10470 | float __ovld __cnfn fast_length(float p); |
| 10471 | float __ovld __cnfn fast_length(float2 p); |
| 10472 | float __ovld __cnfn fast_length(float3 p); |
| 10473 | float __ovld __cnfn fast_length(float4 p); |
| 10474 | #ifdef cl_khr_fp16 |
| 10475 | half __ovld __cnfn fast_length(half p); |
| 10476 | half __ovld __cnfn fast_length(half2 p); |
| 10477 | half __ovld __cnfn fast_length(half3 p); |
| 10478 | half __ovld __cnfn fast_length(half4 p); |
| 10479 | #endif //cl_khr_fp16 |
| 10480 | |
| 10481 | /** |
| 10482 | * Returns a vector in the same direction as p but with a |
| 10483 | * length of 1. fast_normalize is computed as: |
| 10484 | * p * half_rsqrt (p.x^2 + p.y^2 + ... ) |
| 10485 | * The result shall be within 8192 ulps error from the |
| 10486 | * infinitely precise result of |
| 10487 | * if (all(p == 0.0f)) |
| 10488 | * result = p; |
| 10489 | * else |
| 10490 | * result = p / sqrt (p.x^2 + p.y^2 + ...); |
| 10491 | * with the following exceptions: |
| 10492 | * 1) If the sum of squares is greater than FLT_MAX |
| 10493 | * then the value of the floating-point values in the |
| 10494 | * result vector are undefined. |
| 10495 | * 2) If the sum of squares is less than FLT_MIN then |
| 10496 | * the implementation may return back p. |
| 10497 | * 3) If the device is in "denorms are flushed to zero" |
| 10498 | * mode, individual operand elements with magnitude |
| 10499 | * less than sqrt(FLT_MIN) may be flushed to zero |
| 10500 | * before proceeding with the calculation. |
| 10501 | */ |
| 10502 | float __ovld __cnfn fast_normalize(float p); |
| 10503 | float2 __ovld __cnfn fast_normalize(float2 p); |
| 10504 | float3 __ovld __cnfn fast_normalize(float3 p); |
| 10505 | float4 __ovld __cnfn fast_normalize(float4 p); |
| 10506 | #ifdef cl_khr_fp16 |
| 10507 | half __ovld __cnfn fast_normalize(half p); |
| 10508 | half2 __ovld __cnfn fast_normalize(half2 p); |
| 10509 | half3 __ovld __cnfn fast_normalize(half3 p); |
| 10510 | half4 __ovld __cnfn fast_normalize(half4 p); |
| 10511 | #endif //cl_khr_fp16 |
| 10512 | |
| 10513 | // OpenCL v1.1 s6.11.6, v1.2 s6.12.6, v2.0 s6.13.6 - Relational Functions |
| 10514 | |
| 10515 | /** |
| 10516 | * intn isequal (floatn x, floatn y) |
| 10517 | * Returns the component-wise compare of x == y. |
| 10518 | */ |
| 10519 | int __ovld __cnfn isequal(float x, float y); |
| 10520 | int2 __ovld __cnfn isequal(float2 x, float2 y); |
| 10521 | int3 __ovld __cnfn isequal(float3 x, float3 y); |
| 10522 | int4 __ovld __cnfn isequal(float4 x, float4 y); |
| 10523 | int8 __ovld __cnfn isequal(float8 x, float8 y); |
| 10524 | int16 __ovld __cnfn isequal(float16 x, float16 y); |
| 10525 | #ifdef cl_khr_fp64 |
| 10526 | int __ovld __cnfn isequal(double x, double y); |
| 10527 | long2 __ovld __cnfn isequal(double2 x, double2 y); |
| 10528 | long3 __ovld __cnfn isequal(double3 x, double3 y); |
| 10529 | long4 __ovld __cnfn isequal(double4 x, double4 y); |
| 10530 | long8 __ovld __cnfn isequal(double8 x, double8 y); |
| 10531 | long16 __ovld __cnfn isequal(double16 x, double16 y); |
| 10532 | #endif //cl_khr_fp64 |
| 10533 | #ifdef cl_khr_fp16 |
| 10534 | int __ovld __cnfn isequal(half x, half y); |
| 10535 | short2 __ovld __cnfn isequal(half2 x, half2 y); |
| 10536 | short3 __ovld __cnfn isequal(half3 x, half3 y); |
| 10537 | short4 __ovld __cnfn isequal(half4 x, half4 y); |
| 10538 | short8 __ovld __cnfn isequal(half8 x, half8 y); |
| 10539 | short16 __ovld __cnfn isequal(half16 x, half16 y); |
| 10540 | #endif //cl_khr_fp16 |
| 10541 | |
| 10542 | /** |
| 10543 | * Returns the component-wise compare of x != y. |
| 10544 | */ |
| 10545 | int __ovld __cnfn isnotequal(float x, float y); |
| 10546 | int2 __ovld __cnfn isnotequal(float2 x, float2 y); |
| 10547 | int3 __ovld __cnfn isnotequal(float3 x, float3 y); |
| 10548 | int4 __ovld __cnfn isnotequal(float4 x, float4 y); |
| 10549 | int8 __ovld __cnfn isnotequal(float8 x, float8 y); |
| 10550 | int16 __ovld __cnfn isnotequal(float16 x, float16 y); |
| 10551 | #ifdef cl_khr_fp64 |
| 10552 | int __ovld __cnfn isnotequal(double x, double y); |
| 10553 | long2 __ovld __cnfn isnotequal(double2 x, double2 y); |
| 10554 | long3 __ovld __cnfn isnotequal(double3 x, double3 y); |
| 10555 | long4 __ovld __cnfn isnotequal(double4 x, double4 y); |
| 10556 | long8 __ovld __cnfn isnotequal(double8 x, double8 y); |
| 10557 | long16 __ovld __cnfn isnotequal(double16 x, double16 y); |
| 10558 | #endif //cl_khr_fp64 |
| 10559 | #ifdef cl_khr_fp16 |
| 10560 | int __ovld __cnfn isnotequal(half x, half y); |
| 10561 | short2 __ovld __cnfn isnotequal(half2 x, half2 y); |
| 10562 | short3 __ovld __cnfn isnotequal(half3 x, half3 y); |
| 10563 | short4 __ovld __cnfn isnotequal(half4 x, half4 y); |
| 10564 | short8 __ovld __cnfn isnotequal(half8 x, half8 y); |
| 10565 | short16 __ovld __cnfn isnotequal(half16 x, half16 y); |
| 10566 | #endif //cl_khr_fp16 |
| 10567 | |
| 10568 | /** |
| 10569 | * Returns the component-wise compare of x > y. |
| 10570 | */ |
| 10571 | int __ovld __cnfn isgreater(float x, float y); |
| 10572 | int2 __ovld __cnfn isgreater(float2 x, float2 y); |
| 10573 | int3 __ovld __cnfn isgreater(float3 x, float3 y); |
| 10574 | int4 __ovld __cnfn isgreater(float4 x, float4 y); |
| 10575 | int8 __ovld __cnfn isgreater(float8 x, float8 y); |
| 10576 | int16 __ovld __cnfn isgreater(float16 x, float16 y); |
| 10577 | #ifdef cl_khr_fp64 |
| 10578 | int __ovld __cnfn isgreater(double x, double y); |
| 10579 | long2 __ovld __cnfn isgreater(double2 x, double2 y); |
| 10580 | long3 __ovld __cnfn isgreater(double3 x, double3 y); |
| 10581 | long4 __ovld __cnfn isgreater(double4 x, double4 y); |
| 10582 | long8 __ovld __cnfn isgreater(double8 x, double8 y); |
| 10583 | long16 __ovld __cnfn isgreater(double16 x, double16 y); |
| 10584 | #endif //cl_khr_fp64 |
| 10585 | #ifdef cl_khr_fp16 |
| 10586 | int __ovld __cnfn isgreater(half x, half y); |
| 10587 | short2 __ovld __cnfn isgreater(half2 x, half2 y); |
| 10588 | short3 __ovld __cnfn isgreater(half3 x, half3 y); |
| 10589 | short4 __ovld __cnfn isgreater(half4 x, half4 y); |
| 10590 | short8 __ovld __cnfn isgreater(half8 x, half8 y); |
| 10591 | short16 __ovld __cnfn isgreater(half16 x, half16 y); |
| 10592 | #endif //cl_khr_fp16 |
| 10593 | |
| 10594 | /** |
| 10595 | * Returns the component-wise compare of x >= y. |
| 10596 | */ |
| 10597 | int __ovld __cnfn isgreaterequal(float x, float y); |
| 10598 | int2 __ovld __cnfn isgreaterequal(float2 x, float2 y); |
| 10599 | int3 __ovld __cnfn isgreaterequal(float3 x, float3 y); |
| 10600 | int4 __ovld __cnfn isgreaterequal(float4 x, float4 y); |
| 10601 | int8 __ovld __cnfn isgreaterequal(float8 x, float8 y); |
| 10602 | int16 __ovld __cnfn isgreaterequal(float16 x, float16 y); |
| 10603 | #ifdef cl_khr_fp64 |
| 10604 | int __ovld __cnfn isgreaterequal(double x, double y); |
| 10605 | long2 __ovld __cnfn isgreaterequal(double2 x, double2 y); |
| 10606 | long3 __ovld __cnfn isgreaterequal(double3 x, double3 y); |
| 10607 | long4 __ovld __cnfn isgreaterequal(double4 x, double4 y); |
| 10608 | long8 __ovld __cnfn isgreaterequal(double8 x, double8 y); |
| 10609 | long16 __ovld __cnfn isgreaterequal(double16 x, double16 y); |
| 10610 | #endif //cl_khr_fp64 |
| 10611 | #ifdef cl_khr_fp16 |
| 10612 | int __ovld __cnfn isgreaterequal(half x, half y); |
| 10613 | short2 __ovld __cnfn isgreaterequal(half2 x, half2 y); |
| 10614 | short3 __ovld __cnfn isgreaterequal(half3 x, half3 y); |
| 10615 | short4 __ovld __cnfn isgreaterequal(half4 x, half4 y); |
| 10616 | short8 __ovld __cnfn isgreaterequal(half8 x, half8 y); |
| 10617 | short16 __ovld __cnfn isgreaterequal(half16 x, half16 y); |
| 10618 | #endif //cl_khr_fp16 |
| 10619 | |
| 10620 | /** |
| 10621 | * Returns the component-wise compare of x < y. |
| 10622 | */ |
| 10623 | int __ovld __cnfn isless(float x, float y); |
| 10624 | int2 __ovld __cnfn isless(float2 x, float2 y); |
| 10625 | int3 __ovld __cnfn isless(float3 x, float3 y); |
| 10626 | int4 __ovld __cnfn isless(float4 x, float4 y); |
| 10627 | int8 __ovld __cnfn isless(float8 x, float8 y); |
| 10628 | int16 __ovld __cnfn isless(float16 x, float16 y); |
| 10629 | #ifdef cl_khr_fp64 |
| 10630 | int __ovld __cnfn isless(double x, double y); |
| 10631 | long2 __ovld __cnfn isless(double2 x, double2 y); |
| 10632 | long3 __ovld __cnfn isless(double3 x, double3 y); |
| 10633 | long4 __ovld __cnfn isless(double4 x, double4 y); |
| 10634 | long8 __ovld __cnfn isless(double8 x, double8 y); |
| 10635 | long16 __ovld __cnfn isless(double16 x, double16 y); |
| 10636 | #endif //cl_khr_fp64 |
| 10637 | #ifdef cl_khr_fp16 |
| 10638 | int __ovld __cnfn isless(half x, half y); |
| 10639 | short2 __ovld __cnfn isless(half2 x, half2 y); |
| 10640 | short3 __ovld __cnfn isless(half3 x, half3 y); |
| 10641 | short4 __ovld __cnfn isless(half4 x, half4 y); |
| 10642 | short8 __ovld __cnfn isless(half8 x, half8 y); |
| 10643 | short16 __ovld __cnfn isless(half16 x, half16 y); |
| 10644 | #endif //cl_khr_fp16 |
| 10645 | |
| 10646 | /** |
| 10647 | * Returns the component-wise compare of x <= y. |
| 10648 | */ |
| 10649 | int __ovld __cnfn islessequal(float x, float y); |
| 10650 | int2 __ovld __cnfn islessequal(float2 x, float2 y); |
| 10651 | int3 __ovld __cnfn islessequal(float3 x, float3 y); |
| 10652 | int4 __ovld __cnfn islessequal(float4 x, float4 y); |
| 10653 | int8 __ovld __cnfn islessequal(float8 x, float8 y); |
| 10654 | int16 __ovld __cnfn islessequal(float16 x, float16 y); |
| 10655 | #ifdef cl_khr_fp64 |
| 10656 | int __ovld __cnfn islessequal(double x, double y); |
| 10657 | long2 __ovld __cnfn islessequal(double2 x, double2 y); |
| 10658 | long3 __ovld __cnfn islessequal(double3 x, double3 y); |
| 10659 | long4 __ovld __cnfn islessequal(double4 x, double4 y); |
| 10660 | long8 __ovld __cnfn islessequal(double8 x, double8 y); |
| 10661 | long16 __ovld __cnfn islessequal(double16 x, double16 y); |
| 10662 | #endif //cl_khr_fp64 |
| 10663 | #ifdef cl_khr_fp16 |
| 10664 | int __ovld __cnfn islessequal(half x, half y); |
| 10665 | short2 __ovld __cnfn islessequal(half2 x, half2 y); |
| 10666 | short3 __ovld __cnfn islessequal(half3 x, half3 y); |
| 10667 | short4 __ovld __cnfn islessequal(half4 x, half4 y); |
| 10668 | short8 __ovld __cnfn islessequal(half8 x, half8 y); |
| 10669 | short16 __ovld __cnfn islessequal(half16 x, half16 y); |
| 10670 | #endif //cl_khr_fp16 |
| 10671 | |
| 10672 | /** |
| 10673 | * Returns the component-wise compare of |
| 10674 | * (x < y) || (x > y) . |
| 10675 | */ |
| 10676 | int __ovld __cnfn islessgreater(float x, float y); |
| 10677 | int2 __ovld __cnfn islessgreater(float2 x, float2 y); |
| 10678 | int3 __ovld __cnfn islessgreater(float3 x, float3 y); |
| 10679 | int4 __ovld __cnfn islessgreater(float4 x, float4 y); |
| 10680 | int8 __ovld __cnfn islessgreater(float8 x, float8 y); |
| 10681 | int16 __ovld __cnfn islessgreater(float16 x, float16 y); |
| 10682 | #ifdef cl_khr_fp64 |
| 10683 | int __ovld __cnfn islessgreater(double x, double y); |
| 10684 | long2 __ovld __cnfn islessgreater(double2 x, double2 y); |
| 10685 | long3 __ovld __cnfn islessgreater(double3 x, double3 y); |
| 10686 | long4 __ovld __cnfn islessgreater(double4 x, double4 y); |
| 10687 | long8 __ovld __cnfn islessgreater(double8 x, double8 y); |
| 10688 | long16 __ovld __cnfn islessgreater(double16 x, double16 y); |
| 10689 | #endif //cl_khr_fp64 |
| 10690 | #ifdef cl_khr_fp16 |
| 10691 | int __ovld __cnfn islessgreater(half x, half y); |
| 10692 | short2 __ovld __cnfn islessgreater(half2 x, half2 y); |
| 10693 | short3 __ovld __cnfn islessgreater(half3 x, half3 y); |
| 10694 | short4 __ovld __cnfn islessgreater(half4 x, half4 y); |
| 10695 | short8 __ovld __cnfn islessgreater(half8 x, half8 y); |
| 10696 | short16 __ovld __cnfn islessgreater(half16 x, half16 y); |
| 10697 | #endif //cl_khr_fp16 |
| 10698 | |
| 10699 | /** |
| 10700 | * Test for finite value. |
| 10701 | */ |
| 10702 | int __ovld __cnfn isfinite(float); |
| 10703 | int2 __ovld __cnfn isfinite(float2); |
| 10704 | int3 __ovld __cnfn isfinite(float3); |
| 10705 | int4 __ovld __cnfn isfinite(float4); |
| 10706 | int8 __ovld __cnfn isfinite(float8); |
| 10707 | int16 __ovld __cnfn isfinite(float16); |
| 10708 | #ifdef cl_khr_fp64 |
| 10709 | int __ovld __cnfn isfinite(double); |
| 10710 | long2 __ovld __cnfn isfinite(double2); |
| 10711 | long3 __ovld __cnfn isfinite(double3); |
| 10712 | long4 __ovld __cnfn isfinite(double4); |
| 10713 | long8 __ovld __cnfn isfinite(double8); |
| 10714 | long16 __ovld __cnfn isfinite(double16); |
| 10715 | #endif //cl_khr_fp64 |
| 10716 | #ifdef cl_khr_fp16 |
| 10717 | int __ovld __cnfn isfinite(half); |
| 10718 | short2 __ovld __cnfn isfinite(half2); |
| 10719 | short3 __ovld __cnfn isfinite(half3); |
| 10720 | short4 __ovld __cnfn isfinite(half4); |
| 10721 | short8 __ovld __cnfn isfinite(half8); |
| 10722 | short16 __ovld __cnfn isfinite(half16); |
| 10723 | #endif //cl_khr_fp16 |
| 10724 | |
| 10725 | /** |
| 10726 | * Test for infinity value (+ve or -ve) . |
| 10727 | */ |
| 10728 | int __ovld __cnfn isinf(float); |
| 10729 | int2 __ovld __cnfn isinf(float2); |
| 10730 | int3 __ovld __cnfn isinf(float3); |
| 10731 | int4 __ovld __cnfn isinf(float4); |
| 10732 | int8 __ovld __cnfn isinf(float8); |
| 10733 | int16 __ovld __cnfn isinf(float16); |
| 10734 | #ifdef cl_khr_fp64 |
| 10735 | int __ovld __cnfn isinf(double); |
| 10736 | long2 __ovld __cnfn isinf(double2); |
| 10737 | long3 __ovld __cnfn isinf(double3); |
| 10738 | long4 __ovld __cnfn isinf(double4); |
| 10739 | long8 __ovld __cnfn isinf(double8); |
| 10740 | long16 __ovld __cnfn isinf(double16); |
| 10741 | #endif //cl_khr_fp64 |
| 10742 | #ifdef cl_khr_fp16 |
| 10743 | int __ovld __cnfn isinf(half); |
| 10744 | short2 __ovld __cnfn isinf(half2); |
| 10745 | short3 __ovld __cnfn isinf(half3); |
| 10746 | short4 __ovld __cnfn isinf(half4); |
| 10747 | short8 __ovld __cnfn isinf(half8); |
| 10748 | short16 __ovld __cnfn isinf(half16); |
| 10749 | #endif //cl_khr_fp16 |
| 10750 | |
| 10751 | /** |
| 10752 | * Test for a NaN. |
| 10753 | */ |
| 10754 | int __ovld __cnfn isnan(float); |
| 10755 | int2 __ovld __cnfn isnan(float2); |
| 10756 | int3 __ovld __cnfn isnan(float3); |
| 10757 | int4 __ovld __cnfn isnan(float4); |
| 10758 | int8 __ovld __cnfn isnan(float8); |
| 10759 | int16 __ovld __cnfn isnan(float16); |
| 10760 | #ifdef cl_khr_fp64 |
| 10761 | int __ovld __cnfn isnan(double); |
| 10762 | long2 __ovld __cnfn isnan(double2); |
| 10763 | long3 __ovld __cnfn isnan(double3); |
| 10764 | long4 __ovld __cnfn isnan(double4); |
| 10765 | long8 __ovld __cnfn isnan(double8); |
| 10766 | long16 __ovld __cnfn isnan(double16); |
| 10767 | #endif //cl_khr_fp64 |
| 10768 | #ifdef cl_khr_fp16 |
| 10769 | int __ovld __cnfn isnan(half); |
| 10770 | short2 __ovld __cnfn isnan(half2); |
| 10771 | short3 __ovld __cnfn isnan(half3); |
| 10772 | short4 __ovld __cnfn isnan(half4); |
| 10773 | short8 __ovld __cnfn isnan(half8); |
| 10774 | short16 __ovld __cnfn isnan(half16); |
| 10775 | #endif //cl_khr_fp16 |
| 10776 | |
| 10777 | /** |
| 10778 | * Test for a normal value. |
| 10779 | */ |
| 10780 | int __ovld __cnfn isnormal(float); |
| 10781 | int2 __ovld __cnfn isnormal(float2); |
| 10782 | int3 __ovld __cnfn isnormal(float3); |
| 10783 | int4 __ovld __cnfn isnormal(float4); |
| 10784 | int8 __ovld __cnfn isnormal(float8); |
| 10785 | int16 __ovld __cnfn isnormal(float16); |
| 10786 | #ifdef cl_khr_fp64 |
| 10787 | int __ovld __cnfn isnormal(double); |
| 10788 | long2 __ovld __cnfn isnormal(double2); |
| 10789 | long3 __ovld __cnfn isnormal(double3); |
| 10790 | long4 __ovld __cnfn isnormal(double4); |
| 10791 | long8 __ovld __cnfn isnormal(double8); |
| 10792 | long16 __ovld __cnfn isnormal(double16); |
| 10793 | #endif //cl_khr_fp64 |
| 10794 | #ifdef cl_khr_fp16 |
| 10795 | int __ovld __cnfn isnormal(half); |
| 10796 | short2 __ovld __cnfn isnormal(half2); |
| 10797 | short3 __ovld __cnfn isnormal(half3); |
| 10798 | short4 __ovld __cnfn isnormal(half4); |
| 10799 | short8 __ovld __cnfn isnormal(half8); |
| 10800 | short16 __ovld __cnfn isnormal(half16); |
| 10801 | #endif //cl_khr_fp16 |
| 10802 | |
| 10803 | /** |
| 10804 | * Test if arguments are ordered. isordered() takes |
| 10805 | * arguments x and y, and returns the result |
| 10806 | * isequal(x, x) && isequal(y, y). |
| 10807 | */ |
| 10808 | int __ovld __cnfn isordered(float x, float y); |
| 10809 | int2 __ovld __cnfn isordered(float2 x, float2 y); |
| 10810 | int3 __ovld __cnfn isordered(float3 x, float3 y); |
| 10811 | int4 __ovld __cnfn isordered(float4 x, float4 y); |
| 10812 | int8 __ovld __cnfn isordered(float8 x, float8 y); |
| 10813 | int16 __ovld __cnfn isordered(float16 x, float16 y); |
| 10814 | #ifdef cl_khr_fp64 |
| 10815 | int __ovld __cnfn isordered(double x, double y); |
| 10816 | long2 __ovld __cnfn isordered(double2 x, double2 y); |
| 10817 | long3 __ovld __cnfn isordered(double3 x, double3 y); |
| 10818 | long4 __ovld __cnfn isordered(double4 x, double4 y); |
| 10819 | long8 __ovld __cnfn isordered(double8 x, double8 y); |
| 10820 | long16 __ovld __cnfn isordered(double16 x, double16 y); |
| 10821 | #endif //cl_khr_fp64 |
| 10822 | #ifdef cl_khr_fp16 |
| 10823 | int __ovld __cnfn isordered(half x, half y); |
| 10824 | short2 __ovld __cnfn isordered(half2 x, half2 y); |
| 10825 | short3 __ovld __cnfn isordered(half3 x, half3 y); |
| 10826 | short4 __ovld __cnfn isordered(half4 x, half4 y); |
| 10827 | short8 __ovld __cnfn isordered(half8 x, half8 y); |
| 10828 | short16 __ovld __cnfn isordered(half16 x, half16 y); |
| 10829 | #endif //cl_khr_fp16 |
| 10830 | |
| 10831 | /** |
| 10832 | * Test if arguments are unordered. isunordered() |
| 10833 | * takes arguments x and y, returning non-zero if x or y |
| 10834 | * is NaN, and zero otherwise. |
| 10835 | */ |
| 10836 | int __ovld __cnfn isunordered(float x, float y); |
| 10837 | int2 __ovld __cnfn isunordered(float2 x, float2 y); |
| 10838 | int3 __ovld __cnfn isunordered(float3 x, float3 y); |
| 10839 | int4 __ovld __cnfn isunordered(float4 x, float4 y); |
| 10840 | int8 __ovld __cnfn isunordered(float8 x, float8 y); |
| 10841 | int16 __ovld __cnfn isunordered(float16 x, float16 y); |
| 10842 | #ifdef cl_khr_fp64 |
| 10843 | int __ovld __cnfn isunordered(double x, double y); |
| 10844 | long2 __ovld __cnfn isunordered(double2 x, double2 y); |
| 10845 | long3 __ovld __cnfn isunordered(double3 x, double3 y); |
| 10846 | long4 __ovld __cnfn isunordered(double4 x, double4 y); |
| 10847 | long8 __ovld __cnfn isunordered(double8 x, double8 y); |
| 10848 | long16 __ovld __cnfn isunordered(double16 x, double16 y); |
| 10849 | #endif //cl_khr_fp64 |
| 10850 | #ifdef cl_khr_fp16 |
| 10851 | int __ovld __cnfn isunordered(half x, half y); |
| 10852 | short2 __ovld __cnfn isunordered(half2 x, half2 y); |
| 10853 | short3 __ovld __cnfn isunordered(half3 x, half3 y); |
| 10854 | short4 __ovld __cnfn isunordered(half4 x, half4 y); |
| 10855 | short8 __ovld __cnfn isunordered(half8 x, half8 y); |
| 10856 | short16 __ovld __cnfn isunordered(half16 x, half16 y); |
| 10857 | #endif //cl_khr_fp16 |
| 10858 | |
| 10859 | /** |
| 10860 | * Test for sign bit. The scalar version of the function |
| 10861 | * returns a 1 if the sign bit in the float is set else returns |
| 10862 | * 0. The vector version of the function returns the |
| 10863 | * following for each component in floatn: a -1 if the |
| 10864 | * sign bit in the float is set else returns 0. |
| 10865 | */ |
| 10866 | int __ovld __cnfn signbit(float); |
| 10867 | int2 __ovld __cnfn signbit(float2); |
| 10868 | int3 __ovld __cnfn signbit(float3); |
| 10869 | int4 __ovld __cnfn signbit(float4); |
| 10870 | int8 __ovld __cnfn signbit(float8); |
| 10871 | int16 __ovld __cnfn signbit(float16); |
| 10872 | #ifdef cl_khr_fp64 |
| 10873 | int __ovld __cnfn signbit(double); |
| 10874 | long2 __ovld __cnfn signbit(double2); |
| 10875 | long3 __ovld __cnfn signbit(double3); |
| 10876 | long4 __ovld __cnfn signbit(double4); |
| 10877 | long8 __ovld __cnfn signbit(double8); |
| 10878 | long16 __ovld __cnfn signbit(double16); |
| 10879 | #endif //cl_khr_fp64 |
| 10880 | #ifdef cl_khr_fp16 |
| 10881 | int __ovld __cnfn signbit(half); |
| 10882 | short2 __ovld __cnfn signbit(half2); |
| 10883 | short3 __ovld __cnfn signbit(half3); |
| 10884 | short4 __ovld __cnfn signbit(half4); |
| 10885 | short8 __ovld __cnfn signbit(half8); |
| 10886 | short16 __ovld __cnfn signbit(half16); |
| 10887 | #endif //cl_khr_fp16 |
| 10888 | |
| 10889 | /** |
| 10890 | * Returns 1 if the most significant bit in any component |
| 10891 | * of x is set; otherwise returns 0. |
| 10892 | */ |
| 10893 | int __ovld __cnfn any(char x); |
| 10894 | int __ovld __cnfn any(char2 x); |
| 10895 | int __ovld __cnfn any(char3 x); |
| 10896 | int __ovld __cnfn any(char4 x); |
| 10897 | int __ovld __cnfn any(char8 x); |
| 10898 | int __ovld __cnfn any(char16 x); |
| 10899 | int __ovld __cnfn any(short x); |
| 10900 | int __ovld __cnfn any(short2 x); |
| 10901 | int __ovld __cnfn any(short3 x); |
| 10902 | int __ovld __cnfn any(short4 x); |
| 10903 | int __ovld __cnfn any(short8 x); |
| 10904 | int __ovld __cnfn any(short16 x); |
| 10905 | int __ovld __cnfn any(int x); |
| 10906 | int __ovld __cnfn any(int2 x); |
| 10907 | int __ovld __cnfn any(int3 x); |
| 10908 | int __ovld __cnfn any(int4 x); |
| 10909 | int __ovld __cnfn any(int8 x); |
| 10910 | int __ovld __cnfn any(int16 x); |
| 10911 | int __ovld __cnfn any(long x); |
| 10912 | int __ovld __cnfn any(long2 x); |
| 10913 | int __ovld __cnfn any(long3 x); |
| 10914 | int __ovld __cnfn any(long4 x); |
| 10915 | int __ovld __cnfn any(long8 x); |
| 10916 | int __ovld __cnfn any(long16 x); |
| 10917 | |
| 10918 | /** |
| 10919 | * Returns 1 if the most significant bit in all components |
| 10920 | * of x is set; otherwise returns 0. |
| 10921 | */ |
| 10922 | int __ovld __cnfn all(char x); |
| 10923 | int __ovld __cnfn all(char2 x); |
| 10924 | int __ovld __cnfn all(char3 x); |
| 10925 | int __ovld __cnfn all(char4 x); |
| 10926 | int __ovld __cnfn all(char8 x); |
| 10927 | int __ovld __cnfn all(char16 x); |
| 10928 | int __ovld __cnfn all(short x); |
| 10929 | int __ovld __cnfn all(short2 x); |
| 10930 | int __ovld __cnfn all(short3 x); |
| 10931 | int __ovld __cnfn all(short4 x); |
| 10932 | int __ovld __cnfn all(short8 x); |
| 10933 | int __ovld __cnfn all(short16 x); |
| 10934 | int __ovld __cnfn all(int x); |
| 10935 | int __ovld __cnfn all(int2 x); |
| 10936 | int __ovld __cnfn all(int3 x); |
| 10937 | int __ovld __cnfn all(int4 x); |
| 10938 | int __ovld __cnfn all(int8 x); |
| 10939 | int __ovld __cnfn all(int16 x); |
| 10940 | int __ovld __cnfn all(long x); |
| 10941 | int __ovld __cnfn all(long2 x); |
| 10942 | int __ovld __cnfn all(long3 x); |
| 10943 | int __ovld __cnfn all(long4 x); |
| 10944 | int __ovld __cnfn all(long8 x); |
| 10945 | int __ovld __cnfn all(long16 x); |
| 10946 | |
| 10947 | /** |
| 10948 | * Each bit of the result is the corresponding bit of a if |
| 10949 | * the corresponding bit of c is 0. Otherwise it is the |
| 10950 | * corresponding bit of b. |
| 10951 | */ |
| 10952 | char __ovld __cnfn bitselect(char a, char b, char c); |
| 10953 | uchar __ovld __cnfn bitselect(uchar a, uchar b, uchar c); |
| 10954 | char2 __ovld __cnfn bitselect(char2 a, char2 b, char2 c); |
| 10955 | uchar2 __ovld __cnfn bitselect(uchar2 a, uchar2 b, uchar2 c); |
| 10956 | char3 __ovld __cnfn bitselect(char3 a, char3 b, char3 c); |
| 10957 | uchar3 __ovld __cnfn bitselect(uchar3 a, uchar3 b, uchar3 c); |
| 10958 | char4 __ovld __cnfn bitselect(char4 a, char4 b, char4 c); |
| 10959 | uchar4 __ovld __cnfn bitselect(uchar4 a, uchar4 b, uchar4 c); |
| 10960 | char8 __ovld __cnfn bitselect(char8 a, char8 b, char8 c); |
| 10961 | uchar8 __ovld __cnfn bitselect(uchar8 a, uchar8 b, uchar8 c); |
| 10962 | char16 __ovld __cnfn bitselect(char16 a, char16 b, char16 c); |
| 10963 | uchar16 __ovld __cnfn bitselect(uchar16 a, uchar16 b, uchar16 c); |
| 10964 | short __ovld __cnfn bitselect(short a, short b, short c); |
| 10965 | ushort __ovld __cnfn bitselect(ushort a, ushort b, ushort c); |
| 10966 | short2 __ovld __cnfn bitselect(short2 a, short2 b, short2 c); |
| 10967 | ushort2 __ovld __cnfn bitselect(ushort2 a, ushort2 b, ushort2 c); |
| 10968 | short3 __ovld __cnfn bitselect(short3 a, short3 b, short3 c); |
| 10969 | ushort3 __ovld __cnfn bitselect(ushort3 a, ushort3 b, ushort3 c); |
| 10970 | short4 __ovld __cnfn bitselect(short4 a, short4 b, short4 c); |
| 10971 | ushort4 __ovld __cnfn bitselect(ushort4 a, ushort4 b, ushort4 c); |
| 10972 | short8 __ovld __cnfn bitselect(short8 a, short8 b, short8 c); |
| 10973 | ushort8 __ovld __cnfn bitselect(ushort8 a, ushort8 b, ushort8 c); |
| 10974 | short16 __ovld __cnfn bitselect(short16 a, short16 b, short16 c); |
| 10975 | ushort16 __ovld __cnfn bitselect(ushort16 a, ushort16 b, ushort16 c); |
| 10976 | int __ovld __cnfn bitselect(int a, int b, int c); |
| 10977 | uint __ovld __cnfn bitselect(uint a, uint b, uint c); |
| 10978 | int2 __ovld __cnfn bitselect(int2 a, int2 b, int2 c); |
| 10979 | uint2 __ovld __cnfn bitselect(uint2 a, uint2 b, uint2 c); |
| 10980 | int3 __ovld __cnfn bitselect(int3 a, int3 b, int3 c); |
| 10981 | uint3 __ovld __cnfn bitselect(uint3 a, uint3 b, uint3 c); |
| 10982 | int4 __ovld __cnfn bitselect(int4 a, int4 b, int4 c); |
| 10983 | uint4 __ovld __cnfn bitselect(uint4 a, uint4 b, uint4 c); |
| 10984 | int8 __ovld __cnfn bitselect(int8 a, int8 b, int8 c); |
| 10985 | uint8 __ovld __cnfn bitselect(uint8 a, uint8 b, uint8 c); |
| 10986 | int16 __ovld __cnfn bitselect(int16 a, int16 b, int16 c); |
| 10987 | uint16 __ovld __cnfn bitselect(uint16 a, uint16 b, uint16 c); |
| 10988 | long __ovld __cnfn bitselect(long a, long b, long c); |
| 10989 | ulong __ovld __cnfn bitselect(ulong a, ulong b, ulong c); |
| 10990 | long2 __ovld __cnfn bitselect(long2 a, long2 b, long2 c); |
| 10991 | ulong2 __ovld __cnfn bitselect(ulong2 a, ulong2 b, ulong2 c); |
| 10992 | long3 __ovld __cnfn bitselect(long3 a, long3 b, long3 c); |
| 10993 | ulong3 __ovld __cnfn bitselect(ulong3 a, ulong3 b, ulong3 c); |
| 10994 | long4 __ovld __cnfn bitselect(long4 a, long4 b, long4 c); |
| 10995 | ulong4 __ovld __cnfn bitselect(ulong4 a, ulong4 b, ulong4 c); |
| 10996 | long8 __ovld __cnfn bitselect(long8 a, long8 b, long8 c); |
| 10997 | ulong8 __ovld __cnfn bitselect(ulong8 a, ulong8 b, ulong8 c); |
| 10998 | long16 __ovld __cnfn bitselect(long16 a, long16 b, long16 c); |
| 10999 | ulong16 __ovld __cnfn bitselect(ulong16 a, ulong16 b, ulong16 c); |
| 11000 | float __ovld __cnfn bitselect(float a, float b, float c); |
| 11001 | float2 __ovld __cnfn bitselect(float2 a, float2 b, float2 c); |
| 11002 | float3 __ovld __cnfn bitselect(float3 a, float3 b, float3 c); |
| 11003 | float4 __ovld __cnfn bitselect(float4 a, float4 b, float4 c); |
| 11004 | float8 __ovld __cnfn bitselect(float8 a, float8 b, float8 c); |
| 11005 | float16 __ovld __cnfn bitselect(float16 a, float16 b, float16 c); |
| 11006 | #ifdef cl_khr_fp64 |
| 11007 | double __ovld __cnfn bitselect(double a, double b, double c); |
| 11008 | double2 __ovld __cnfn bitselect(double2 a, double2 b, double2 c); |
| 11009 | double3 __ovld __cnfn bitselect(double3 a, double3 b, double3 c); |
| 11010 | double4 __ovld __cnfn bitselect(double4 a, double4 b, double4 c); |
| 11011 | double8 __ovld __cnfn bitselect(double8 a, double8 b, double8 c); |
| 11012 | double16 __ovld __cnfn bitselect(double16 a, double16 b, double16 c); |
| 11013 | #endif //cl_khr_fp64 |
| 11014 | #ifdef cl_khr_fp16 |
| 11015 | half __ovld __cnfn bitselect(half a, half b, half c); |
| 11016 | half2 __ovld __cnfn bitselect(half2 a, half2 b, half2 c); |
| 11017 | half3 __ovld __cnfn bitselect(half3 a, half3 b, half3 c); |
| 11018 | half4 __ovld __cnfn bitselect(half4 a, half4 b, half4 c); |
| 11019 | half8 __ovld __cnfn bitselect(half8 a, half8 b, half8 c); |
| 11020 | half16 __ovld __cnfn bitselect(half16 a, half16 b, half16 c); |
| 11021 | #endif //cl_khr_fp16 |
| 11022 | |
| 11023 | /** |
| 11024 | * For each component of a vector type, |
| 11025 | * result[i] = if MSB of c[i] is set ? b[i] : a[i]. |
| 11026 | * For a scalar type, result = c ? b : a. |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 11027 | * b and a must have the same type. |
| 11028 | * c must have the same number of elements and bits as a. |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11029 | */ |
| 11030 | char __ovld __cnfn select(char a, char b, char c); |
| 11031 | uchar __ovld __cnfn select(uchar a, uchar b, char c); |
| 11032 | char2 __ovld __cnfn select(char2 a, char2 b, char2 c); |
| 11033 | uchar2 __ovld __cnfn select(uchar2 a, uchar2 b, char2 c); |
| 11034 | char3 __ovld __cnfn select(char3 a, char3 b, char3 c); |
| 11035 | uchar3 __ovld __cnfn select(uchar3 a, uchar3 b, char3 c); |
| 11036 | char4 __ovld __cnfn select(char4 a, char4 b, char4 c); |
| 11037 | uchar4 __ovld __cnfn select(uchar4 a, uchar4 b, char4 c); |
| 11038 | char8 __ovld __cnfn select(char8 a, char8 b, char8 c); |
| 11039 | uchar8 __ovld __cnfn select(uchar8 a, uchar8 b, char8 c); |
| 11040 | char16 __ovld __cnfn select(char16 a, char16 b, char16 c); |
| 11041 | uchar16 __ovld __cnfn select(uchar16 a, uchar16 b, char16 c); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 11042 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11043 | short __ovld __cnfn select(short a, short b, short c); |
| 11044 | ushort __ovld __cnfn select(ushort a, ushort b, short c); |
| 11045 | short2 __ovld __cnfn select(short2 a, short2 b, short2 c); |
| 11046 | ushort2 __ovld __cnfn select(ushort2 a, ushort2 b, short2 c); |
| 11047 | short3 __ovld __cnfn select(short3 a, short3 b, short3 c); |
| 11048 | ushort3 __ovld __cnfn select(ushort3 a, ushort3 b, short3 c); |
| 11049 | short4 __ovld __cnfn select(short4 a, short4 b, short4 c); |
| 11050 | ushort4 __ovld __cnfn select(ushort4 a, ushort4 b, short4 c); |
| 11051 | short8 __ovld __cnfn select(short8 a, short8 b, short8 c); |
| 11052 | ushort8 __ovld __cnfn select(ushort8 a, ushort8 b, short8 c); |
| 11053 | short16 __ovld __cnfn select(short16 a, short16 b, short16 c); |
| 11054 | ushort16 __ovld __cnfn select(ushort16 a, ushort16 b, short16 c); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 11055 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11056 | int __ovld __cnfn select(int a, int b, int c); |
| 11057 | uint __ovld __cnfn select(uint a, uint b, int c); |
| 11058 | int2 __ovld __cnfn select(int2 a, int2 b, int2 c); |
| 11059 | uint2 __ovld __cnfn select(uint2 a, uint2 b, int2 c); |
| 11060 | int3 __ovld __cnfn select(int3 a, int3 b, int3 c); |
| 11061 | uint3 __ovld __cnfn select(uint3 a, uint3 b, int3 c); |
| 11062 | int4 __ovld __cnfn select(int4 a, int4 b, int4 c); |
| 11063 | uint4 __ovld __cnfn select(uint4 a, uint4 b, int4 c); |
| 11064 | int8 __ovld __cnfn select(int8 a, int8 b, int8 c); |
| 11065 | uint8 __ovld __cnfn select(uint8 a, uint8 b, int8 c); |
| 11066 | int16 __ovld __cnfn select(int16 a, int16 b, int16 c); |
| 11067 | uint16 __ovld __cnfn select(uint16 a, uint16 b, int16 c); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11068 | float __ovld __cnfn select(float a, float b, int c); |
| 11069 | float2 __ovld __cnfn select(float2 a, float2 b, int2 c); |
| 11070 | float3 __ovld __cnfn select(float3 a, float3 b, int3 c); |
| 11071 | float4 __ovld __cnfn select(float4 a, float4 b, int4 c); |
| 11072 | float8 __ovld __cnfn select(float8 a, float8 b, int8 c); |
| 11073 | float16 __ovld __cnfn select(float16 a, float16 b, int16 c); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 11074 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11075 | long __ovld __cnfn select(long a, long b, long c); |
| 11076 | ulong __ovld __cnfn select(ulong a, ulong b, long c); |
| 11077 | long2 __ovld __cnfn select(long2 a, long2 b, long2 c); |
| 11078 | ulong2 __ovld __cnfn select(ulong2 a, ulong2 b, long2 c); |
| 11079 | long3 __ovld __cnfn select(long3 a, long3 b, long3 c); |
| 11080 | ulong3 __ovld __cnfn select(ulong3 a, ulong3 b, long3 c); |
| 11081 | long4 __ovld __cnfn select(long4 a, long4 b, long4 c); |
| 11082 | ulong4 __ovld __cnfn select(ulong4 a, ulong4 b, long4 c); |
| 11083 | long8 __ovld __cnfn select(long8 a, long8 b, long8 c); |
| 11084 | ulong8 __ovld __cnfn select(ulong8 a, ulong8 b, long8 c); |
| 11085 | long16 __ovld __cnfn select(long16 a, long16 b, long16 c); |
| 11086 | ulong16 __ovld __cnfn select(ulong16 a, ulong16 b, long16 c); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 11087 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11088 | char __ovld __cnfn select(char a, char b, uchar c); |
| 11089 | uchar __ovld __cnfn select(uchar a, uchar b, uchar c); |
| 11090 | char2 __ovld __cnfn select(char2 a, char2 b, uchar2 c); |
| 11091 | uchar2 __ovld __cnfn select(uchar2 a, uchar2 b, uchar2 c); |
| 11092 | char3 __ovld __cnfn select(char3 a, char3 b, uchar3 c); |
| 11093 | uchar3 __ovld __cnfn select(uchar3 a, uchar3 b, uchar3 c); |
| 11094 | char4 __ovld __cnfn select(char4 a, char4 b, uchar4 c); |
| 11095 | uchar4 __ovld __cnfn select(uchar4 a, uchar4 b, uchar4 c); |
| 11096 | char8 __ovld __cnfn select(char8 a, char8 b, uchar8 c); |
| 11097 | uchar8 __ovld __cnfn select(uchar8 a, uchar8 b, uchar8 c); |
| 11098 | char16 __ovld __cnfn select(char16 a, char16 b, uchar16 c); |
| 11099 | uchar16 __ovld __cnfn select(uchar16 a, uchar16 b, uchar16 c); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 11100 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11101 | short __ovld __cnfn select(short a, short b, ushort c); |
| 11102 | ushort __ovld __cnfn select(ushort a, ushort b, ushort c); |
| 11103 | short2 __ovld __cnfn select(short2 a, short2 b, ushort2 c); |
| 11104 | ushort2 __ovld __cnfn select(ushort2 a, ushort2 b, ushort2 c); |
| 11105 | short3 __ovld __cnfn select(short3 a, short3 b, ushort3 c); |
| 11106 | ushort3 __ovld __cnfn select(ushort3 a, ushort3 b, ushort3 c); |
| 11107 | short4 __ovld __cnfn select(short4 a, short4 b, ushort4 c); |
| 11108 | ushort4 __ovld __cnfn select(ushort4 a, ushort4 b, ushort4 c); |
| 11109 | short8 __ovld __cnfn select(short8 a, short8 b, ushort8 c); |
| 11110 | ushort8 __ovld __cnfn select(ushort8 a, ushort8 b, ushort8 c); |
| 11111 | short16 __ovld __cnfn select(short16 a, short16 b, ushort16 c); |
| 11112 | ushort16 __ovld __cnfn select(ushort16 a, ushort16 b, ushort16 c); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 11113 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11114 | int __ovld __cnfn select(int a, int b, uint c); |
| 11115 | uint __ovld __cnfn select(uint a, uint b, uint c); |
| 11116 | int2 __ovld __cnfn select(int2 a, int2 b, uint2 c); |
| 11117 | uint2 __ovld __cnfn select(uint2 a, uint2 b, uint2 c); |
| 11118 | int3 __ovld __cnfn select(int3 a, int3 b, uint3 c); |
| 11119 | uint3 __ovld __cnfn select(uint3 a, uint3 b, uint3 c); |
| 11120 | int4 __ovld __cnfn select(int4 a, int4 b, uint4 c); |
| 11121 | uint4 __ovld __cnfn select(uint4 a, uint4 b, uint4 c); |
| 11122 | int8 __ovld __cnfn select(int8 a, int8 b, uint8 c); |
| 11123 | uint8 __ovld __cnfn select(uint8 a, uint8 b, uint8 c); |
| 11124 | int16 __ovld __cnfn select(int16 a, int16 b, uint16 c); |
| 11125 | uint16 __ovld __cnfn select(uint16 a, uint16 b, uint16 c); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11126 | float __ovld __cnfn select(float a, float b, uint c); |
| 11127 | float2 __ovld __cnfn select(float2 a, float2 b, uint2 c); |
| 11128 | float3 __ovld __cnfn select(float3 a, float3 b, uint3 c); |
| 11129 | float4 __ovld __cnfn select(float4 a, float4 b, uint4 c); |
| 11130 | float8 __ovld __cnfn select(float8 a, float8 b, uint8 c); |
| 11131 | float16 __ovld __cnfn select(float16 a, float16 b, uint16 c); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 11132 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11133 | long __ovld __cnfn select(long a, long b, ulong c); |
| 11134 | ulong __ovld __cnfn select(ulong a, ulong b, ulong c); |
| 11135 | long2 __ovld __cnfn select(long2 a, long2 b, ulong2 c); |
| 11136 | ulong2 __ovld __cnfn select(ulong2 a, ulong2 b, ulong2 c); |
| 11137 | long3 __ovld __cnfn select(long3 a, long3 b, ulong3 c); |
| 11138 | ulong3 __ovld __cnfn select(ulong3 a, ulong3 b, ulong3 c); |
| 11139 | long4 __ovld __cnfn select(long4 a, long4 b, ulong4 c); |
| 11140 | ulong4 __ovld __cnfn select(ulong4 a, ulong4 b, ulong4 c); |
| 11141 | long8 __ovld __cnfn select(long8 a, long8 b, ulong8 c); |
| 11142 | ulong8 __ovld __cnfn select(ulong8 a, ulong8 b, ulong8 c); |
| 11143 | long16 __ovld __cnfn select(long16 a, long16 b, ulong16 c); |
| 11144 | ulong16 __ovld __cnfn select(ulong16 a, ulong16 b, ulong16 c); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 11145 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11146 | #ifdef cl_khr_fp64 |
| 11147 | double __ovld __cnfn select(double a, double b, long c); |
| 11148 | double2 __ovld __cnfn select(double2 a, double2 b, long2 c); |
| 11149 | double3 __ovld __cnfn select(double3 a, double3 b, long3 c); |
| 11150 | double4 __ovld __cnfn select(double4 a, double4 b, long4 c); |
| 11151 | double8 __ovld __cnfn select(double8 a, double8 b, long8 c); |
| 11152 | double16 __ovld __cnfn select(double16 a, double16 b, long16 c); |
| 11153 | double __ovld __cnfn select(double a, double b, ulong c); |
| 11154 | double2 __ovld __cnfn select(double2 a, double2 b, ulong2 c); |
| 11155 | double3 __ovld __cnfn select(double3 a, double3 b, ulong3 c); |
| 11156 | double4 __ovld __cnfn select(double4 a, double4 b, ulong4 c); |
| 11157 | double8 __ovld __cnfn select(double8 a, double8 b, ulong8 c); |
| 11158 | double16 __ovld __cnfn select(double16 a, double16 b, ulong16 c); |
| 11159 | #endif //cl_khr_fp64 |
| 11160 | #ifdef cl_khr_fp16 |
| 11161 | half __ovld __cnfn select(half a, half b, short c); |
| 11162 | half2 __ovld __cnfn select(half2 a, half2 b, short2 c); |
| 11163 | half3 __ovld __cnfn select(half3 a, half3 b, short3 c); |
| 11164 | half4 __ovld __cnfn select(half4 a, half4 b, short4 c); |
| 11165 | half8 __ovld __cnfn select(half8 a, half8 b, short8 c); |
| 11166 | half16 __ovld __cnfn select(half16 a, half16 b, short16 c); |
| 11167 | half __ovld __cnfn select(half a, half b, ushort c); |
| 11168 | half2 __ovld __cnfn select(half2 a, half2 b, ushort2 c); |
| 11169 | half3 __ovld __cnfn select(half3 a, half3 b, ushort3 c); |
| 11170 | half4 __ovld __cnfn select(half4 a, half4 b, ushort4 c); |
| 11171 | half8 __ovld __cnfn select(half8 a, half8 b, ushort8 c); |
| 11172 | half16 __ovld __cnfn select(half16 a, half16 b, ushort16 c); |
| 11173 | #endif //cl_khr_fp16 |
| 11174 | |
| 11175 | // OpenCL v1.1 s6.11.7, v1.2 s6.12.7, v2.0 s6.13.7 - Vector Data Load and Store Functions |
| 11176 | // OpenCL extensions v1.1 s9.6.6, v1.2 s9.5.6, v2.0 s9.4.6 - Vector Data Load and Store Functions for Half Type |
| 11177 | /** |
| 11178 | * Use generic type gentype to indicate the built-in data types |
| 11179 | * char, uchar, short, ushort, int, uint, long, ulong, float, |
| 11180 | * double or half. |
| 11181 | * |
| 11182 | * vloadn return sizeof (gentypen) bytes of data read from address (p + (offset * n)). |
| 11183 | * |
| 11184 | * vstoren write sizeof (gentypen) bytes given by data to address (p + (offset * n)). |
| 11185 | * |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 11186 | * The address computed as (p + (offset * n)) must be |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11187 | * 8-bit aligned if gentype is char, uchar; |
| 11188 | * 16-bit aligned if gentype is short, ushort, half; |
| 11189 | * 32-bit aligned if gentype is int, uint, float; |
| 11190 | * 64-bit aligned if gentype is long, ulong, double. |
| 11191 | */ |
| 11192 | |
| 11193 | char2 __ovld vload2(size_t offset, const __constant char *p); |
| 11194 | uchar2 __ovld vload2(size_t offset, const __constant uchar *p); |
| 11195 | short2 __ovld vload2(size_t offset, const __constant short *p); |
| 11196 | ushort2 __ovld vload2(size_t offset, const __constant ushort *p); |
| 11197 | int2 __ovld vload2(size_t offset, const __constant int *p); |
| 11198 | uint2 __ovld vload2(size_t offset, const __constant uint *p); |
| 11199 | long2 __ovld vload2(size_t offset, const __constant long *p); |
| 11200 | ulong2 __ovld vload2(size_t offset, const __constant ulong *p); |
| 11201 | float2 __ovld vload2(size_t offset, const __constant float *p); |
| 11202 | char3 __ovld vload3(size_t offset, const __constant char *p); |
| 11203 | uchar3 __ovld vload3(size_t offset, const __constant uchar *p); |
| 11204 | short3 __ovld vload3(size_t offset, const __constant short *p); |
| 11205 | ushort3 __ovld vload3(size_t offset, const __constant ushort *p); |
| 11206 | int3 __ovld vload3(size_t offset, const __constant int *p); |
| 11207 | uint3 __ovld vload3(size_t offset, const __constant uint *p); |
| 11208 | long3 __ovld vload3(size_t offset, const __constant long *p); |
| 11209 | ulong3 __ovld vload3(size_t offset, const __constant ulong *p); |
| 11210 | float3 __ovld vload3(size_t offset, const __constant float *p); |
| 11211 | char4 __ovld vload4(size_t offset, const __constant char *p); |
| 11212 | uchar4 __ovld vload4(size_t offset, const __constant uchar *p); |
| 11213 | short4 __ovld vload4(size_t offset, const __constant short *p); |
| 11214 | ushort4 __ovld vload4(size_t offset, const __constant ushort *p); |
| 11215 | int4 __ovld vload4(size_t offset, const __constant int *p); |
| 11216 | uint4 __ovld vload4(size_t offset, const __constant uint *p); |
| 11217 | long4 __ovld vload4(size_t offset, const __constant long *p); |
| 11218 | ulong4 __ovld vload4(size_t offset, const __constant ulong *p); |
| 11219 | float4 __ovld vload4(size_t offset, const __constant float *p); |
| 11220 | char8 __ovld vload8(size_t offset, const __constant char *p); |
| 11221 | uchar8 __ovld vload8(size_t offset, const __constant uchar *p); |
| 11222 | short8 __ovld vload8(size_t offset, const __constant short *p); |
| 11223 | ushort8 __ovld vload8(size_t offset, const __constant ushort *p); |
| 11224 | int8 __ovld vload8(size_t offset, const __constant int *p); |
| 11225 | uint8 __ovld vload8(size_t offset, const __constant uint *p); |
| 11226 | long8 __ovld vload8(size_t offset, const __constant long *p); |
| 11227 | ulong8 __ovld vload8(size_t offset, const __constant ulong *p); |
| 11228 | float8 __ovld vload8(size_t offset, const __constant float *p); |
| 11229 | char16 __ovld vload16(size_t offset, const __constant char *p); |
| 11230 | uchar16 __ovld vload16(size_t offset, const __constant uchar *p); |
| 11231 | short16 __ovld vload16(size_t offset, const __constant short *p); |
| 11232 | ushort16 __ovld vload16(size_t offset, const __constant ushort *p); |
| 11233 | int16 __ovld vload16(size_t offset, const __constant int *p); |
| 11234 | uint16 __ovld vload16(size_t offset, const __constant uint *p); |
| 11235 | long16 __ovld vload16(size_t offset, const __constant long *p); |
| 11236 | ulong16 __ovld vload16(size_t offset, const __constant ulong *p); |
| 11237 | float16 __ovld vload16(size_t offset, const __constant float *p); |
| 11238 | #ifdef cl_khr_fp64 |
| 11239 | double2 __ovld vload2(size_t offset, const __constant double *p); |
| 11240 | double3 __ovld vload3(size_t offset, const __constant double *p); |
| 11241 | double4 __ovld vload4(size_t offset, const __constant double *p); |
| 11242 | double8 __ovld vload8(size_t offset, const __constant double *p); |
| 11243 | double16 __ovld vload16(size_t offset, const __constant double *p); |
| 11244 | #endif //cl_khr_fp64 |
| 11245 | |
| 11246 | #ifdef cl_khr_fp16 |
| 11247 | half __ovld vload(size_t offset, const __constant half *p); |
| 11248 | half2 __ovld vload2(size_t offset, const __constant half *p); |
| 11249 | half3 __ovld vload3(size_t offset, const __constant half *p); |
| 11250 | half4 __ovld vload4(size_t offset, const __constant half *p); |
| 11251 | half8 __ovld vload8(size_t offset, const __constant half *p); |
| 11252 | half16 __ovld vload16(size_t offset, const __constant half *p); |
| 11253 | #endif //cl_khr_fp16 |
| 11254 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 11255 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11256 | char2 __ovld vload2(size_t offset, const char *p); |
| 11257 | uchar2 __ovld vload2(size_t offset, const uchar *p); |
| 11258 | short2 __ovld vload2(size_t offset, const short *p); |
| 11259 | ushort2 __ovld vload2(size_t offset, const ushort *p); |
| 11260 | int2 __ovld vload2(size_t offset, const int *p); |
| 11261 | uint2 __ovld vload2(size_t offset, const uint *p); |
| 11262 | long2 __ovld vload2(size_t offset, const long *p); |
| 11263 | ulong2 __ovld vload2(size_t offset, const ulong *p); |
| 11264 | float2 __ovld vload2(size_t offset, const float *p); |
| 11265 | char3 __ovld vload3(size_t offset, const char *p); |
| 11266 | uchar3 __ovld vload3(size_t offset, const uchar *p); |
| 11267 | short3 __ovld vload3(size_t offset, const short *p); |
| 11268 | ushort3 __ovld vload3(size_t offset, const ushort *p); |
| 11269 | int3 __ovld vload3(size_t offset, const int *p); |
| 11270 | uint3 __ovld vload3(size_t offset, const uint *p); |
| 11271 | long3 __ovld vload3(size_t offset, const long *p); |
| 11272 | ulong3 __ovld vload3(size_t offset, const ulong *p); |
| 11273 | float3 __ovld vload3(size_t offset, const float *p); |
| 11274 | char4 __ovld vload4(size_t offset, const char *p); |
| 11275 | uchar4 __ovld vload4(size_t offset, const uchar *p); |
| 11276 | short4 __ovld vload4(size_t offset, const short *p); |
| 11277 | ushort4 __ovld vload4(size_t offset, const ushort *p); |
| 11278 | int4 __ovld vload4(size_t offset, const int *p); |
| 11279 | uint4 __ovld vload4(size_t offset, const uint *p); |
| 11280 | long4 __ovld vload4(size_t offset, const long *p); |
| 11281 | ulong4 __ovld vload4(size_t offset, const ulong *p); |
| 11282 | float4 __ovld vload4(size_t offset, const float *p); |
| 11283 | char8 __ovld vload8(size_t offset, const char *p); |
| 11284 | uchar8 __ovld vload8(size_t offset, const uchar *p); |
| 11285 | short8 __ovld vload8(size_t offset, const short *p); |
| 11286 | ushort8 __ovld vload8(size_t offset, const ushort *p); |
| 11287 | int8 __ovld vload8(size_t offset, const int *p); |
| 11288 | uint8 __ovld vload8(size_t offset, const uint *p); |
| 11289 | long8 __ovld vload8(size_t offset, const long *p); |
| 11290 | ulong8 __ovld vload8(size_t offset, const ulong *p); |
| 11291 | float8 __ovld vload8(size_t offset, const float *p); |
| 11292 | char16 __ovld vload16(size_t offset, const char *p); |
| 11293 | uchar16 __ovld vload16(size_t offset, const uchar *p); |
| 11294 | short16 __ovld vload16(size_t offset, const short *p); |
| 11295 | ushort16 __ovld vload16(size_t offset, const ushort *p); |
| 11296 | int16 __ovld vload16(size_t offset, const int *p); |
| 11297 | uint16 __ovld vload16(size_t offset, const uint *p); |
| 11298 | long16 __ovld vload16(size_t offset, const long *p); |
| 11299 | ulong16 __ovld vload16(size_t offset, const ulong *p); |
| 11300 | float16 __ovld vload16(size_t offset, const float *p); |
| 11301 | |
| 11302 | #ifdef cl_khr_fp64 |
| 11303 | double2 __ovld vload2(size_t offset, const double *p); |
| 11304 | double3 __ovld vload3(size_t offset, const double *p); |
| 11305 | double4 __ovld vload4(size_t offset, const double *p); |
| 11306 | double8 __ovld vload8(size_t offset, const double *p); |
| 11307 | double16 __ovld vload16(size_t offset, const double *p); |
| 11308 | #endif //cl_khr_fp64 |
| 11309 | |
| 11310 | #ifdef cl_khr_fp16 |
| 11311 | half __ovld vload(size_t offset, const half *p); |
| 11312 | half2 __ovld vload2(size_t offset, const half *p); |
| 11313 | half3 __ovld vload3(size_t offset, const half *p); |
| 11314 | half4 __ovld vload4(size_t offset, const half *p); |
| 11315 | half8 __ovld vload8(size_t offset, const half *p); |
| 11316 | half16 __ovld vload16(size_t offset, const half *p); |
| 11317 | #endif //cl_khr_fp16 |
| 11318 | #else |
| 11319 | char2 __ovld vload2(size_t offset, const __global char *p); |
| 11320 | uchar2 __ovld vload2(size_t offset, const __global uchar *p); |
| 11321 | short2 __ovld vload2(size_t offset, const __global short *p); |
| 11322 | ushort2 __ovld vload2(size_t offset, const __global ushort *p); |
| 11323 | int2 __ovld vload2(size_t offset, const __global int *p); |
| 11324 | uint2 __ovld vload2(size_t offset, const __global uint *p); |
| 11325 | long2 __ovld vload2(size_t offset, const __global long *p); |
| 11326 | ulong2 __ovld vload2(size_t offset, const __global ulong *p); |
| 11327 | float2 __ovld vload2(size_t offset, const __global float *p); |
| 11328 | char3 __ovld vload3(size_t offset, const __global char *p); |
| 11329 | uchar3 __ovld vload3(size_t offset, const __global uchar *p); |
| 11330 | short3 __ovld vload3(size_t offset, const __global short *p); |
| 11331 | ushort3 __ovld vload3(size_t offset, const __global ushort *p); |
| 11332 | int3 __ovld vload3(size_t offset, const __global int *p); |
| 11333 | uint3 __ovld vload3(size_t offset, const __global uint *p); |
| 11334 | long3 __ovld vload3(size_t offset, const __global long *p); |
| 11335 | ulong3 __ovld vload3(size_t offset, const __global ulong *p); |
| 11336 | float3 __ovld vload3(size_t offset, const __global float *p); |
| 11337 | char4 __ovld vload4(size_t offset, const __global char *p); |
| 11338 | uchar4 __ovld vload4(size_t offset, const __global uchar *p); |
| 11339 | short4 __ovld vload4(size_t offset, const __global short *p); |
| 11340 | ushort4 __ovld vload4(size_t offset, const __global ushort *p); |
| 11341 | int4 __ovld vload4(size_t offset, const __global int *p); |
| 11342 | uint4 __ovld vload4(size_t offset, const __global uint *p); |
| 11343 | long4 __ovld vload4(size_t offset, const __global long *p); |
| 11344 | ulong4 __ovld vload4(size_t offset, const __global ulong *p); |
| 11345 | float4 __ovld vload4(size_t offset, const __global float *p); |
| 11346 | char8 __ovld vload8(size_t offset, const __global char *p); |
| 11347 | uchar8 __ovld vload8(size_t offset, const __global uchar *p); |
| 11348 | short8 __ovld vload8(size_t offset, const __global short *p); |
| 11349 | ushort8 __ovld vload8(size_t offset, const __global ushort *p); |
| 11350 | int8 __ovld vload8(size_t offset, const __global int *p); |
| 11351 | uint8 __ovld vload8(size_t offset, const __global uint *p); |
| 11352 | long8 __ovld vload8(size_t offset, const __global long *p); |
| 11353 | ulong8 __ovld vload8(size_t offset, const __global ulong *p); |
| 11354 | float8 __ovld vload8(size_t offset, const __global float *p); |
| 11355 | char16 __ovld vload16(size_t offset, const __global char *p); |
| 11356 | uchar16 __ovld vload16(size_t offset, const __global uchar *p); |
| 11357 | short16 __ovld vload16(size_t offset, const __global short *p); |
| 11358 | ushort16 __ovld vload16(size_t offset, const __global ushort *p); |
| 11359 | int16 __ovld vload16(size_t offset, const __global int *p); |
| 11360 | uint16 __ovld vload16(size_t offset, const __global uint *p); |
| 11361 | long16 __ovld vload16(size_t offset, const __global long *p); |
| 11362 | ulong16 __ovld vload16(size_t offset, const __global ulong *p); |
| 11363 | float16 __ovld vload16(size_t offset, const __global float *p); |
| 11364 | char2 __ovld vload2(size_t offset, const __local char *p); |
| 11365 | uchar2 __ovld vload2(size_t offset, const __local uchar *p); |
| 11366 | short2 __ovld vload2(size_t offset, const __local short *p); |
| 11367 | ushort2 __ovld vload2(size_t offset, const __local ushort *p); |
| 11368 | int2 __ovld vload2(size_t offset, const __local int *p); |
| 11369 | uint2 __ovld vload2(size_t offset, const __local uint *p); |
| 11370 | long2 __ovld vload2(size_t offset, const __local long *p); |
| 11371 | ulong2 __ovld vload2(size_t offset, const __local ulong *p); |
| 11372 | float2 __ovld vload2(size_t offset, const __local float *p); |
| 11373 | char3 __ovld vload3(size_t offset, const __local char *p); |
| 11374 | uchar3 __ovld vload3(size_t offset, const __local uchar *p); |
| 11375 | short3 __ovld vload3(size_t offset, const __local short *p); |
| 11376 | ushort3 __ovld vload3(size_t offset, const __local ushort *p); |
| 11377 | int3 __ovld vload3(size_t offset, const __local int *p); |
| 11378 | uint3 __ovld vload3(size_t offset, const __local uint *p); |
| 11379 | long3 __ovld vload3(size_t offset, const __local long *p); |
| 11380 | ulong3 __ovld vload3(size_t offset, const __local ulong *p); |
| 11381 | float3 __ovld vload3(size_t offset, const __local float *p); |
| 11382 | char4 __ovld vload4(size_t offset, const __local char *p); |
| 11383 | uchar4 __ovld vload4(size_t offset, const __local uchar *p); |
| 11384 | short4 __ovld vload4(size_t offset, const __local short *p); |
| 11385 | ushort4 __ovld vload4(size_t offset, const __local ushort *p); |
| 11386 | int4 __ovld vload4(size_t offset, const __local int *p); |
| 11387 | uint4 __ovld vload4(size_t offset, const __local uint *p); |
| 11388 | long4 __ovld vload4(size_t offset, const __local long *p); |
| 11389 | ulong4 __ovld vload4(size_t offset, const __local ulong *p); |
| 11390 | float4 __ovld vload4(size_t offset, const __local float *p); |
| 11391 | char8 __ovld vload8(size_t offset, const __local char *p); |
| 11392 | uchar8 __ovld vload8(size_t offset, const __local uchar *p); |
| 11393 | short8 __ovld vload8(size_t offset, const __local short *p); |
| 11394 | ushort8 __ovld vload8(size_t offset, const __local ushort *p); |
| 11395 | int8 __ovld vload8(size_t offset, const __local int *p); |
| 11396 | uint8 __ovld vload8(size_t offset, const __local uint *p); |
| 11397 | long8 __ovld vload8(size_t offset, const __local long *p); |
| 11398 | ulong8 __ovld vload8(size_t offset, const __local ulong *p); |
| 11399 | float8 __ovld vload8(size_t offset, const __local float *p); |
| 11400 | char16 __ovld vload16(size_t offset, const __local char *p); |
| 11401 | uchar16 __ovld vload16(size_t offset, const __local uchar *p); |
| 11402 | short16 __ovld vload16(size_t offset, const __local short *p); |
| 11403 | ushort16 __ovld vload16(size_t offset, const __local ushort *p); |
| 11404 | int16 __ovld vload16(size_t offset, const __local int *p); |
| 11405 | uint16 __ovld vload16(size_t offset, const __local uint *p); |
| 11406 | long16 __ovld vload16(size_t offset, const __local long *p); |
| 11407 | ulong16 __ovld vload16(size_t offset, const __local ulong *p); |
| 11408 | float16 __ovld vload16(size_t offset, const __local float *p); |
| 11409 | char2 __ovld vload2(size_t offset, const __private char *p); |
| 11410 | uchar2 __ovld vload2(size_t offset, const __private uchar *p); |
| 11411 | short2 __ovld vload2(size_t offset, const __private short *p); |
| 11412 | ushort2 __ovld vload2(size_t offset, const __private ushort *p); |
| 11413 | int2 __ovld vload2(size_t offset, const __private int *p); |
| 11414 | uint2 __ovld vload2(size_t offset, const __private uint *p); |
| 11415 | long2 __ovld vload2(size_t offset, const __private long *p); |
| 11416 | ulong2 __ovld vload2(size_t offset, const __private ulong *p); |
| 11417 | float2 __ovld vload2(size_t offset, const __private float *p); |
| 11418 | char3 __ovld vload3(size_t offset, const __private char *p); |
| 11419 | uchar3 __ovld vload3(size_t offset, const __private uchar *p); |
| 11420 | short3 __ovld vload3(size_t offset, const __private short *p); |
| 11421 | ushort3 __ovld vload3(size_t offset, const __private ushort *p); |
| 11422 | int3 __ovld vload3(size_t offset, const __private int *p); |
| 11423 | uint3 __ovld vload3(size_t offset, const __private uint *p); |
| 11424 | long3 __ovld vload3(size_t offset, const __private long *p); |
| 11425 | ulong3 __ovld vload3(size_t offset, const __private ulong *p); |
| 11426 | float3 __ovld vload3(size_t offset, const __private float *p); |
| 11427 | char4 __ovld vload4(size_t offset, const __private char *p); |
| 11428 | uchar4 __ovld vload4(size_t offset, const __private uchar *p); |
| 11429 | short4 __ovld vload4(size_t offset, const __private short *p); |
| 11430 | ushort4 __ovld vload4(size_t offset, const __private ushort *p); |
| 11431 | int4 __ovld vload4(size_t offset, const __private int *p); |
| 11432 | uint4 __ovld vload4(size_t offset, const __private uint *p); |
| 11433 | long4 __ovld vload4(size_t offset, const __private long *p); |
| 11434 | ulong4 __ovld vload4(size_t offset, const __private ulong *p); |
| 11435 | float4 __ovld vload4(size_t offset, const __private float *p); |
| 11436 | char8 __ovld vload8(size_t offset, const __private char *p); |
| 11437 | uchar8 __ovld vload8(size_t offset, const __private uchar *p); |
| 11438 | short8 __ovld vload8(size_t offset, const __private short *p); |
| 11439 | ushort8 __ovld vload8(size_t offset, const __private ushort *p); |
| 11440 | int8 __ovld vload8(size_t offset, const __private int *p); |
| 11441 | uint8 __ovld vload8(size_t offset, const __private uint *p); |
| 11442 | long8 __ovld vload8(size_t offset, const __private long *p); |
| 11443 | ulong8 __ovld vload8(size_t offset, const __private ulong *p); |
| 11444 | float8 __ovld vload8(size_t offset, const __private float *p); |
| 11445 | char16 __ovld vload16(size_t offset, const __private char *p); |
| 11446 | uchar16 __ovld vload16(size_t offset, const __private uchar *p); |
| 11447 | short16 __ovld vload16(size_t offset, const __private short *p); |
| 11448 | ushort16 __ovld vload16(size_t offset, const __private ushort *p); |
| 11449 | int16 __ovld vload16(size_t offset, const __private int *p); |
| 11450 | uint16 __ovld vload16(size_t offset, const __private uint *p); |
| 11451 | long16 __ovld vload16(size_t offset, const __private long *p); |
| 11452 | ulong16 __ovld vload16(size_t offset, const __private ulong *p); |
| 11453 | float16 __ovld vload16(size_t offset, const __private float *p); |
| 11454 | |
| 11455 | #ifdef cl_khr_fp64 |
| 11456 | double2 __ovld vload2(size_t offset, const __global double *p); |
| 11457 | double3 __ovld vload3(size_t offset, const __global double *p); |
| 11458 | double4 __ovld vload4(size_t offset, const __global double *p); |
| 11459 | double8 __ovld vload8(size_t offset, const __global double *p); |
| 11460 | double16 __ovld vload16(size_t offset, const __global double *p); |
| 11461 | double2 __ovld vload2(size_t offset, const __local double *p); |
| 11462 | double3 __ovld vload3(size_t offset, const __local double *p); |
| 11463 | double4 __ovld vload4(size_t offset, const __local double *p); |
| 11464 | double8 __ovld vload8(size_t offset, const __local double *p); |
| 11465 | double16 __ovld vload16(size_t offset, const __local double *p); |
| 11466 | double2 __ovld vload2(size_t offset, const __private double *p); |
| 11467 | double3 __ovld vload3(size_t offset, const __private double *p); |
| 11468 | double4 __ovld vload4(size_t offset, const __private double *p); |
| 11469 | double8 __ovld vload8(size_t offset, const __private double *p); |
| 11470 | double16 __ovld vload16(size_t offset, const __private double *p); |
| 11471 | #endif //cl_khr_fp64 |
| 11472 | |
| 11473 | #ifdef cl_khr_fp16 |
| 11474 | half __ovld vload(size_t offset, const __global half *p); |
| 11475 | half2 __ovld vload2(size_t offset, const __global half *p); |
| 11476 | half3 __ovld vload3(size_t offset, const __global half *p); |
| 11477 | half4 __ovld vload4(size_t offset, const __global half *p); |
| 11478 | half8 __ovld vload8(size_t offset, const __global half *p); |
| 11479 | half16 __ovld vload16(size_t offset, const __global half *p); |
| 11480 | half __ovld vload(size_t offset, const __local half *p); |
| 11481 | half2 __ovld vload2(size_t offset, const __local half *p); |
| 11482 | half3 __ovld vload3(size_t offset, const __local half *p); |
| 11483 | half4 __ovld vload4(size_t offset, const __local half *p); |
| 11484 | half8 __ovld vload8(size_t offset, const __local half *p); |
| 11485 | half16 __ovld vload16(size_t offset, const __local half *p); |
| 11486 | half __ovld vload(size_t offset, const __private half *p); |
| 11487 | half2 __ovld vload2(size_t offset, const __private half *p); |
| 11488 | half3 __ovld vload3(size_t offset, const __private half *p); |
| 11489 | half4 __ovld vload4(size_t offset, const __private half *p); |
| 11490 | half8 __ovld vload8(size_t offset, const __private half *p); |
| 11491 | half16 __ovld vload16(size_t offset, const __private half *p); |
| 11492 | #endif //cl_khr_fp16 |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 11493 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11494 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 11495 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11496 | void __ovld vstore2(char2 data, size_t offset, char *p); |
| 11497 | void __ovld vstore2(uchar2 data, size_t offset, uchar *p); |
| 11498 | void __ovld vstore2(short2 data, size_t offset, short *p); |
| 11499 | void __ovld vstore2(ushort2 data, size_t offset, ushort *p); |
| 11500 | void __ovld vstore2(int2 data, size_t offset, int *p); |
| 11501 | void __ovld vstore2(uint2 data, size_t offset, uint *p); |
| 11502 | void __ovld vstore2(long2 data, size_t offset, long *p); |
| 11503 | void __ovld vstore2(ulong2 data, size_t offset, ulong *p); |
| 11504 | void __ovld vstore2(float2 data, size_t offset, float *p); |
| 11505 | void __ovld vstore3(char3 data, size_t offset, char *p); |
| 11506 | void __ovld vstore3(uchar3 data, size_t offset, uchar *p); |
| 11507 | void __ovld vstore3(short3 data, size_t offset, short *p); |
| 11508 | void __ovld vstore3(ushort3 data, size_t offset, ushort *p); |
| 11509 | void __ovld vstore3(int3 data, size_t offset, int *p); |
| 11510 | void __ovld vstore3(uint3 data, size_t offset, uint *p); |
| 11511 | void __ovld vstore3(long3 data, size_t offset, long *p); |
| 11512 | void __ovld vstore3(ulong3 data, size_t offset, ulong *p); |
| 11513 | void __ovld vstore3(float3 data, size_t offset, float *p); |
| 11514 | void __ovld vstore4(char4 data, size_t offset, char *p); |
| 11515 | void __ovld vstore4(uchar4 data, size_t offset, uchar *p); |
| 11516 | void __ovld vstore4(short4 data, size_t offset, short *p); |
| 11517 | void __ovld vstore4(ushort4 data, size_t offset, ushort *p); |
| 11518 | void __ovld vstore4(int4 data, size_t offset, int *p); |
| 11519 | void __ovld vstore4(uint4 data, size_t offset, uint *p); |
| 11520 | void __ovld vstore4(long4 data, size_t offset, long *p); |
| 11521 | void __ovld vstore4(ulong4 data, size_t offset, ulong *p); |
| 11522 | void __ovld vstore4(float4 data, size_t offset, float *p); |
| 11523 | void __ovld vstore8(char8 data, size_t offset, char *p); |
| 11524 | void __ovld vstore8(uchar8 data, size_t offset, uchar *p); |
| 11525 | void __ovld vstore8(short8 data, size_t offset, short *p); |
| 11526 | void __ovld vstore8(ushort8 data, size_t offset, ushort *p); |
| 11527 | void __ovld vstore8(int8 data, size_t offset, int *p); |
| 11528 | void __ovld vstore8(uint8 data, size_t offset, uint *p); |
| 11529 | void __ovld vstore8(long8 data, size_t offset, long *p); |
| 11530 | void __ovld vstore8(ulong8 data, size_t offset, ulong *p); |
| 11531 | void __ovld vstore8(float8 data, size_t offset, float *p); |
| 11532 | void __ovld vstore16(char16 data, size_t offset, char *p); |
| 11533 | void __ovld vstore16(uchar16 data, size_t offset, uchar *p); |
| 11534 | void __ovld vstore16(short16 data, size_t offset, short *p); |
| 11535 | void __ovld vstore16(ushort16 data, size_t offset, ushort *p); |
| 11536 | void __ovld vstore16(int16 data, size_t offset, int *p); |
| 11537 | void __ovld vstore16(uint16 data, size_t offset, uint *p); |
| 11538 | void __ovld vstore16(long16 data, size_t offset, long *p); |
| 11539 | void __ovld vstore16(ulong16 data, size_t offset, ulong *p); |
| 11540 | void __ovld vstore16(float16 data, size_t offset, float *p); |
| 11541 | #ifdef cl_khr_fp64 |
| 11542 | void __ovld vstore2(double2 data, size_t offset, double *p); |
| 11543 | void __ovld vstore3(double3 data, size_t offset, double *p); |
| 11544 | void __ovld vstore4(double4 data, size_t offset, double *p); |
| 11545 | void __ovld vstore8(double8 data, size_t offset, double *p); |
| 11546 | void __ovld vstore16(double16 data, size_t offset, double *p); |
| 11547 | #endif //cl_khr_fp64 |
| 11548 | #ifdef cl_khr_fp16 |
| 11549 | void __ovld vstore(half data, size_t offset, half *p); |
| 11550 | void __ovld vstore2(half2 data, size_t offset, half *p); |
| 11551 | void __ovld vstore3(half3 data, size_t offset, half *p); |
| 11552 | void __ovld vstore4(half4 data, size_t offset, half *p); |
| 11553 | void __ovld vstore8(half8 data, size_t offset, half *p); |
| 11554 | void __ovld vstore16(half16 data, size_t offset, half *p); |
| 11555 | #endif //cl_khr_fp16 |
| 11556 | #else |
| 11557 | void __ovld vstore2(char2 data, size_t offset, __global char *p); |
| 11558 | void __ovld vstore2(uchar2 data, size_t offset, __global uchar *p); |
| 11559 | void __ovld vstore2(short2 data, size_t offset, __global short *p); |
| 11560 | void __ovld vstore2(ushort2 data, size_t offset, __global ushort *p); |
| 11561 | void __ovld vstore2(int2 data, size_t offset, __global int *p); |
| 11562 | void __ovld vstore2(uint2 data, size_t offset, __global uint *p); |
| 11563 | void __ovld vstore2(long2 data, size_t offset, __global long *p); |
| 11564 | void __ovld vstore2(ulong2 data, size_t offset, __global ulong *p); |
| 11565 | void __ovld vstore2(float2 data, size_t offset, __global float *p); |
| 11566 | void __ovld vstore3(char3 data, size_t offset, __global char *p); |
| 11567 | void __ovld vstore3(uchar3 data, size_t offset, __global uchar *p); |
| 11568 | void __ovld vstore3(short3 data, size_t offset, __global short *p); |
| 11569 | void __ovld vstore3(ushort3 data, size_t offset, __global ushort *p); |
| 11570 | void __ovld vstore3(int3 data, size_t offset, __global int *p); |
| 11571 | void __ovld vstore3(uint3 data, size_t offset, __global uint *p); |
| 11572 | void __ovld vstore3(long3 data, size_t offset, __global long *p); |
| 11573 | void __ovld vstore3(ulong3 data, size_t offset, __global ulong *p); |
| 11574 | void __ovld vstore3(float3 data, size_t offset, __global float *p); |
| 11575 | void __ovld vstore4(char4 data, size_t offset, __global char *p); |
| 11576 | void __ovld vstore4(uchar4 data, size_t offset, __global uchar *p); |
| 11577 | void __ovld vstore4(short4 data, size_t offset, __global short *p); |
| 11578 | void __ovld vstore4(ushort4 data, size_t offset, __global ushort *p); |
| 11579 | void __ovld vstore4(int4 data, size_t offset, __global int *p); |
| 11580 | void __ovld vstore4(uint4 data, size_t offset, __global uint *p); |
| 11581 | void __ovld vstore4(long4 data, size_t offset, __global long *p); |
| 11582 | void __ovld vstore4(ulong4 data, size_t offset, __global ulong *p); |
| 11583 | void __ovld vstore4(float4 data, size_t offset, __global float *p); |
| 11584 | void __ovld vstore8(char8 data, size_t offset, __global char *p); |
| 11585 | void __ovld vstore8(uchar8 data, size_t offset, __global uchar *p); |
| 11586 | void __ovld vstore8(short8 data, size_t offset, __global short *p); |
| 11587 | void __ovld vstore8(ushort8 data, size_t offset, __global ushort *p); |
| 11588 | void __ovld vstore8(int8 data, size_t offset, __global int *p); |
| 11589 | void __ovld vstore8(uint8 data, size_t offset, __global uint *p); |
| 11590 | void __ovld vstore8(long8 data, size_t offset, __global long *p); |
| 11591 | void __ovld vstore8(ulong8 data, size_t offset, __global ulong *p); |
| 11592 | void __ovld vstore8(float8 data, size_t offset, __global float *p); |
| 11593 | void __ovld vstore16(char16 data, size_t offset, __global char *p); |
| 11594 | void __ovld vstore16(uchar16 data, size_t offset, __global uchar *p); |
| 11595 | void __ovld vstore16(short16 data, size_t offset, __global short *p); |
| 11596 | void __ovld vstore16(ushort16 data, size_t offset, __global ushort *p); |
| 11597 | void __ovld vstore16(int16 data, size_t offset, __global int *p); |
| 11598 | void __ovld vstore16(uint16 data, size_t offset, __global uint *p); |
| 11599 | void __ovld vstore16(long16 data, size_t offset, __global long *p); |
| 11600 | void __ovld vstore16(ulong16 data, size_t offset, __global ulong *p); |
| 11601 | void __ovld vstore16(float16 data, size_t offset, __global float *p); |
| 11602 | void __ovld vstore2(char2 data, size_t offset, __local char *p); |
| 11603 | void __ovld vstore2(uchar2 data, size_t offset, __local uchar *p); |
| 11604 | void __ovld vstore2(short2 data, size_t offset, __local short *p); |
| 11605 | void __ovld vstore2(ushort2 data, size_t offset, __local ushort *p); |
| 11606 | void __ovld vstore2(int2 data, size_t offset, __local int *p); |
| 11607 | void __ovld vstore2(uint2 data, size_t offset, __local uint *p); |
| 11608 | void __ovld vstore2(long2 data, size_t offset, __local long *p); |
| 11609 | void __ovld vstore2(ulong2 data, size_t offset, __local ulong *p); |
| 11610 | void __ovld vstore2(float2 data, size_t offset, __local float *p); |
| 11611 | void __ovld vstore3(char3 data, size_t offset, __local char *p); |
| 11612 | void __ovld vstore3(uchar3 data, size_t offset, __local uchar *p); |
| 11613 | void __ovld vstore3(short3 data, size_t offset, __local short *p); |
| 11614 | void __ovld vstore3(ushort3 data, size_t offset, __local ushort *p); |
| 11615 | void __ovld vstore3(int3 data, size_t offset, __local int *p); |
| 11616 | void __ovld vstore3(uint3 data, size_t offset, __local uint *p); |
| 11617 | void __ovld vstore3(long3 data, size_t offset, __local long *p); |
| 11618 | void __ovld vstore3(ulong3 data, size_t offset, __local ulong *p); |
| 11619 | void __ovld vstore3(float3 data, size_t offset, __local float *p); |
| 11620 | void __ovld vstore4(char4 data, size_t offset, __local char *p); |
| 11621 | void __ovld vstore4(uchar4 data, size_t offset, __local uchar *p); |
| 11622 | void __ovld vstore4(short4 data, size_t offset, __local short *p); |
| 11623 | void __ovld vstore4(ushort4 data, size_t offset, __local ushort *p); |
| 11624 | void __ovld vstore4(int4 data, size_t offset, __local int *p); |
| 11625 | void __ovld vstore4(uint4 data, size_t offset, __local uint *p); |
| 11626 | void __ovld vstore4(long4 data, size_t offset, __local long *p); |
| 11627 | void __ovld vstore4(ulong4 data, size_t offset, __local ulong *p); |
| 11628 | void __ovld vstore4(float4 data, size_t offset, __local float *p); |
| 11629 | void __ovld vstore8(char8 data, size_t offset, __local char *p); |
| 11630 | void __ovld vstore8(uchar8 data, size_t offset, __local uchar *p); |
| 11631 | void __ovld vstore8(short8 data, size_t offset, __local short *p); |
| 11632 | void __ovld vstore8(ushort8 data, size_t offset, __local ushort *p); |
| 11633 | void __ovld vstore8(int8 data, size_t offset, __local int *p); |
| 11634 | void __ovld vstore8(uint8 data, size_t offset, __local uint *p); |
| 11635 | void __ovld vstore8(long8 data, size_t offset, __local long *p); |
| 11636 | void __ovld vstore8(ulong8 data, size_t offset, __local ulong *p); |
| 11637 | void __ovld vstore8(float8 data, size_t offset, __local float *p); |
| 11638 | void __ovld vstore16(char16 data, size_t offset, __local char *p); |
| 11639 | void __ovld vstore16(uchar16 data, size_t offset, __local uchar *p); |
| 11640 | void __ovld vstore16(short16 data, size_t offset, __local short *p); |
| 11641 | void __ovld vstore16(ushort16 data, size_t offset, __local ushort *p); |
| 11642 | void __ovld vstore16(int16 data, size_t offset, __local int *p); |
| 11643 | void __ovld vstore16(uint16 data, size_t offset, __local uint *p); |
| 11644 | void __ovld vstore16(long16 data, size_t offset, __local long *p); |
| 11645 | void __ovld vstore16(ulong16 data, size_t offset, __local ulong *p); |
| 11646 | void __ovld vstore16(float16 data, size_t offset, __local float *p); |
| 11647 | void __ovld vstore2(char2 data, size_t offset, __private char *p); |
| 11648 | void __ovld vstore2(uchar2 data, size_t offset, __private uchar *p); |
| 11649 | void __ovld vstore2(short2 data, size_t offset, __private short *p); |
| 11650 | void __ovld vstore2(ushort2 data, size_t offset, __private ushort *p); |
| 11651 | void __ovld vstore2(int2 data, size_t offset, __private int *p); |
| 11652 | void __ovld vstore2(uint2 data, size_t offset, __private uint *p); |
| 11653 | void __ovld vstore2(long2 data, size_t offset, __private long *p); |
| 11654 | void __ovld vstore2(ulong2 data, size_t offset, __private ulong *p); |
| 11655 | void __ovld vstore2(float2 data, size_t offset, __private float *p); |
| 11656 | void __ovld vstore3(char3 data, size_t offset, __private char *p); |
| 11657 | void __ovld vstore3(uchar3 data, size_t offset, __private uchar *p); |
| 11658 | void __ovld vstore3(short3 data, size_t offset, __private short *p); |
| 11659 | void __ovld vstore3(ushort3 data, size_t offset, __private ushort *p); |
| 11660 | void __ovld vstore3(int3 data, size_t offset, __private int *p); |
| 11661 | void __ovld vstore3(uint3 data, size_t offset, __private uint *p); |
| 11662 | void __ovld vstore3(long3 data, size_t offset, __private long *p); |
| 11663 | void __ovld vstore3(ulong3 data, size_t offset, __private ulong *p); |
| 11664 | void __ovld vstore3(float3 data, size_t offset, __private float *p); |
| 11665 | void __ovld vstore4(char4 data, size_t offset, __private char *p); |
| 11666 | void __ovld vstore4(uchar4 data, size_t offset, __private uchar *p); |
| 11667 | void __ovld vstore4(short4 data, size_t offset, __private short *p); |
| 11668 | void __ovld vstore4(ushort4 data, size_t offset, __private ushort *p); |
| 11669 | void __ovld vstore4(int4 data, size_t offset, __private int *p); |
| 11670 | void __ovld vstore4(uint4 data, size_t offset, __private uint *p); |
| 11671 | void __ovld vstore4(long4 data, size_t offset, __private long *p); |
| 11672 | void __ovld vstore4(ulong4 data, size_t offset, __private ulong *p); |
| 11673 | void __ovld vstore4(float4 data, size_t offset, __private float *p); |
| 11674 | void __ovld vstore8(char8 data, size_t offset, __private char *p); |
| 11675 | void __ovld vstore8(uchar8 data, size_t offset, __private uchar *p); |
| 11676 | void __ovld vstore8(short8 data, size_t offset, __private short *p); |
| 11677 | void __ovld vstore8(ushort8 data, size_t offset, __private ushort *p); |
| 11678 | void __ovld vstore8(int8 data, size_t offset, __private int *p); |
| 11679 | void __ovld vstore8(uint8 data, size_t offset, __private uint *p); |
| 11680 | void __ovld vstore8(long8 data, size_t offset, __private long *p); |
| 11681 | void __ovld vstore8(ulong8 data, size_t offset, __private ulong *p); |
| 11682 | void __ovld vstore8(float8 data, size_t offset, __private float *p); |
| 11683 | void __ovld vstore16(char16 data, size_t offset, __private char *p); |
| 11684 | void __ovld vstore16(uchar16 data, size_t offset, __private uchar *p); |
| 11685 | void __ovld vstore16(short16 data, size_t offset, __private short *p); |
| 11686 | void __ovld vstore16(ushort16 data, size_t offset, __private ushort *p); |
| 11687 | void __ovld vstore16(int16 data, size_t offset, __private int *p); |
| 11688 | void __ovld vstore16(uint16 data, size_t offset, __private uint *p); |
| 11689 | void __ovld vstore16(long16 data, size_t offset, __private long *p); |
| 11690 | void __ovld vstore16(ulong16 data, size_t offset, __private ulong *p); |
| 11691 | void __ovld vstore16(float16 data, size_t offset, __private float *p); |
| 11692 | #ifdef cl_khr_fp64 |
| 11693 | void __ovld vstore2(double2 data, size_t offset, __global double *p); |
| 11694 | void __ovld vstore3(double3 data, size_t offset, __global double *p); |
| 11695 | void __ovld vstore4(double4 data, size_t offset, __global double *p); |
| 11696 | void __ovld vstore8(double8 data, size_t offset, __global double *p); |
| 11697 | void __ovld vstore16(double16 data, size_t offset, __global double *p); |
| 11698 | void __ovld vstore2(double2 data, size_t offset, __local double *p); |
| 11699 | void __ovld vstore3(double3 data, size_t offset, __local double *p); |
| 11700 | void __ovld vstore4(double4 data, size_t offset, __local double *p); |
| 11701 | void __ovld vstore8(double8 data, size_t offset, __local double *p); |
| 11702 | void __ovld vstore16(double16 data, size_t offset, __local double *p); |
| 11703 | void __ovld vstore2(double2 data, size_t offset, __private double *p); |
| 11704 | void __ovld vstore3(double3 data, size_t offset, __private double *p); |
| 11705 | void __ovld vstore4(double4 data, size_t offset, __private double *p); |
| 11706 | void __ovld vstore8(double8 data, size_t offset, __private double *p); |
| 11707 | void __ovld vstore16(double16 data, size_t offset, __private double *p); |
| 11708 | #endif //cl_khr_fp64 |
| 11709 | #ifdef cl_khr_fp16 |
| 11710 | void __ovld vstore(half data, size_t offset, __global half *p); |
| 11711 | void __ovld vstore2(half2 data, size_t offset, __global half *p); |
| 11712 | void __ovld vstore3(half3 data, size_t offset, __global half *p); |
| 11713 | void __ovld vstore4(half4 data, size_t offset, __global half *p); |
| 11714 | void __ovld vstore8(half8 data, size_t offset, __global half *p); |
| 11715 | void __ovld vstore16(half16 data, size_t offset, __global half *p); |
| 11716 | void __ovld vstore(half data, size_t offset, __local half *p); |
| 11717 | void __ovld vstore2(half2 data, size_t offset, __local half *p); |
| 11718 | void __ovld vstore3(half3 data, size_t offset, __local half *p); |
| 11719 | void __ovld vstore4(half4 data, size_t offset, __local half *p); |
| 11720 | void __ovld vstore8(half8 data, size_t offset, __local half *p); |
| 11721 | void __ovld vstore16(half16 data, size_t offset, __local half *p); |
| 11722 | void __ovld vstore(half data, size_t offset, __private half *p); |
| 11723 | void __ovld vstore2(half2 data, size_t offset, __private half *p); |
| 11724 | void __ovld vstore3(half3 data, size_t offset, __private half *p); |
| 11725 | void __ovld vstore4(half4 data, size_t offset, __private half *p); |
| 11726 | void __ovld vstore8(half8 data, size_t offset, __private half *p); |
| 11727 | void __ovld vstore16(half16 data, size_t offset, __private half *p); |
| 11728 | #endif //cl_khr_fp16 |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 11729 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11730 | |
| 11731 | /** |
| 11732 | * Read sizeof (half) bytes of data from address |
| 11733 | * (p + offset). The data read is interpreted as a |
| 11734 | * half value. The half value is converted to a |
| 11735 | * float value and the float value is returned. |
| 11736 | * The read address computed as (p + offset) |
| 11737 | * must be 16-bit aligned. |
| 11738 | */ |
| 11739 | float __ovld vload_half(size_t offset, const __constant half *p); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 11740 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11741 | float __ovld vload_half(size_t offset, const half *p); |
| 11742 | #else |
| 11743 | float __ovld vload_half(size_t offset, const __global half *p); |
| 11744 | float __ovld vload_half(size_t offset, const __local half *p); |
| 11745 | float __ovld vload_half(size_t offset, const __private half *p); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 11746 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11747 | |
| 11748 | /** |
| 11749 | * Read sizeof (halfn) bytes of data from address |
| 11750 | * (p + (offset * n)). The data read is interpreted |
| 11751 | * as a halfn value. The halfn value read is |
| 11752 | * converted to a floatn value and the floatn |
| 11753 | * value is returned. The read address computed |
| 11754 | * as (p + (offset * n)) must be 16-bit aligned. |
| 11755 | */ |
| 11756 | float2 __ovld vload_half2(size_t offset, const __constant half *p); |
| 11757 | float3 __ovld vload_half3(size_t offset, const __constant half *p); |
| 11758 | float4 __ovld vload_half4(size_t offset, const __constant half *p); |
| 11759 | float8 __ovld vload_half8(size_t offset, const __constant half *p); |
| 11760 | float16 __ovld vload_half16(size_t offset, const __constant half *p); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 11761 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11762 | float2 __ovld vload_half2(size_t offset, const half *p); |
| 11763 | float3 __ovld vload_half3(size_t offset, const half *p); |
| 11764 | float4 __ovld vload_half4(size_t offset, const half *p); |
| 11765 | float8 __ovld vload_half8(size_t offset, const half *p); |
| 11766 | float16 __ovld vload_half16(size_t offset, const half *p); |
| 11767 | #else |
| 11768 | float2 __ovld vload_half2(size_t offset, const __global half *p); |
| 11769 | float3 __ovld vload_half3(size_t offset, const __global half *p); |
| 11770 | float4 __ovld vload_half4(size_t offset, const __global half *p); |
| 11771 | float8 __ovld vload_half8(size_t offset, const __global half *p); |
| 11772 | float16 __ovld vload_half16(size_t offset, const __global half *p); |
| 11773 | float2 __ovld vload_half2(size_t offset, const __local half *p); |
| 11774 | float3 __ovld vload_half3(size_t offset, const __local half *p); |
| 11775 | float4 __ovld vload_half4(size_t offset, const __local half *p); |
| 11776 | float8 __ovld vload_half8(size_t offset, const __local half *p); |
| 11777 | float16 __ovld vload_half16(size_t offset, const __local half *p); |
| 11778 | float2 __ovld vload_half2(size_t offset, const __private half *p); |
| 11779 | float3 __ovld vload_half3(size_t offset, const __private half *p); |
| 11780 | float4 __ovld vload_half4(size_t offset, const __private half *p); |
| 11781 | float8 __ovld vload_half8(size_t offset, const __private half *p); |
| 11782 | float16 __ovld vload_half16(size_t offset, const __private half *p); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 11783 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11784 | |
| 11785 | /** |
| 11786 | * The float value given by data is first |
| 11787 | * converted to a half value using the appropriate |
| 11788 | * rounding mode. The half value is then written |
| 11789 | * to address computed as (p + offset). The |
| 11790 | * address computed as (p + offset) must be 16- |
| 11791 | * bit aligned. |
| 11792 | * vstore_half use the current rounding mode. |
| 11793 | * The default current rounding mode is round to |
| 11794 | * nearest even. |
| 11795 | */ |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 11796 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11797 | void __ovld vstore_half(float data, size_t offset, half *p); |
| 11798 | void __ovld vstore_half_rte(float data, size_t offset, half *p); |
| 11799 | void __ovld vstore_half_rtz(float data, size_t offset, half *p); |
| 11800 | void __ovld vstore_half_rtp(float data, size_t offset, half *p); |
| 11801 | void __ovld vstore_half_rtn(float data, size_t offset, half *p); |
| 11802 | #ifdef cl_khr_fp64 |
| 11803 | void __ovld vstore_half(double data, size_t offset, half *p); |
| 11804 | void __ovld vstore_half_rte(double data, size_t offset, half *p); |
| 11805 | void __ovld vstore_half_rtz(double data, size_t offset, half *p); |
| 11806 | void __ovld vstore_half_rtp(double data, size_t offset, half *p); |
| 11807 | void __ovld vstore_half_rtn(double data, size_t offset, half *p); |
| 11808 | #endif //cl_khr_fp64 |
| 11809 | #else |
| 11810 | void __ovld vstore_half(float data, size_t offset, __global half *p); |
| 11811 | void __ovld vstore_half_rte(float data, size_t offset, __global half *p); |
| 11812 | void __ovld vstore_half_rtz(float data, size_t offset, __global half *p); |
| 11813 | void __ovld vstore_half_rtp(float data, size_t offset, __global half *p); |
| 11814 | void __ovld vstore_half_rtn(float data, size_t offset, __global half *p); |
| 11815 | void __ovld vstore_half(float data, size_t offset, __local half *p); |
| 11816 | void __ovld vstore_half_rte(float data, size_t offset, __local half *p); |
| 11817 | void __ovld vstore_half_rtz(float data, size_t offset, __local half *p); |
| 11818 | void __ovld vstore_half_rtp(float data, size_t offset, __local half *p); |
| 11819 | void __ovld vstore_half_rtn(float data, size_t offset, __local half *p); |
| 11820 | void __ovld vstore_half(float data, size_t offset, __private half *p); |
| 11821 | void __ovld vstore_half_rte(float data, size_t offset, __private half *p); |
| 11822 | void __ovld vstore_half_rtz(float data, size_t offset, __private half *p); |
| 11823 | void __ovld vstore_half_rtp(float data, size_t offset, __private half *p); |
| 11824 | void __ovld vstore_half_rtn(float data, size_t offset, __private half *p); |
| 11825 | #ifdef cl_khr_fp64 |
| 11826 | void __ovld vstore_half(double data, size_t offset, __global half *p); |
| 11827 | void __ovld vstore_half_rte(double data, size_t offset, __global half *p); |
| 11828 | void __ovld vstore_half_rtz(double data, size_t offset, __global half *p); |
| 11829 | void __ovld vstore_half_rtp(double data, size_t offset, __global half *p); |
| 11830 | void __ovld vstore_half_rtn(double data, size_t offset, __global half *p); |
| 11831 | void __ovld vstore_half(double data, size_t offset, __local half *p); |
| 11832 | void __ovld vstore_half_rte(double data, size_t offset, __local half *p); |
| 11833 | void __ovld vstore_half_rtz(double data, size_t offset, __local half *p); |
| 11834 | void __ovld vstore_half_rtp(double data, size_t offset, __local half *p); |
| 11835 | void __ovld vstore_half_rtn(double data, size_t offset, __local half *p); |
| 11836 | void __ovld vstore_half(double data, size_t offset, __private half *p); |
| 11837 | void __ovld vstore_half_rte(double data, size_t offset, __private half *p); |
| 11838 | void __ovld vstore_half_rtz(double data, size_t offset, __private half *p); |
| 11839 | void __ovld vstore_half_rtp(double data, size_t offset, __private half *p); |
| 11840 | void __ovld vstore_half_rtn(double data, size_t offset, __private half *p); |
| 11841 | #endif //cl_khr_fp64 |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 11842 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11843 | |
| 11844 | /** |
| 11845 | * The floatn value given by data is converted to |
| 11846 | * a halfn value using the appropriate rounding |
| 11847 | * mode. The halfn value is then written to |
| 11848 | * address computed as (p + (offset * n)). The |
| 11849 | * address computed as (p + (offset * n)) must be |
| 11850 | * 16-bit aligned. |
| 11851 | * vstore_halfn uses the current rounding mode. |
| 11852 | * The default current rounding mode is round to |
| 11853 | * nearest even. |
| 11854 | */ |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 11855 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 11856 | void __ovld vstore_half2(float2 data, size_t offset, half *p); |
| 11857 | void __ovld vstore_half3(float3 data, size_t offset, half *p); |
| 11858 | void __ovld vstore_half4(float4 data, size_t offset, half *p); |
| 11859 | void __ovld vstore_half8(float8 data, size_t offset, half *p); |
| 11860 | void __ovld vstore_half16(float16 data, size_t offset, half *p); |
| 11861 | void __ovld vstore_half2_rte(float2 data, size_t offset, half *p); |
| 11862 | void __ovld vstore_half3_rte(float3 data, size_t offset, half *p); |
| 11863 | void __ovld vstore_half4_rte(float4 data, size_t offset, half *p); |
| 11864 | void __ovld vstore_half8_rte(float8 data, size_t offset, half *p); |
| 11865 | void __ovld vstore_half16_rte(float16 data, size_t offset, half *p); |
| 11866 | void __ovld vstore_half2_rtz(float2 data, size_t offset, half *p); |
| 11867 | void __ovld vstore_half3_rtz(float3 data, size_t offset, half *p); |
| 11868 | void __ovld vstore_half4_rtz(float4 data, size_t offset, half *p); |
| 11869 | void __ovld vstore_half8_rtz(float8 data, size_t offset, half *p); |
| 11870 | void __ovld vstore_half16_rtz(float16 data, size_t offset, half *p); |
| 11871 | void __ovld vstore_half2_rtp(float2 data, size_t offset, half *p); |
| 11872 | void __ovld vstore_half3_rtp(float3 data, size_t offset, half *p); |
| 11873 | void __ovld vstore_half4_rtp(float4 data, size_t offset, half *p); |
| 11874 | void __ovld vstore_half8_rtp(float8 data, size_t offset, half *p); |
| 11875 | void __ovld vstore_half16_rtp(float16 data, size_t offset, half *p); |
| 11876 | void __ovld vstore_half2_rtn(float2 data, size_t offset, half *p); |
| 11877 | void __ovld vstore_half3_rtn(float3 data, size_t offset, half *p); |
| 11878 | void __ovld vstore_half4_rtn(float4 data, size_t offset, half *p); |
| 11879 | void __ovld vstore_half8_rtn(float8 data, size_t offset, half *p); |
| 11880 | void __ovld vstore_half16_rtn(float16 data, size_t offset, half *p); |
| 11881 | #ifdef cl_khr_fp64 |
| 11882 | void __ovld vstore_half2(double2 data, size_t offset, half *p); |
| 11883 | void __ovld vstore_half3(double3 data, size_t offset, half *p); |
| 11884 | void __ovld vstore_half4(double4 data, size_t offset, half *p); |
| 11885 | void __ovld vstore_half8(double8 data, size_t offset, half *p); |
| 11886 | void __ovld vstore_half16(double16 data, size_t offset, half *p); |
| 11887 | void __ovld vstore_half2_rte(double2 data, size_t offset, half *p); |
| 11888 | void __ovld vstore_half3_rte(double3 data, size_t offset, half *p); |
| 11889 | void __ovld vstore_half4_rte(double4 data, size_t offset, half *p); |
| 11890 | void __ovld vstore_half8_rte(double8 data, size_t offset, half *p); |
| 11891 | void __ovld vstore_half16_rte(double16 data, size_t offset, half *p); |
| 11892 | void __ovld vstore_half2_rtz(double2 data, size_t offset, half *p); |
| 11893 | void __ovld vstore_half3_rtz(double3 data, size_t offset, half *p); |
| 11894 | void __ovld vstore_half4_rtz(double4 data, size_t offset, half *p); |
| 11895 | void __ovld vstore_half8_rtz(double8 data, size_t offset, half *p); |
| 11896 | void __ovld vstore_half16_rtz(double16 data, size_t offset, half *p); |
| 11897 | void __ovld vstore_half2_rtp(double2 data, size_t offset, half *p); |
| 11898 | void __ovld vstore_half3_rtp(double3 data, size_t offset, half *p); |
| 11899 | void __ovld vstore_half4_rtp(double4 data, size_t offset, half *p); |
| 11900 | void __ovld vstore_half8_rtp(double8 data, size_t offset, half *p); |
| 11901 | void __ovld vstore_half16_rtp(double16 data, size_t offset, half *p); |
| 11902 | void __ovld vstore_half2_rtn(double2 data, size_t offset, half *p); |
| 11903 | void __ovld vstore_half3_rtn(double3 data, size_t offset, half *p); |
| 11904 | void __ovld vstore_half4_rtn(double4 data, size_t offset, half *p); |
| 11905 | void __ovld vstore_half8_rtn(double8 data, size_t offset, half *p); |
| 11906 | void __ovld vstore_half16_rtn(double16 data, size_t offset, half *p); |
| 11907 | #endif //cl_khr_fp64 |
| 11908 | #else |
| 11909 | void __ovld vstore_half2(float2 data, size_t offset, __global half *p); |
| 11910 | void __ovld vstore_half3(float3 data, size_t offset, __global half *p); |
| 11911 | void __ovld vstore_half4(float4 data, size_t offset, __global half *p); |
| 11912 | void __ovld vstore_half8(float8 data, size_t offset, __global half *p); |
| 11913 | void __ovld vstore_half16(float16 data, size_t offset, __global half *p); |
| 11914 | void __ovld vstore_half2_rte(float2 data, size_t offset, __global half *p); |
| 11915 | void __ovld vstore_half3_rte(float3 data, size_t offset, __global half *p); |
| 11916 | void __ovld vstore_half4_rte(float4 data, size_t offset, __global half *p); |
| 11917 | void __ovld vstore_half8_rte(float8 data, size_t offset, __global half *p); |
| 11918 | void __ovld vstore_half16_rte(float16 data, size_t offset, __global half *p); |
| 11919 | void __ovld vstore_half2_rtz(float2 data, size_t offset, __global half *p); |
| 11920 | void __ovld vstore_half3_rtz(float3 data, size_t offset, __global half *p); |
| 11921 | void __ovld vstore_half4_rtz(float4 data, size_t offset, __global half *p); |
| 11922 | void __ovld vstore_half8_rtz(float8 data, size_t offset, __global half *p); |
| 11923 | void __ovld vstore_half16_rtz(float16 data, size_t offset, __global half *p); |
| 11924 | void __ovld vstore_half2_rtp(float2 data, size_t offset, __global half *p); |
| 11925 | void __ovld vstore_half3_rtp(float3 data, size_t offset, __global half *p); |
| 11926 | void __ovld vstore_half4_rtp(float4 data, size_t offset, __global half *p); |
| 11927 | void __ovld vstore_half8_rtp(float8 data, size_t offset, __global half *p); |
| 11928 | void __ovld vstore_half16_rtp(float16 data, size_t offset, __global half *p); |
| 11929 | void __ovld vstore_half2_rtn(float2 data, size_t offset, __global half *p); |
| 11930 | void __ovld vstore_half3_rtn(float3 data, size_t offset, __global half *p); |
| 11931 | void __ovld vstore_half4_rtn(float4 data, size_t offset, __global half *p); |
| 11932 | void __ovld vstore_half8_rtn(float8 data, size_t offset, __global half *p); |
| 11933 | void __ovld vstore_half16_rtn(float16 data, size_t offset, __global half *p); |
| 11934 | void __ovld vstore_half2(float2 data, size_t offset, __local half *p); |
| 11935 | void __ovld vstore_half3(float3 data, size_t offset, __local half *p); |
| 11936 | void __ovld vstore_half4(float4 data, size_t offset, __local half *p); |
| 11937 | void __ovld vstore_half8(float8 data, size_t offset, __local half *p); |
| 11938 | void __ovld vstore_half16(float16 data, size_t offset, __local half *p); |
| 11939 | void __ovld vstore_half2_rte(float2 data, size_t offset, __local half *p); |
| 11940 | void __ovld vstore_half3_rte(float3 data, size_t offset, __local half *p); |
| 11941 | void __ovld vstore_half4_rte(float4 data, size_t offset, __local half *p); |
| 11942 | void __ovld vstore_half8_rte(float8 data, size_t offset, __local half *p); |
| 11943 | void __ovld vstore_half16_rte(float16 data, size_t offset, __local half *p); |
| 11944 | void __ovld vstore_half2_rtz(float2 data, size_t offset, __local half *p); |
| 11945 | void __ovld vstore_half3_rtz(float3 data, size_t offset, __local half *p); |
| 11946 | void __ovld vstore_half4_rtz(float4 data, size_t offset, __local half *p); |
| 11947 | void __ovld vstore_half8_rtz(float8 data, size_t offset, __local half *p); |
| 11948 | void __ovld vstore_half16_rtz(float16 data, size_t offset, __local half *p); |
| 11949 | void __ovld vstore_half2_rtp(float2 data, size_t offset, __local half *p); |
| 11950 | void __ovld vstore_half3_rtp(float3 data, size_t offset, __local half *p); |
| 11951 | void __ovld vstore_half4_rtp(float4 data, size_t offset, __local half *p); |
| 11952 | void __ovld vstore_half8_rtp(float8 data, size_t offset, __local half *p); |
| 11953 | void __ovld vstore_half16_rtp(float16 data, size_t offset, __local half *p); |
| 11954 | void __ovld vstore_half2_rtn(float2 data, size_t offset, __local half *p); |
| 11955 | void __ovld vstore_half3_rtn(float3 data, size_t offset, __local half *p); |
| 11956 | void __ovld vstore_half4_rtn(float4 data, size_t offset, __local half *p); |
| 11957 | void __ovld vstore_half8_rtn(float8 data, size_t offset, __local half *p); |
| 11958 | void __ovld vstore_half16_rtn(float16 data, size_t offset, __local half *p); |
| 11959 | void __ovld vstore_half2(float2 data, size_t offset, __private half *p); |
| 11960 | void __ovld vstore_half3(float3 data, size_t offset, __private half *p); |
| 11961 | void __ovld vstore_half4(float4 data, size_t offset, __private half *p); |
| 11962 | void __ovld vstore_half8(float8 data, size_t offset, __private half *p); |
| 11963 | void __ovld vstore_half16(float16 data, size_t offset, __private half *p); |
| 11964 | void __ovld vstore_half2_rte(float2 data, size_t offset, __private half *p); |
| 11965 | void __ovld vstore_half3_rte(float3 data, size_t offset, __private half *p); |
| 11966 | void __ovld vstore_half4_rte(float4 data, size_t offset, __private half *p); |
| 11967 | void __ovld vstore_half8_rte(float8 data, size_t offset, __private half *p); |
| 11968 | void __ovld vstore_half16_rte(float16 data, size_t offset, __private half *p); |
| 11969 | void __ovld vstore_half2_rtz(float2 data, size_t offset, __private half *p); |
| 11970 | void __ovld vstore_half3_rtz(float3 data, size_t offset, __private half *p); |
| 11971 | void __ovld vstore_half4_rtz(float4 data, size_t offset, __private half *p); |
| 11972 | void __ovld vstore_half8_rtz(float8 data, size_t offset, __private half *p); |
| 11973 | void __ovld vstore_half16_rtz(float16 data, size_t offset, __private half *p); |
| 11974 | void __ovld vstore_half2_rtp(float2 data, size_t offset, __private half *p); |
| 11975 | void __ovld vstore_half3_rtp(float3 data, size_t offset, __private half *p); |
| 11976 | void __ovld vstore_half4_rtp(float4 data, size_t offset, __private half *p); |
| 11977 | void __ovld vstore_half8_rtp(float8 data, size_t offset, __private half *p); |
| 11978 | void __ovld vstore_half16_rtp(float16 data, size_t offset, __private half *p); |
| 11979 | void __ovld vstore_half2_rtn(float2 data, size_t offset, __private half *p); |
| 11980 | void __ovld vstore_half3_rtn(float3 data, size_t offset, __private half *p); |
| 11981 | void __ovld vstore_half4_rtn(float4 data, size_t offset, __private half *p); |
| 11982 | void __ovld vstore_half8_rtn(float8 data, size_t offset, __private half *p); |
| 11983 | void __ovld vstore_half16_rtn(float16 data, size_t offset, __private half *p); |
| 11984 | #ifdef cl_khr_fp64 |
| 11985 | void __ovld vstore_half2(double2 data, size_t offset, __global half *p); |
| 11986 | void __ovld vstore_half3(double3 data, size_t offset, __global half *p); |
| 11987 | void __ovld vstore_half4(double4 data, size_t offset, __global half *p); |
| 11988 | void __ovld vstore_half8(double8 data, size_t offset, __global half *p); |
| 11989 | void __ovld vstore_half16(double16 data, size_t offset, __global half *p); |
| 11990 | void __ovld vstore_half2_rte(double2 data, size_t offset, __global half *p); |
| 11991 | void __ovld vstore_half3_rte(double3 data, size_t offset, __global half *p); |
| 11992 | void __ovld vstore_half4_rte(double4 data, size_t offset, __global half *p); |
| 11993 | void __ovld vstore_half8_rte(double8 data, size_t offset, __global half *p); |
| 11994 | void __ovld vstore_half16_rte(double16 data, size_t offset, __global half *p); |
| 11995 | void __ovld vstore_half2_rtz(double2 data, size_t offset, __global half *p); |
| 11996 | void __ovld vstore_half3_rtz(double3 data, size_t offset, __global half *p); |
| 11997 | void __ovld vstore_half4_rtz(double4 data, size_t offset, __global half *p); |
| 11998 | void __ovld vstore_half8_rtz(double8 data, size_t offset, __global half *p); |
| 11999 | void __ovld vstore_half16_rtz(double16 data, size_t offset, __global half *p); |
| 12000 | void __ovld vstore_half2_rtp(double2 data, size_t offset, __global half *p); |
| 12001 | void __ovld vstore_half3_rtp(double3 data, size_t offset, __global half *p); |
| 12002 | void __ovld vstore_half4_rtp(double4 data, size_t offset, __global half *p); |
| 12003 | void __ovld vstore_half8_rtp(double8 data, size_t offset, __global half *p); |
| 12004 | void __ovld vstore_half16_rtp(double16 data, size_t offset, __global half *p); |
| 12005 | void __ovld vstore_half2_rtn(double2 data, size_t offset, __global half *p); |
| 12006 | void __ovld vstore_half3_rtn(double3 data, size_t offset, __global half *p); |
| 12007 | void __ovld vstore_half4_rtn(double4 data, size_t offset, __global half *p); |
| 12008 | void __ovld vstore_half8_rtn(double8 data, size_t offset, __global half *p); |
| 12009 | void __ovld vstore_half16_rtn(double16 data, size_t offset, __global half *p); |
| 12010 | void __ovld vstore_half2(double2 data, size_t offset, __local half *p); |
| 12011 | void __ovld vstore_half3(double3 data, size_t offset, __local half *p); |
| 12012 | void __ovld vstore_half4(double4 data, size_t offset, __local half *p); |
| 12013 | void __ovld vstore_half8(double8 data, size_t offset, __local half *p); |
| 12014 | void __ovld vstore_half16(double16 data, size_t offset, __local half *p); |
| 12015 | void __ovld vstore_half2_rte(double2 data, size_t offset, __local half *p); |
| 12016 | void __ovld vstore_half3_rte(double3 data, size_t offset, __local half *p); |
| 12017 | void __ovld vstore_half4_rte(double4 data, size_t offset, __local half *p); |
| 12018 | void __ovld vstore_half8_rte(double8 data, size_t offset, __local half *p); |
| 12019 | void __ovld vstore_half16_rte(double16 data, size_t offset, __local half *p); |
| 12020 | void __ovld vstore_half2_rtz(double2 data, size_t offset, __local half *p); |
| 12021 | void __ovld vstore_half3_rtz(double3 data, size_t offset, __local half *p); |
| 12022 | void __ovld vstore_half4_rtz(double4 data, size_t offset, __local half *p); |
| 12023 | void __ovld vstore_half8_rtz(double8 data, size_t offset, __local half *p); |
| 12024 | void __ovld vstore_half16_rtz(double16 data, size_t offset, __local half *p); |
| 12025 | void __ovld vstore_half2_rtp(double2 data, size_t offset, __local half *p); |
| 12026 | void __ovld vstore_half3_rtp(double3 data, size_t offset, __local half *p); |
| 12027 | void __ovld vstore_half4_rtp(double4 data, size_t offset, __local half *p); |
| 12028 | void __ovld vstore_half8_rtp(double8 data, size_t offset, __local half *p); |
| 12029 | void __ovld vstore_half16_rtp(double16 data, size_t offset, __local half *p); |
| 12030 | void __ovld vstore_half2_rtn(double2 data, size_t offset, __local half *p); |
| 12031 | void __ovld vstore_half3_rtn(double3 data, size_t offset, __local half *p); |
| 12032 | void __ovld vstore_half4_rtn(double4 data, size_t offset, __local half *p); |
| 12033 | void __ovld vstore_half8_rtn(double8 data, size_t offset, __local half *p); |
| 12034 | void __ovld vstore_half16_rtn(double16 data, size_t offset, __local half *p); |
| 12035 | void __ovld vstore_half2(double2 data, size_t offset, __private half *p); |
| 12036 | void __ovld vstore_half3(double3 data, size_t offset, __private half *p); |
| 12037 | void __ovld vstore_half4(double4 data, size_t offset, __private half *p); |
| 12038 | void __ovld vstore_half8(double8 data, size_t offset, __private half *p); |
| 12039 | void __ovld vstore_half16(double16 data, size_t offset, __private half *p); |
| 12040 | void __ovld vstore_half2_rte(double2 data, size_t offset, __private half *p); |
| 12041 | void __ovld vstore_half3_rte(double3 data, size_t offset, __private half *p); |
| 12042 | void __ovld vstore_half4_rte(double4 data, size_t offset, __private half *p); |
| 12043 | void __ovld vstore_half8_rte(double8 data, size_t offset, __private half *p); |
| 12044 | void __ovld vstore_half16_rte(double16 data, size_t offset, __private half *p); |
| 12045 | void __ovld vstore_half2_rtz(double2 data, size_t offset, __private half *p); |
| 12046 | void __ovld vstore_half3_rtz(double3 data, size_t offset, __private half *p); |
| 12047 | void __ovld vstore_half4_rtz(double4 data, size_t offset, __private half *p); |
| 12048 | void __ovld vstore_half8_rtz(double8 data, size_t offset, __private half *p); |
| 12049 | void __ovld vstore_half16_rtz(double16 data, size_t offset, __private half *p); |
| 12050 | void __ovld vstore_half2_rtp(double2 data, size_t offset, __private half *p); |
| 12051 | void __ovld vstore_half3_rtp(double3 data, size_t offset, __private half *p); |
| 12052 | void __ovld vstore_half4_rtp(double4 data, size_t offset, __private half *p); |
| 12053 | void __ovld vstore_half8_rtp(double8 data, size_t offset, __private half *p); |
| 12054 | void __ovld vstore_half16_rtp(double16 data, size_t offset, __private half *p); |
| 12055 | void __ovld vstore_half2_rtn(double2 data, size_t offset, __private half *p); |
| 12056 | void __ovld vstore_half3_rtn(double3 data, size_t offset, __private half *p); |
| 12057 | void __ovld vstore_half4_rtn(double4 data, size_t offset, __private half *p); |
| 12058 | void __ovld vstore_half8_rtn(double8 data, size_t offset, __private half *p); |
| 12059 | void __ovld vstore_half16_rtn(double16 data, size_t offset, __private half *p); |
| 12060 | #endif //cl_khr_fp64 |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 12061 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12062 | |
| 12063 | /** |
| 12064 | * For n = 1, 2, 4, 8 and 16 read sizeof (halfn) |
| 12065 | * bytes of data from address (p + (offset * n)). |
| 12066 | * The data read is interpreted as a halfn value. |
| 12067 | * The halfn value read is converted to a floatn |
| 12068 | * value and the floatn value is returned. |
| 12069 | * The address computed as (p + (offset * n)) |
| 12070 | * must be aligned to sizeof (halfn) bytes. |
| 12071 | * For n = 3, vloada_half3 reads a half3 from |
| 12072 | * address (p + (offset * 4)) and returns a float3. |
| 12073 | * The address computed as (p + (offset * 4)) |
| 12074 | * must be aligned to sizeof (half) * 4 bytes. |
| 12075 | */ |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12076 | float2 __ovld vloada_half2(size_t offset, const __constant half *p); |
| 12077 | float3 __ovld vloada_half3(size_t offset, const __constant half *p); |
| 12078 | float4 __ovld vloada_half4(size_t offset, const __constant half *p); |
| 12079 | float8 __ovld vloada_half8(size_t offset, const __constant half *p); |
| 12080 | float16 __ovld vloada_half16(size_t offset, const __constant half *p); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 12081 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12082 | float2 __ovld vloada_half2(size_t offset, const half *p); |
| 12083 | float3 __ovld vloada_half3(size_t offset, const half *p); |
| 12084 | float4 __ovld vloada_half4(size_t offset, const half *p); |
| 12085 | float8 __ovld vloada_half8(size_t offset, const half *p); |
| 12086 | float16 __ovld vloada_half16(size_t offset, const half *p); |
| 12087 | #else |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12088 | float2 __ovld vloada_half2(size_t offset, const __global half *p); |
| 12089 | float3 __ovld vloada_half3(size_t offset, const __global half *p); |
| 12090 | float4 __ovld vloada_half4(size_t offset, const __global half *p); |
| 12091 | float8 __ovld vloada_half8(size_t offset, const __global half *p); |
| 12092 | float16 __ovld vloada_half16(size_t offset, const __global half *p); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12093 | float2 __ovld vloada_half2(size_t offset, const __local half *p); |
| 12094 | float3 __ovld vloada_half3(size_t offset, const __local half *p); |
| 12095 | float4 __ovld vloada_half4(size_t offset, const __local half *p); |
| 12096 | float8 __ovld vloada_half8(size_t offset, const __local half *p); |
| 12097 | float16 __ovld vloada_half16(size_t offset, const __local half *p); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12098 | float2 __ovld vloada_half2(size_t offset, const __private half *p); |
| 12099 | float3 __ovld vloada_half3(size_t offset, const __private half *p); |
| 12100 | float4 __ovld vloada_half4(size_t offset, const __private half *p); |
| 12101 | float8 __ovld vloada_half8(size_t offset, const __private half *p); |
| 12102 | float16 __ovld vloada_half16(size_t offset, const __private half *p); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 12103 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12104 | |
| 12105 | /** |
| 12106 | * The floatn value given by data is converted to |
| 12107 | * a halfn value using the appropriate rounding |
| 12108 | * mode. |
| 12109 | * For n = 1, 2, 4, 8 and 16, the halfn value is |
| 12110 | * written to the address computed as (p + (offset |
| 12111 | * * n)). The address computed as (p + (offset * |
| 12112 | * n)) must be aligned to sizeof (halfn) bytes. |
| 12113 | * For n = 3, the half3 value is written to the |
| 12114 | * address computed as (p + (offset * 4)). The |
| 12115 | * address computed as (p + (offset * 4)) must be |
| 12116 | * aligned to sizeof (half) * 4 bytes. |
| 12117 | * vstorea_halfn uses the current rounding |
| 12118 | * mode. The default current rounding mode is |
| 12119 | * round to nearest even. |
| 12120 | */ |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 12121 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12122 | void __ovld vstorea_half2(float2 data, size_t offset, half *p); |
| 12123 | void __ovld vstorea_half3(float3 data, size_t offset, half *p); |
| 12124 | void __ovld vstorea_half4(float4 data, size_t offset, half *p); |
| 12125 | void __ovld vstorea_half8(float8 data, size_t offset, half *p); |
| 12126 | void __ovld vstorea_half16(float16 data, size_t offset, half *p); |
| 12127 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12128 | void __ovld vstorea_half2_rte(float2 data, size_t offset, half *p); |
| 12129 | void __ovld vstorea_half3_rte(float3 data, size_t offset, half *p); |
| 12130 | void __ovld vstorea_half4_rte(float4 data, size_t offset, half *p); |
| 12131 | void __ovld vstorea_half8_rte(float8 data, size_t offset, half *p); |
| 12132 | void __ovld vstorea_half16_rte(float16 data, size_t offset, half *p); |
| 12133 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12134 | void __ovld vstorea_half2_rtz(float2 data, size_t offset, half *p); |
| 12135 | void __ovld vstorea_half3_rtz(float3 data, size_t offset, half *p); |
| 12136 | void __ovld vstorea_half4_rtz(float4 data, size_t offset, half *p); |
| 12137 | void __ovld vstorea_half8_rtz(float8 data, size_t offset, half *p); |
| 12138 | void __ovld vstorea_half16_rtz(float16 data, size_t offset, half *p); |
| 12139 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12140 | void __ovld vstorea_half2_rtp(float2 data, size_t offset, half *p); |
| 12141 | void __ovld vstorea_half3_rtp(float3 data, size_t offset, half *p); |
| 12142 | void __ovld vstorea_half4_rtp(float4 data, size_t offset, half *p); |
| 12143 | void __ovld vstorea_half8_rtp(float8 data, size_t offset, half *p); |
| 12144 | void __ovld vstorea_half16_rtp(float16 data, size_t offset, half *p); |
| 12145 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12146 | void __ovld vstorea_half2_rtn(float2 data, size_t offset, half *p); |
| 12147 | void __ovld vstorea_half3_rtn(float3 data, size_t offset, half *p); |
| 12148 | void __ovld vstorea_half4_rtn(float4 data, size_t offset, half *p); |
| 12149 | void __ovld vstorea_half8_rtn(float8 data, size_t offset, half *p); |
| 12150 | void __ovld vstorea_half16_rtn(float16 data, size_t offset, half *p); |
| 12151 | |
| 12152 | #ifdef cl_khr_fp64 |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12153 | void __ovld vstorea_half2(double2 data, size_t offset, half *p); |
| 12154 | void __ovld vstorea_half3(double3 data, size_t offset, half *p); |
| 12155 | void __ovld vstorea_half4(double4 data, size_t offset, half *p); |
| 12156 | void __ovld vstorea_half8(double8 data, size_t offset, half *p); |
| 12157 | void __ovld vstorea_half16(double16 data, size_t offset, half *p); |
| 12158 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12159 | void __ovld vstorea_half2_rte(double2 data, size_t offset, half *p); |
| 12160 | void __ovld vstorea_half3_rte(double3 data, size_t offset, half *p); |
| 12161 | void __ovld vstorea_half4_rte(double4 data, size_t offset, half *p); |
| 12162 | void __ovld vstorea_half8_rte(double8 data, size_t offset, half *p); |
| 12163 | void __ovld vstorea_half16_rte(double16 data, size_t offset, half *p); |
| 12164 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12165 | void __ovld vstorea_half2_rtz(double2 data, size_t offset, half *p); |
| 12166 | void __ovld vstorea_half3_rtz(double3 data, size_t offset, half *p); |
| 12167 | void __ovld vstorea_half4_rtz(double4 data, size_t offset, half *p); |
| 12168 | void __ovld vstorea_half8_rtz(double8 data, size_t offset, half *p); |
| 12169 | void __ovld vstorea_half16_rtz(double16 data, size_t offset, half *p); |
| 12170 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12171 | void __ovld vstorea_half2_rtp(double2 data, size_t offset, half *p); |
| 12172 | void __ovld vstorea_half3_rtp(double3 data, size_t offset, half *p); |
| 12173 | void __ovld vstorea_half4_rtp(double4 data, size_t offset, half *p); |
| 12174 | void __ovld vstorea_half8_rtp(double8 data, size_t offset, half *p); |
| 12175 | void __ovld vstorea_half16_rtp(double16 data, size_t offset, half *p); |
| 12176 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12177 | void __ovld vstorea_half2_rtn(double2 data, size_t offset, half *p); |
| 12178 | void __ovld vstorea_half3_rtn(double3 data, size_t offset, half *p); |
| 12179 | void __ovld vstorea_half4_rtn(double4 data, size_t offset, half *p); |
| 12180 | void __ovld vstorea_half8_rtn(double8 data, size_t offset, half *p); |
| 12181 | void __ovld vstorea_half16_rtn(double16 data, size_t offset, half *p); |
| 12182 | #endif //cl_khr_fp64 |
| 12183 | |
| 12184 | #else |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12185 | void __ovld vstorea_half2(float2 data, size_t offset, __global half *p); |
| 12186 | void __ovld vstorea_half3(float3 data, size_t offset, __global half *p); |
| 12187 | void __ovld vstorea_half4(float4 data, size_t offset, __global half *p); |
| 12188 | void __ovld vstorea_half8(float8 data, size_t offset, __global half *p); |
| 12189 | void __ovld vstorea_half16(float16 data, size_t offset, __global half *p); |
| 12190 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12191 | void __ovld vstorea_half2_rte(float2 data, size_t offset, __global half *p); |
| 12192 | void __ovld vstorea_half3_rte(float3 data, size_t offset, __global half *p); |
| 12193 | void __ovld vstorea_half4_rte(float4 data, size_t offset, __global half *p); |
| 12194 | void __ovld vstorea_half8_rte(float8 data, size_t offset, __global half *p); |
| 12195 | void __ovld vstorea_half16_rte(float16 data, size_t offset, __global half *p); |
| 12196 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12197 | void __ovld vstorea_half2_rtz(float2 data, size_t offset, __global half *p); |
| 12198 | void __ovld vstorea_half3_rtz(float3 data, size_t offset, __global half *p); |
| 12199 | void __ovld vstorea_half4_rtz(float4 data, size_t offset, __global half *p); |
| 12200 | void __ovld vstorea_half8_rtz(float8 data, size_t offset, __global half *p); |
| 12201 | void __ovld vstorea_half16_rtz(float16 data, size_t offset, __global half *p); |
| 12202 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12203 | void __ovld vstorea_half2_rtp(float2 data, size_t offset, __global half *p); |
| 12204 | void __ovld vstorea_half3_rtp(float3 data, size_t offset, __global half *p); |
| 12205 | void __ovld vstorea_half4_rtp(float4 data, size_t offset, __global half *p); |
| 12206 | void __ovld vstorea_half8_rtp(float8 data, size_t offset, __global half *p); |
| 12207 | void __ovld vstorea_half16_rtp(float16 data, size_t offset, __global half *p); |
| 12208 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12209 | void __ovld vstorea_half2_rtn(float2 data, size_t offset, __global half *p); |
| 12210 | void __ovld vstorea_half3_rtn(float3 data, size_t offset, __global half *p); |
| 12211 | void __ovld vstorea_half4_rtn(float4 data, size_t offset, __global half *p); |
| 12212 | void __ovld vstorea_half8_rtn(float8 data, size_t offset, __global half *p); |
| 12213 | void __ovld vstorea_half16_rtn(float16 data, size_t offset, __global half *p); |
| 12214 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12215 | void __ovld vstorea_half2(float2 data, size_t offset, __local half *p); |
| 12216 | void __ovld vstorea_half3(float3 data, size_t offset, __local half *p); |
| 12217 | void __ovld vstorea_half4(float4 data, size_t offset, __local half *p); |
| 12218 | void __ovld vstorea_half8(float8 data, size_t offset, __local half *p); |
| 12219 | void __ovld vstorea_half16(float16 data, size_t offset, __local half *p); |
| 12220 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12221 | void __ovld vstorea_half2_rte(float2 data, size_t offset, __local half *p); |
| 12222 | void __ovld vstorea_half3_rte(float3 data, size_t offset, __local half *p); |
| 12223 | void __ovld vstorea_half4_rte(float4 data, size_t offset, __local half *p); |
| 12224 | void __ovld vstorea_half8_rte(float8 data, size_t offset, __local half *p); |
| 12225 | void __ovld vstorea_half16_rte(float16 data, size_t offset, __local half *p); |
| 12226 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12227 | void __ovld vstorea_half2_rtz(float2 data, size_t offset, __local half *p); |
| 12228 | void __ovld vstorea_half3_rtz(float3 data, size_t offset, __local half *p); |
| 12229 | void __ovld vstorea_half4_rtz(float4 data, size_t offset, __local half *p); |
| 12230 | void __ovld vstorea_half8_rtz(float8 data, size_t offset, __local half *p); |
| 12231 | void __ovld vstorea_half16_rtz(float16 data, size_t offset, __local half *p); |
| 12232 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12233 | void __ovld vstorea_half2_rtp(float2 data, size_t offset, __local half *p); |
| 12234 | void __ovld vstorea_half3_rtp(float3 data, size_t offset, __local half *p); |
| 12235 | void __ovld vstorea_half4_rtp(float4 data, size_t offset, __local half *p); |
| 12236 | void __ovld vstorea_half8_rtp(float8 data, size_t offset, __local half *p); |
| 12237 | void __ovld vstorea_half16_rtp(float16 data, size_t offset, __local half *p); |
| 12238 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12239 | void __ovld vstorea_half2_rtn(float2 data, size_t offset, __local half *p); |
| 12240 | void __ovld vstorea_half3_rtn(float3 data, size_t offset, __local half *p); |
| 12241 | void __ovld vstorea_half4_rtn(float4 data, size_t offset, __local half *p); |
| 12242 | void __ovld vstorea_half8_rtn(float8 data, size_t offset, __local half *p); |
| 12243 | void __ovld vstorea_half16_rtn(float16 data, size_t offset, __local half *p); |
| 12244 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12245 | void __ovld vstorea_half2(float2 data, size_t offset, __private half *p); |
| 12246 | void __ovld vstorea_half3(float3 data, size_t offset, __private half *p); |
| 12247 | void __ovld vstorea_half4(float4 data, size_t offset, __private half *p); |
| 12248 | void __ovld vstorea_half8(float8 data, size_t offset, __private half *p); |
| 12249 | void __ovld vstorea_half16(float16 data, size_t offset, __private half *p); |
| 12250 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12251 | void __ovld vstorea_half2_rte(float2 data, size_t offset, __private half *p); |
| 12252 | void __ovld vstorea_half3_rte(float3 data, size_t offset, __private half *p); |
| 12253 | void __ovld vstorea_half4_rte(float4 data, size_t offset, __private half *p); |
| 12254 | void __ovld vstorea_half8_rte(float8 data, size_t offset, __private half *p); |
| 12255 | void __ovld vstorea_half16_rte(float16 data, size_t offset, __private half *p); |
| 12256 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12257 | void __ovld vstorea_half2_rtz(float2 data, size_t offset, __private half *p); |
| 12258 | void __ovld vstorea_half3_rtz(float3 data, size_t offset, __private half *p); |
| 12259 | void __ovld vstorea_half4_rtz(float4 data, size_t offset, __private half *p); |
| 12260 | void __ovld vstorea_half8_rtz(float8 data, size_t offset, __private half *p); |
| 12261 | void __ovld vstorea_half16_rtz(float16 data, size_t offset, __private half *p); |
| 12262 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12263 | void __ovld vstorea_half2_rtp(float2 data, size_t offset, __private half *p); |
| 12264 | void __ovld vstorea_half3_rtp(float3 data, size_t offset, __private half *p); |
| 12265 | void __ovld vstorea_half4_rtp(float4 data, size_t offset, __private half *p); |
| 12266 | void __ovld vstorea_half8_rtp(float8 data, size_t offset, __private half *p); |
| 12267 | void __ovld vstorea_half16_rtp(float16 data, size_t offset, __private half *p); |
| 12268 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12269 | void __ovld vstorea_half2_rtn(float2 data, size_t offset, __private half *p); |
| 12270 | void __ovld vstorea_half3_rtn(float3 data, size_t offset, __private half *p); |
| 12271 | void __ovld vstorea_half4_rtn(float4 data, size_t offset, __private half *p); |
| 12272 | void __ovld vstorea_half8_rtn(float8 data, size_t offset, __private half *p); |
| 12273 | void __ovld vstorea_half16_rtn(float16 data, size_t offset, __private half *p); |
| 12274 | |
| 12275 | #ifdef cl_khr_fp64 |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12276 | void __ovld vstorea_half2(double2 data, size_t offset, __global half *p); |
| 12277 | void __ovld vstorea_half3(double3 data, size_t offset, __global half *p); |
| 12278 | void __ovld vstorea_half4(double4 data, size_t offset, __global half *p); |
| 12279 | void __ovld vstorea_half8(double8 data, size_t offset, __global half *p); |
| 12280 | void __ovld vstorea_half16(double16 data, size_t offset, __global half *p); |
| 12281 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12282 | void __ovld vstorea_half2_rte(double2 data, size_t offset, __global half *p); |
| 12283 | void __ovld vstorea_half3_rte(double3 data, size_t offset, __global half *p); |
| 12284 | void __ovld vstorea_half4_rte(double4 data, size_t offset, __global half *p); |
| 12285 | void __ovld vstorea_half8_rte(double8 data, size_t offset, __global half *p); |
| 12286 | void __ovld vstorea_half16_rte(double16 data, size_t offset, __global half *p); |
| 12287 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12288 | void __ovld vstorea_half2_rtz(double2 data, size_t offset, __global half *p); |
| 12289 | void __ovld vstorea_half3_rtz(double3 data, size_t offset, __global half *p); |
| 12290 | void __ovld vstorea_half4_rtz(double4 data, size_t offset, __global half *p); |
| 12291 | void __ovld vstorea_half8_rtz(double8 data, size_t offset, __global half *p); |
| 12292 | void __ovld vstorea_half16_rtz(double16 data, size_t offset, __global half *p); |
| 12293 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12294 | void __ovld vstorea_half2_rtp(double2 data, size_t offset, __global half *p); |
| 12295 | void __ovld vstorea_half3_rtp(double3 data, size_t offset, __global half *p); |
| 12296 | void __ovld vstorea_half4_rtp(double4 data, size_t offset, __global half *p); |
| 12297 | void __ovld vstorea_half8_rtp(double8 data, size_t offset, __global half *p); |
| 12298 | void __ovld vstorea_half16_rtp(double16 data, size_t offset, __global half *p); |
| 12299 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12300 | void __ovld vstorea_half2_rtn(double2 data, size_t offset, __global half *p); |
| 12301 | void __ovld vstorea_half3_rtn(double3 data, size_t offset, __global half *p); |
| 12302 | void __ovld vstorea_half4_rtn(double4 data, size_t offset, __global half *p); |
| 12303 | void __ovld vstorea_half8_rtn(double8 data, size_t offset, __global half *p); |
| 12304 | void __ovld vstorea_half16_rtn(double16 data, size_t offset, __global half *p); |
| 12305 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12306 | void __ovld vstorea_half2(double2 data, size_t offset, __local half *p); |
| 12307 | void __ovld vstorea_half3(double3 data, size_t offset, __local half *p); |
| 12308 | void __ovld vstorea_half4(double4 data, size_t offset, __local half *p); |
| 12309 | void __ovld vstorea_half8(double8 data, size_t offset, __local half *p); |
| 12310 | void __ovld vstorea_half16(double16 data, size_t offset, __local half *p); |
| 12311 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12312 | void __ovld vstorea_half2_rte(double2 data, size_t offset, __local half *p); |
| 12313 | void __ovld vstorea_half3_rte(double3 data, size_t offset, __local half *p); |
| 12314 | void __ovld vstorea_half4_rte(double4 data, size_t offset, __local half *p); |
| 12315 | void __ovld vstorea_half8_rte(double8 data, size_t offset, __local half *p); |
| 12316 | void __ovld vstorea_half16_rte(double16 data, size_t offset, __local half *p); |
| 12317 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12318 | void __ovld vstorea_half2_rtz(double2 data, size_t offset, __local half *p); |
| 12319 | void __ovld vstorea_half3_rtz(double3 data, size_t offset, __local half *p); |
| 12320 | void __ovld vstorea_half4_rtz(double4 data, size_t offset, __local half *p); |
| 12321 | void __ovld vstorea_half8_rtz(double8 data, size_t offset, __local half *p); |
| 12322 | void __ovld vstorea_half16_rtz(double16 data, size_t offset, __local half *p); |
| 12323 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12324 | void __ovld vstorea_half2_rtp(double2 data, size_t offset, __local half *p); |
| 12325 | void __ovld vstorea_half3_rtp(double3 data, size_t offset, __local half *p); |
| 12326 | void __ovld vstorea_half4_rtp(double4 data, size_t offset, __local half *p); |
| 12327 | void __ovld vstorea_half8_rtp(double8 data, size_t offset, __local half *p); |
| 12328 | void __ovld vstorea_half16_rtp(double16 data, size_t offset, __local half *p); |
| 12329 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12330 | void __ovld vstorea_half2_rtn(double2 data, size_t offset, __local half *p); |
| 12331 | void __ovld vstorea_half3_rtn(double3 data, size_t offset, __local half *p); |
| 12332 | void __ovld vstorea_half4_rtn(double4 data, size_t offset, __local half *p); |
| 12333 | void __ovld vstorea_half8_rtn(double8 data, size_t offset, __local half *p); |
| 12334 | void __ovld vstorea_half16_rtn(double16 data, size_t offset, __local half *p); |
| 12335 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12336 | void __ovld vstorea_half2(double2 data, size_t offset, __private half *p); |
| 12337 | void __ovld vstorea_half3(double3 data, size_t offset, __private half *p); |
| 12338 | void __ovld vstorea_half4(double4 data, size_t offset, __private half *p); |
| 12339 | void __ovld vstorea_half8(double8 data, size_t offset, __private half *p); |
| 12340 | void __ovld vstorea_half16(double16 data, size_t offset, __private half *p); |
| 12341 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12342 | void __ovld vstorea_half2_rte(double2 data, size_t offset, __private half *p); |
| 12343 | void __ovld vstorea_half3_rte(double3 data, size_t offset, __private half *p); |
| 12344 | void __ovld vstorea_half4_rte(double4 data, size_t offset, __private half *p); |
| 12345 | void __ovld vstorea_half8_rte(double8 data, size_t offset, __private half *p); |
| 12346 | void __ovld vstorea_half16_rte(double16 data, size_t offset, __private half *p); |
| 12347 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12348 | void __ovld vstorea_half2_rtz(double2 data, size_t offset, __private half *p); |
| 12349 | void __ovld vstorea_half3_rtz(double3 data, size_t offset, __private half *p); |
| 12350 | void __ovld vstorea_half4_rtz(double4 data, size_t offset, __private half *p); |
| 12351 | void __ovld vstorea_half8_rtz(double8 data, size_t offset, __private half *p); |
| 12352 | void __ovld vstorea_half16_rtz(double16 data, size_t offset, __private half *p); |
| 12353 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12354 | void __ovld vstorea_half2_rtp(double2 data, size_t offset, __private half *p); |
| 12355 | void __ovld vstorea_half3_rtp(double3 data, size_t offset, __private half *p); |
| 12356 | void __ovld vstorea_half4_rtp(double4 data, size_t offset, __private half *p); |
| 12357 | void __ovld vstorea_half8_rtp(double8 data, size_t offset, __private half *p); |
| 12358 | void __ovld vstorea_half16_rtp(double16 data, size_t offset, __private half *p); |
| 12359 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12360 | void __ovld vstorea_half2_rtn(double2 data,size_t offset, __private half *p); |
| 12361 | void __ovld vstorea_half3_rtn(double3 data,size_t offset, __private half *p); |
| 12362 | void __ovld vstorea_half4_rtn(double4 data,size_t offset, __private half *p); |
| 12363 | void __ovld vstorea_half8_rtn(double8 data,size_t offset, __private half *p); |
| 12364 | void __ovld vstorea_half16_rtn(double16 data,size_t offset, __private half *p); |
| 12365 | #endif //cl_khr_fp64 |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 12366 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12367 | |
| 12368 | // OpenCL v1.1 s6.11.8, v1.2 s6.12.8, v2.0 s6.13.8 - Synchronization Functions |
| 12369 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12370 | /** |
| 12371 | * All work-items in a work-group executing the kernel |
| 12372 | * on a processor must execute this function before any |
| 12373 | * are allowed to continue execution beyond the barrier. |
| 12374 | * This function must be encountered by all work-items in |
| 12375 | * a work-group executing the kernel. |
| 12376 | * If barrier is inside a conditional statement, then all |
| 12377 | * work-items must enter the conditional if any work-item |
| 12378 | * enters the conditional statement and executes the |
| 12379 | * barrier. |
| 12380 | * If barrer is inside a loop, all work-items must execute |
| 12381 | * the barrier for each iteration of the loop before any are |
| 12382 | * allowed to continue execution beyond the barrier. |
| 12383 | * The barrier function also queues a memory fence |
| 12384 | * (reads and writes) to ensure correct ordering of |
| 12385 | * memory operations to local or global memory. |
| 12386 | * The flags argument specifies the memory address space |
| 12387 | * and can be set to a combination of the following literal |
| 12388 | * values. |
| 12389 | * CLK_LOCAL_MEM_FENCE - The barrier function |
| 12390 | * will either flush any variables stored in local memory |
| 12391 | * or queue a memory fence to ensure correct ordering of |
| 12392 | * memory operations to local memory. |
| 12393 | * CLK_GLOBAL_MEM_FENCE - The barrier function |
| 12394 | * will queue a memory fence to ensure correct ordering |
| 12395 | * of memory operations to global memory. This can be |
| 12396 | * useful when work-items, for example, write to buffer or |
| 12397 | * image objects and then want to read the updated data. |
| 12398 | */ |
| 12399 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 12400 | void __ovld __conv barrier(cl_mem_fence_flags flags); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12401 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 12402 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 12403 | void __ovld __conv work_group_barrier(cl_mem_fence_flags flags, memory_scope scope); |
| 12404 | void __ovld __conv work_group_barrier(cl_mem_fence_flags flags); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 12405 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12406 | |
| 12407 | // OpenCL v1.1 s6.11.9, v1.2 s6.12.9 - Explicit Memory Fence Functions |
| 12408 | |
| 12409 | /** |
| 12410 | * Orders loads and stores of a work-item |
| 12411 | * executing a kernel. This means that loads |
| 12412 | * and stores preceding the mem_fence will |
| 12413 | * be committed to memory before any loads |
| 12414 | * and stores following the mem_fence. |
| 12415 | * The flags argument specifies the memory |
| 12416 | * address space and can be set to a |
| 12417 | * combination of the following literal |
| 12418 | * values: |
| 12419 | * CLK_LOCAL_MEM_FENCE |
| 12420 | * CLK_GLOBAL_MEM_FENCE. |
| 12421 | */ |
| 12422 | void __ovld mem_fence(cl_mem_fence_flags flags); |
| 12423 | |
| 12424 | /** |
| 12425 | * Read memory barrier that orders only |
| 12426 | * loads. |
| 12427 | * The flags argument specifies the memory |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 12428 | * address space and can be set to a |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12429 | * combination of the following literal |
| 12430 | * values: |
| 12431 | * CLK_LOCAL_MEM_FENCE |
| 12432 | * CLK_GLOBAL_MEM_FENCE. |
| 12433 | */ |
| 12434 | void __ovld read_mem_fence(cl_mem_fence_flags flags); |
| 12435 | |
| 12436 | /** |
| 12437 | * Write memory barrier that orders only |
| 12438 | * stores. |
| 12439 | * The flags argument specifies the memory |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 12440 | * address space and can be set to a |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12441 | * combination of the following literal |
| 12442 | * values: |
| 12443 | * CLK_LOCAL_MEM_FENCE |
| 12444 | * CLK_GLOBAL_MEM_FENCE. |
| 12445 | */ |
| 12446 | void __ovld write_mem_fence(cl_mem_fence_flags flags); |
| 12447 | |
| 12448 | // OpenCL v2.0 s6.13.9 - Address Space Qualifier Functions |
| 12449 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 12450 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12451 | cl_mem_fence_flags __ovld get_fence(const void *ptr); |
| 12452 | cl_mem_fence_flags __ovld get_fence(void *ptr); |
| 12453 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 12454 | /** |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12455 | * Builtin functions to_global, to_local, and to_private need to be declared as Clang builtin functions |
| 12456 | * and checked in Sema since they should be declared as |
| 12457 | * addr gentype* to_addr (gentype*); |
| 12458 | * where gentype is builtin type or user defined type. |
| 12459 | */ |
| 12460 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 12461 | #endif //defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12462 | |
| 12463 | // OpenCL v1.1 s6.11.10, v1.2 s6.12.10, v2.0 s6.13.10 - Async Copies from Global to Local Memory, Local to Global Memory, and Prefetch |
| 12464 | |
| 12465 | /** |
| 12466 | * event_t async_work_group_copy ( |
| 12467 | * __global gentype *dst, |
| 12468 | * const __local gentype *src, |
| 12469 | * size_t num_elements, |
| 12470 | * event_t event) |
| 12471 | * Perform an async copy of num_elements |
| 12472 | * gentype elements from src to dst. The async |
| 12473 | * copy is performed by all work-items in a workgroup |
| 12474 | * and this built-in function must therefore |
| 12475 | * be encountered by all work-items in a workgroup |
| 12476 | * executing the kernel with the same |
| 12477 | * argument values; otherwise the results are |
| 12478 | * undefined. |
| 12479 | * Returns an event object that can be used by |
| 12480 | * wait_group_events to wait for the async copy |
| 12481 | * to finish. The event argument can also be used |
| 12482 | * to associate the async_work_group_copy with |
| 12483 | * a previous async copy allowing an event to be |
| 12484 | * shared by multiple async copies; otherwise event |
| 12485 | * should be zero. |
| 12486 | * If event argument is non-zero, the event object |
| 12487 | * supplied in event argument will be returned. |
| 12488 | * This function does not perform any implicit |
| 12489 | * synchronization of source data such as using a |
| 12490 | * barrier before performing the copy. |
| 12491 | */ |
| 12492 | event_t __ovld async_work_group_copy(__local char *dst, const __global char *src, size_t num_elements, event_t event); |
| 12493 | event_t __ovld async_work_group_copy(__local uchar *dst, const __global uchar *src, size_t num_elements, event_t event); |
| 12494 | event_t __ovld async_work_group_copy(__local short *dst, const __global short *src, size_t num_elements, event_t event); |
| 12495 | event_t __ovld async_work_group_copy(__local ushort *dst, const __global ushort *src, size_t num_elements, event_t event); |
| 12496 | event_t __ovld async_work_group_copy(__local int *dst, const __global int *src, size_t num_elements, event_t event); |
| 12497 | event_t __ovld async_work_group_copy(__local uint *dst, const __global uint *src, size_t num_elements, event_t event); |
| 12498 | event_t __ovld async_work_group_copy(__local long *dst, const __global long *src, size_t num_elements, event_t event); |
| 12499 | event_t __ovld async_work_group_copy(__local ulong *dst, const __global ulong *src, size_t num_elements, event_t event); |
| 12500 | event_t __ovld async_work_group_copy(__local float *dst, const __global float *src, size_t num_elements, event_t event); |
| 12501 | event_t __ovld async_work_group_copy(__local char2 *dst, const __global char2 *src, size_t num_elements, event_t event); |
| 12502 | event_t __ovld async_work_group_copy(__local uchar2 *dst, const __global uchar2 *src, size_t num_elements, event_t event); |
| 12503 | event_t __ovld async_work_group_copy(__local short2 *dst, const __global short2 *src, size_t num_elements, event_t event); |
| 12504 | event_t __ovld async_work_group_copy(__local ushort2 *dst, const __global ushort2 *src, size_t num_elements, event_t event); |
| 12505 | event_t __ovld async_work_group_copy(__local int2 *dst, const __global int2 *src, size_t num_elements, event_t event); |
| 12506 | event_t __ovld async_work_group_copy(__local uint2 *dst, const __global uint2 *src, size_t num_elements, event_t event); |
| 12507 | event_t __ovld async_work_group_copy(__local long2 *dst, const __global long2 *src, size_t num_elements, event_t event); |
| 12508 | event_t __ovld async_work_group_copy(__local ulong2 *dst, const __global ulong2 *src, size_t num_elements, event_t event); |
| 12509 | event_t __ovld async_work_group_copy(__local float2 *dst, const __global float2 *src, size_t num_elements, event_t event); |
| 12510 | event_t __ovld async_work_group_copy(__local char3 *dst, const __global char3 *src, size_t num_elements, event_t event); |
| 12511 | event_t __ovld async_work_group_copy(__local uchar3 *dst, const __global uchar3 *src, size_t num_elements, event_t event); |
| 12512 | event_t __ovld async_work_group_copy(__local short3 *dst, const __global short3 *src, size_t num_elements, event_t event); |
| 12513 | event_t __ovld async_work_group_copy(__local ushort3 *dst, const __global ushort3 *src, size_t num_elements, event_t event); |
| 12514 | event_t __ovld async_work_group_copy(__local int3 *dst, const __global int3 *src, size_t num_elements, event_t event); |
| 12515 | event_t __ovld async_work_group_copy(__local uint3 *dst, const __global uint3 *src, size_t num_elements, event_t event); |
| 12516 | event_t __ovld async_work_group_copy(__local long3 *dst, const __global long3 *src, size_t num_elements, event_t event); |
| 12517 | event_t __ovld async_work_group_copy(__local ulong3 *dst, const __global ulong3 *src, size_t num_elements, event_t event); |
| 12518 | event_t __ovld async_work_group_copy(__local float3 *dst, const __global float3 *src, size_t num_elements, event_t event); |
| 12519 | event_t __ovld async_work_group_copy(__local char4 *dst, const __global char4 *src, size_t num_elements, event_t event); |
| 12520 | event_t __ovld async_work_group_copy(__local uchar4 *dst, const __global uchar4 *src, size_t num_elements, event_t event); |
| 12521 | event_t __ovld async_work_group_copy(__local short4 *dst, const __global short4 *src, size_t num_elements, event_t event); |
| 12522 | event_t __ovld async_work_group_copy(__local ushort4 *dst, const __global ushort4 *src, size_t num_elements, event_t event); |
| 12523 | event_t __ovld async_work_group_copy(__local int4 *dst, const __global int4 *src, size_t num_elements, event_t event); |
| 12524 | event_t __ovld async_work_group_copy(__local uint4 *dst, const __global uint4 *src, size_t num_elements, event_t event); |
| 12525 | event_t __ovld async_work_group_copy(__local long4 *dst, const __global long4 *src, size_t num_elements, event_t event); |
| 12526 | event_t __ovld async_work_group_copy(__local ulong4 *dst, const __global ulong4 *src, size_t num_elements, event_t event); |
| 12527 | event_t __ovld async_work_group_copy(__local float4 *dst, const __global float4 *src, size_t num_elements, event_t event); |
| 12528 | event_t __ovld async_work_group_copy(__local char8 *dst, const __global char8 *src, size_t num_elements, event_t event); |
| 12529 | event_t __ovld async_work_group_copy(__local uchar8 *dst, const __global uchar8 *src, size_t num_elements, event_t event); |
| 12530 | event_t __ovld async_work_group_copy(__local short8 *dst, const __global short8 *src, size_t num_elements, event_t event); |
| 12531 | event_t __ovld async_work_group_copy(__local ushort8 *dst, const __global ushort8 *src, size_t num_elements, event_t event); |
| 12532 | event_t __ovld async_work_group_copy(__local int8 *dst, const __global int8 *src, size_t num_elements, event_t event); |
| 12533 | event_t __ovld async_work_group_copy(__local uint8 *dst, const __global uint8 *src, size_t num_elements, event_t event); |
| 12534 | event_t __ovld async_work_group_copy(__local long8 *dst, const __global long8 *src, size_t num_elements, event_t event); |
| 12535 | event_t __ovld async_work_group_copy(__local ulong8 *dst, const __global ulong8 *src, size_t num_elements, event_t event); |
| 12536 | event_t __ovld async_work_group_copy(__local float8 *dst, const __global float8 *src, size_t num_elements, event_t event); |
| 12537 | event_t __ovld async_work_group_copy(__local char16 *dst, const __global char16 *src, size_t num_elements, event_t event); |
| 12538 | event_t __ovld async_work_group_copy(__local uchar16 *dst, const __global uchar16 *src, size_t num_elements, event_t event); |
| 12539 | event_t __ovld async_work_group_copy(__local short16 *dst, const __global short16 *src, size_t num_elements, event_t event); |
| 12540 | event_t __ovld async_work_group_copy(__local ushort16 *dst, const __global ushort16 *src, size_t num_elements, event_t event); |
| 12541 | event_t __ovld async_work_group_copy(__local int16 *dst, const __global int16 *src, size_t num_elements, event_t event); |
| 12542 | event_t __ovld async_work_group_copy(__local uint16 *dst, const __global uint16 *src, size_t num_elements, event_t event); |
| 12543 | event_t __ovld async_work_group_copy(__local long16 *dst, const __global long16 *src, size_t num_elements, event_t event); |
| 12544 | event_t __ovld async_work_group_copy(__local ulong16 *dst, const __global ulong16 *src, size_t num_elements, event_t event); |
| 12545 | event_t __ovld async_work_group_copy(__local float16 *dst, const __global float16 *src, size_t num_elements, event_t event); |
| 12546 | event_t __ovld async_work_group_copy(__global char *dst, const __local char *src, size_t num_elements, event_t event); |
| 12547 | event_t __ovld async_work_group_copy(__global uchar *dst, const __local uchar *src, size_t num_elements, event_t event); |
| 12548 | event_t __ovld async_work_group_copy(__global short *dst, const __local short *src, size_t num_elements, event_t event); |
| 12549 | event_t __ovld async_work_group_copy(__global ushort *dst, const __local ushort *src, size_t num_elements, event_t event); |
| 12550 | event_t __ovld async_work_group_copy(__global int *dst, const __local int *src, size_t num_elements, event_t event); |
| 12551 | event_t __ovld async_work_group_copy(__global uint *dst, const __local uint *src, size_t num_elements, event_t event); |
| 12552 | event_t __ovld async_work_group_copy(__global long *dst, const __local long *src, size_t num_elements, event_t event); |
| 12553 | event_t __ovld async_work_group_copy(__global ulong *dst, const __local ulong *src, size_t num_elements, event_t event); |
| 12554 | event_t __ovld async_work_group_copy(__global float *dst, const __local float *src, size_t num_elements, event_t event); |
| 12555 | event_t __ovld async_work_group_copy(__global char2 *dst, const __local char2 *src, size_t num_elements, event_t event); |
| 12556 | event_t __ovld async_work_group_copy(__global uchar2 *dst, const __local uchar2 *src, size_t num_elements, event_t event); |
| 12557 | event_t __ovld async_work_group_copy(__global short2 *dst, const __local short2 *src, size_t num_elements, event_t event); |
| 12558 | event_t __ovld async_work_group_copy(__global ushort2 *dst, const __local ushort2 *src, size_t num_elements, event_t event); |
| 12559 | event_t __ovld async_work_group_copy(__global int2 *dst, const __local int2 *src, size_t num_elements, event_t event); |
| 12560 | event_t __ovld async_work_group_copy(__global uint2 *dst, const __local uint2 *src, size_t num_elements, event_t event); |
| 12561 | event_t __ovld async_work_group_copy(__global long2 *dst, const __local long2 *src, size_t num_elements, event_t event); |
| 12562 | event_t __ovld async_work_group_copy(__global ulong2 *dst, const __local ulong2 *src, size_t num_elements, event_t event); |
| 12563 | event_t __ovld async_work_group_copy(__global float2 *dst, const __local float2 *src, size_t num_elements, event_t event); |
| 12564 | event_t __ovld async_work_group_copy(__global char3 *dst, const __local char3 *src, size_t num_elements, event_t event); |
| 12565 | event_t __ovld async_work_group_copy(__global uchar3 *dst, const __local uchar3 *src, size_t num_elements, event_t event); |
| 12566 | event_t __ovld async_work_group_copy(__global short3 *dst, const __local short3 *src, size_t num_elements, event_t event); |
| 12567 | event_t __ovld async_work_group_copy(__global ushort3 *dst, const __local ushort3 *src, size_t num_elements, event_t event); |
| 12568 | event_t __ovld async_work_group_copy(__global int3 *dst, const __local int3 *src, size_t num_elements, event_t event); |
| 12569 | event_t __ovld async_work_group_copy(__global uint3 *dst, const __local uint3 *src, size_t num_elements, event_t event); |
| 12570 | event_t __ovld async_work_group_copy(__global long3 *dst, const __local long3 *src, size_t num_elements, event_t event); |
| 12571 | event_t __ovld async_work_group_copy(__global ulong3 *dst, const __local ulong3 *src, size_t num_elements, event_t event); |
| 12572 | event_t __ovld async_work_group_copy(__global float3 *dst, const __local float3 *src, size_t num_elements, event_t event); |
| 12573 | event_t __ovld async_work_group_copy(__global char4 *dst, const __local char4 *src, size_t num_elements, event_t event); |
| 12574 | event_t __ovld async_work_group_copy(__global uchar4 *dst, const __local uchar4 *src, size_t num_elements, event_t event); |
| 12575 | event_t __ovld async_work_group_copy(__global short4 *dst, const __local short4 *src, size_t num_elements, event_t event); |
| 12576 | event_t __ovld async_work_group_copy(__global ushort4 *dst, const __local ushort4 *src, size_t num_elements, event_t event); |
| 12577 | event_t __ovld async_work_group_copy(__global int4 *dst, const __local int4 *src, size_t num_elements, event_t event); |
| 12578 | event_t __ovld async_work_group_copy(__global uint4 *dst, const __local uint4 *src, size_t num_elements, event_t event); |
| 12579 | event_t __ovld async_work_group_copy(__global long4 *dst, const __local long4 *src, size_t num_elements, event_t event); |
| 12580 | event_t __ovld async_work_group_copy(__global ulong4 *dst, const __local ulong4 *src, size_t num_elements, event_t event); |
| 12581 | event_t __ovld async_work_group_copy(__global float4 *dst, const __local float4 *src, size_t num_elements, event_t event); |
| 12582 | event_t __ovld async_work_group_copy(__global char8 *dst, const __local char8 *src, size_t num_elements, event_t event); |
| 12583 | event_t __ovld async_work_group_copy(__global uchar8 *dst, const __local uchar8 *src, size_t num_elements, event_t event); |
| 12584 | event_t __ovld async_work_group_copy(__global short8 *dst, const __local short8 *src, size_t num_elements, event_t event); |
| 12585 | event_t __ovld async_work_group_copy(__global ushort8 *dst, const __local ushort8 *src, size_t num_elements, event_t event); |
| 12586 | event_t __ovld async_work_group_copy(__global int8 *dst, const __local int8 *src, size_t num_elements, event_t event); |
| 12587 | event_t __ovld async_work_group_copy(__global uint8 *dst, const __local uint8 *src, size_t num_elements, event_t event); |
| 12588 | event_t __ovld async_work_group_copy(__global long8 *dst, const __local long8 *src, size_t num_elements, event_t event); |
| 12589 | event_t __ovld async_work_group_copy(__global ulong8 *dst, const __local ulong8 *src, size_t num_elements, event_t event); |
| 12590 | event_t __ovld async_work_group_copy(__global float8 *dst, const __local float8 *src, size_t num_elements, event_t event); |
| 12591 | event_t __ovld async_work_group_copy(__global char16 *dst, const __local char16 *src, size_t num_elements, event_t event); |
| 12592 | event_t __ovld async_work_group_copy(__global uchar16 *dst, const __local uchar16 *src, size_t num_elements, event_t event); |
| 12593 | event_t __ovld async_work_group_copy(__global short16 *dst, const __local short16 *src, size_t num_elements, event_t event); |
| 12594 | event_t __ovld async_work_group_copy(__global ushort16 *dst, const __local ushort16 *src, size_t num_elements, event_t event); |
| 12595 | event_t __ovld async_work_group_copy(__global int16 *dst, const __local int16 *src, size_t num_elements, event_t event); |
| 12596 | event_t __ovld async_work_group_copy(__global uint16 *dst, const __local uint16 *src, size_t num_elements, event_t event); |
| 12597 | event_t __ovld async_work_group_copy(__global long16 *dst, const __local long16 *src, size_t num_elements, event_t event); |
| 12598 | event_t __ovld async_work_group_copy(__global ulong16 *dst, const __local ulong16 *src, size_t num_elements, event_t event); |
| 12599 | event_t __ovld async_work_group_copy(__global float16 *dst, const __local float16 *src, size_t num_elements, event_t event); |
| 12600 | #ifdef cl_khr_fp64 |
| 12601 | event_t __ovld async_work_group_copy(__local double *dst, const __global double *src, size_t num_elements, event_t event); |
| 12602 | event_t __ovld async_work_group_copy(__local double2 *dst, const __global double2 *src, size_t num_elements, event_t event); |
| 12603 | event_t __ovld async_work_group_copy(__local double3 *dst, const __global double3 *src, size_t num_elements, event_t event); |
| 12604 | event_t __ovld async_work_group_copy(__local double4 *dst, const __global double4 *src, size_t num_elements, event_t event); |
| 12605 | event_t __ovld async_work_group_copy(__local double8 *dst, const __global double8 *src, size_t num_elements, event_t event); |
| 12606 | event_t __ovld async_work_group_copy(__local double16 *dst, const __global double16 *src, size_t num_elements, event_t event); |
| 12607 | event_t __ovld async_work_group_copy(__global double *dst, const __local double *src, size_t num_elements, event_t event); |
| 12608 | event_t __ovld async_work_group_copy(__global double2 *dst, const __local double2 *src, size_t num_elements, event_t event); |
| 12609 | event_t __ovld async_work_group_copy(__global double3 *dst, const __local double3 *src, size_t num_elements, event_t event); |
| 12610 | event_t __ovld async_work_group_copy(__global double4 *dst, const __local double4 *src, size_t num_elements, event_t event); |
| 12611 | event_t __ovld async_work_group_copy(__global double8 *dst, const __local double8 *src, size_t num_elements, event_t event); |
| 12612 | event_t __ovld async_work_group_copy(__global double16 *dst, const __local double16 *src, size_t num_elements, event_t event); |
| 12613 | #endif //cl_khr_fp64 |
| 12614 | #ifdef cl_khr_fp16 |
| 12615 | event_t __ovld async_work_group_copy(__local half *dst, const __global half *src, size_t num_elements, event_t event); |
| 12616 | event_t __ovld async_work_group_copy(__local half2 *dst, const __global half2 *src, size_t num_elements, event_t event); |
| 12617 | event_t __ovld async_work_group_copy(__local half3 *dst, const __global half3 *src, size_t num_elements, event_t event); |
| 12618 | event_t __ovld async_work_group_copy(__local half4 *dst, const __global half4 *src, size_t num_elements, event_t event); |
| 12619 | event_t __ovld async_work_group_copy(__local half8 *dst, const __global half8 *src, size_t num_elements, event_t event); |
| 12620 | event_t __ovld async_work_group_copy(__local half16 *dst, const __global half16 *src, size_t num_elements, event_t event); |
| 12621 | event_t __ovld async_work_group_copy(__global half *dst, const __local half *src, size_t num_elements, event_t event); |
| 12622 | event_t __ovld async_work_group_copy(__global half2 *dst, const __local half2 *src, size_t num_elements, event_t event); |
| 12623 | event_t __ovld async_work_group_copy(__global half3 *dst, const __local half3 *src, size_t num_elements, event_t event); |
| 12624 | event_t __ovld async_work_group_copy(__global half4 *dst, const __local half4 *src, size_t num_elements, event_t event); |
| 12625 | event_t __ovld async_work_group_copy(__global half8 *dst, const __local half8 *src, size_t num_elements, event_t event); |
| 12626 | event_t __ovld async_work_group_copy(__global half16 *dst, const __local half16 *src, size_t num_elements, event_t event); |
| 12627 | #endif //cl_khr_fp16 |
| 12628 | |
| 12629 | /** |
| 12630 | * Perform an async gather of num_elements |
| 12631 | * gentype elements from src to dst. The |
| 12632 | * src_stride is the stride in elements for each |
| 12633 | * gentype element read from src. The dst_stride |
| 12634 | * is the stride in elements for each gentype |
| 12635 | * element written to dst. The async gather is |
| 12636 | * performed by all work-items in a work-group. |
| 12637 | * This built-in function must therefore be |
| 12638 | * encountered by all work-items in a work-group |
| 12639 | * executing the kernel with the same argument |
| 12640 | * values; otherwise the results are undefined. |
| 12641 | * Returns an event object that can be used by |
| 12642 | * wait_group_events to wait for the async copy |
| 12643 | * to finish. The event argument can also be used |
| 12644 | * to associate the |
| 12645 | * async_work_group_strided_copy with a |
| 12646 | * previous async copy allowing an event to be |
| 12647 | * shared by multiple async copies; otherwise event |
| 12648 | * should be zero. |
| 12649 | * If event argument is non-zero, the event object |
| 12650 | * supplied in event argument will be returned. |
| 12651 | * This function does not perform any implicit |
| 12652 | * synchronization of source data such as using a |
| 12653 | * barrier before performing the copy. |
| 12654 | */ |
| 12655 | event_t __ovld async_work_group_strided_copy(__local char *dst, const __global char *src, size_t num_elements, size_t src_stride, event_t event); |
| 12656 | event_t __ovld async_work_group_strided_copy(__local uchar *dst, const __global uchar *src, size_t num_elements, size_t src_stride, event_t event); |
| 12657 | event_t __ovld async_work_group_strided_copy(__local short *dst, const __global short *src, size_t num_elements, size_t src_stride, event_t event); |
| 12658 | event_t __ovld async_work_group_strided_copy(__local ushort *dst, const __global ushort *src, size_t num_elements, size_t src_stride, event_t event); |
| 12659 | event_t __ovld async_work_group_strided_copy(__local int *dst, const __global int *src, size_t num_elements, size_t src_stride, event_t event); |
| 12660 | event_t __ovld async_work_group_strided_copy(__local uint *dst, const __global uint *src, size_t num_elements, size_t src_stride, event_t event); |
| 12661 | event_t __ovld async_work_group_strided_copy(__local long *dst, const __global long *src, size_t num_elements, size_t src_stride, event_t event); |
| 12662 | event_t __ovld async_work_group_strided_copy(__local ulong *dst, const __global ulong *src, size_t num_elements, size_t src_stride, event_t event); |
| 12663 | event_t __ovld async_work_group_strided_copy(__local float *dst, const __global float *src, size_t num_elements, size_t src_stride, event_t event); |
| 12664 | event_t __ovld async_work_group_strided_copy(__local char2 *dst, const __global char2 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12665 | event_t __ovld async_work_group_strided_copy(__local uchar2 *dst, const __global uchar2 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12666 | event_t __ovld async_work_group_strided_copy(__local short2 *dst, const __global short2 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12667 | event_t __ovld async_work_group_strided_copy(__local ushort2 *dst, const __global ushort2 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12668 | event_t __ovld async_work_group_strided_copy(__local int2 *dst, const __global int2 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12669 | event_t __ovld async_work_group_strided_copy(__local uint2 *dst, const __global uint2 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12670 | event_t __ovld async_work_group_strided_copy(__local long2 *dst, const __global long2 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12671 | event_t __ovld async_work_group_strided_copy(__local ulong2 *dst, const __global ulong2 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12672 | event_t __ovld async_work_group_strided_copy(__local float2 *dst, const __global float2 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12673 | event_t __ovld async_work_group_strided_copy(__local char3 *dst, const __global char3 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12674 | event_t __ovld async_work_group_strided_copy(__local uchar3 *dst, const __global uchar3 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12675 | event_t __ovld async_work_group_strided_copy(__local short3 *dst, const __global short3 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12676 | event_t __ovld async_work_group_strided_copy(__local ushort3 *dst, const __global ushort3 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12677 | event_t __ovld async_work_group_strided_copy(__local int3 *dst, const __global int3 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12678 | event_t __ovld async_work_group_strided_copy(__local uint3 *dst, const __global uint3 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12679 | event_t __ovld async_work_group_strided_copy(__local long3 *dst, const __global long3 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12680 | event_t __ovld async_work_group_strided_copy(__local ulong3 *dst, const __global ulong3 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12681 | event_t __ovld async_work_group_strided_copy(__local float3 *dst, const __global float3 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12682 | event_t __ovld async_work_group_strided_copy(__local char4 *dst, const __global char4 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12683 | event_t __ovld async_work_group_strided_copy(__local uchar4 *dst, const __global uchar4 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12684 | event_t __ovld async_work_group_strided_copy(__local short4 *dst, const __global short4 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12685 | event_t __ovld async_work_group_strided_copy(__local ushort4 *dst, const __global ushort4 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12686 | event_t __ovld async_work_group_strided_copy(__local int4 *dst, const __global int4 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12687 | event_t __ovld async_work_group_strided_copy(__local uint4 *dst, const __global uint4 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12688 | event_t __ovld async_work_group_strided_copy(__local long4 *dst, const __global long4 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12689 | event_t __ovld async_work_group_strided_copy(__local ulong4 *dst, const __global ulong4 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12690 | event_t __ovld async_work_group_strided_copy(__local float4 *dst, const __global float4 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12691 | event_t __ovld async_work_group_strided_copy(__local char8 *dst, const __global char8 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12692 | event_t __ovld async_work_group_strided_copy(__local uchar8 *dst, const __global uchar8 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12693 | event_t __ovld async_work_group_strided_copy(__local short8 *dst, const __global short8 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12694 | event_t __ovld async_work_group_strided_copy(__local ushort8 *dst, const __global ushort8 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12695 | event_t __ovld async_work_group_strided_copy(__local int8 *dst, const __global int8 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12696 | event_t __ovld async_work_group_strided_copy(__local uint8 *dst, const __global uint8 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12697 | event_t __ovld async_work_group_strided_copy(__local long8 *dst, const __global long8 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12698 | event_t __ovld async_work_group_strided_copy(__local ulong8 *dst, const __global ulong8 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12699 | event_t __ovld async_work_group_strided_copy(__local float8 *dst, const __global float8 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12700 | event_t __ovld async_work_group_strided_copy(__local char16 *dst, const __global char16 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12701 | event_t __ovld async_work_group_strided_copy(__local uchar16 *dst, const __global uchar16 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12702 | event_t __ovld async_work_group_strided_copy(__local short16 *dst, const __global short16 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12703 | event_t __ovld async_work_group_strided_copy(__local ushort16 *dst, const __global ushort16 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12704 | event_t __ovld async_work_group_strided_copy(__local int16 *dst, const __global int16 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12705 | event_t __ovld async_work_group_strided_copy(__local uint16 *dst, const __global uint16 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12706 | event_t __ovld async_work_group_strided_copy(__local long16 *dst, const __global long16 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12707 | event_t __ovld async_work_group_strided_copy(__local ulong16 *dst, const __global ulong16 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12708 | event_t __ovld async_work_group_strided_copy(__local float16 *dst, const __global float16 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12709 | event_t __ovld async_work_group_strided_copy(__global char *dst, const __local char *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12710 | event_t __ovld async_work_group_strided_copy(__global uchar *dst, const __local uchar *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12711 | event_t __ovld async_work_group_strided_copy(__global short *dst, const __local short *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12712 | event_t __ovld async_work_group_strided_copy(__global ushort *dst, const __local ushort *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12713 | event_t __ovld async_work_group_strided_copy(__global int *dst, const __local int *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12714 | event_t __ovld async_work_group_strided_copy(__global uint *dst, const __local uint *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12715 | event_t __ovld async_work_group_strided_copy(__global long *dst, const __local long *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12716 | event_t __ovld async_work_group_strided_copy(__global ulong *dst, const __local ulong *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12717 | event_t __ovld async_work_group_strided_copy(__global float *dst, const __local float *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12718 | event_t __ovld async_work_group_strided_copy(__global char2 *dst, const __local char2 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12719 | event_t __ovld async_work_group_strided_copy(__global uchar2 *dst, const __local uchar2 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12720 | event_t __ovld async_work_group_strided_copy(__global short2 *dst, const __local short2 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12721 | event_t __ovld async_work_group_strided_copy(__global ushort2 *dst, const __local ushort2 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12722 | event_t __ovld async_work_group_strided_copy(__global int2 *dst, const __local int2 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12723 | event_t __ovld async_work_group_strided_copy(__global uint2 *dst, const __local uint2 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12724 | event_t __ovld async_work_group_strided_copy(__global long2 *dst, const __local long2 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12725 | event_t __ovld async_work_group_strided_copy(__global ulong2 *dst, const __local ulong2 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12726 | event_t __ovld async_work_group_strided_copy(__global float2 *dst, const __local float2 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12727 | event_t __ovld async_work_group_strided_copy(__global char3 *dst, const __local char3 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12728 | event_t __ovld async_work_group_strided_copy(__global uchar3 *dst, const __local uchar3 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12729 | event_t __ovld async_work_group_strided_copy(__global short3 *dst, const __local short3 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12730 | event_t __ovld async_work_group_strided_copy(__global ushort3 *dst, const __local ushort3 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12731 | event_t __ovld async_work_group_strided_copy(__global int3 *dst, const __local int3 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12732 | event_t __ovld async_work_group_strided_copy(__global uint3 *dst, const __local uint3 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12733 | event_t __ovld async_work_group_strided_copy(__global long3 *dst, const __local long3 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12734 | event_t __ovld async_work_group_strided_copy(__global ulong3 *dst, const __local ulong3 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12735 | event_t __ovld async_work_group_strided_copy(__global float3 *dst, const __local float3 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12736 | event_t __ovld async_work_group_strided_copy(__global char4 *dst, const __local char4 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12737 | event_t __ovld async_work_group_strided_copy(__global uchar4 *dst, const __local uchar4 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12738 | event_t __ovld async_work_group_strided_copy(__global short4 *dst, const __local short4 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12739 | event_t __ovld async_work_group_strided_copy(__global ushort4 *dst, const __local ushort4 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12740 | event_t __ovld async_work_group_strided_copy(__global int4 *dst, const __local int4 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12741 | event_t __ovld async_work_group_strided_copy(__global uint4 *dst, const __local uint4 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12742 | event_t __ovld async_work_group_strided_copy(__global long4 *dst, const __local long4 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12743 | event_t __ovld async_work_group_strided_copy(__global ulong4 *dst, const __local ulong4 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12744 | event_t __ovld async_work_group_strided_copy(__global float4 *dst, const __local float4 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12745 | event_t __ovld async_work_group_strided_copy(__global char8 *dst, const __local char8 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12746 | event_t __ovld async_work_group_strided_copy(__global uchar8 *dst, const __local uchar8 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12747 | event_t __ovld async_work_group_strided_copy(__global short8 *dst, const __local short8 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12748 | event_t __ovld async_work_group_strided_copy(__global ushort8 *dst, const __local ushort8 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12749 | event_t __ovld async_work_group_strided_copy(__global int8 *dst, const __local int8 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12750 | event_t __ovld async_work_group_strided_copy(__global uint8 *dst, const __local uint8 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12751 | event_t __ovld async_work_group_strided_copy(__global long8 *dst, const __local long8 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12752 | event_t __ovld async_work_group_strided_copy(__global ulong8 *dst, const __local ulong8 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12753 | event_t __ovld async_work_group_strided_copy(__global float8 *dst, const __local float8 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12754 | event_t __ovld async_work_group_strided_copy(__global char16 *dst, const __local char16 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12755 | event_t __ovld async_work_group_strided_copy(__global uchar16 *dst, const __local uchar16 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12756 | event_t __ovld async_work_group_strided_copy(__global short16 *dst, const __local short16 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12757 | event_t __ovld async_work_group_strided_copy(__global ushort16 *dst, const __local ushort16 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12758 | event_t __ovld async_work_group_strided_copy(__global int16 *dst, const __local int16 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12759 | event_t __ovld async_work_group_strided_copy(__global uint16 *dst, const __local uint16 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12760 | event_t __ovld async_work_group_strided_copy(__global long16 *dst, const __local long16 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12761 | event_t __ovld async_work_group_strided_copy(__global ulong16 *dst, const __local ulong16 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12762 | event_t __ovld async_work_group_strided_copy(__global float16 *dst, const __local float16 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12763 | #ifdef cl_khr_fp64 |
| 12764 | event_t __ovld async_work_group_strided_copy(__local double *dst, const __global double *src, size_t num_elements, size_t src_stride, event_t event); |
| 12765 | event_t __ovld async_work_group_strided_copy(__local double2 *dst, const __global double2 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12766 | event_t __ovld async_work_group_strided_copy(__local double3 *dst, const __global double3 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12767 | event_t __ovld async_work_group_strided_copy(__local double4 *dst, const __global double4 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12768 | event_t __ovld async_work_group_strided_copy(__local double8 *dst, const __global double8 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12769 | event_t __ovld async_work_group_strided_copy(__local double16 *dst, const __global double16 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12770 | event_t __ovld async_work_group_strided_copy(__global double *dst, const __local double *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12771 | event_t __ovld async_work_group_strided_copy(__global double2 *dst, const __local double2 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12772 | event_t __ovld async_work_group_strided_copy(__global double3 *dst, const __local double3 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12773 | event_t __ovld async_work_group_strided_copy(__global double4 *dst, const __local double4 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12774 | event_t __ovld async_work_group_strided_copy(__global double8 *dst, const __local double8 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12775 | event_t __ovld async_work_group_strided_copy(__global double16 *dst, const __local double16 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12776 | #endif //cl_khr_fp64 |
| 12777 | #ifdef cl_khr_fp16 |
| 12778 | event_t __ovld async_work_group_strided_copy(__local half *dst, const __global half *src, size_t num_elements, size_t src_stride, event_t event); |
| 12779 | event_t __ovld async_work_group_strided_copy(__local half2 *dst, const __global half2 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12780 | event_t __ovld async_work_group_strided_copy(__local half3 *dst, const __global half3 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12781 | event_t __ovld async_work_group_strided_copy(__local half4 *dst, const __global half4 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12782 | event_t __ovld async_work_group_strided_copy(__local half8 *dst, const __global half8 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12783 | event_t __ovld async_work_group_strided_copy(__local half16 *dst, const __global half16 *src, size_t num_elements, size_t src_stride, event_t event); |
| 12784 | event_t __ovld async_work_group_strided_copy(__global half *dst, const __local half *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12785 | event_t __ovld async_work_group_strided_copy(__global half2 *dst, const __local half2 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12786 | event_t __ovld async_work_group_strided_copy(__global half3 *dst, const __local half3 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12787 | event_t __ovld async_work_group_strided_copy(__global half4 *dst, const __local half4 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12788 | event_t __ovld async_work_group_strided_copy(__global half8 *dst, const __local half8 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12789 | event_t __ovld async_work_group_strided_copy(__global half16 *dst, const __local half16 *src, size_t num_elements, size_t dst_stride, event_t event); |
| 12790 | #endif //cl_khr_fp16 |
| 12791 | |
| 12792 | /** |
| 12793 | * Wait for events that identify the |
| 12794 | * async_work_group_copy operations to |
| 12795 | * complete. The event objects specified in |
| 12796 | * event_list will be released after the wait is |
| 12797 | * performed. |
| 12798 | * This function must be encountered by all workitems |
| 12799 | * in a work-group executing the kernel with |
| 12800 | * the same num_events and event objects specified |
| 12801 | * in event_list; otherwise the results are undefined. |
| 12802 | */ |
| 12803 | void __ovld wait_group_events(int num_events, event_t *event_list); |
| 12804 | |
| 12805 | /** |
| 12806 | * Prefetch num_elements * sizeof(gentype) |
| 12807 | * bytes into the global cache. The prefetch |
| 12808 | * instruction is applied to a work-item in a workgroup |
| 12809 | * and does not affect the functional |
| 12810 | * behavior of the kernel. |
| 12811 | */ |
| 12812 | void __ovld prefetch(const __global char *p, size_t num_elements); |
| 12813 | void __ovld prefetch(const __global uchar *p, size_t num_elements); |
| 12814 | void __ovld prefetch(const __global short *p, size_t num_elements); |
| 12815 | void __ovld prefetch(const __global ushort *p, size_t num_elements); |
| 12816 | void __ovld prefetch(const __global int *p, size_t num_elements); |
| 12817 | void __ovld prefetch(const __global uint *p, size_t num_elements); |
| 12818 | void __ovld prefetch(const __global long *p, size_t num_elements); |
| 12819 | void __ovld prefetch(const __global ulong *p, size_t num_elements); |
| 12820 | void __ovld prefetch(const __global float *p, size_t num_elements); |
| 12821 | void __ovld prefetch(const __global char2 *p, size_t num_elements); |
| 12822 | void __ovld prefetch(const __global uchar2 *p, size_t num_elements); |
| 12823 | void __ovld prefetch(const __global short2 *p, size_t num_elements); |
| 12824 | void __ovld prefetch(const __global ushort2 *p, size_t num_elements); |
| 12825 | void __ovld prefetch(const __global int2 *p, size_t num_elements); |
| 12826 | void __ovld prefetch(const __global uint2 *p, size_t num_elements); |
| 12827 | void __ovld prefetch(const __global long2 *p, size_t num_elements); |
| 12828 | void __ovld prefetch(const __global ulong2 *p, size_t num_elements); |
| 12829 | void __ovld prefetch(const __global float2 *p, size_t num_elements); |
| 12830 | void __ovld prefetch(const __global char3 *p, size_t num_elements); |
| 12831 | void __ovld prefetch(const __global uchar3 *p, size_t num_elements); |
| 12832 | void __ovld prefetch(const __global short3 *p, size_t num_elements); |
| 12833 | void __ovld prefetch(const __global ushort3 *p, size_t num_elements); |
| 12834 | void __ovld prefetch(const __global int3 *p, size_t num_elements); |
| 12835 | void __ovld prefetch(const __global uint3 *p, size_t num_elements); |
| 12836 | void __ovld prefetch(const __global long3 *p, size_t num_elements); |
| 12837 | void __ovld prefetch(const __global ulong3 *p, size_t num_elements); |
| 12838 | void __ovld prefetch(const __global float3 *p, size_t num_elements); |
| 12839 | void __ovld prefetch(const __global char4 *p, size_t num_elements); |
| 12840 | void __ovld prefetch(const __global uchar4 *p, size_t num_elements); |
| 12841 | void __ovld prefetch(const __global short4 *p, size_t num_elements); |
| 12842 | void __ovld prefetch(const __global ushort4 *p, size_t num_elements); |
| 12843 | void __ovld prefetch(const __global int4 *p, size_t num_elements); |
| 12844 | void __ovld prefetch(const __global uint4 *p, size_t num_elements); |
| 12845 | void __ovld prefetch(const __global long4 *p, size_t num_elements); |
| 12846 | void __ovld prefetch(const __global ulong4 *p, size_t num_elements); |
| 12847 | void __ovld prefetch(const __global float4 *p, size_t num_elements); |
| 12848 | void __ovld prefetch(const __global char8 *p, size_t num_elements); |
| 12849 | void __ovld prefetch(const __global uchar8 *p, size_t num_elements); |
| 12850 | void __ovld prefetch(const __global short8 *p, size_t num_elements); |
| 12851 | void __ovld prefetch(const __global ushort8 *p, size_t num_elements); |
| 12852 | void __ovld prefetch(const __global int8 *p, size_t num_elements); |
| 12853 | void __ovld prefetch(const __global uint8 *p, size_t num_elements); |
| 12854 | void __ovld prefetch(const __global long8 *p, size_t num_elements); |
| 12855 | void __ovld prefetch(const __global ulong8 *p, size_t num_elements); |
| 12856 | void __ovld prefetch(const __global float8 *p, size_t num_elements); |
| 12857 | void __ovld prefetch(const __global char16 *p, size_t num_elements); |
| 12858 | void __ovld prefetch(const __global uchar16 *p, size_t num_elements); |
| 12859 | void __ovld prefetch(const __global short16 *p, size_t num_elements); |
| 12860 | void __ovld prefetch(const __global ushort16 *p, size_t num_elements); |
| 12861 | void __ovld prefetch(const __global int16 *p, size_t num_elements); |
| 12862 | void __ovld prefetch(const __global uint16 *p, size_t num_elements); |
| 12863 | void __ovld prefetch(const __global long16 *p, size_t num_elements); |
| 12864 | void __ovld prefetch(const __global ulong16 *p, size_t num_elements); |
| 12865 | void __ovld prefetch(const __global float16 *p, size_t num_elements); |
| 12866 | #ifdef cl_khr_fp64 |
| 12867 | void __ovld prefetch(const __global double *p, size_t num_elements); |
| 12868 | void __ovld prefetch(const __global double2 *p, size_t num_elements); |
| 12869 | void __ovld prefetch(const __global double3 *p, size_t num_elements); |
| 12870 | void __ovld prefetch(const __global double4 *p, size_t num_elements); |
| 12871 | void __ovld prefetch(const __global double8 *p, size_t num_elements); |
| 12872 | void __ovld prefetch(const __global double16 *p, size_t num_elements); |
| 12873 | #endif //cl_khr_fp64 |
| 12874 | #ifdef cl_khr_fp16 |
| 12875 | void __ovld prefetch(const __global half *p, size_t num_elements); |
| 12876 | void __ovld prefetch(const __global half2 *p, size_t num_elements); |
| 12877 | void __ovld prefetch(const __global half3 *p, size_t num_elements); |
| 12878 | void __ovld prefetch(const __global half4 *p, size_t num_elements); |
| 12879 | void __ovld prefetch(const __global half8 *p, size_t num_elements); |
| 12880 | void __ovld prefetch(const __global half16 *p, size_t num_elements); |
| 12881 | #endif // cl_khr_fp16 |
| 12882 | |
| 12883 | // OpenCL v1.1 s6.11.1, v1.2 s6.12.11 - Atomic Functions |
| 12884 | |
| 12885 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 12886 | #pragma OPENCL EXTENSION cl_khr_int64_base_atomics : enable |
| 12887 | #pragma OPENCL EXTENSION cl_khr_int64_extended_atomics : enable |
| 12888 | #endif |
| 12889 | /** |
| 12890 | * Read the 32-bit value (referred to as old) |
| 12891 | * stored at location pointed by p. Compute |
| 12892 | * (old + val) and store result at location |
| 12893 | * pointed by p. The function returns old. |
| 12894 | */ |
| 12895 | int __ovld atomic_add(volatile __global int *p, int val); |
| 12896 | unsigned int __ovld atomic_add(volatile __global unsigned int *p, unsigned int val); |
| 12897 | int __ovld atomic_add(volatile __local int *p, int val); |
| 12898 | unsigned int __ovld atomic_add(volatile __local unsigned int *p, unsigned int val); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 12899 | #ifdef __OPENCL_CPP_VERSION__ |
| 12900 | int __ovld atomic_add(volatile int *p, int val); |
| 12901 | unsigned int __ovld atomic_add(volatile unsigned int *p, unsigned int val); |
| 12902 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12903 | |
| 12904 | #if defined(cl_khr_global_int32_base_atomics) |
| 12905 | int __ovld atom_add(volatile __global int *p, int val); |
| 12906 | unsigned int __ovld atom_add(volatile __global unsigned int *p, unsigned int val); |
| 12907 | #endif |
| 12908 | #if defined(cl_khr_local_int32_base_atomics) |
| 12909 | int __ovld atom_add(volatile __local int *p, int val); |
| 12910 | unsigned int __ovld atom_add(volatile __local unsigned int *p, unsigned int val); |
| 12911 | #endif |
| 12912 | |
| 12913 | #if defined(cl_khr_int64_base_atomics) |
| 12914 | long __ovld atom_add(volatile __global long *p, long val); |
| 12915 | unsigned long __ovld atom_add(volatile __global unsigned long *p, unsigned long val); |
| 12916 | long __ovld atom_add(volatile __local long *p, long val); |
| 12917 | unsigned long __ovld atom_add(volatile __local unsigned long *p, unsigned long val); |
| 12918 | #endif |
| 12919 | |
| 12920 | /** |
| 12921 | * Read the 32-bit value (referred to as old) stored at location pointed by p. |
| 12922 | * Compute (old - val) and store result at location pointed by p. The function |
| 12923 | * returns old. |
| 12924 | */ |
| 12925 | int __ovld atomic_sub(volatile __global int *p, int val); |
| 12926 | unsigned int __ovld atomic_sub(volatile __global unsigned int *p, unsigned int val); |
| 12927 | int __ovld atomic_sub(volatile __local int *p, int val); |
| 12928 | unsigned int __ovld atomic_sub(volatile __local unsigned int *p, unsigned int val); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 12929 | #ifdef __OPENCL_CPP_VERSION__ |
| 12930 | int __ovld atomic_sub(volatile int *p, int val); |
| 12931 | unsigned int __ovld atomic_sub(volatile unsigned int *p, unsigned int val); |
| 12932 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12933 | |
| 12934 | #if defined(cl_khr_global_int32_base_atomics) |
| 12935 | int __ovld atom_sub(volatile __global int *p, int val); |
| 12936 | unsigned int __ovld atom_sub(volatile __global unsigned int *p, unsigned int val); |
| 12937 | #endif |
| 12938 | #if defined(cl_khr_local_int32_base_atomics) |
| 12939 | int __ovld atom_sub(volatile __local int *p, int val); |
| 12940 | unsigned int __ovld atom_sub(volatile __local unsigned int *p, unsigned int val); |
| 12941 | #endif |
| 12942 | |
| 12943 | #if defined(cl_khr_int64_base_atomics) |
| 12944 | long __ovld atom_sub(volatile __global long *p, long val); |
| 12945 | unsigned long __ovld atom_sub(volatile __global unsigned long *p, unsigned long val); |
| 12946 | long __ovld atom_sub(volatile __local long *p, long val); |
| 12947 | unsigned long __ovld atom_sub(volatile __local unsigned long *p, unsigned long val); |
| 12948 | #endif |
| 12949 | |
| 12950 | /** |
| 12951 | * Swaps the old value stored at location p |
| 12952 | * with new value given by val. Returns old |
| 12953 | * value. |
| 12954 | */ |
| 12955 | int __ovld atomic_xchg(volatile __global int *p, int val); |
| 12956 | unsigned int __ovld atomic_xchg(volatile __global unsigned int *p, unsigned int val); |
| 12957 | int __ovld atomic_xchg(volatile __local int *p, int val); |
| 12958 | unsigned int __ovld atomic_xchg(volatile __local unsigned int *p, unsigned int val); |
| 12959 | float __ovld atomic_xchg(volatile __global float *p, float val); |
| 12960 | float __ovld atomic_xchg(volatile __local float *p, float val); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 12961 | #ifdef __OPENCL_CPP_VERSION__ |
| 12962 | int __ovld atomic_xchg(volatile int *p, int val); |
| 12963 | unsigned int __ovld atomic_xchg(volatile unsigned int *p, unsigned int val); |
| 12964 | float __ovld atomic_xchg(volatile float *p, float val); |
| 12965 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12966 | |
| 12967 | #if defined(cl_khr_global_int32_base_atomics) |
| 12968 | int __ovld atom_xchg(volatile __global int *p, int val); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 12969 | unsigned int __ovld atom_xchg(volatile __global unsigned int *p, unsigned int val); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12970 | #endif |
| 12971 | #if defined(cl_khr_local_int32_base_atomics) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 12972 | int __ovld atom_xchg(volatile __local int *p, int val); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12973 | unsigned int __ovld atom_xchg(volatile __local unsigned int *p, unsigned int val); |
| 12974 | #endif |
| 12975 | |
| 12976 | #if defined(cl_khr_int64_base_atomics) |
| 12977 | long __ovld atom_xchg(volatile __global long *p, long val); |
| 12978 | long __ovld atom_xchg(volatile __local long *p, long val); |
| 12979 | unsigned long __ovld atom_xchg(volatile __global unsigned long *p, unsigned long val); |
| 12980 | unsigned long __ovld atom_xchg(volatile __local unsigned long *p, unsigned long val); |
| 12981 | #endif |
| 12982 | |
| 12983 | /** |
| 12984 | * Read the 32-bit value (referred to as old) |
| 12985 | * stored at location pointed by p. Compute |
| 12986 | * (old + 1) and store result at location |
| 12987 | * pointed by p. The function returns old. |
| 12988 | */ |
| 12989 | int __ovld atomic_inc(volatile __global int *p); |
| 12990 | unsigned int __ovld atomic_inc(volatile __global unsigned int *p); |
| 12991 | int __ovld atomic_inc(volatile __local int *p); |
| 12992 | unsigned int __ovld atomic_inc(volatile __local unsigned int *p); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 12993 | #ifdef __OPENCL_CPP_VERSION__ |
| 12994 | int __ovld atomic_inc(volatile int *p); |
| 12995 | unsigned int __ovld atomic_inc(volatile unsigned int *p); |
| 12996 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 12997 | |
| 12998 | #if defined(cl_khr_global_int32_base_atomics) |
| 12999 | int __ovld atom_inc(volatile __global int *p); |
| 13000 | unsigned int __ovld atom_inc(volatile __global unsigned int *p); |
| 13001 | #endif |
| 13002 | #if defined(cl_khr_local_int32_base_atomics) |
| 13003 | int __ovld atom_inc(volatile __local int *p); |
| 13004 | unsigned int __ovld atom_inc(volatile __local unsigned int *p); |
| 13005 | #endif |
| 13006 | |
| 13007 | #if defined(cl_khr_int64_base_atomics) |
| 13008 | long __ovld atom_inc(volatile __global long *p); |
| 13009 | unsigned long __ovld atom_inc(volatile __global unsigned long *p); |
| 13010 | long __ovld atom_inc(volatile __local long *p); |
| 13011 | unsigned long __ovld atom_inc(volatile __local unsigned long *p); |
| 13012 | #endif |
| 13013 | |
| 13014 | /** |
| 13015 | * Read the 32-bit value (referred to as old) |
| 13016 | * stored at location pointed by p. Compute |
| 13017 | * (old - 1) and store result at location |
| 13018 | * pointed by p. The function returns old. |
| 13019 | */ |
| 13020 | int __ovld atomic_dec(volatile __global int *p); |
| 13021 | unsigned int __ovld atomic_dec(volatile __global unsigned int *p); |
| 13022 | int __ovld atomic_dec(volatile __local int *p); |
| 13023 | unsigned int __ovld atomic_dec(volatile __local unsigned int *p); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 13024 | #ifdef __OPENCL_CPP_VERSION__ |
| 13025 | int __ovld atomic_dec(volatile int *p); |
| 13026 | unsigned int __ovld atomic_dec(volatile unsigned int *p); |
| 13027 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13028 | |
| 13029 | #if defined(cl_khr_global_int32_base_atomics) |
| 13030 | int __ovld atom_dec(volatile __global int *p); |
| 13031 | unsigned int __ovld atom_dec(volatile __global unsigned int *p); |
| 13032 | #endif |
| 13033 | #if defined(cl_khr_local_int32_base_atomics) |
| 13034 | int __ovld atom_dec(volatile __local int *p); |
| 13035 | unsigned int __ovld atom_dec(volatile __local unsigned int *p); |
| 13036 | #endif |
| 13037 | |
| 13038 | #if defined(cl_khr_int64_base_atomics) |
| 13039 | long __ovld atom_dec(volatile __global long *p); |
| 13040 | unsigned long __ovld atom_dec(volatile __global unsigned long *p); |
| 13041 | long __ovld atom_dec(volatile __local long *p); |
| 13042 | unsigned long __ovld atom_dec(volatile __local unsigned long *p); |
| 13043 | #endif |
| 13044 | |
| 13045 | /** |
| 13046 | * Read the 32-bit value (referred to as old) |
| 13047 | * stored at location pointed by p. Compute |
| 13048 | * (old == cmp) ? val : old and store result at |
| 13049 | * location pointed by p. The function |
| 13050 | * returns old. |
| 13051 | */ |
| 13052 | int __ovld atomic_cmpxchg(volatile __global int *p, int cmp, int val); |
| 13053 | unsigned int __ovld atomic_cmpxchg(volatile __global unsigned int *p, unsigned int cmp, unsigned int val); |
| 13054 | int __ovld atomic_cmpxchg(volatile __local int *p, int cmp, int val); |
| 13055 | unsigned int __ovld atomic_cmpxchg(volatile __local unsigned int *p, unsigned int cmp, unsigned int val); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 13056 | #ifdef __OPENCL_CPP_VERSION__ |
| 13057 | int __ovld atomic_cmpxchg(volatile int *p, int cmp, int val); |
| 13058 | unsigned int __ovld atomic_cmpxchg(volatile unsigned int *p, unsigned int cmp, unsigned int val); |
| 13059 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13060 | |
| 13061 | #if defined(cl_khr_global_int32_base_atomics) |
| 13062 | int __ovld atom_cmpxchg(volatile __global int *p, int cmp, int val); |
| 13063 | unsigned int __ovld atom_cmpxchg(volatile __global unsigned int *p, unsigned int cmp, unsigned int val); |
| 13064 | #endif |
| 13065 | #if defined(cl_khr_local_int32_base_atomics) |
| 13066 | int __ovld atom_cmpxchg(volatile __local int *p, int cmp, int val); |
| 13067 | unsigned int __ovld atom_cmpxchg(volatile __local unsigned int *p, unsigned int cmp, unsigned int val); |
| 13068 | #endif |
| 13069 | |
| 13070 | #if defined(cl_khr_int64_base_atomics) |
| 13071 | long __ovld atom_cmpxchg(volatile __global long *p, long cmp, long val); |
| 13072 | unsigned long __ovld atom_cmpxchg(volatile __global unsigned long *p, unsigned long cmp, unsigned long val); |
| 13073 | long __ovld atom_cmpxchg(volatile __local long *p, long cmp, long val); |
| 13074 | unsigned long __ovld atom_cmpxchg(volatile __local unsigned long *p, unsigned long cmp, unsigned long val); |
| 13075 | #endif |
| 13076 | |
| 13077 | /** |
| 13078 | * Read the 32-bit value (referred to as old) |
| 13079 | * stored at location pointed by p. Compute |
| 13080 | * min(old, val) and store minimum value at |
| 13081 | * location pointed by p. The function |
| 13082 | * returns old. |
| 13083 | */ |
| 13084 | int __ovld atomic_min(volatile __global int *p, int val); |
| 13085 | unsigned int __ovld atomic_min(volatile __global unsigned int *p, unsigned int val); |
| 13086 | int __ovld atomic_min(volatile __local int *p, int val); |
| 13087 | unsigned int __ovld atomic_min(volatile __local unsigned int *p, unsigned int val); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 13088 | #ifdef __OPENCL_CPP_VERSION__ |
| 13089 | int __ovld atomic_min(volatile int *p, int val); |
| 13090 | unsigned int __ovld atomic_min(volatile unsigned int *p, unsigned int val); |
| 13091 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13092 | |
| 13093 | #if defined(cl_khr_global_int32_extended_atomics) |
| 13094 | int __ovld atom_min(volatile __global int *p, int val); |
| 13095 | unsigned int __ovld atom_min(volatile __global unsigned int *p, unsigned int val); |
| 13096 | #endif |
| 13097 | #if defined(cl_khr_local_int32_extended_atomics) |
| 13098 | int __ovld atom_min(volatile __local int *p, int val); |
| 13099 | unsigned int __ovld atom_min(volatile __local unsigned int *p, unsigned int val); |
| 13100 | #endif |
| 13101 | |
| 13102 | #if defined(cl_khr_int64_extended_atomics) |
| 13103 | long __ovld atom_min(volatile __global long *p, long val); |
| 13104 | unsigned long __ovld atom_min(volatile __global unsigned long *p, unsigned long val); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13105 | long __ovld atom_min(volatile __local long *p, long val); |
| 13106 | unsigned long __ovld atom_min(volatile __local unsigned long *p, unsigned long val); |
| 13107 | #endif |
| 13108 | |
| 13109 | /** |
| 13110 | * Read the 32-bit value (referred to as old) |
| 13111 | * stored at location pointed by p. Compute |
| 13112 | * max(old, val) and store maximum value at |
| 13113 | * location pointed by p. The function |
| 13114 | * returns old. |
| 13115 | */ |
| 13116 | int __ovld atomic_max(volatile __global int *p, int val); |
| 13117 | unsigned int __ovld atomic_max(volatile __global unsigned int *p, unsigned int val); |
| 13118 | int __ovld atomic_max(volatile __local int *p, int val); |
| 13119 | unsigned int __ovld atomic_max(volatile __local unsigned int *p, unsigned int val); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 13120 | #ifdef __OPENCL_CPP_VERSION__ |
| 13121 | int __ovld atomic_max(volatile int *p, int val); |
| 13122 | unsigned int __ovld atomic_max(volatile unsigned int *p, unsigned int val); |
| 13123 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13124 | |
| 13125 | #if defined(cl_khr_global_int32_extended_atomics) |
| 13126 | int __ovld atom_max(volatile __global int *p, int val); |
| 13127 | unsigned int __ovld atom_max(volatile __global unsigned int *p, unsigned int val); |
| 13128 | #endif |
| 13129 | #if defined(cl_khr_local_int32_extended_atomics) |
| 13130 | int __ovld atom_max(volatile __local int *p, int val); |
| 13131 | unsigned int __ovld atom_max(volatile __local unsigned int *p, unsigned int val); |
| 13132 | #endif |
| 13133 | |
| 13134 | #if defined(cl_khr_int64_extended_atomics) |
| 13135 | long __ovld atom_max(volatile __global long *p, long val); |
| 13136 | unsigned long __ovld atom_max(volatile __global unsigned long *p, unsigned long val); |
| 13137 | long __ovld atom_max(volatile __local long *p, long val); |
| 13138 | unsigned long __ovld atom_max(volatile __local unsigned long *p, unsigned long val); |
| 13139 | #endif |
| 13140 | |
| 13141 | /** |
| 13142 | * Read the 32-bit value (referred to as old) |
| 13143 | * stored at location pointed by p. Compute |
| 13144 | * (old & val) and store result at location |
| 13145 | * pointed by p. The function returns old. |
| 13146 | */ |
| 13147 | int __ovld atomic_and(volatile __global int *p, int val); |
| 13148 | unsigned int __ovld atomic_and(volatile __global unsigned int *p, unsigned int val); |
| 13149 | int __ovld atomic_and(volatile __local int *p, int val); |
| 13150 | unsigned int __ovld atomic_and(volatile __local unsigned int *p, unsigned int val); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 13151 | #ifdef __OPENCL_CPP_VERSION__ |
| 13152 | int __ovld atomic_and(volatile int *p, int val); |
| 13153 | unsigned int __ovld atomic_and(volatile unsigned int *p, unsigned int val); |
| 13154 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13155 | |
| 13156 | #if defined(cl_khr_global_int32_extended_atomics) |
| 13157 | int __ovld atom_and(volatile __global int *p, int val); |
| 13158 | unsigned int __ovld atom_and(volatile __global unsigned int *p, unsigned int val); |
| 13159 | #endif |
| 13160 | #if defined(cl_khr_local_int32_extended_atomics) |
| 13161 | int __ovld atom_and(volatile __local int *p, int val); |
| 13162 | unsigned int __ovld atom_and(volatile __local unsigned int *p, unsigned int val); |
| 13163 | #endif |
| 13164 | |
| 13165 | #if defined(cl_khr_int64_extended_atomics) |
| 13166 | long __ovld atom_and(volatile __global long *p, long val); |
| 13167 | unsigned long __ovld atom_and(volatile __global unsigned long *p, unsigned long val); |
| 13168 | long __ovld atom_and(volatile __local long *p, long val); |
| 13169 | unsigned long __ovld atom_and(volatile __local unsigned long *p, unsigned long val); |
| 13170 | #endif |
| 13171 | |
| 13172 | /** |
| 13173 | * Read the 32-bit value (referred to as old) |
| 13174 | * stored at location pointed by p. Compute |
| 13175 | * (old | val) and store result at location |
| 13176 | * pointed by p. The function returns old. |
| 13177 | */ |
| 13178 | int __ovld atomic_or(volatile __global int *p, int val); |
| 13179 | unsigned int __ovld atomic_or(volatile __global unsigned int *p, unsigned int val); |
| 13180 | int __ovld atomic_or(volatile __local int *p, int val); |
| 13181 | unsigned int __ovld atomic_or(volatile __local unsigned int *p, unsigned int val); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 13182 | #ifdef __OPENCL_CPP_VERSION__ |
| 13183 | int __ovld atomic_or(volatile int *p, int val); |
| 13184 | unsigned int __ovld atomic_or(volatile unsigned int *p, unsigned int val); |
| 13185 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13186 | |
| 13187 | #if defined(cl_khr_global_int32_extended_atomics) |
| 13188 | int __ovld atom_or(volatile __global int *p, int val); |
| 13189 | unsigned int __ovld atom_or(volatile __global unsigned int *p, unsigned int val); |
| 13190 | #endif |
| 13191 | #if defined(cl_khr_local_int32_extended_atomics) |
| 13192 | int __ovld atom_or(volatile __local int *p, int val); |
| 13193 | unsigned int __ovld atom_or(volatile __local unsigned int *p, unsigned int val); |
| 13194 | #endif |
| 13195 | |
| 13196 | #if defined(cl_khr_int64_extended_atomics) |
| 13197 | long __ovld atom_or(volatile __global long *p, long val); |
| 13198 | unsigned long __ovld atom_or(volatile __global unsigned long *p, unsigned long val); |
| 13199 | long __ovld atom_or(volatile __local long *p, long val); |
| 13200 | unsigned long __ovld atom_or(volatile __local unsigned long *p, unsigned long val); |
| 13201 | #endif |
| 13202 | |
| 13203 | /** |
| 13204 | * Read the 32-bit value (referred to as old) |
| 13205 | * stored at location pointed by p. Compute |
| 13206 | * (old ^ val) and store result at location |
| 13207 | * pointed by p. The function returns old. |
| 13208 | */ |
| 13209 | int __ovld atomic_xor(volatile __global int *p, int val); |
| 13210 | unsigned int __ovld atomic_xor(volatile __global unsigned int *p, unsigned int val); |
| 13211 | int __ovld atomic_xor(volatile __local int *p, int val); |
| 13212 | unsigned int __ovld atomic_xor(volatile __local unsigned int *p, unsigned int val); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 13213 | #ifdef __OPENCL_CPP_VERSION__ |
| 13214 | int __ovld atomic_xor(volatile int *p, int val); |
| 13215 | unsigned int __ovld atomic_xor(volatile unsigned int *p, unsigned int val); |
| 13216 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13217 | |
| 13218 | #if defined(cl_khr_global_int32_extended_atomics) |
| 13219 | int __ovld atom_xor(volatile __global int *p, int val); |
| 13220 | unsigned int __ovld atom_xor(volatile __global unsigned int *p, unsigned int val); |
| 13221 | #endif |
| 13222 | #if defined(cl_khr_local_int32_extended_atomics) |
| 13223 | int __ovld atom_xor(volatile __local int *p, int val); |
| 13224 | unsigned int __ovld atom_xor(volatile __local unsigned int *p, unsigned int val); |
| 13225 | #endif |
| 13226 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 13227 | #if defined(cl_khr_int64_extended_atomics) |
| 13228 | long __ovld atom_xor(volatile __global long *p, long val); |
| 13229 | unsigned long __ovld atom_xor(volatile __global unsigned long *p, unsigned long val); |
| 13230 | long __ovld atom_xor(volatile __local long *p, long val); |
| 13231 | unsigned long __ovld atom_xor(volatile __local unsigned long *p, unsigned long val); |
| 13232 | #endif |
| 13233 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13234 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 13235 | #pragma OPENCL EXTENSION cl_khr_int64_base_atomics : disable |
| 13236 | #pragma OPENCL EXTENSION cl_khr_int64_extended_atomics : disable |
| 13237 | #endif |
| 13238 | |
| 13239 | // OpenCL v2.0 s6.13.11 - Atomics Functions |
| 13240 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 13241 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13242 | |
| 13243 | // double atomics support requires extensions cl_khr_int64_base_atomics and cl_khr_int64_extended_atomics |
| 13244 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 13245 | #pragma OPENCL EXTENSION cl_khr_int64_base_atomics : enable |
| 13246 | #pragma OPENCL EXTENSION cl_khr_int64_extended_atomics : enable |
| 13247 | #endif |
| 13248 | |
| 13249 | // atomic_init() |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13250 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13251 | void __ovld atomic_init(volatile atomic_int *object, int value); |
| 13252 | void __ovld atomic_init(volatile atomic_uint *object, uint value); |
| 13253 | void __ovld atomic_init(volatile atomic_float *object, float value); |
| 13254 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 13255 | void __ovld atomic_init(volatile atomic_long *object, long value); |
| 13256 | void __ovld atomic_init(volatile atomic_ulong *object, ulong value); |
| 13257 | #ifdef cl_khr_fp64 |
| 13258 | void __ovld atomic_init(volatile atomic_double *object, double value); |
| 13259 | #endif //cl_khr_fp64 |
| 13260 | #endif |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13261 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 13262 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13263 | void __ovld atomic_init(volatile __global atomic_int *object, int value); |
| 13264 | void __ovld atomic_init(volatile __local atomic_int *object, int value); |
| 13265 | void __ovld atomic_init(volatile __global atomic_uint *object, uint value); |
| 13266 | void __ovld atomic_init(volatile __local atomic_uint *object, uint value); |
| 13267 | void __ovld atomic_init(volatile __global atomic_float *object, float value); |
| 13268 | void __ovld atomic_init(volatile __local atomic_float *object, float value); |
| 13269 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 13270 | void __ovld atomic_init(volatile __global atomic_long *object, long value); |
| 13271 | void __ovld atomic_init(volatile __local atomic_long *object, long value); |
| 13272 | void __ovld atomic_init(volatile __global atomic_ulong *object, ulong value); |
| 13273 | void __ovld atomic_init(volatile __local atomic_ulong *object, ulong value); |
| 13274 | #ifdef cl_khr_fp64 |
| 13275 | void __ovld atomic_init(volatile __global atomic_double *object, double value); |
| 13276 | void __ovld atomic_init(volatile __local atomic_double *object, double value); |
| 13277 | #endif //cl_khr_fp64 |
| 13278 | #endif |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 13279 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13280 | |
| 13281 | // atomic_work_item_fence() |
| 13282 | void __ovld atomic_work_item_fence(cl_mem_fence_flags flags, memory_order order, memory_scope scope); |
| 13283 | |
| 13284 | // atomic_fetch() |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13285 | // OpenCL v2.0 s6.13.11.7.5: |
| 13286 | // add/sub: atomic type argument can be uintptr_t/intptr_t, value type argument can be ptrdiff_t. |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13287 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13288 | #if defined(__opencl_c_atomic_order_seq_cst) && defined(__opencl_c_atomic_scope_device) |
| 13289 | #if defined(__opencl_c_generic_address_space) |
| 13290 | int __ovld atomic_fetch_add(volatile atomic_int *object, int operand); |
| 13291 | uint __ovld atomic_fetch_add(volatile atomic_uint *object, uint operand); |
| 13292 | int __ovld atomic_fetch_sub(volatile atomic_int *object, int operand); |
| 13293 | uint __ovld atomic_fetch_sub(volatile atomic_uint *object, uint operand); |
| 13294 | int __ovld atomic_fetch_or(volatile atomic_int *object, int operand); |
| 13295 | uint __ovld atomic_fetch_or(volatile atomic_uint *object, uint operand); |
| 13296 | int __ovld atomic_fetch_xor(volatile atomic_int *object, int operand); |
| 13297 | uint __ovld atomic_fetch_xor(volatile atomic_uint *object, uint operand); |
| 13298 | int __ovld atomic_fetch_and(volatile atomic_int *object, int operand); |
| 13299 | uint __ovld atomic_fetch_and(volatile atomic_uint *object, uint operand); |
| 13300 | int __ovld atomic_fetch_min(volatile atomic_int *object, int operand); |
| 13301 | uint __ovld atomic_fetch_min(volatile atomic_uint *object, uint operand); |
| 13302 | int __ovld atomic_fetch_max(volatile atomic_int *object, int operand); |
| 13303 | uint __ovld atomic_fetch_max(volatile atomic_uint *object, uint operand); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 13304 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13305 | long __ovld atomic_fetch_add(volatile atomic_long *object, long operand); |
| 13306 | ulong __ovld atomic_fetch_add(volatile atomic_ulong *object, ulong operand); |
| 13307 | long __ovld atomic_fetch_sub(volatile atomic_long *object, long operand); |
| 13308 | ulong __ovld atomic_fetch_sub(volatile atomic_ulong *object, ulong operand); |
| 13309 | long __ovld atomic_fetch_or(volatile atomic_long *object, long operand); |
| 13310 | ulong __ovld atomic_fetch_or(volatile atomic_ulong *object, ulong operand); |
| 13311 | long __ovld atomic_fetch_xor(volatile atomic_long *object, long operand); |
| 13312 | ulong __ovld atomic_fetch_xor(volatile atomic_ulong *object, ulong operand); |
| 13313 | long __ovld atomic_fetch_and(volatile atomic_long *object, long operand); |
| 13314 | ulong __ovld atomic_fetch_and(volatile atomic_ulong *object, ulong operand); |
| 13315 | long __ovld atomic_fetch_min(volatile atomic_long *object, long operand); |
| 13316 | ulong __ovld atomic_fetch_min(volatile atomic_ulong *object, ulong operand); |
| 13317 | long __ovld atomic_fetch_max(volatile atomic_long *object, long operand); |
| 13318 | ulong __ovld atomic_fetch_max(volatile atomic_ulong *object, ulong operand); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13319 | uintptr_t __ovld atomic_fetch_add(volatile atomic_uintptr_t *object, ptrdiff_t operand); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13320 | uintptr_t __ovld atomic_fetch_sub(volatile atomic_uintptr_t *object, ptrdiff_t operand); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13321 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 13322 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 13323 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13324 | int __ovld atomic_fetch_add(volatile __global atomic_int *object, int operand); |
| 13325 | int __ovld atomic_fetch_add(volatile __local atomic_int *object, int operand); |
| 13326 | uint __ovld atomic_fetch_add(volatile __global atomic_uint *object, uint operand); |
| 13327 | uint __ovld atomic_fetch_add(volatile __local atomic_uint *object, uint operand); |
| 13328 | int __ovld atomic_fetch_sub(volatile __global atomic_int *object, int operand); |
| 13329 | int __ovld atomic_fetch_sub(volatile __local atomic_int *object, int operand); |
| 13330 | uint __ovld atomic_fetch_sub(volatile __global atomic_uint *object, uint operand); |
| 13331 | uint __ovld atomic_fetch_sub(volatile __local atomic_uint *object, uint operand); |
| 13332 | int __ovld atomic_fetch_or(volatile __global atomic_int *object, int operand); |
| 13333 | int __ovld atomic_fetch_or(volatile __local atomic_int *object, int operand); |
| 13334 | uint __ovld atomic_fetch_or(volatile __global atomic_uint *object, uint operand); |
| 13335 | uint __ovld atomic_fetch_or(volatile __local atomic_uint *object, uint operand); |
| 13336 | int __ovld atomic_fetch_xor(volatile __global atomic_int *object, int operand); |
| 13337 | int __ovld atomic_fetch_xor(volatile __local atomic_int *object, int operand); |
| 13338 | uint __ovld atomic_fetch_xor(volatile __global atomic_uint *object, uint operand); |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 13339 | uint __ovld atomic_fetch_xor(volatile __local atomic_uint *object, uint operand); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13340 | int __ovld atomic_fetch_and(volatile __global atomic_int *object, int operand); |
| 13341 | int __ovld atomic_fetch_and(volatile __local atomic_int *object, int operand); |
| 13342 | uint __ovld atomic_fetch_and(volatile __global atomic_uint *object, uint operand); |
| 13343 | uint __ovld atomic_fetch_and(volatile __local atomic_uint *object, uint operand); |
| 13344 | int __ovld atomic_fetch_min(volatile __global atomic_int *object, int operand); |
| 13345 | int __ovld atomic_fetch_min(volatile __local atomic_int *object, int operand); |
| 13346 | uint __ovld atomic_fetch_min(volatile __global atomic_uint *object, uint operand); |
| 13347 | uint __ovld atomic_fetch_min(volatile __local atomic_uint *object, uint operand); |
| 13348 | int __ovld atomic_fetch_max(volatile __global atomic_int *object, int operand); |
| 13349 | int __ovld atomic_fetch_max(volatile __local atomic_int *object, int operand); |
| 13350 | uint __ovld atomic_fetch_max(volatile __global atomic_uint *object, uint operand); |
| 13351 | uint __ovld atomic_fetch_max(volatile __local atomic_uint *object, uint operand); |
| 13352 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 13353 | long __ovld atomic_fetch_add(volatile __global atomic_long *object, long operand); |
| 13354 | long __ovld atomic_fetch_add(volatile __local atomic_long *object, long operand); |
| 13355 | ulong __ovld atomic_fetch_add(volatile __global atomic_ulong *object, ulong operand); |
| 13356 | ulong __ovld atomic_fetch_add(volatile __local atomic_ulong *object, ulong operand); |
| 13357 | uintptr_t __ovld atomic_fetch_add(volatile __global atomic_uintptr_t *object, ptrdiff_t operand); |
| 13358 | uintptr_t __ovld atomic_fetch_add(volatile __local atomic_uintptr_t *object, ptrdiff_t operand); |
| 13359 | long __ovld atomic_fetch_sub(volatile __global atomic_long *object, long operand); |
| 13360 | long __ovld atomic_fetch_sub(volatile __local atomic_long *object, long operand); |
| 13361 | ulong __ovld atomic_fetch_sub(volatile __global atomic_ulong *object, ulong operand); |
| 13362 | ulong __ovld atomic_fetch_sub(volatile __local atomic_ulong *object, ulong operand); |
| 13363 | uintptr_t __ovld atomic_fetch_sub(volatile __global atomic_uintptr_t *object, ptrdiff_t operand); |
| 13364 | uintptr_t __ovld atomic_fetch_sub(volatile __local atomic_uintptr_t *object, ptrdiff_t operand); |
| 13365 | long __ovld atomic_fetch_or(volatile __global atomic_long *object, long operand); |
| 13366 | long __ovld atomic_fetch_or(volatile __local atomic_long *object, long operand); |
| 13367 | ulong __ovld atomic_fetch_or(volatile __global atomic_ulong *object, ulong operand); |
| 13368 | ulong __ovld atomic_fetch_or(volatile __local atomic_ulong *object, ulong operand); |
| 13369 | uintptr_t __ovld atomic_fetch_or(volatile __global atomic_uintptr_t *object, intptr_t operand); |
| 13370 | uintptr_t __ovld atomic_fetch_or(volatile __local atomic_uintptr_t *object, intptr_t operand); |
| 13371 | intptr_t __ovld atomic_fetch_or(volatile __global atomic_intptr_t *object, uintptr_t operand); |
| 13372 | intptr_t __ovld atomic_fetch_or(volatile __local atomic_intptr_t *object, uintptr_t operand); |
| 13373 | long __ovld atomic_fetch_xor(volatile __global atomic_long *object, long operand); |
| 13374 | long __ovld atomic_fetch_xor(volatile __local atomic_long *object, long operand); |
| 13375 | ulong __ovld atomic_fetch_xor(volatile __global atomic_ulong *object, ulong operand); |
| 13376 | ulong __ovld atomic_fetch_xor(volatile __local atomic_ulong *object, ulong operand); |
| 13377 | uintptr_t __ovld atomic_fetch_xor(volatile __global atomic_uintptr_t *object, intptr_t operand); |
| 13378 | uintptr_t __ovld atomic_fetch_xor(volatile __local atomic_uintptr_t *object, intptr_t operand); |
| 13379 | intptr_t __ovld atomic_fetch_xor(volatile __global atomic_intptr_t *object, uintptr_t operand); |
| 13380 | intptr_t __ovld atomic_fetch_xor(volatile __local atomic_intptr_t *object, uintptr_t operand); |
| 13381 | long __ovld atomic_fetch_and(volatile __global atomic_long *object, long operand); |
| 13382 | long __ovld atomic_fetch_and(volatile __local atomic_long *object, long operand); |
| 13383 | ulong __ovld atomic_fetch_and(volatile __global atomic_ulong *object, ulong operand); |
| 13384 | ulong __ovld atomic_fetch_and(volatile __local atomic_ulong *object, ulong operand); |
| 13385 | uintptr_t __ovld atomic_fetch_and(volatile __global atomic_uintptr_t *object, intptr_t operand); |
| 13386 | uintptr_t __ovld atomic_fetch_and(volatile __local atomic_uintptr_t *object, intptr_t operand); |
| 13387 | intptr_t __ovld atomic_fetch_and(volatile __global atomic_intptr_t *object, uintptr_t operand); |
| 13388 | intptr_t __ovld atomic_fetch_and(volatile __local atomic_intptr_t *object, uintptr_t operand); |
| 13389 | long __ovld atomic_fetch_min(volatile __global atomic_long *object, long operand); |
| 13390 | long __ovld atomic_fetch_min(volatile __local atomic_long *object, long operand); |
| 13391 | ulong __ovld atomic_fetch_min(volatile __global atomic_ulong *object, ulong operand); |
| 13392 | ulong __ovld atomic_fetch_min(volatile __local atomic_ulong *object, ulong operand); |
| 13393 | uintptr_t __ovld atomic_fetch_min(volatile __global atomic_uintptr_t *object, intptr_t operand); |
| 13394 | uintptr_t __ovld atomic_fetch_min(volatile __local atomic_uintptr_t *object, intptr_t operand); |
| 13395 | intptr_t __ovld atomic_fetch_min(volatile __global atomic_intptr_t *object, uintptr_t operand); |
| 13396 | intptr_t __ovld atomic_fetch_min(volatile __local atomic_intptr_t *object, uintptr_t operand); |
| 13397 | long __ovld atomic_fetch_max(volatile __global atomic_long *object, long operand); |
| 13398 | long __ovld atomic_fetch_max(volatile __local atomic_long *object, long operand); |
| 13399 | ulong __ovld atomic_fetch_max(volatile __global atomic_ulong *object, ulong operand); |
| 13400 | ulong __ovld atomic_fetch_max(volatile __local atomic_ulong *object, ulong operand); |
| 13401 | uintptr_t __ovld atomic_fetch_add(volatile __global atomic_uintptr_t *object, ptrdiff_t operand); |
| 13402 | uintptr_t __ovld atomic_fetch_sub(volatile __local atomic_uintptr_t *object, ptrdiff_t operand); |
| 13403 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 13404 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13405 | #endif |
| 13406 | |
| 13407 | #if defined(__opencl_c_atomic_scope_device) |
| 13408 | #if defined(__opencl_c_generic_address_space) |
| 13409 | int __ovld atomic_fetch_add_explicit(volatile atomic_int *object, int operand, memory_order order); |
| 13410 | uint __ovld atomic_fetch_add_explicit(volatile atomic_uint *object, uint operand, memory_order order); |
| 13411 | int __ovld atomic_fetch_sub_explicit(volatile atomic_int *object, int operand, memory_order order); |
| 13412 | uint __ovld atomic_fetch_sub_explicit(volatile atomic_uint *object, uint operand, memory_order order); |
| 13413 | int __ovld atomic_fetch_or_explicit(volatile atomic_int *object, int operand, memory_order order); |
| 13414 | uint __ovld atomic_fetch_or_explicit(volatile atomic_uint *object, uint operand, memory_order order); |
| 13415 | int __ovld atomic_fetch_xor_explicit(volatile atomic_int *object, int operand, memory_order order); |
| 13416 | uint __ovld atomic_fetch_xor_explicit(volatile atomic_uint *object, uint operand, memory_order order); |
| 13417 | int __ovld atomic_fetch_and_explicit(volatile atomic_int *object, int operand, memory_order order); |
| 13418 | uint __ovld atomic_fetch_and_explicit(volatile atomic_uint *object, uint operand, memory_order order); |
| 13419 | int __ovld atomic_fetch_min_explicit(volatile atomic_int *object, int operand, memory_order order); |
| 13420 | uint __ovld atomic_fetch_min_explicit(volatile atomic_uint *object, uint operand, memory_order order); |
| 13421 | int __ovld atomic_fetch_max_explicit(volatile atomic_int *object, int operand, memory_order order); |
| 13422 | uint __ovld atomic_fetch_max_explicit(volatile atomic_uint *object, uint operand, memory_order order); |
| 13423 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 13424 | long __ovld atomic_fetch_add_explicit(volatile atomic_long *object, long operand, memory_order order); |
| 13425 | ulong __ovld atomic_fetch_add_explicit(volatile atomic_ulong *object, ulong operand, memory_order order); |
| 13426 | long __ovld atomic_fetch_sub_explicit(volatile atomic_long *object, long operand, memory_order order); |
| 13427 | ulong __ovld atomic_fetch_sub_explicit(volatile atomic_ulong *object, ulong operand, memory_order order); |
| 13428 | long __ovld atomic_fetch_or_explicit(volatile atomic_long *object, long operand, memory_order order); |
| 13429 | ulong __ovld atomic_fetch_or_explicit(volatile atomic_ulong *object, ulong operand, memory_order order); |
| 13430 | long __ovld atomic_fetch_xor_explicit(volatile atomic_long *object, long operand, memory_order order); |
| 13431 | ulong __ovld atomic_fetch_xor_explicit(volatile atomic_ulong *object, ulong operand, memory_order order); |
| 13432 | long __ovld atomic_fetch_and_explicit(volatile atomic_long *object, long operand, memory_order order); |
| 13433 | ulong __ovld atomic_fetch_and_explicit(volatile atomic_ulong *object, ulong operand, memory_order order); |
| 13434 | long __ovld atomic_fetch_min_explicit(volatile atomic_long *object, long operand, memory_order order); |
| 13435 | ulong __ovld atomic_fetch_min_explicit(volatile atomic_ulong *object, ulong operand, memory_order order); |
| 13436 | long __ovld atomic_fetch_max_explicit(volatile atomic_long *object, long operand, memory_order order); |
| 13437 | ulong __ovld atomic_fetch_max_explicit(volatile atomic_ulong *object, ulong operand, memory_order order); |
| 13438 | uintptr_t __ovld atomic_fetch_add_explicit(volatile atomic_uintptr_t *object, ptrdiff_t operand, memory_order order); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13439 | uintptr_t __ovld atomic_fetch_sub_explicit(volatile atomic_uintptr_t *object, ptrdiff_t operand, memory_order order); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13440 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 13441 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 13442 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13443 | int __ovld atomic_fetch_add_explicit(volatile __global atomic_int *object, int operand, memory_order order); |
| 13444 | int __ovld atomic_fetch_add_explicit(volatile __local atomic_int *object, int operand, memory_order order); |
| 13445 | uint __ovld atomic_fetch_add_explicit(volatile __global atomic_uint *object, uint operand, memory_order order); |
| 13446 | uint __ovld atomic_fetch_add_explicit(volatile __local atomic_uint *object, uint operand, memory_order order); |
| 13447 | int __ovld atomic_fetch_sub_explicit(volatile __global atomic_int *object, int operand, memory_order order); |
| 13448 | int __ovld atomic_fetch_sub_explicit(volatile __local atomic_int *object, int operand, memory_order order); |
| 13449 | uint __ovld atomic_fetch_sub_explicit(volatile __global atomic_uint *object, uint operand, memory_order order); |
| 13450 | uint __ovld atomic_fetch_sub_explicit(volatile __local atomic_uint *object, uint operand, memory_order order); |
| 13451 | int __ovld atomic_fetch_or_explicit(volatile __global atomic_int *object, int operand, memory_order order); |
| 13452 | int __ovld atomic_fetch_or_explicit(volatile __local atomic_int *object, int operand, memory_order order); |
| 13453 | uint __ovld atomic_fetch_or_explicit(volatile __global atomic_uint *object, uint operand, memory_order order); |
| 13454 | uint __ovld atomic_fetch_or_explicit(volatile __local atomic_uint *object, uint operand, memory_order order); |
| 13455 | int __ovld atomic_fetch_xor_explicit(volatile __global atomic_int *object, int operand, memory_order order); |
| 13456 | int __ovld atomic_fetch_xor_explicit(volatile __local atomic_int *object, int operand, memory_order order); |
| 13457 | uint __ovld atomic_fetch_xor_explicit(volatile __global atomic_uint *object, uint operand, memory_order order); |
| 13458 | uint __ovld atomic_fetch_xor_explicit(volatile __local atomic_uint *object, uint operand, memory_order order); |
| 13459 | int __ovld atomic_fetch_and_explicit(volatile __global atomic_int *object, int operand, memory_order order); |
| 13460 | int __ovld atomic_fetch_and_explicit(volatile __local atomic_int *object, int operand, memory_order order); |
| 13461 | uint __ovld atomic_fetch_and_explicit(volatile __global atomic_uint *object, uint operand, memory_order order); |
| 13462 | uint __ovld atomic_fetch_and_explicit(volatile __local atomic_uint *object, uint operand, memory_order order); |
| 13463 | int __ovld atomic_fetch_min_explicit(volatile __global atomic_int *object, int operand, memory_order order); |
| 13464 | int __ovld atomic_fetch_min_explicit(volatile __local atomic_int *object, int operand, memory_order order); |
| 13465 | uint __ovld atomic_fetch_min_explicit(volatile __global atomic_uint *object, uint operand, memory_order order); |
| 13466 | uint __ovld atomic_fetch_min_explicit(volatile __local atomic_uint *object, uint operand, memory_order order); |
| 13467 | int __ovld atomic_fetch_max_explicit(volatile __global atomic_int *object, int operand, memory_order order); |
| 13468 | int __ovld atomic_fetch_max_explicit(volatile __local atomic_int *object, int operand, memory_order order); |
| 13469 | uint __ovld atomic_fetch_max_explicit(volatile __global atomic_uint *object, uint operand, memory_order order); |
| 13470 | uint __ovld atomic_fetch_max_explicit(volatile __local atomic_uint *object, uint operand, memory_order order); |
| 13471 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 13472 | long __ovld atomic_fetch_add_explicit(volatile __global atomic_long *object, long operand, memory_order order); |
| 13473 | long __ovld atomic_fetch_add_explicit(volatile __local atomic_long *object, long operand, memory_order order); |
| 13474 | ulong __ovld atomic_fetch_add_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order); |
| 13475 | ulong __ovld atomic_fetch_add_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order); |
| 13476 | uintptr_t __ovld atomic_fetch_add_explicit(volatile __global atomic_uintptr_t *object, ptrdiff_t operand, memory_order order); |
| 13477 | uintptr_t __ovld atomic_fetch_add_explicit(volatile __local atomic_uintptr_t *object, ptrdiff_t operand, memory_order order); |
| 13478 | long __ovld atomic_fetch_sub_explicit(volatile __global atomic_long *object, long operand, memory_order order); |
| 13479 | long __ovld atomic_fetch_sub_explicit(volatile __local atomic_long *object, long operand, memory_order order); |
| 13480 | ulong __ovld atomic_fetch_sub_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order); |
| 13481 | ulong __ovld atomic_fetch_sub_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order); |
| 13482 | uintptr_t __ovld atomic_fetch_sub_explicit(volatile __global atomic_uintptr_t *object, ptrdiff_t operand, memory_order order); |
| 13483 | uintptr_t __ovld atomic_fetch_sub_explicit(volatile __local atomic_uintptr_t *object, ptrdiff_t operand, memory_order order); |
| 13484 | long __ovld atomic_fetch_or_explicit(volatile __global atomic_long *object, long operand, memory_order order); |
| 13485 | long __ovld atomic_fetch_or_explicit(volatile __local atomic_long *object, long operand, memory_order order); |
| 13486 | ulong __ovld atomic_fetch_or_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order); |
| 13487 | ulong __ovld atomic_fetch_or_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order); |
| 13488 | uintptr_t __ovld atomic_fetch_or_explicit(volatile __global atomic_uintptr_t *object, intptr_t operand, memory_order order); |
| 13489 | uintptr_t __ovld atomic_fetch_or_explicit(volatile __local atomic_uintptr_t *object, intptr_t operand, memory_order order); |
| 13490 | intptr_t __ovld atomic_fetch_or_explicit(volatile __global atomic_intptr_t *object, uintptr_t operand, memory_order order); |
| 13491 | intptr_t __ovld atomic_fetch_or_explicit(volatile __local atomic_intptr_t *object, uintptr_t operand, memory_order order); |
| 13492 | long __ovld atomic_fetch_xor_explicit(volatile __global atomic_long *object, long operand, memory_order order); |
| 13493 | long __ovld atomic_fetch_xor_explicit(volatile __local atomic_long *object, long operand, memory_order order); |
| 13494 | ulong __ovld atomic_fetch_xor_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order); |
| 13495 | ulong __ovld atomic_fetch_xor_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order); |
| 13496 | uintptr_t __ovld atomic_fetch_xor_explicit(volatile __global atomic_uintptr_t *object, intptr_t operand, memory_order order); |
| 13497 | uintptr_t __ovld atomic_fetch_xor_explicit(volatile __local atomic_uintptr_t *object, intptr_t operand, memory_order order); |
| 13498 | intptr_t __ovld atomic_fetch_xor_explicit(volatile __global atomic_intptr_t *object, uintptr_t operand, memory_order order); |
| 13499 | intptr_t __ovld atomic_fetch_xor_explicit(volatile __local atomic_intptr_t *object, uintptr_t operand, memory_order order); |
| 13500 | long __ovld atomic_fetch_and_explicit(volatile __global atomic_long *object, long operand, memory_order order); |
| 13501 | long __ovld atomic_fetch_and_explicit(volatile __local atomic_long *object, long operand, memory_order order); |
| 13502 | ulong __ovld atomic_fetch_and_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order); |
| 13503 | ulong __ovld atomic_fetch_and_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order); |
| 13504 | uintptr_t __ovld atomic_fetch_and_explicit(volatile __global atomic_uintptr_t *object, intptr_t operand, memory_order order); |
| 13505 | uintptr_t __ovld atomic_fetch_and_explicit(volatile __local atomic_uintptr_t *object, intptr_t operand, memory_order order); |
| 13506 | intptr_t __ovld atomic_fetch_and_explicit(volatile __global atomic_intptr_t *object, uintptr_t operand, memory_order order); |
| 13507 | intptr_t __ovld atomic_fetch_and_explicit(volatile __local atomic_intptr_t *object, uintptr_t operand, memory_order order); |
| 13508 | long __ovld atomic_fetch_min_explicit(volatile __global atomic_long *object, long operand, memory_order order); |
| 13509 | long __ovld atomic_fetch_min_explicit(volatile __local atomic_long *object, long operand, memory_order order); |
| 13510 | ulong __ovld atomic_fetch_min_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order); |
| 13511 | ulong __ovld atomic_fetch_min_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order); |
| 13512 | uintptr_t __ovld atomic_fetch_min_explicit(volatile __global atomic_uintptr_t *object, intptr_t operand, memory_order order); |
| 13513 | uintptr_t __ovld atomic_fetch_min_explicit(volatile __local atomic_uintptr_t *object, intptr_t operand, memory_order order); |
| 13514 | intptr_t __ovld atomic_fetch_min_explicit(volatile __global atomic_intptr_t *object, uintptr_t operand, memory_order order); |
| 13515 | intptr_t __ovld atomic_fetch_min_explicit(volatile __local atomic_intptr_t *object, uintptr_t operand, memory_order order); |
| 13516 | long __ovld atomic_fetch_max_explicit(volatile __global atomic_long *object, long operand, memory_order order); |
| 13517 | long __ovld atomic_fetch_max_explicit(volatile __local atomic_long *object, long operand, memory_order order); |
| 13518 | ulong __ovld atomic_fetch_max_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order); |
| 13519 | ulong __ovld atomic_fetch_max_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order); |
| 13520 | uintptr_t __ovld atomic_fetch_add_explicit(volatile __global atomic_uintptr_t *object, ptrdiff_t operand, memory_order order); |
| 13521 | uintptr_t __ovld atomic_fetch_sub_explicit(volatile __local atomic_uintptr_t *object, ptrdiff_t operand, memory_order order); |
| 13522 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 13523 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13524 | #endif |
| 13525 | |
| 13526 | #if defined(__opencl_c_generic_address_space) |
| 13527 | int __ovld atomic_fetch_add_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13528 | uint __ovld atomic_fetch_add_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13529 | int __ovld atomic_fetch_sub_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13530 | uint __ovld atomic_fetch_sub_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13531 | int __ovld atomic_fetch_or_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13532 | uint __ovld atomic_fetch_or_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13533 | int __ovld atomic_fetch_xor_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13534 | uint __ovld atomic_fetch_xor_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13535 | int __ovld atomic_fetch_and_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13536 | uint __ovld atomic_fetch_and_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13537 | int __ovld atomic_fetch_min_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13538 | uint __ovld atomic_fetch_min_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13539 | int __ovld atomic_fetch_max_explicit(volatile atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13540 | uint __ovld atomic_fetch_max_explicit(volatile atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13541 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 13542 | long __ovld atomic_fetch_add_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13543 | ulong __ovld atomic_fetch_add_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13544 | long __ovld atomic_fetch_sub_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13545 | ulong __ovld atomic_fetch_sub_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13546 | long __ovld atomic_fetch_or_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13547 | ulong __ovld atomic_fetch_or_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13548 | long __ovld atomic_fetch_xor_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13549 | ulong __ovld atomic_fetch_xor_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13550 | long __ovld atomic_fetch_and_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13551 | ulong __ovld atomic_fetch_and_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13552 | long __ovld atomic_fetch_min_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13553 | ulong __ovld atomic_fetch_min_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13554 | long __ovld atomic_fetch_max_explicit(volatile atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13555 | ulong __ovld atomic_fetch_max_explicit(volatile atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13556 | uintptr_t __ovld atomic_fetch_add_explicit(volatile atomic_uintptr_t *object, ptrdiff_t operand, memory_order order, memory_scope scope); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13557 | uintptr_t __ovld atomic_fetch_sub_explicit(volatile atomic_uintptr_t *object, ptrdiff_t operand, memory_order order, memory_scope scope); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 13558 | #endif |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13559 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 13560 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 13561 | int __ovld atomic_fetch_add_explicit(volatile __global atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13562 | int __ovld atomic_fetch_add_explicit(volatile __local atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13563 | uint __ovld atomic_fetch_add_explicit(volatile __global atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13564 | uint __ovld atomic_fetch_add_explicit(volatile __local atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13565 | int __ovld atomic_fetch_sub_explicit(volatile __global atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13566 | int __ovld atomic_fetch_sub_explicit(volatile __local atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13567 | uint __ovld atomic_fetch_sub_explicit(volatile __global atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13568 | uint __ovld atomic_fetch_sub_explicit(volatile __local atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13569 | int __ovld atomic_fetch_or_explicit(volatile __global atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13570 | int __ovld atomic_fetch_or_explicit(volatile __local atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13571 | uint __ovld atomic_fetch_or_explicit(volatile __global atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13572 | uint __ovld atomic_fetch_or_explicit(volatile __local atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13573 | int __ovld atomic_fetch_xor_explicit(volatile __global atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13574 | int __ovld atomic_fetch_xor_explicit(volatile __local atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13575 | uint __ovld atomic_fetch_xor_explicit(volatile __global atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13576 | uint __ovld atomic_fetch_xor_explicit(volatile __local atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13577 | int __ovld atomic_fetch_and_explicit(volatile __global atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13578 | int __ovld atomic_fetch_and_explicit(volatile __local atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13579 | uint __ovld atomic_fetch_and_explicit(volatile __global atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13580 | uint __ovld atomic_fetch_and_explicit(volatile __local atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13581 | int __ovld atomic_fetch_min_explicit(volatile __global atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13582 | int __ovld atomic_fetch_min_explicit(volatile __local atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13583 | uint __ovld atomic_fetch_min_explicit(volatile __global atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13584 | uint __ovld atomic_fetch_min_explicit(volatile __local atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13585 | int __ovld atomic_fetch_max_explicit(volatile __global atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13586 | int __ovld atomic_fetch_max_explicit(volatile __local atomic_int *object, int operand, memory_order order, memory_scope scope); |
| 13587 | uint __ovld atomic_fetch_max_explicit(volatile __global atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13588 | uint __ovld atomic_fetch_max_explicit(volatile __local atomic_uint *object, uint operand, memory_order order, memory_scope scope); |
| 13589 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 13590 | long __ovld atomic_fetch_add_explicit(volatile __global atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13591 | long __ovld atomic_fetch_add_explicit(volatile __local atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13592 | uintptr_t __ovld atomic_fetch_add_explicit(volatile __global atomic_uintptr_t *object, ptrdiff_t operand, memory_order order, memory_scope scope); |
| 13593 | uintptr_t __ovld atomic_fetch_add_explicit(volatile __local atomic_uintptr_t *object, ptrdiff_t operand, memory_order order, memory_scope scope); |
| 13594 | ulong __ovld atomic_fetch_add_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13595 | ulong __ovld atomic_fetch_add_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13596 | long __ovld atomic_fetch_sub_explicit(volatile __global atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13597 | long __ovld atomic_fetch_sub_explicit(volatile __local atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13598 | ulong __ovld atomic_fetch_sub_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13599 | ulong __ovld atomic_fetch_sub_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13600 | uintptr_t __ovld atomic_fetch_sub_explicit(volatile __global atomic_uintptr_t *object, ptrdiff_t operand, memory_order order, memory_scope scope); |
| 13601 | uintptr_t __ovld atomic_fetch_sub_explicit(volatile __local atomic_uintptr_t *object, ptrdiff_t operand, memory_order order, memory_scope scope); |
| 13602 | long __ovld atomic_fetch_or_explicit(volatile __global atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13603 | long __ovld atomic_fetch_or_explicit(volatile __local atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13604 | ulong __ovld atomic_fetch_or_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13605 | ulong __ovld atomic_fetch_or_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13606 | uintptr_t __ovld atomic_fetch_or_explicit(volatile __global atomic_uintptr_t *object, intptr_t operand, memory_order order, memory_scope scope); |
| 13607 | uintptr_t __ovld atomic_fetch_or_explicit(volatile __local atomic_uintptr_t *object, intptr_t operand, memory_order order, memory_scope scope); |
| 13608 | intptr_t __ovld atomic_fetch_or_explicit(volatile __global atomic_intptr_t *object, uintptr_t operand, memory_order order, memory_scope scope); |
| 13609 | intptr_t __ovld atomic_fetch_or_explicit(volatile __local atomic_intptr_t *object, uintptr_t operand, memory_order order, memory_scope scope); |
| 13610 | long __ovld atomic_fetch_xor_explicit(volatile __global atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13611 | long __ovld atomic_fetch_xor_explicit(volatile __local atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13612 | ulong __ovld atomic_fetch_xor_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13613 | ulong __ovld atomic_fetch_xor_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13614 | uintptr_t __ovld atomic_fetch_xor_explicit(volatile __global atomic_uintptr_t *object, intptr_t operand, memory_order order, memory_scope scope); |
| 13615 | uintptr_t __ovld atomic_fetch_xor_explicit(volatile __local atomic_uintptr_t *object, intptr_t operand, memory_order order, memory_scope scope); |
| 13616 | intptr_t __ovld atomic_fetch_xor_explicit(volatile __global atomic_intptr_t *object, uintptr_t operand, memory_order order, memory_scope scope); |
| 13617 | intptr_t __ovld atomic_fetch_xor_explicit(volatile __local atomic_intptr_t *object, uintptr_t operand, memory_order order, memory_scope scope); |
| 13618 | long __ovld atomic_fetch_and_explicit(volatile __global atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13619 | long __ovld atomic_fetch_and_explicit(volatile __local atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13620 | ulong __ovld atomic_fetch_and_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13621 | ulong __ovld atomic_fetch_and_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13622 | uintptr_t __ovld atomic_fetch_and_explicit(volatile __global atomic_uintptr_t *object, intptr_t operand, memory_order order, memory_scope scope); |
| 13623 | uintptr_t __ovld atomic_fetch_and_explicit(volatile __local atomic_uintptr_t *object, intptr_t operand, memory_order order, memory_scope scope); |
| 13624 | intptr_t __ovld atomic_fetch_and_explicit(volatile __global atomic_intptr_t *object, uintptr_t operand, memory_order order, memory_scope scope); |
| 13625 | intptr_t __ovld atomic_fetch_and_explicit(volatile __local atomic_intptr_t *object, uintptr_t operand, memory_order order, memory_scope scope); |
| 13626 | long __ovld atomic_fetch_min_explicit(volatile __global atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13627 | long __ovld atomic_fetch_min_explicit(volatile __local atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13628 | ulong __ovld atomic_fetch_min_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13629 | ulong __ovld atomic_fetch_min_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13630 | uintptr_t __ovld atomic_fetch_min_explicit(volatile __global atomic_uintptr_t *object, intptr_t operand, memory_order order, memory_scope scope); |
| 13631 | uintptr_t __ovld atomic_fetch_min_explicit(volatile __local atomic_uintptr_t *object, intptr_t operand, memory_order order, memory_scope scope); |
| 13632 | intptr_t __ovld atomic_fetch_min_explicit(volatile __global atomic_intptr_t *object, uintptr_t operand, memory_order order, memory_scope scope); |
| 13633 | intptr_t __ovld atomic_fetch_min_explicit(volatile __local atomic_intptr_t *object, uintptr_t operand, memory_order order, memory_scope scope); |
| 13634 | long __ovld atomic_fetch_max_explicit(volatile __global atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13635 | long __ovld atomic_fetch_max_explicit(volatile __local atomic_long *object, long operand, memory_order order, memory_scope scope); |
| 13636 | ulong __ovld atomic_fetch_max_explicit(volatile __global atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13637 | ulong __ovld atomic_fetch_max_explicit(volatile __local atomic_ulong *object, ulong operand, memory_order order, memory_scope scope); |
| 13638 | uintptr_t __ovld atomic_fetch_add_explicit(volatile __global atomic_uintptr_t *object, ptrdiff_t operand, memory_order order, memory_scope scope); |
| 13639 | uintptr_t __ovld atomic_fetch_sub_explicit(volatile __local atomic_uintptr_t *object, ptrdiff_t operand, memory_order order, memory_scope scope); |
| 13640 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 13641 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
| 13642 | |
| 13643 | // The functionality added by cl_ext_float_atomics extension |
| 13644 | #if defined(cl_ext_float_atomics) |
| 13645 | |
| 13646 | #if defined(__opencl_c_ext_fp16_global_atomic_load_store) |
| 13647 | void __ovld atomic_store(volatile __global atomic_half *object, half operand); |
| 13648 | void __ovld atomic_store_explicit(volatile __global atomic_half *object, |
| 13649 | half operand, memory_order order); |
| 13650 | void __ovld atomic_store_explicit(volatile __global atomic_half *object, |
| 13651 | half operand, memory_order order, |
| 13652 | memory_scope scope); |
| 13653 | half __ovld atomic_load(volatile __global atomic_half *object); |
| 13654 | half __ovld atomic_load_explicit(volatile __global atomic_half *object, |
| 13655 | memory_order order); |
| 13656 | half __ovld atomic_load_explicit(volatile __global atomic_half *object, |
| 13657 | memory_order order, memory_scope scope); |
| 13658 | half __ovld atomic_exchange(volatile __global atomic_half *object, |
| 13659 | half operand); |
| 13660 | half __ovld atomic_exchange_explicit(volatile __global atomic_half *object, |
| 13661 | half operand, memory_order order); |
| 13662 | half __ovld atomic_exchange_explicit(volatile __global atomic_half *object, |
| 13663 | half operand, memory_order order, |
| 13664 | memory_scope scope); |
| 13665 | #endif // defined(__opencl_c_ext_fp16_global_atomic_load_store) |
| 13666 | |
| 13667 | #if defined(__opencl_c_ext_fp16_local_atomic_load_store) |
| 13668 | void __ovld atomic_store(volatile __local atomic_half *object, half operand); |
| 13669 | void __ovld atomic_store_explicit(volatile __local atomic_half *object, |
| 13670 | half operand, memory_order order); |
| 13671 | void __ovld atomic_store_explicit(volatile __local atomic_half *object, |
| 13672 | half operand, memory_order order, |
| 13673 | memory_scope scope); |
| 13674 | half __ovld atomic_load(volatile __local atomic_half *object); |
| 13675 | half __ovld atomic_load_explicit(volatile __local atomic_half *object, |
| 13676 | memory_order order); |
| 13677 | half __ovld atomic_load_explicit(volatile __local atomic_half *object, |
| 13678 | memory_order order, memory_scope scope); |
| 13679 | half __ovld atomic_exchange(volatile __local atomic_half *object, half operand); |
| 13680 | half __ovld atomic_exchange_explicit(volatile __local atomic_half *object, |
| 13681 | half operand, memory_order order); |
| 13682 | half __ovld atomic_exchange_explicit(volatile __local atomic_half *object, |
| 13683 | half operand, memory_order order, |
| 13684 | memory_scope scope); |
| 13685 | #endif // defined(__opencl_c_ext_fp16_local_atomic_load_store) |
| 13686 | |
| 13687 | #if defined(__opencl_c_ext_fp16_global_atomic_load_store) && \ |
| 13688 | defined(__opencl_c_ext_fp16_local_atomic_load_store) |
| 13689 | void __ovld atomic_store(volatile atomic_half *object, half operand); |
| 13690 | void __ovld atomic_store_explicit(volatile atomic_half *object, half operand, |
| 13691 | memory_order order); |
| 13692 | void __ovld atomic_store_explicit(volatile atomic_half *object, half operand, |
| 13693 | memory_order order, memory_scope scope); |
| 13694 | half __ovld atomic_load(volatile atomic_half *object); |
| 13695 | half __ovld atomic_load_explicit(volatile atomic_half *object, |
| 13696 | memory_order order); |
| 13697 | half __ovld atomic_load_explicit(volatile atomic_half *object, |
| 13698 | memory_order order, memory_scope scope); |
| 13699 | half __ovld atomic_exchange(volatile atomic_half *object, half operand); |
| 13700 | half __ovld atomic_exchange_explicit(volatile atomic_half *object, half operand, |
| 13701 | memory_order order); |
| 13702 | half __ovld atomic_exchange_explicit(volatile atomic_half *object, half operand, |
| 13703 | memory_order order, memory_scope scope); |
| 13704 | #endif // defined(__opencl_c_ext_fp16_global_atomic_load_store) && |
| 13705 | // defined(__opencl_c_ext_fp16_local_atomic_load_store) |
| 13706 | |
| 13707 | #if defined(__opencl_c_ext_fp16_global_atomic_min_max) |
| 13708 | half __ovld atomic_fetch_min(volatile __global atomic_half *object, |
| 13709 | half operand); |
| 13710 | half __ovld atomic_fetch_max(volatile __global atomic_half *object, |
| 13711 | half operand); |
| 13712 | half __ovld atomic_fetch_min_explicit(volatile __global atomic_half *object, |
| 13713 | half operand, memory_order order); |
| 13714 | half __ovld atomic_fetch_max_explicit(volatile __global atomic_half *object, |
| 13715 | half operand, memory_order order); |
| 13716 | half __ovld atomic_fetch_min_explicit(volatile __global atomic_half *object, |
| 13717 | half operand, memory_order order, |
| 13718 | memory_scope scope); |
| 13719 | half __ovld atomic_fetch_max_explicit(volatile __global atomic_half *object, |
| 13720 | half operand, memory_order order, |
| 13721 | memory_scope scope); |
| 13722 | #endif // defined(__opencl_c_ext_fp16_global_atomic_min_max) |
| 13723 | |
| 13724 | #if defined(__opencl_c_ext_fp16_local_atomic_min_max) |
| 13725 | half __ovld atomic_fetch_min(volatile __local atomic_half *object, |
| 13726 | half operand); |
| 13727 | half __ovld atomic_fetch_max(volatile __local atomic_half *object, |
| 13728 | half operand); |
| 13729 | half __ovld atomic_fetch_min_explicit(volatile __local atomic_half *object, |
| 13730 | half operand, memory_order order); |
| 13731 | half __ovld atomic_fetch_max_explicit(volatile __local atomic_half *object, |
| 13732 | half operand, memory_order order); |
| 13733 | half __ovld atomic_fetch_min_explicit(volatile __local atomic_half *object, |
| 13734 | half operand, memory_order order, |
| 13735 | memory_scope scope); |
| 13736 | half __ovld atomic_fetch_max_explicit(volatile __local atomic_half *object, |
| 13737 | half operand, memory_order order, |
| 13738 | memory_scope scope); |
| 13739 | #endif // defined(__opencl_c_ext_fp16_local_atomic_min_max) |
| 13740 | |
| 13741 | #if defined(__opencl_c_ext_fp16_global_atomic_min_max) && \ |
| 13742 | defined(__opencl_c_ext_fp16_local_atomic_min_max) |
| 13743 | half __ovld atomic_fetch_min(volatile atomic_half *object, half operand); |
| 13744 | half __ovld atomic_fetch_max(volatile atomic_half *object, half operand); |
| 13745 | half __ovld atomic_fetch_min_explicit(volatile atomic_half *object, |
| 13746 | half operand, memory_order order); |
| 13747 | half __ovld atomic_fetch_max_explicit(volatile atomic_half *object, |
| 13748 | half operand, memory_order order); |
| 13749 | half __ovld atomic_fetch_min_explicit(volatile atomic_half *object, |
| 13750 | half operand, memory_order order, |
| 13751 | memory_scope scope); |
| 13752 | half __ovld atomic_fetch_max_explicit(volatile atomic_half *object, |
| 13753 | half operand, memory_order order, |
| 13754 | memory_scope scope); |
| 13755 | #endif // defined(__opencl_c_ext_fp16_global_atomic_min_max) && \ |
| 13756 | defined(__opencl_c_ext_fp16_local_atomic_min_max) |
| 13757 | |
| 13758 | #if defined(__opencl_c_ext_fp32_global_atomic_min_max) |
| 13759 | float __ovld atomic_fetch_min(volatile __global atomic_float *object, |
| 13760 | float operand); |
| 13761 | float __ovld atomic_fetch_max(volatile __global atomic_float *object, |
| 13762 | float operand); |
| 13763 | float __ovld atomic_fetch_min_explicit(volatile __global atomic_float *object, |
| 13764 | float operand, memory_order order); |
| 13765 | float __ovld atomic_fetch_max_explicit(volatile __global atomic_float *object, |
| 13766 | float operand, memory_order order); |
| 13767 | float __ovld atomic_fetch_min_explicit(volatile __global atomic_float *object, |
| 13768 | float operand, memory_order order, |
| 13769 | memory_scope scope); |
| 13770 | float __ovld atomic_fetch_max_explicit(volatile __global atomic_float *object, |
| 13771 | float operand, memory_order order, |
| 13772 | memory_scope scope); |
| 13773 | #endif // defined(__opencl_c_ext_fp32_global_atomic_min_max) |
| 13774 | |
| 13775 | #if defined(__opencl_c_ext_fp32_local_atomic_min_max) |
| 13776 | float __ovld atomic_fetch_min(volatile __local atomic_float *object, |
| 13777 | float operand); |
| 13778 | float __ovld atomic_fetch_max(volatile __local atomic_float *object, |
| 13779 | float operand); |
| 13780 | float __ovld atomic_fetch_min_explicit(volatile __local atomic_float *object, |
| 13781 | float operand, memory_order order); |
| 13782 | float __ovld atomic_fetch_max_explicit(volatile __local atomic_float *object, |
| 13783 | float operand, memory_order order); |
| 13784 | float __ovld atomic_fetch_min_explicit(volatile __local atomic_float *object, |
| 13785 | float operand, memory_order order, |
| 13786 | memory_scope scope); |
| 13787 | float __ovld atomic_fetch_max_explicit(volatile __local atomic_float *object, |
| 13788 | float operand, memory_order order, |
| 13789 | memory_scope scope); |
| 13790 | #endif // defined(__opencl_c_ext_fp32_local_atomic_min_max) |
| 13791 | |
| 13792 | #if defined(__opencl_c_ext_fp32_global_atomic_min_max) && \ |
| 13793 | defined(__opencl_c_ext_fp32_local_atomic_min_max) |
| 13794 | float __ovld atomic_fetch_min(volatile atomic_float *object, float operand); |
| 13795 | float __ovld atomic_fetch_max(volatile atomic_float *object, float operand); |
| 13796 | float __ovld atomic_fetch_min_explicit(volatile atomic_float *object, |
| 13797 | float operand, memory_order order); |
| 13798 | float __ovld atomic_fetch_max_explicit(volatile atomic_float *object, |
| 13799 | float operand, memory_order order); |
| 13800 | float __ovld atomic_fetch_min_explicit(volatile atomic_float *object, |
| 13801 | float operand, memory_order order, |
| 13802 | memory_scope scope); |
| 13803 | float __ovld atomic_fetch_max_explicit(volatile atomic_float *object, |
| 13804 | float operand, memory_order order, |
| 13805 | memory_scope scope); |
| 13806 | #endif // defined(__opencl_c_ext_fp32_global_atomic_min_max) && \ |
| 13807 | defined(__opencl_c_ext_fp32_local_atomic_min_max) |
| 13808 | |
| 13809 | #if defined(__opencl_c_ext_fp64_global_atomic_min_max) |
| 13810 | double __ovld atomic_fetch_min(volatile __global atomic_double *object, |
| 13811 | double operand); |
| 13812 | double __ovld atomic_fetch_max(volatile __global atomic_double *object, |
| 13813 | double operand); |
| 13814 | double __ovld atomic_fetch_min_explicit(volatile __global atomic_double *object, |
| 13815 | double operand, memory_order order); |
| 13816 | double __ovld atomic_fetch_max_explicit(volatile __global atomic_double *object, |
| 13817 | double operand, memory_order order); |
| 13818 | double __ovld atomic_fetch_min_explicit(volatile __global atomic_double *object, |
| 13819 | double operand, memory_order order, |
| 13820 | memory_scope scope); |
| 13821 | double __ovld atomic_fetch_max_explicit(volatile __global atomic_double *object, |
| 13822 | double operand, memory_order order, |
| 13823 | memory_scope scope); |
| 13824 | #endif // defined(__opencl_c_ext_fp64_global_atomic_min_max) |
| 13825 | |
| 13826 | #if defined(__opencl_c_ext_fp64_local_atomic_min_max) |
| 13827 | double __ovld atomic_fetch_min(volatile __local atomic_double *object, |
| 13828 | double operand); |
| 13829 | double __ovld atomic_fetch_max(volatile __local atomic_double *object, |
| 13830 | double operand); |
| 13831 | double __ovld atomic_fetch_min_explicit(volatile __local atomic_double *object, |
| 13832 | double operand, memory_order order); |
| 13833 | double __ovld atomic_fetch_max_explicit(volatile __local atomic_double *object, |
| 13834 | double operand, memory_order order); |
| 13835 | double __ovld atomic_fetch_min_explicit(volatile __local atomic_double *object, |
| 13836 | double operand, memory_order order, |
| 13837 | memory_scope scope); |
| 13838 | double __ovld atomic_fetch_max_explicit(volatile __local atomic_double *object, |
| 13839 | double operand, memory_order order, |
| 13840 | memory_scope scope); |
| 13841 | #endif // defined(__opencl_c_ext_fp64_local_atomic_min_max) |
| 13842 | |
| 13843 | #if defined(__opencl_c_ext_fp64_global_atomic_min_max) && \ |
| 13844 | defined(__opencl_c_ext_fp64_local_atomic_min_max) |
| 13845 | double __ovld atomic_fetch_min(volatile atomic_double *object, double operand); |
| 13846 | double __ovld atomic_fetch_max(volatile atomic_double *object, double operand); |
| 13847 | double __ovld atomic_fetch_min_explicit(volatile atomic_double *object, |
| 13848 | double operand, memory_order order); |
| 13849 | double __ovld atomic_fetch_max_explicit(volatile atomic_double *object, |
| 13850 | double operand, memory_order order); |
| 13851 | double __ovld atomic_fetch_min_explicit(volatile atomic_double *object, |
| 13852 | double operand, memory_order order, |
| 13853 | memory_scope scope); |
| 13854 | double __ovld atomic_fetch_max_explicit(volatile atomic_double *object, |
| 13855 | double operand, memory_order order, |
| 13856 | memory_scope scope); |
| 13857 | #endif // defined(__opencl_c_ext_fp64_global_atomic_min_max) && \ |
| 13858 | defined(__opencl_c_ext_fp64_local_atomic_min_max) |
| 13859 | |
| 13860 | #if defined(__opencl_c_ext_fp16_global_atomic_add) |
| 13861 | half __ovld atomic_fetch_add(volatile __global atomic_half *object, |
| 13862 | half operand); |
| 13863 | half __ovld atomic_fetch_sub(volatile __global atomic_half *object, |
| 13864 | half operand); |
| 13865 | half __ovld atomic_fetch_add_explicit(volatile __global atomic_half *object, |
| 13866 | half operand, memory_order order); |
| 13867 | half __ovld atomic_fetch_sub_explicit(volatile __global atomic_half *object, |
| 13868 | half operand, memory_order order); |
| 13869 | half __ovld atomic_fetch_add_explicit(volatile __global atomic_half *object, |
| 13870 | half operand, memory_order order, |
| 13871 | memory_scope scope); |
| 13872 | half __ovld atomic_fetch_sub_explicit(volatile __global atomic_half *object, |
| 13873 | half operand, memory_order order, |
| 13874 | memory_scope scope); |
| 13875 | #endif // defined(__opencl_c_ext_fp16_global_atomic_add) |
| 13876 | |
| 13877 | #if defined(__opencl_c_ext_fp16_local_atomic_add) |
| 13878 | half __ovld atomic_fetch_add(volatile __local atomic_half *object, |
| 13879 | half operand); |
| 13880 | half __ovld atomic_fetch_sub(volatile __local atomic_half *object, |
| 13881 | half operand); |
| 13882 | half __ovld atomic_fetch_add_explicit(volatile __local atomic_half *object, |
| 13883 | half operand, memory_order order); |
| 13884 | half __ovld atomic_fetch_sub_explicit(volatile __local atomic_half *object, |
| 13885 | half operand, memory_order order); |
| 13886 | half __ovld atomic_fetch_add_explicit(volatile __local atomic_half *object, |
| 13887 | half operand, memory_order order, |
| 13888 | memory_scope scope); |
| 13889 | half __ovld atomic_fetch_sub_explicit(volatile __local atomic_half *object, |
| 13890 | half operand, memory_order order, |
| 13891 | memory_scope scope); |
| 13892 | #endif // defined(__opencl_c_ext_fp16_local_atomic_add) |
| 13893 | |
| 13894 | #if defined(__opencl_c_ext_fp16_global_atomic_add) && \ |
| 13895 | defined(__opencl_c_ext_fp16_local_atomic_add) |
| 13896 | half __ovld atomic_fetch_add(volatile atomic_half *object, half operand); |
| 13897 | half __ovld atomic_fetch_sub(volatile atomic_half *object, half operand); |
| 13898 | half __ovld atomic_fetch_add_explicit(volatile atomic_half *object, |
| 13899 | half operand, memory_order order); |
| 13900 | half __ovld atomic_fetch_sub_explicit(volatile atomic_half *object, |
| 13901 | half operand, memory_order order); |
| 13902 | half __ovld atomic_fetch_add_explicit(volatile atomic_half *object, |
| 13903 | half operand, memory_order order, |
| 13904 | memory_scope scope); |
| 13905 | half __ovld atomic_fetch_sub_explicit(volatile atomic_half *object, |
| 13906 | half operand, memory_order order, |
| 13907 | memory_scope scope); |
| 13908 | #endif // defined(__opencl_c_ext_fp16_global_atomic_add) && \ |
| 13909 | defined(__opencl_c_ext_fp16_local_atomic_add) |
| 13910 | |
| 13911 | #if defined(__opencl_c_ext_fp32_global_atomic_add) |
| 13912 | float __ovld atomic_fetch_add(volatile __global atomic_float *object, |
| 13913 | float operand); |
| 13914 | float __ovld atomic_fetch_sub(volatile __global atomic_float *object, |
| 13915 | float operand); |
| 13916 | float __ovld atomic_fetch_add_explicit(volatile __global atomic_float *object, |
| 13917 | float operand, memory_order order); |
| 13918 | float __ovld atomic_fetch_sub_explicit(volatile __global atomic_float *object, |
| 13919 | float operand, memory_order order); |
| 13920 | float __ovld atomic_fetch_add_explicit(volatile __global atomic_float *object, |
| 13921 | float operand, memory_order order, |
| 13922 | memory_scope scope); |
| 13923 | float __ovld atomic_fetch_sub_explicit(volatile __global atomic_float *object, |
| 13924 | float operand, memory_order order, |
| 13925 | memory_scope scope); |
| 13926 | #endif // defined(__opencl_c_ext_fp32_global_atomic_add) |
| 13927 | |
| 13928 | #if defined(__opencl_c_ext_fp32_local_atomic_add) |
| 13929 | float __ovld atomic_fetch_add(volatile __local atomic_float *object, |
| 13930 | float operand); |
| 13931 | float __ovld atomic_fetch_sub(volatile __local atomic_float *object, |
| 13932 | float operand); |
| 13933 | float __ovld atomic_fetch_add_explicit(volatile __local atomic_float *object, |
| 13934 | float operand, memory_order order); |
| 13935 | float __ovld atomic_fetch_sub_explicit(volatile __local atomic_float *object, |
| 13936 | float operand, memory_order order); |
| 13937 | float __ovld atomic_fetch_add_explicit(volatile __local atomic_float *object, |
| 13938 | float operand, memory_order order, |
| 13939 | memory_scope scope); |
| 13940 | float __ovld atomic_fetch_sub_explicit(volatile __local atomic_float *object, |
| 13941 | float operand, memory_order order, |
| 13942 | memory_scope scope); |
| 13943 | #endif // defined(__opencl_c_ext_fp32_local_atomic_add) |
| 13944 | |
| 13945 | #if defined(__opencl_c_ext_fp32_global_atomic_add) && \ |
| 13946 | defined(__opencl_c_ext_fp32_local_atomic_add) |
| 13947 | float __ovld atomic_fetch_add(volatile atomic_float *object, float operand); |
| 13948 | float __ovld atomic_fetch_sub(volatile atomic_float *object, float operand); |
| 13949 | float __ovld atomic_fetch_add_explicit(volatile atomic_float *object, |
| 13950 | float operand, memory_order order); |
| 13951 | float __ovld atomic_fetch_sub_explicit(volatile atomic_float *object, |
| 13952 | float operand, memory_order order); |
| 13953 | float __ovld atomic_fetch_add_explicit(volatile atomic_float *object, |
| 13954 | float operand, memory_order order, |
| 13955 | memory_scope scope); |
| 13956 | float __ovld atomic_fetch_sub_explicit(volatile atomic_float *object, |
| 13957 | float operand, memory_order order, |
| 13958 | memory_scope scope); |
| 13959 | #endif // defined(__opencl_c_ext_fp32_global_atomic_add) && \ |
| 13960 | defined(__opencl_c_ext_fp32_local_atomic_add) |
| 13961 | |
| 13962 | #if defined(__opencl_c_ext_fp64_global_atomic_add) |
| 13963 | double __ovld atomic_fetch_add(volatile __global atomic_double *object, |
| 13964 | double operand); |
| 13965 | double __ovld atomic_fetch_sub(volatile __global atomic_double *object, |
| 13966 | double operand); |
| 13967 | double __ovld atomic_fetch_add_explicit(volatile __global atomic_double *object, |
| 13968 | double operand, memory_order order); |
| 13969 | double __ovld atomic_fetch_sub_explicit(volatile __global atomic_double *object, |
| 13970 | double operand, memory_order order); |
| 13971 | double __ovld atomic_fetch_add_explicit(volatile __global atomic_double *object, |
| 13972 | double operand, memory_order order, |
| 13973 | memory_scope scope); |
| 13974 | double __ovld atomic_fetch_sub_explicit(volatile __global atomic_double *object, |
| 13975 | double operand, memory_order order, |
| 13976 | memory_scope scope); |
| 13977 | #endif // defined(__opencl_c_ext_fp64_global_atomic_add) |
| 13978 | |
| 13979 | #if defined(__opencl_c_ext_fp64_local_atomic_add) |
| 13980 | double __ovld atomic_fetch_add(volatile __local atomic_double *object, |
| 13981 | double operand); |
| 13982 | double __ovld atomic_fetch_sub(volatile __local atomic_double *object, |
| 13983 | double operand); |
| 13984 | double __ovld atomic_fetch_add_explicit(volatile __local atomic_double *object, |
| 13985 | double operand, memory_order order); |
| 13986 | double __ovld atomic_fetch_sub_explicit(volatile __local atomic_double *object, |
| 13987 | double operand, memory_order order); |
| 13988 | double __ovld atomic_fetch_add_explicit(volatile __local atomic_double *object, |
| 13989 | double operand, memory_order order, |
| 13990 | memory_scope scope); |
| 13991 | double __ovld atomic_fetch_sub_explicit(volatile __local atomic_double *object, |
| 13992 | double operand, memory_order order, |
| 13993 | memory_scope scope); |
| 13994 | #endif // defined(__opencl_c_ext_fp64_local_atomic_add) |
| 13995 | |
| 13996 | #if defined(__opencl_c_ext_fp64_global_atomic_add) && \ |
| 13997 | defined(__opencl_c_ext_fp64_local_atomic_add) |
| 13998 | double __ovld atomic_fetch_add(volatile atomic_double *object, double operand); |
| 13999 | double __ovld atomic_fetch_sub(volatile atomic_double *object, double operand); |
| 14000 | double __ovld atomic_fetch_add_explicit(volatile atomic_double *object, |
| 14001 | double operand, memory_order order); |
| 14002 | double __ovld atomic_fetch_sub_explicit(volatile atomic_double *object, |
| 14003 | double operand, memory_order order); |
| 14004 | double __ovld atomic_fetch_add_explicit(volatile atomic_double *object, |
| 14005 | double operand, memory_order order, |
| 14006 | memory_scope scope); |
| 14007 | double __ovld atomic_fetch_sub_explicit(volatile atomic_double *object, |
| 14008 | double operand, memory_order order, |
| 14009 | memory_scope scope); |
| 14010 | #endif // defined(__opencl_c_ext_fp64_global_atomic_add) && \ |
| 14011 | defined(__opencl_c_ext_fp64_local_atomic_add) |
| 14012 | |
| 14013 | #endif // cl_ext_float_atomics |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14014 | |
| 14015 | // atomic_store() |
| 14016 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14017 | #if defined(__opencl_c_atomic_order_seq_cst) && defined(__opencl_c_atomic_scope_device) |
| 14018 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14019 | void __ovld atomic_store(volatile atomic_int *object, int desired); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14020 | void __ovld atomic_store(volatile atomic_uint *object, uint desired); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14021 | void __ovld atomic_store(volatile atomic_float *object, float desired); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14022 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14023 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14024 | #ifdef cl_khr_fp64 |
| 14025 | void __ovld atomic_store(volatile atomic_double *object, double desired); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14026 | #endif //cl_khr_fp64 |
| 14027 | void __ovld atomic_store(volatile atomic_long *object, long desired); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14028 | void __ovld atomic_store(volatile atomic_ulong *object, ulong desired); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14029 | #endif |
| 14030 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14031 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14032 | void __ovld atomic_store(volatile __global atomic_int *object, int desired); |
| 14033 | void __ovld atomic_store(volatile __local atomic_int *object, int desired); |
| 14034 | void __ovld atomic_store(volatile __global atomic_uint *object, uint desired); |
| 14035 | void __ovld atomic_store(volatile __local atomic_uint *object, uint desired); |
| 14036 | void __ovld atomic_store(volatile __global atomic_float *object, float desired); |
| 14037 | void __ovld atomic_store(volatile __local atomic_float *object, float desired); |
| 14038 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14039 | #ifdef cl_khr_fp64 |
| 14040 | void __ovld atomic_store(volatile __global atomic_double *object, double desired); |
| 14041 | void __ovld atomic_store(volatile __local atomic_double *object, double desired); |
| 14042 | #endif //cl_khr_fp64 |
| 14043 | void __ovld atomic_store(volatile __global atomic_long *object, long desired); |
| 14044 | void __ovld atomic_store(volatile __local atomic_long *object, long desired); |
| 14045 | void __ovld atomic_store(volatile __global atomic_ulong *object, ulong desired); |
| 14046 | void __ovld atomic_store(volatile __local atomic_ulong *object, ulong desired); |
| 14047 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14048 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14049 | #endif |
| 14050 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14051 | #if defined(__opencl_c_atomic_scope_device) |
| 14052 | #if defined(__opencl_c_generic_address_space) |
| 14053 | void __ovld atomic_store_explicit(volatile atomic_int *object, int desired, memory_order order); |
| 14054 | void __ovld atomic_store_explicit(volatile atomic_uint *object, uint desired, memory_order order); |
| 14055 | void __ovld atomic_store_explicit(volatile atomic_float *object, float desired, memory_order order); |
| 14056 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14057 | #ifdef cl_khr_fp64 |
| 14058 | void __ovld atomic_store_explicit(volatile atomic_double *object, double desired, memory_order order); |
| 14059 | #endif //cl_khr_fp64 |
| 14060 | void __ovld atomic_store_explicit(volatile atomic_long *object, long desired, memory_order order); |
| 14061 | void __ovld atomic_store_explicit(volatile atomic_ulong *object, ulong desired, memory_order order); |
| 14062 | #endif |
| 14063 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14064 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14065 | void __ovld atomic_store_explicit(volatile __global atomic_int *object, int desired, memory_order order); |
| 14066 | void __ovld atomic_store_explicit(volatile __local atomic_int *object, int desired, memory_order order); |
| 14067 | void __ovld atomic_store_explicit(volatile __global atomic_uint *object, uint desired, memory_order order); |
| 14068 | void __ovld atomic_store_explicit(volatile __local atomic_uint *object, uint desired, memory_order order); |
| 14069 | void __ovld atomic_store_explicit(volatile __global atomic_float *object, float desired, memory_order order); |
| 14070 | void __ovld atomic_store_explicit(volatile __local atomic_float *object, float desired, memory_order order); |
| 14071 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14072 | #ifdef cl_khr_fp64 |
| 14073 | void __ovld atomic_store_explicit(volatile __global atomic_double *object, double desired, memory_order order); |
| 14074 | void __ovld atomic_store_explicit(volatile __local atomic_double *object, double desired, memory_order order); |
| 14075 | #endif |
| 14076 | void __ovld atomic_store_explicit(volatile __global atomic_long *object, long desired, memory_order order); |
| 14077 | void __ovld atomic_store_explicit(volatile __local atomic_long *object, long desired, memory_order order); |
| 14078 | void __ovld atomic_store_explicit(volatile __global atomic_ulong *object, ulong desired, memory_order order); |
| 14079 | void __ovld atomic_store_explicit(volatile __local atomic_ulong *object, ulong desired, memory_order order); |
| 14080 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14081 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14082 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14083 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14084 | #if defined(__opencl_c_generic_address_space) |
| 14085 | void __ovld atomic_store_explicit(volatile atomic_int *object, int desired, memory_order order, memory_scope scope); |
| 14086 | void __ovld atomic_store_explicit(volatile atomic_uint *object, uint desired, memory_order order, memory_scope scope); |
| 14087 | void __ovld atomic_store_explicit(volatile atomic_float *object, float desired, memory_order order, memory_scope scope); |
| 14088 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14089 | #ifdef cl_khr_fp64 |
| 14090 | void __ovld atomic_store_explicit(volatile atomic_double *object, double desired, memory_order order, memory_scope scope); |
| 14091 | #endif //cl_khr_fp64 |
| 14092 | void __ovld atomic_store_explicit(volatile atomic_long *object, long desired, memory_order order, memory_scope scope); |
| 14093 | void __ovld atomic_store_explicit(volatile atomic_ulong *object, ulong desired, memory_order order, memory_scope scope); |
| 14094 | #endif |
| 14095 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14096 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14097 | void __ovld atomic_store_explicit(volatile __global atomic_int *object, int desired, memory_order order, memory_scope scope); |
| 14098 | void __ovld atomic_store_explicit(volatile __local atomic_int *object, int desired, memory_order order, memory_scope scope); |
| 14099 | void __ovld atomic_store_explicit(volatile __global atomic_uint *object, uint desired, memory_order order, memory_scope scope); |
| 14100 | void __ovld atomic_store_explicit(volatile __local atomic_uint *object, uint desired, memory_order order, memory_scope scope); |
| 14101 | void __ovld atomic_store_explicit(volatile __global atomic_float *object, float desired, memory_order order, memory_scope scope); |
| 14102 | void __ovld atomic_store_explicit(volatile __local atomic_float *object, float desired, memory_order order, memory_scope scope); |
| 14103 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14104 | #ifdef cl_khr_fp64 |
| 14105 | void __ovld atomic_store_explicit(volatile __global atomic_double *object, double desired, memory_order order, memory_scope scope); |
| 14106 | void __ovld atomic_store_explicit(volatile __local atomic_double *object, double desired, memory_order order, memory_scope scope); |
| 14107 | #endif //cl_khr_fp64 |
| 14108 | void __ovld atomic_store_explicit(volatile __global atomic_long *object, long desired, memory_order order, memory_scope scope); |
| 14109 | void __ovld atomic_store_explicit(volatile __local atomic_long *object, long desired, memory_order order, memory_scope scope); |
| 14110 | void __ovld atomic_store_explicit(volatile __global atomic_ulong *object, ulong desired, memory_order order, memory_scope scope); |
| 14111 | void __ovld atomic_store_explicit(volatile __local atomic_ulong *object, ulong desired, memory_order order, memory_scope scope); |
| 14112 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14113 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14114 | |
| 14115 | // atomic_load() |
| 14116 | #if defined(__opencl_c_atomic_order_seq_cst) && defined(__opencl_c_atomic_scope_device) |
| 14117 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14118 | int __ovld atomic_load(volatile atomic_int *object); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14119 | uint __ovld atomic_load(volatile atomic_uint *object); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14120 | float __ovld atomic_load(volatile atomic_float *object); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14121 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14122 | #ifdef cl_khr_fp64 |
| 14123 | double __ovld atomic_load(volatile atomic_double *object); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14124 | #endif //cl_khr_fp64 |
| 14125 | long __ovld atomic_load(volatile atomic_long *object); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14126 | ulong __ovld atomic_load(volatile atomic_ulong *object); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14127 | #endif |
| 14128 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14129 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14130 | int __ovld atomic_load(volatile __global atomic_int *object); |
| 14131 | int __ovld atomic_load(volatile __local atomic_int *object); |
| 14132 | uint __ovld atomic_load(volatile __global atomic_uint *object); |
| 14133 | uint __ovld atomic_load(volatile __local atomic_uint *object); |
| 14134 | float __ovld atomic_load(volatile __global atomic_float *object); |
| 14135 | float __ovld atomic_load(volatile __local atomic_float *object); |
| 14136 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14137 | #ifdef cl_khr_fp64 |
| 14138 | double __ovld atomic_load(volatile __global atomic_double *object); |
| 14139 | double __ovld atomic_load(volatile __local atomic_double *object); |
| 14140 | #endif //cl_khr_fp64 |
| 14141 | long __ovld atomic_load(volatile __global atomic_long *object); |
| 14142 | long __ovld atomic_load(volatile __local atomic_long *object); |
| 14143 | ulong __ovld atomic_load(volatile __global atomic_ulong *object); |
| 14144 | ulong __ovld atomic_load(volatile __local atomic_ulong *object); |
| 14145 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14146 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14147 | #endif |
| 14148 | |
| 14149 | #if defined(__opencl_c_atomic_scope_device) |
| 14150 | #if defined(__opencl_c_generic_address_space) |
| 14151 | int __ovld atomic_load_explicit(volatile atomic_int *object, memory_order order); |
| 14152 | uint __ovld atomic_load_explicit(volatile atomic_uint *object, memory_order order); |
| 14153 | float __ovld atomic_load_explicit(volatile atomic_float *object, memory_order order); |
| 14154 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14155 | #ifdef cl_khr_fp64 |
| 14156 | double __ovld atomic_load_explicit(volatile atomic_double *object, memory_order order); |
| 14157 | #endif //cl_khr_fp64 |
| 14158 | long __ovld atomic_load_explicit(volatile atomic_long *object, memory_order order); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14159 | ulong __ovld atomic_load_explicit(volatile atomic_ulong *object, memory_order order); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14160 | #endif |
| 14161 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14162 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14163 | int __ovld atomic_load_explicit(volatile __global atomic_int *object, memory_order order); |
| 14164 | int __ovld atomic_load_explicit(volatile __local atomic_int *object, memory_order order); |
| 14165 | uint __ovld atomic_load_explicit(volatile __global atomic_uint *object, memory_order order); |
| 14166 | uint __ovld atomic_load_explicit(volatile __local atomic_uint *object, memory_order order); |
| 14167 | float __ovld atomic_load_explicit(volatile __global atomic_float *object, memory_order order); |
| 14168 | float __ovld atomic_load_explicit(volatile __local atomic_float *object, memory_order order); |
| 14169 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14170 | #ifdef cl_khr_fp64 |
| 14171 | double __ovld atomic_load_explicit(volatile __global atomic_double *object, memory_order order); |
| 14172 | double __ovld atomic_load_explicit(volatile __local atomic_double *object, memory_order order); |
| 14173 | #endif //cl_khr_fp64 |
| 14174 | long __ovld atomic_load_explicit(volatile __global atomic_long *object, memory_order order); |
| 14175 | long __ovld atomic_load_explicit(volatile __local atomic_long *object, memory_order order); |
| 14176 | ulong __ovld atomic_load_explicit(volatile __global atomic_ulong *object, memory_order order); |
| 14177 | ulong __ovld atomic_load_explicit(volatile __local atomic_ulong *object, memory_order order); |
| 14178 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14179 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14180 | #endif |
| 14181 | |
| 14182 | #if defined(__opencl_c_generic_address_space) |
| 14183 | int __ovld atomic_load_explicit(volatile atomic_int *object, memory_order order, memory_scope scope); |
| 14184 | uint __ovld atomic_load_explicit(volatile atomic_uint *object, memory_order order, memory_scope scope); |
| 14185 | float __ovld atomic_load_explicit(volatile atomic_float *object, memory_order order, memory_scope scope); |
| 14186 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14187 | #ifdef cl_khr_fp64 |
| 14188 | double __ovld atomic_load_explicit(volatile atomic_double *object, memory_order order, memory_scope scope); |
| 14189 | #endif //cl_khr_fp64 |
| 14190 | long __ovld atomic_load_explicit(volatile atomic_long *object, memory_order order, memory_scope scope); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14191 | ulong __ovld atomic_load_explicit(volatile atomic_ulong *object, memory_order order, memory_scope scope); |
| 14192 | #endif |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14193 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14194 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14195 | int __ovld atomic_load_explicit(volatile __global atomic_int *object, memory_order order, memory_scope scope); |
| 14196 | int __ovld atomic_load_explicit(volatile __local atomic_int *object, memory_order order, memory_scope scope); |
| 14197 | uint __ovld atomic_load_explicit(volatile __global atomic_uint *object, memory_order order, memory_scope scope); |
| 14198 | uint __ovld atomic_load_explicit(volatile __local atomic_uint *object, memory_order order, memory_scope scope); |
| 14199 | float __ovld atomic_load_explicit(volatile __global atomic_float *object, memory_order order, memory_scope scope); |
| 14200 | float __ovld atomic_load_explicit(volatile __local atomic_float *object, memory_order order, memory_scope scope); |
| 14201 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14202 | #ifdef cl_khr_fp64 |
| 14203 | double __ovld atomic_load_explicit(volatile __global atomic_double *object, memory_order order, memory_scope scope); |
| 14204 | double __ovld atomic_load_explicit(volatile __local atomic_double *object, memory_order order, memory_scope scope); |
| 14205 | #endif |
| 14206 | long __ovld atomic_load_explicit(volatile __global atomic_long *object, memory_order order, memory_scope scope); |
| 14207 | long __ovld atomic_load_explicit(volatile __local atomic_long *object, memory_order order, memory_scope scope); |
| 14208 | ulong __ovld atomic_load_explicit(volatile __global atomic_ulong *object, memory_order order, memory_scope scope); |
| 14209 | ulong __ovld atomic_load_explicit(volatile __local atomic_ulong *object, memory_order order, memory_scope scope); |
| 14210 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14211 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14212 | |
| 14213 | // atomic_exchange() |
| 14214 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14215 | #if defined(__opencl_c_atomic_order_seq_cst) && defined(__opencl_c_atomic_scope_device) |
| 14216 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14217 | int __ovld atomic_exchange(volatile atomic_int *object, int desired); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14218 | uint __ovld atomic_exchange(volatile atomic_uint *object, uint desired); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14219 | float __ovld atomic_exchange(volatile atomic_float *object, float desired); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14220 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14221 | #ifdef cl_khr_fp64 |
| 14222 | double __ovld atomic_exchange(volatile atomic_double *object, double desired); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14223 | #endif //cl_khr_fp64 |
| 14224 | long __ovld atomic_exchange(volatile atomic_long *object, long desired); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14225 | ulong __ovld atomic_exchange(volatile atomic_ulong *object, ulong desired); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14226 | #endif |
| 14227 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14228 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14229 | int __ovld atomic_exchange(volatile __global atomic_int *object, int desired); |
| 14230 | int __ovld atomic_exchange(volatile __local atomic_int *object, int desired); |
| 14231 | uint __ovld atomic_exchange(volatile __global atomic_uint *object, uint desired); |
| 14232 | uint __ovld atomic_exchange(volatile __local atomic_uint *object, uint desired); |
| 14233 | float __ovld atomic_exchange(volatile __global atomic_float *object, float desired); |
| 14234 | float __ovld atomic_exchange(volatile __local atomic_float *object, float desired); |
| 14235 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14236 | #ifdef cl_khr_fp64 |
| 14237 | double __ovld atomic_exchange(volatile __global atomic_double *object, double desired); |
| 14238 | double __ovld atomic_exchange(volatile __local atomic_double *object, double desired); |
| 14239 | #endif //cl_khr_fp64 |
| 14240 | long __ovld atomic_exchange(volatile __global atomic_long *object, long desired); |
| 14241 | long __ovld atomic_exchange(volatile __local atomic_long *object, long desired); |
| 14242 | ulong __ovld atomic_exchange(volatile __global atomic_ulong *object, ulong desired); |
| 14243 | ulong __ovld atomic_exchange(volatile __local atomic_ulong *object, ulong desired); |
| 14244 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14245 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14246 | #endif |
| 14247 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14248 | #if defined(__opencl_c_atomic_scope_device) |
| 14249 | #if defined(__opencl_c_generic_address_space) |
| 14250 | int __ovld atomic_exchange_explicit(volatile atomic_int *object, int desired, memory_order order); |
| 14251 | uint __ovld atomic_exchange_explicit(volatile atomic_uint *object, uint desired, memory_order order); |
| 14252 | float __ovld atomic_exchange_explicit(volatile atomic_float *object, float desired, memory_order order); |
| 14253 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14254 | #ifdef cl_khr_fp64 |
| 14255 | double __ovld atomic_exchange_explicit(volatile atomic_double *object, double desired, memory_order order); |
| 14256 | #endif //cl_khr_fp64 |
| 14257 | long __ovld atomic_exchange_explicit(volatile atomic_long *object, long desired, memory_order order); |
| 14258 | ulong __ovld atomic_exchange_explicit(volatile atomic_ulong *object, ulong desired, memory_order order); |
| 14259 | #endif |
| 14260 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14261 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14262 | int __ovld atomic_exchange_explicit(volatile __global atomic_int *object, int desired, memory_order order); |
| 14263 | int __ovld atomic_exchange_explicit(volatile __local atomic_int *object, int desired, memory_order order); |
| 14264 | uint __ovld atomic_exchange_explicit(volatile __global atomic_uint *object, uint desired, memory_order order); |
| 14265 | uint __ovld atomic_exchange_explicit(volatile __local atomic_uint *object, uint desired, memory_order order); |
| 14266 | float __ovld atomic_exchange_explicit(volatile __global atomic_float *object, float desired, memory_order order); |
| 14267 | float __ovld atomic_exchange_explicit(volatile __local atomic_float *object, float desired, memory_order order); |
| 14268 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14269 | #ifdef cl_khr_fp64 |
| 14270 | double __ovld atomic_exchange_explicit(volatile __global atomic_double *object, double desired, memory_order order); |
| 14271 | double __ovld atomic_exchange_explicit(volatile __local atomic_double *object, double desired, memory_order order); |
| 14272 | #endif //cl_khr_fp64 |
| 14273 | long __ovld atomic_exchange_explicit(volatile __global atomic_long *object, long desired, memory_order order); |
| 14274 | long __ovld atomic_exchange_explicit(volatile __local atomic_long *object, long desired, memory_order order); |
| 14275 | ulong __ovld atomic_exchange_explicit(volatile __global atomic_ulong *object, ulong desired, memory_order order); |
| 14276 | ulong __ovld atomic_exchange_explicit(volatile __local atomic_ulong *object, ulong desired, memory_order order); |
| 14277 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics)wi |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14278 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14279 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14280 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14281 | #if defined(__opencl_c_generic_address_space) |
| 14282 | int __ovld atomic_exchange_explicit(volatile atomic_int *object, int desired, memory_order order, memory_scope scope); |
| 14283 | uint __ovld atomic_exchange_explicit(volatile atomic_uint *object, uint desired, memory_order order, memory_scope scope); |
| 14284 | float __ovld atomic_exchange_explicit(volatile atomic_float *object, float desired, memory_order order, memory_scope scope); |
| 14285 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14286 | #ifdef cl_khr_fp64 |
| 14287 | double __ovld atomic_exchange_explicit(volatile atomic_double *object, double desired, memory_order order, memory_scope scope); |
| 14288 | #endif //cl_khr_fp64 |
| 14289 | long __ovld atomic_exchange_explicit(volatile atomic_long *object, long desired, memory_order order, memory_scope scope); |
| 14290 | ulong __ovld atomic_exchange_explicit(volatile atomic_ulong *object, ulong desired, memory_order order, memory_scope scope); |
| 14291 | #endif |
| 14292 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14293 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14294 | int __ovld atomic_exchange_explicit(volatile __global atomic_int *object, int desired, memory_order order, memory_scope scope); |
| 14295 | int __ovld atomic_exchange_explicit(volatile __local atomic_int *object, int desired, memory_order order, memory_scope scope); |
| 14296 | uint __ovld atomic_exchange_explicit(volatile __global atomic_uint *object, uint desired, memory_order order, memory_scope scope); |
| 14297 | uint __ovld atomic_exchange_explicit(volatile __local atomic_uint *object, uint desired, memory_order order, memory_scope scope); |
| 14298 | float __ovld atomic_exchange_explicit(volatile __global atomic_float *object, float desired, memory_order order, memory_scope scope); |
| 14299 | float __ovld atomic_exchange_explicit(volatile __local atomic_float *object, float desired, memory_order order, memory_scope scope); |
| 14300 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14301 | #ifdef cl_khr_fp64 |
| 14302 | double __ovld atomic_exchange_explicit(volatile __global atomic_double *object, double desired, memory_order order, memory_scope scope); |
| 14303 | double __ovld atomic_exchange_explicit(volatile __local atomic_double *object, double desired, memory_order order, memory_scope scope); |
| 14304 | #endif //cl_khr_fp64 |
| 14305 | long __ovld atomic_exchange_explicit(volatile __global atomic_long *object, long desired, memory_order order, memory_scope scope); |
| 14306 | long __ovld atomic_exchange_explicit(volatile __local atomic_long *object, long desired, memory_order order, memory_scope scope); |
| 14307 | ulong __ovld atomic_exchange_explicit(volatile __global atomic_ulong *object, ulong desired, memory_order order, memory_scope scope); |
| 14308 | ulong __ovld atomic_exchange_explicit(volatile __local atomic_ulong *object, ulong desired, memory_order order, memory_scope scope); |
| 14309 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14310 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14311 | |
| 14312 | // atomic_compare_exchange_strong() and atomic_compare_exchange_weak() |
| 14313 | #if defined(__opencl_c_atomic_order_seq_cst) && defined(__opencl_c_atomic_scope_device) |
| 14314 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14315 | bool __ovld atomic_compare_exchange_strong(volatile atomic_int *object, int *expected, int desired); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14316 | bool __ovld atomic_compare_exchange_strong(volatile atomic_uint *object, uint *expected, uint desired); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14317 | bool __ovld atomic_compare_exchange_weak(volatile atomic_int *object, int *expected, int desired); |
| 14318 | bool __ovld atomic_compare_exchange_weak(volatile atomic_uint *object, uint *expected, uint desired); |
| 14319 | bool __ovld atomic_compare_exchange_strong(volatile atomic_float *object, float *expected, float desired); |
| 14320 | bool __ovld atomic_compare_exchange_weak(volatile atomic_float *object, float *expected, float desired); |
| 14321 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14322 | #ifdef cl_khr_fp64 |
| 14323 | bool __ovld atomic_compare_exchange_strong(volatile atomic_double *object, double *expected, double desired); |
| 14324 | bool __ovld atomic_compare_exchange_weak(volatile atomic_double *object, double *expected, double desired); |
| 14325 | #endif //cl_khr_fp64 |
| 14326 | bool __ovld atomic_compare_exchange_strong(volatile atomic_long *object, long *expected, long desired); |
| 14327 | bool __ovld atomic_compare_exchange_weak(volatile atomic_long *object, long *expected, long desired); |
| 14328 | bool __ovld atomic_compare_exchange_strong(volatile atomic_ulong *object, ulong *expected, ulong desired); |
| 14329 | bool __ovld atomic_compare_exchange_weak(volatile atomic_ulong *object, ulong *expected, ulong desired); |
| 14330 | #endif |
| 14331 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14332 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14333 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_int *object, __global int *expected, int desired); |
| 14334 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_int *object, __local int *expected, int desired); |
| 14335 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_int *object, __private int *expected, int desired); |
| 14336 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_int *object, __global int *expected, int desired); |
| 14337 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_int *object, __local int *expected, int desired); |
| 14338 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_int *object, __private int *expected, int desired); |
| 14339 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_uint *object, __global uint *expected, uint desired); |
| 14340 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_uint *object, __local uint *expected, uint desired); |
| 14341 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_uint *object, __private uint *expected, uint desired); |
| 14342 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_uint *object, __global uint *expected, uint desired); |
| 14343 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_uint *object, __local uint *expected, uint desired); |
| 14344 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_uint *object, __private uint *expected, uint desired); |
| 14345 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_float *object, __global float *expected, float desired); |
| 14346 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_float *object, __local float *expected, float desired); |
| 14347 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_float *object, __private float *expected, float desired); |
| 14348 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_float *object, __global float *expected, float desired); |
| 14349 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_float *object, __local float *expected, float desired); |
| 14350 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_float *object, __private float *expected, float desired); |
| 14351 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_int *object, __global int *expected, int desired); |
| 14352 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_int *object, __local int *expected, int desired); |
| 14353 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_int *object, __private int *expected, int desired); |
| 14354 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_int *object, __global int *expected, int desired); |
| 14355 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_int *object, __local int *expected, int desired); |
| 14356 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_int *object, __private int *expected, int desired); |
| 14357 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_uint *object, __global uint *expected, uint desired); |
| 14358 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_uint *object, __local uint *expected, uint desired); |
| 14359 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_uint *object, __private uint *expected, uint desired); |
| 14360 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_uint *object, __global uint *expected, uint desired); |
| 14361 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_uint *object, __local uint *expected, uint desired); |
| 14362 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_uint *object, __private uint *expected, uint desired); |
| 14363 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_float *object, __global float *expected, float desired); |
| 14364 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_float *object, __local float *expected, float desired); |
| 14365 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_float *object, __private float *expected, float desired); |
| 14366 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_float *object, __global float *expected, float desired); |
| 14367 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_float *object, __local float *expected, float desired); |
| 14368 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_float *object, __private float *expected, float desired); |
| 14369 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14370 | #ifdef cl_khr_fp64 |
| 14371 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_double *object, __global double *expected, double desired); |
| 14372 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_double *object, __local double *expected, double desired); |
| 14373 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_double *object, __private double *expected, double desired); |
| 14374 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_double *object, __global double *expected, double desired); |
| 14375 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_double *object, __local double *expected, double desired); |
| 14376 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_double *object, __private double *expected, double desired); |
| 14377 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_double *object, __global double *expected, double desired); |
| 14378 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_double *object, __local double *expected, double desired); |
| 14379 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_double *object, __private double *expected, double desired); |
| 14380 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_double *object, __global double *expected, double desired); |
| 14381 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_double *object, __local double *expected, double desired); |
| 14382 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_double *object, __private double *expected, double desired); |
| 14383 | #endif //cl_khr_fp64 |
| 14384 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_long *object, __global long *expected, long desired); |
| 14385 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_long *object, __local long *expected, long desired); |
| 14386 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_long *object, __private long *expected, long desired); |
| 14387 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_long *object, __global long *expected, long desired); |
| 14388 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_long *object, __local long *expected, long desired); |
| 14389 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_long *object, __private long *expected, long desired); |
| 14390 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_ulong *object, __global ulong *expected, ulong desired); |
| 14391 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_ulong *object, __local ulong *expected, ulong desired); |
| 14392 | bool __ovld atomic_compare_exchange_strong(volatile __global atomic_ulong *object, __private ulong *expected, ulong desired); |
| 14393 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_ulong *object, __global ulong *expected, ulong desired); |
| 14394 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_ulong *object, __local ulong *expected, ulong desired); |
| 14395 | bool __ovld atomic_compare_exchange_strong(volatile __local atomic_ulong *object, __private ulong *expected, ulong desired); |
| 14396 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_long *object, __global long *expected, long desired); |
| 14397 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_long *object, __local long *expected, long desired); |
| 14398 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_long *object, __private long *expected, long desired); |
| 14399 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_long *object, __global long *expected, long desired); |
| 14400 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_long *object, __local long *expected, long desired); |
| 14401 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_long *object, __private long *expected, long desired); |
| 14402 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_ulong *object, __global ulong *expected, ulong desired); |
| 14403 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_ulong *object, __local ulong *expected, ulong desired); |
| 14404 | bool __ovld atomic_compare_exchange_weak(volatile __global atomic_ulong *object, __private ulong *expected, ulong desired); |
| 14405 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_ulong *object, __global ulong *expected, ulong desired); |
| 14406 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_ulong *object, __local ulong *expected, ulong desired); |
| 14407 | bool __ovld atomic_compare_exchange_weak(volatile __local atomic_ulong *object, __private ulong *expected, ulong desired); |
| 14408 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14409 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14410 | #endif |
| 14411 | |
| 14412 | #if defined(__opencl_c_generic_address_space) |
| 14413 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_int *object, int *expected, |
| 14414 | int desired, memory_order success, memory_order failure); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14415 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_uint *object, uint *expected, |
| 14416 | uint desired, memory_order success, memory_order failure); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14417 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_int *object, int *expected, |
| 14418 | int desired, memory_order success, memory_order failure); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14419 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_uint *object, uint *expected, |
| 14420 | uint desired, memory_order success, memory_order failure); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14421 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_float *object, float *expected, |
| 14422 | float desired, memory_order success, memory_order failure); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14423 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_float *object, float *expected, |
| 14424 | float desired, memory_order success, memory_order failure); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14425 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14426 | #ifdef cl_khr_fp64 |
| 14427 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_double *object, double *expected, |
| 14428 | double desired, memory_order success, memory_order failure); |
| 14429 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_double *object, double *expected, |
| 14430 | double desired, memory_order success, memory_order failure); |
| 14431 | #endif //cl_khr_fp64 |
| 14432 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_long *object, long *expected, |
| 14433 | long desired, memory_order success, memory_order failure); |
| 14434 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_long *object, long *expected, |
| 14435 | long desired, memory_order success, memory_order failure); |
| 14436 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_ulong *object, ulong *expected, |
| 14437 | ulong desired, memory_order success, memory_order failure); |
| 14438 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_ulong *object, ulong *expected, |
| 14439 | ulong desired, memory_order success, memory_order failure); |
| 14440 | #endif |
| 14441 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14442 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14443 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_int *object, __global int *expected, |
| 14444 | int desired, memory_order success, memory_order failure); |
| 14445 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_int *object, __local int *expected, |
| 14446 | int desired, memory_order success, memory_order failure); |
| 14447 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_int *object, __private int *expected, |
| 14448 | int desired, memory_order success, memory_order failure); |
| 14449 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_int *object, __global int *expected, |
| 14450 | int desired, memory_order success, memory_order failure); |
| 14451 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_int *object, __local int *expected, |
| 14452 | int desired, memory_order success, memory_order failure); |
| 14453 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_int *object, __private int *expected, |
| 14454 | int desired, memory_order success, memory_order failure); |
| 14455 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_uint *object, __global uint *expected, |
| 14456 | uint desired, memory_order success, memory_order failure); |
| 14457 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_uint *object, __local uint *expected, |
| 14458 | uint desired, memory_order success, memory_order failure); |
| 14459 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_uint *object, __private uint *expected, |
| 14460 | uint desired, memory_order success, memory_order failure); |
| 14461 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_uint *object, __global uint *expected, |
| 14462 | uint desired, memory_order success, memory_order failure); |
| 14463 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_uint *object, __local uint *expected, |
| 14464 | uint desired, memory_order success, memory_order failure); |
| 14465 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_uint *object, __private uint *expected, |
| 14466 | uint desired, memory_order success, memory_order failure); |
| 14467 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_float *object, __global float *expected, |
| 14468 | float desired, memory_order success, memory_order failure); |
| 14469 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_float *object, __local float *expected, |
| 14470 | float desired, memory_order success, memory_order failure); |
| 14471 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_float *object, __private float *expected, |
| 14472 | float desired, memory_order success, memory_order failure); |
| 14473 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_float *object, __global float *expected, |
| 14474 | float desired, memory_order success, memory_order failure); |
| 14475 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_float *object, __local float *expected, |
| 14476 | float desired, memory_order success, memory_order failure); |
| 14477 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_float *object, __private float *expected, |
| 14478 | float desired, memory_order success, memory_order failure); |
| 14479 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_int *object, __global int *expected, |
| 14480 | int desired, memory_order success, memory_order failure); |
| 14481 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_int *object, __local int *expected, |
| 14482 | int desired, memory_order success, memory_order failure); |
| 14483 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_int *object, __private int *expected, |
| 14484 | int desired, memory_order success, memory_order failure); |
| 14485 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_int *object, __global int *expected, |
| 14486 | int desired, memory_order success, memory_order failure); |
| 14487 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_int *object, __local int *expected, |
| 14488 | int desired, memory_order success, memory_order failure); |
| 14489 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_int *object, __private int *expected, |
| 14490 | int desired, memory_order success, memory_order failure); |
| 14491 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_uint *object, __global uint *expected, |
| 14492 | uint desired, memory_order success, memory_order failure); |
| 14493 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_uint *object, __local uint *expected, |
| 14494 | uint desired, memory_order success, memory_order failure); |
| 14495 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_uint *object, __private uint *expected, |
| 14496 | uint desired, memory_order success, memory_order failure); |
| 14497 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_uint *object, __global uint *expected, |
| 14498 | uint desired, memory_order success, memory_order failure); |
| 14499 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_uint *object, __local uint *expected, |
| 14500 | uint desired, memory_order success, memory_order failure); |
| 14501 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_uint *object, __private uint *expected, |
| 14502 | uint desired, memory_order success, memory_order failure); |
| 14503 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_float *object, __global float *expected, |
| 14504 | float desired, memory_order success, memory_order failure); |
| 14505 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_float *object, __local float *expected, |
| 14506 | float desired, memory_order success, memory_order failure); |
| 14507 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_float *object, __private float *expected, |
| 14508 | float desired, memory_order success, memory_order failure); |
| 14509 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_float *object, __global float *expected, |
| 14510 | float desired, memory_order success, memory_order failure); |
| 14511 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_float *object, __local float *expected, |
| 14512 | float desired, memory_order success, memory_order failure); |
| 14513 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_float *object, __private float *expected, |
| 14514 | float desired, memory_order success, memory_order failure); |
| 14515 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14516 | #ifdef cl_khr_fp64 |
| 14517 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_double *object, __global double *expected, |
| 14518 | double desired, memory_order success, memory_order failure); |
| 14519 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_double *object, __local double *expected, |
| 14520 | double desired, memory_order success, memory_order failure); |
| 14521 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_double *object, __private double *expected, |
| 14522 | double desired, memory_order success, memory_order failure); |
| 14523 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_double *object, __global double *expected, |
| 14524 | double desired, memory_order success, memory_order failure); |
| 14525 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_double *object, __local double *expected, |
| 14526 | double desired, memory_order success, memory_order failure); |
| 14527 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_double *object, __private double *expected, |
| 14528 | double desired, memory_order success, memory_order failure); |
| 14529 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_double *object, __global double *expected, |
| 14530 | double desired, memory_order success, memory_order failure); |
| 14531 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_double *object, __local double *expected, |
| 14532 | double desired, memory_order success, memory_order failure); |
| 14533 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_double *object, __private double *expected, |
| 14534 | double desired, memory_order success, memory_order failure); |
| 14535 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_double *object, __global double *expected, |
| 14536 | double desired, memory_order success, memory_order failure); |
| 14537 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_double *object, __local double *expected, |
| 14538 | double desired, memory_order success, memory_order failure); |
| 14539 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_double *object, __private double *expected, |
| 14540 | double desired, memory_order success, memory_order failure); |
| 14541 | #endif //cl_khr_fp64 |
| 14542 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_long *object, __global long *expected, |
| 14543 | long desired, memory_order success, memory_order failure); |
| 14544 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_long *object, __local long *expected, |
| 14545 | long desired, memory_order success, memory_order failure); |
| 14546 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_long *object, __private long *expected, |
| 14547 | long desired, memory_order success, memory_order failure); |
| 14548 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_long *object, __global long *expected, |
| 14549 | long desired, memory_order success, memory_order failure); |
| 14550 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_long *object, __local long *expected, |
| 14551 | long desired, memory_order success, memory_order failure); |
| 14552 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_long *object, __private long *expected, |
| 14553 | long desired, memory_order success, memory_order failure); |
| 14554 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_ulong *object, __global ulong *expected, |
| 14555 | ulong desired, memory_order success, memory_order failure); |
| 14556 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_ulong *object, __local ulong *expected, |
| 14557 | ulong desired, memory_order success, memory_order failure); |
| 14558 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_ulong *object, __private ulong *expected, |
| 14559 | ulong desired, memory_order success, memory_order failure); |
| 14560 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_ulong *object, __global ulong *expected, |
| 14561 | ulong desired, memory_order success, memory_order failure); |
| 14562 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_ulong *object, __local ulong *expected, |
| 14563 | ulong desired, memory_order success, memory_order failure); |
| 14564 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_ulong *object, __private ulong *expected, |
| 14565 | ulong desired, memory_order success, memory_order failure); |
| 14566 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_long *object, __global long *expected, |
| 14567 | long desired, memory_order success, memory_order failure); |
| 14568 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_long *object, __local long *expected, |
| 14569 | long desired, memory_order success, memory_order failure); |
| 14570 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_long *object, __private long *expected, |
| 14571 | long desired, memory_order success, memory_order failure); |
| 14572 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_long *object, __global long *expected, |
| 14573 | long desired, memory_order success, memory_order failure); |
| 14574 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_long *object, __local long *expected, |
| 14575 | long desired, memory_order success, memory_order failure); |
| 14576 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_long *object, __private long *expected, |
| 14577 | long desired, memory_order success, memory_order failure); |
| 14578 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_ulong *object, __global ulong *expected, |
| 14579 | ulong desired, memory_order success, memory_order failure); |
| 14580 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_ulong *object, __local ulong *expected, |
| 14581 | ulong desired, memory_order success, memory_order failure); |
| 14582 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_ulong *object, __private ulong *expected, |
| 14583 | ulong desired, memory_order success, memory_order failure); |
| 14584 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_ulong *object, __global ulong *expected, |
| 14585 | ulong desired, memory_order success, memory_order failure); |
| 14586 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_ulong *object, __local ulong *expected, |
| 14587 | ulong desired, memory_order success, memory_order failure); |
| 14588 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_ulong *object, __private ulong *expected, |
| 14589 | ulong desired, memory_order success, memory_order failure); |
| 14590 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14591 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14592 | |
| 14593 | #if defined(__opencl_c_generic_address_space) |
| 14594 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_int *object, int *expected, |
| 14595 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14596 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_uint *object, uint *expected, |
| 14597 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14598 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_int *object, int *expected, |
| 14599 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14600 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_uint *object, uint *expected, |
| 14601 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14602 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_float *object, float *expected, |
| 14603 | float desired, memory_order success, memory_order failure, memory_scope scope); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14604 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_float *object, float *expected, |
| 14605 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14606 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14607 | #ifdef cl_khr_fp64 |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14608 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_double *object, double *expected, |
| 14609 | double desired, memory_order success, memory_order failure, memory_scope scope); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14610 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_double *object, double *expected, |
| 14611 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14612 | #endif //cl_khr_fp64 |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14613 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_long *object, long *expected, |
| 14614 | long desired, memory_order success, memory_order failure, memory_scope scope); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14615 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_long *object, long *expected, |
| 14616 | long desired, memory_order success, memory_order failure, memory_scope scope); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14617 | bool __ovld atomic_compare_exchange_strong_explicit(volatile atomic_ulong *object, ulong *expected, |
| 14618 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14619 | bool __ovld atomic_compare_exchange_weak_explicit(volatile atomic_ulong *object, ulong *expected, |
| 14620 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14621 | #endif |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14622 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14623 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14624 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_int *object, __global int *expected, |
| 14625 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14626 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_int *object, __local int *expected, |
| 14627 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14628 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_int *object, __private int *expected, |
| 14629 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14630 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_int *object, __global int *expected, |
| 14631 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14632 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_int *object, __local int *expected, |
| 14633 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14634 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_int *object, __private int *expected, |
| 14635 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14636 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_uint *object, __global uint *expected, |
| 14637 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14638 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_uint *object, __local uint *expected, |
| 14639 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14640 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_uint *object, __private uint *expected, |
| 14641 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14642 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_uint *object, __global uint *expected, |
| 14643 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14644 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_uint *object, __local uint *expected, |
| 14645 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14646 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_uint *object, __private uint *expected, |
| 14647 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14648 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_float *object, __global float *expected, |
| 14649 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14650 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_float *object, __local float *expected, |
| 14651 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14652 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_float *object, __private float *expected, |
| 14653 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14654 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_float *object, __global float *expected, |
| 14655 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14656 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_float *object, __local float *expected, |
| 14657 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14658 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_float *object, __private float *expected, |
| 14659 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14660 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_int *object, __global int *expected, |
| 14661 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14662 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_int *object, __local int *expected, |
| 14663 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14664 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_int *object, __private int *expected, |
| 14665 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14666 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_int *object, __global int *expected, |
| 14667 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14668 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_int *object, __local int *expected, |
| 14669 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14670 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_int *object, __private int *expected, |
| 14671 | int desired, memory_order success, memory_order failure, memory_scope scope); |
| 14672 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_uint *object, __global uint *expected, |
| 14673 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14674 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_uint *object, __local uint *expected, |
| 14675 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14676 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_uint *object, __private uint *expected, |
| 14677 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14678 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_uint *object, __global uint *expected, |
| 14679 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14680 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_uint *object, __local uint *expected, |
| 14681 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14682 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_uint *object, __private uint *expected, |
| 14683 | uint desired, memory_order success, memory_order failure, memory_scope scope); |
| 14684 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_float *object, __global float *expected, |
| 14685 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14686 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_float *object, __local float *expected, |
| 14687 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14688 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_float *object, __private float *expected, |
| 14689 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14690 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_float *object, __global float *expected, |
| 14691 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14692 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_float *object, __local float *expected, |
| 14693 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14694 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_float *object, __private float *expected, |
| 14695 | float desired, memory_order success, memory_order failure, memory_scope scope); |
| 14696 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| 14697 | #ifdef cl_khr_fp64 |
| 14698 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_double *object, __global double *expected, |
| 14699 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14700 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_double *object, __local double *expected, |
| 14701 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14702 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_double *object, __private double *expected, |
| 14703 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14704 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_double *object, __global double *expected, |
| 14705 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14706 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_double *object, __local double *expected, |
| 14707 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14708 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_double *object, __private double *expected, |
| 14709 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14710 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_double *object, __global double *expected, |
| 14711 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14712 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_double *object, __local double *expected, |
| 14713 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14714 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_double *object, __private double *expected, |
| 14715 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14716 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_double *object, __global double *expected, |
| 14717 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14718 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_double *object, __local double *expected, |
| 14719 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14720 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_double *object, __private double *expected, |
| 14721 | double desired, memory_order success, memory_order failure, memory_scope scope); |
| 14722 | #endif //cl_khr_fp64 |
| 14723 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_long *object, __global long *expected, |
| 14724 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14725 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_long *object, __local long *expected, |
| 14726 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14727 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_long *object, __private long *expected, |
| 14728 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14729 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_long *object, __global long *expected, |
| 14730 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14731 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_long *object, __local long *expected, |
| 14732 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14733 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_long *object, __private long *expected, |
| 14734 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14735 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_ulong *object, __global ulong *expected, |
| 14736 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14737 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_ulong *object, __local ulong *expected, |
| 14738 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14739 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __global atomic_ulong *object, __private ulong *expected, |
| 14740 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14741 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_ulong *object, __global ulong *expected, |
| 14742 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14743 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_ulong *object, __local ulong *expected, |
| 14744 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14745 | bool __ovld atomic_compare_exchange_strong_explicit(volatile __local atomic_ulong *object, __private ulong *expected, |
| 14746 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14747 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_long *object, __global long *expected, |
| 14748 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14749 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_long *object, __local long *expected, |
| 14750 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14751 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_long *object, __private long *expected, |
| 14752 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14753 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_long *object, __global long *expected, |
| 14754 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14755 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_long *object, __local long *expected, |
| 14756 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14757 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_long *object, __private long *expected, |
| 14758 | long desired, memory_order success, memory_order failure, memory_scope scope); |
| 14759 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_ulong *object, __global ulong *expected, |
| 14760 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14761 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_ulong *object, __local ulong *expected, |
| 14762 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14763 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __global atomic_ulong *object, __private ulong *expected, |
| 14764 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14765 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_ulong *object, __global ulong *expected, |
| 14766 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14767 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_ulong *object, __local ulong *expected, |
| 14768 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14769 | bool __ovld atomic_compare_exchange_weak_explicit(volatile __local atomic_ulong *object, __private ulong *expected, |
| 14770 | ulong desired, memory_order success, memory_order failure, memory_scope scope); |
| 14771 | #endif //defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14772 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14773 | |
| 14774 | // atomic_flag_test_and_set() and atomic_flag_clear() |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14775 | #if defined(__opencl_c_atomic_order_seq_cst) && defined(__opencl_c_atomic_scope_device) |
| 14776 | #if defined(__opencl_c_generic_address_space) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14777 | bool __ovld atomic_flag_test_and_set(volatile atomic_flag *object); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14778 | void __ovld atomic_flag_clear(volatile atomic_flag *object); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14779 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14780 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14781 | bool __ovld atomic_flag_test_and_set(volatile __global atomic_flag *object); |
| 14782 | bool __ovld atomic_flag_test_and_set(volatile __local atomic_flag *object); |
| 14783 | void __ovld atomic_flag_clear(volatile __global atomic_flag *object); |
| 14784 | void __ovld atomic_flag_clear(volatile __local atomic_flag *object); |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14785 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14786 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14787 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14788 | #if defined(__opencl_c_atomic_scope_device) |
| 14789 | #if defined(__opencl_c_generic_address_space) |
| 14790 | bool __ovld atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_order order); |
| 14791 | void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order); |
| 14792 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14793 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14794 | bool __ovld atomic_flag_test_and_set_explicit(volatile __global atomic_flag *object, memory_order order); |
| 14795 | bool __ovld atomic_flag_test_and_set_explicit(volatile __local atomic_flag *object, memory_order order); |
| 14796 | void __ovld atomic_flag_clear_explicit(volatile __global atomic_flag *object, memory_order order); |
| 14797 | void __ovld atomic_flag_clear_explicit(volatile __local atomic_flag *object, memory_order order); |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14798 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14799 | #endif |
| 14800 | |
| 14801 | #if defined(__opencl_c_generic_address_space) |
| 14802 | bool __ovld atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_order order, memory_scope scope); |
| 14803 | void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order, memory_scope scope); |
| 14804 | #endif //defined(__opencl_c_generic_address_space) |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14805 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 14806 | bool __ovld atomic_flag_test_and_set_explicit(volatile __global atomic_flag *object, memory_order order, memory_scope scope); |
| 14807 | bool __ovld atomic_flag_test_and_set_explicit(volatile __local atomic_flag *object, memory_order order, memory_scope scope); |
| 14808 | void __ovld atomic_flag_clear_explicit(volatile __global atomic_flag *object, memory_order order, memory_scope scope); |
| 14809 | void __ovld atomic_flag_clear_explicit(volatile __local atomic_flag *object, memory_order order, memory_scope scope); |
Pirama Arumuga Nainar | ec8c89d | 2022-02-23 09:26:16 -0800 | [diff] [blame] | 14810 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_3_0 || __OPENCL_CPP_VERSION__ >= 202100) |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 14811 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 14812 | |
| 14813 | // OpenCL v1.1 s6.11.12, v1.2 s6.12.12, v2.0 s6.13.12 - Miscellaneous Vector Functions |
| 14814 | |
| 14815 | /** |
| 14816 | * The shuffle and shuffle2 built-in functions construct |
| 14817 | * a permutation of elements from one or two input |
| 14818 | * vectors respectively that are of the same type, |
| 14819 | * returning a vector with the same element type as the |
| 14820 | * input and length that is the same as the shuffle mask. |
| 14821 | * The size of each element in the mask must match the |
| 14822 | * size of each element in the result. For shuffle, only |
| 14823 | * the ilogb(2m-1) least significant bits of each mask |
| 14824 | * element are considered. For shuffle2, only the |
| 14825 | * ilogb(2m-1)+1 least significant bits of each mask |
| 14826 | * element are considered. Other bits in the mask shall |
| 14827 | * be ignored. |
| 14828 | * The elements of the input vectors are numbered from |
| 14829 | * left to right across one or both of the vectors. For this |
| 14830 | * purpose, the number of elements in a vector is given |
| 14831 | * by vec_step(gentypem). The shuffle mask operand |
| 14832 | * specifies, for each element of the result vector, which |
| 14833 | * element of the one or two input vectors the result |
| 14834 | * element gets. |
| 14835 | * Examples: |
| 14836 | * uint4 mask = (uint4)(3, 2, |
| 14837 | * 1, 0); |
| 14838 | * float4 a; |
| 14839 | * float4 r = shuffle(a, mask); |
| 14840 | * // r.s0123 = a.wzyx |
| 14841 | * uint8 mask = (uint8)(0, 1, 2, 3, |
| 14842 | * 4, 5, 6, 7); |
| 14843 | * float4 a, b; |
| 14844 | * float8 r = shuffle2(a, b, mask); |
| 14845 | * // r.s0123 = a.xyzw |
| 14846 | * // r.s4567 = b.xyzw |
| 14847 | * uint4 mask; |
| 14848 | * float8 a; |
| 14849 | * float4 b; |
| 14850 | * b = shuffle(a, mask); |
| 14851 | * Examples that are not valid are: |
| 14852 | * uint8 mask; |
| 14853 | * short16 a; |
| 14854 | * short8 b; |
| 14855 | * b = shuffle(a, mask); <- not valid |
| 14856 | */ |
| 14857 | char2 __ovld __cnfn shuffle(char2 x, uchar2 mask); |
| 14858 | char2 __ovld __cnfn shuffle(char4 x, uchar2 mask); |
| 14859 | char2 __ovld __cnfn shuffle(char8 x, uchar2 mask); |
| 14860 | char2 __ovld __cnfn shuffle(char16 x, uchar2 mask); |
| 14861 | |
| 14862 | uchar2 __ovld __cnfn shuffle(uchar2 x, uchar2 mask); |
| 14863 | uchar2 __ovld __cnfn shuffle(uchar4 x, uchar2 mask); |
| 14864 | uchar2 __ovld __cnfn shuffle(uchar8 x, uchar2 mask); |
| 14865 | uchar2 __ovld __cnfn shuffle(uchar16 x, uchar2 mask); |
| 14866 | |
| 14867 | short2 __ovld __cnfn shuffle(short2 x, ushort2 mask); |
| 14868 | short2 __ovld __cnfn shuffle(short4 x, ushort2 mask); |
| 14869 | short2 __ovld __cnfn shuffle(short8 x, ushort2 mask); |
| 14870 | short2 __ovld __cnfn shuffle(short16 x, ushort2 mask); |
| 14871 | |
| 14872 | ushort2 __ovld __cnfn shuffle(ushort2 x, ushort2 mask); |
| 14873 | ushort2 __ovld __cnfn shuffle(ushort4 x, ushort2 mask); |
| 14874 | ushort2 __ovld __cnfn shuffle(ushort8 x, ushort2 mask); |
| 14875 | ushort2 __ovld __cnfn shuffle(ushort16 x, ushort2 mask); |
| 14876 | |
| 14877 | int2 __ovld __cnfn shuffle(int2 x, uint2 mask); |
| 14878 | int2 __ovld __cnfn shuffle(int4 x, uint2 mask); |
| 14879 | int2 __ovld __cnfn shuffle(int8 x, uint2 mask); |
| 14880 | int2 __ovld __cnfn shuffle(int16 x, uint2 mask); |
| 14881 | |
| 14882 | uint2 __ovld __cnfn shuffle(uint2 x, uint2 mask); |
| 14883 | uint2 __ovld __cnfn shuffle(uint4 x, uint2 mask); |
| 14884 | uint2 __ovld __cnfn shuffle(uint8 x, uint2 mask); |
| 14885 | uint2 __ovld __cnfn shuffle(uint16 x, uint2 mask); |
| 14886 | |
| 14887 | long2 __ovld __cnfn shuffle(long2 x, ulong2 mask); |
| 14888 | long2 __ovld __cnfn shuffle(long4 x, ulong2 mask); |
| 14889 | long2 __ovld __cnfn shuffle(long8 x, ulong2 mask); |
| 14890 | long2 __ovld __cnfn shuffle(long16 x, ulong2 mask); |
| 14891 | |
| 14892 | ulong2 __ovld __cnfn shuffle(ulong2 x, ulong2 mask); |
| 14893 | ulong2 __ovld __cnfn shuffle(ulong4 x, ulong2 mask); |
| 14894 | ulong2 __ovld __cnfn shuffle(ulong8 x, ulong2 mask); |
| 14895 | ulong2 __ovld __cnfn shuffle(ulong16 x, ulong2 mask); |
| 14896 | |
| 14897 | float2 __ovld __cnfn shuffle(float2 x, uint2 mask); |
| 14898 | float2 __ovld __cnfn shuffle(float4 x, uint2 mask); |
| 14899 | float2 __ovld __cnfn shuffle(float8 x, uint2 mask); |
| 14900 | float2 __ovld __cnfn shuffle(float16 x, uint2 mask); |
| 14901 | |
| 14902 | char4 __ovld __cnfn shuffle(char2 x, uchar4 mask); |
| 14903 | char4 __ovld __cnfn shuffle(char4 x, uchar4 mask); |
| 14904 | char4 __ovld __cnfn shuffle(char8 x, uchar4 mask); |
| 14905 | char4 __ovld __cnfn shuffle(char16 x, uchar4 mask); |
| 14906 | |
| 14907 | uchar4 __ovld __cnfn shuffle(uchar2 x, uchar4 mask); |
| 14908 | uchar4 __ovld __cnfn shuffle(uchar4 x, uchar4 mask); |
| 14909 | uchar4 __ovld __cnfn shuffle(uchar8 x, uchar4 mask); |
| 14910 | uchar4 __ovld __cnfn shuffle(uchar16 x, uchar4 mask); |
| 14911 | |
| 14912 | short4 __ovld __cnfn shuffle(short2 x, ushort4 mask); |
| 14913 | short4 __ovld __cnfn shuffle(short4 x, ushort4 mask); |
| 14914 | short4 __ovld __cnfn shuffle(short8 x, ushort4 mask); |
| 14915 | short4 __ovld __cnfn shuffle(short16 x, ushort4 mask); |
| 14916 | |
| 14917 | ushort4 __ovld __cnfn shuffle(ushort2 x, ushort4 mask); |
| 14918 | ushort4 __ovld __cnfn shuffle(ushort4 x, ushort4 mask); |
| 14919 | ushort4 __ovld __cnfn shuffle(ushort8 x, ushort4 mask); |
| 14920 | ushort4 __ovld __cnfn shuffle(ushort16 x, ushort4 mask); |
| 14921 | |
| 14922 | int4 __ovld __cnfn shuffle(int2 x, uint4 mask); |
| 14923 | int4 __ovld __cnfn shuffle(int4 x, uint4 mask); |
| 14924 | int4 __ovld __cnfn shuffle(int8 x, uint4 mask); |
| 14925 | int4 __ovld __cnfn shuffle(int16 x, uint4 mask); |
| 14926 | |
| 14927 | uint4 __ovld __cnfn shuffle(uint2 x, uint4 mask); |
| 14928 | uint4 __ovld __cnfn shuffle(uint4 x, uint4 mask); |
| 14929 | uint4 __ovld __cnfn shuffle(uint8 x, uint4 mask); |
| 14930 | uint4 __ovld __cnfn shuffle(uint16 x, uint4 mask); |
| 14931 | |
| 14932 | long4 __ovld __cnfn shuffle(long2 x, ulong4 mask); |
| 14933 | long4 __ovld __cnfn shuffle(long4 x, ulong4 mask); |
| 14934 | long4 __ovld __cnfn shuffle(long8 x, ulong4 mask); |
| 14935 | long4 __ovld __cnfn shuffle(long16 x, ulong4 mask); |
| 14936 | |
| 14937 | ulong4 __ovld __cnfn shuffle(ulong2 x, ulong4 mask); |
| 14938 | ulong4 __ovld __cnfn shuffle(ulong4 x, ulong4 mask); |
| 14939 | ulong4 __ovld __cnfn shuffle(ulong8 x, ulong4 mask); |
| 14940 | ulong4 __ovld __cnfn shuffle(ulong16 x, ulong4 mask); |
| 14941 | |
| 14942 | float4 __ovld __cnfn shuffle(float2 x, uint4 mask); |
| 14943 | float4 __ovld __cnfn shuffle(float4 x, uint4 mask); |
| 14944 | float4 __ovld __cnfn shuffle(float8 x, uint4 mask); |
| 14945 | float4 __ovld __cnfn shuffle(float16 x, uint4 mask); |
| 14946 | |
| 14947 | char8 __ovld __cnfn shuffle(char2 x, uchar8 mask); |
| 14948 | char8 __ovld __cnfn shuffle(char4 x, uchar8 mask); |
| 14949 | char8 __ovld __cnfn shuffle(char8 x, uchar8 mask); |
| 14950 | char8 __ovld __cnfn shuffle(char16 x, uchar8 mask); |
| 14951 | |
| 14952 | uchar8 __ovld __cnfn shuffle(uchar2 x, uchar8 mask); |
| 14953 | uchar8 __ovld __cnfn shuffle(uchar4 x, uchar8 mask); |
| 14954 | uchar8 __ovld __cnfn shuffle(uchar8 x, uchar8 mask); |
| 14955 | uchar8 __ovld __cnfn shuffle(uchar16 x, uchar8 mask); |
| 14956 | |
| 14957 | short8 __ovld __cnfn shuffle(short2 x, ushort8 mask); |
| 14958 | short8 __ovld __cnfn shuffle(short4 x, ushort8 mask); |
| 14959 | short8 __ovld __cnfn shuffle(short8 x, ushort8 mask); |
| 14960 | short8 __ovld __cnfn shuffle(short16 x, ushort8 mask); |
| 14961 | |
| 14962 | ushort8 __ovld __cnfn shuffle(ushort2 x, ushort8 mask); |
| 14963 | ushort8 __ovld __cnfn shuffle(ushort4 x, ushort8 mask); |
| 14964 | ushort8 __ovld __cnfn shuffle(ushort8 x, ushort8 mask); |
| 14965 | ushort8 __ovld __cnfn shuffle(ushort16 x, ushort8 mask); |
| 14966 | |
| 14967 | int8 __ovld __cnfn shuffle(int2 x, uint8 mask); |
| 14968 | int8 __ovld __cnfn shuffle(int4 x, uint8 mask); |
| 14969 | int8 __ovld __cnfn shuffle(int8 x, uint8 mask); |
| 14970 | int8 __ovld __cnfn shuffle(int16 x, uint8 mask); |
| 14971 | |
| 14972 | uint8 __ovld __cnfn shuffle(uint2 x, uint8 mask); |
| 14973 | uint8 __ovld __cnfn shuffle(uint4 x, uint8 mask); |
| 14974 | uint8 __ovld __cnfn shuffle(uint8 x, uint8 mask); |
| 14975 | uint8 __ovld __cnfn shuffle(uint16 x, uint8 mask); |
| 14976 | |
| 14977 | long8 __ovld __cnfn shuffle(long2 x, ulong8 mask); |
| 14978 | long8 __ovld __cnfn shuffle(long4 x, ulong8 mask); |
| 14979 | long8 __ovld __cnfn shuffle(long8 x, ulong8 mask); |
| 14980 | long8 __ovld __cnfn shuffle(long16 x, ulong8 mask); |
| 14981 | |
| 14982 | ulong8 __ovld __cnfn shuffle(ulong2 x, ulong8 mask); |
| 14983 | ulong8 __ovld __cnfn shuffle(ulong4 x, ulong8 mask); |
| 14984 | ulong8 __ovld __cnfn shuffle(ulong8 x, ulong8 mask); |
| 14985 | ulong8 __ovld __cnfn shuffle(ulong16 x, ulong8 mask); |
| 14986 | |
| 14987 | float8 __ovld __cnfn shuffle(float2 x, uint8 mask); |
| 14988 | float8 __ovld __cnfn shuffle(float4 x, uint8 mask); |
| 14989 | float8 __ovld __cnfn shuffle(float8 x, uint8 mask); |
| 14990 | float8 __ovld __cnfn shuffle(float16 x, uint8 mask); |
| 14991 | |
| 14992 | char16 __ovld __cnfn shuffle(char2 x, uchar16 mask); |
| 14993 | char16 __ovld __cnfn shuffle(char4 x, uchar16 mask); |
| 14994 | char16 __ovld __cnfn shuffle(char8 x, uchar16 mask); |
| 14995 | char16 __ovld __cnfn shuffle(char16 x, uchar16 mask); |
| 14996 | |
| 14997 | uchar16 __ovld __cnfn shuffle(uchar2 x, uchar16 mask); |
| 14998 | uchar16 __ovld __cnfn shuffle(uchar4 x, uchar16 mask); |
| 14999 | uchar16 __ovld __cnfn shuffle(uchar8 x, uchar16 mask); |
| 15000 | uchar16 __ovld __cnfn shuffle(uchar16 x, uchar16 mask); |
| 15001 | |
| 15002 | short16 __ovld __cnfn shuffle(short2 x, ushort16 mask); |
| 15003 | short16 __ovld __cnfn shuffle(short4 x, ushort16 mask); |
| 15004 | short16 __ovld __cnfn shuffle(short8 x, ushort16 mask); |
| 15005 | short16 __ovld __cnfn shuffle(short16 x, ushort16 mask); |
| 15006 | |
| 15007 | ushort16 __ovld __cnfn shuffle(ushort2 x, ushort16 mask); |
| 15008 | ushort16 __ovld __cnfn shuffle(ushort4 x, ushort16 mask); |
| 15009 | ushort16 __ovld __cnfn shuffle(ushort8 x, ushort16 mask); |
| 15010 | ushort16 __ovld __cnfn shuffle(ushort16 x, ushort16 mask); |
| 15011 | |
| 15012 | int16 __ovld __cnfn shuffle(int2 x, uint16 mask); |
| 15013 | int16 __ovld __cnfn shuffle(int4 x, uint16 mask); |
| 15014 | int16 __ovld __cnfn shuffle(int8 x, uint16 mask); |
| 15015 | int16 __ovld __cnfn shuffle(int16 x, uint16 mask); |
| 15016 | |
| 15017 | uint16 __ovld __cnfn shuffle(uint2 x, uint16 mask); |
| 15018 | uint16 __ovld __cnfn shuffle(uint4 x, uint16 mask); |
| 15019 | uint16 __ovld __cnfn shuffle(uint8 x, uint16 mask); |
| 15020 | uint16 __ovld __cnfn shuffle(uint16 x, uint16 mask); |
| 15021 | |
| 15022 | long16 __ovld __cnfn shuffle(long2 x, ulong16 mask); |
| 15023 | long16 __ovld __cnfn shuffle(long4 x, ulong16 mask); |
| 15024 | long16 __ovld __cnfn shuffle(long8 x, ulong16 mask); |
| 15025 | long16 __ovld __cnfn shuffle(long16 x, ulong16 mask); |
| 15026 | |
| 15027 | ulong16 __ovld __cnfn shuffle(ulong2 x, ulong16 mask); |
| 15028 | ulong16 __ovld __cnfn shuffle(ulong4 x, ulong16 mask); |
| 15029 | ulong16 __ovld __cnfn shuffle(ulong8 x, ulong16 mask); |
| 15030 | ulong16 __ovld __cnfn shuffle(ulong16 x, ulong16 mask); |
| 15031 | |
| 15032 | float16 __ovld __cnfn shuffle(float2 x, uint16 mask); |
| 15033 | float16 __ovld __cnfn shuffle(float4 x, uint16 mask); |
| 15034 | float16 __ovld __cnfn shuffle(float8 x, uint16 mask); |
| 15035 | float16 __ovld __cnfn shuffle(float16 x, uint16 mask); |
| 15036 | |
| 15037 | #ifdef cl_khr_fp64 |
| 15038 | double2 __ovld __cnfn shuffle(double2 x, ulong2 mask); |
| 15039 | double2 __ovld __cnfn shuffle(double4 x, ulong2 mask); |
| 15040 | double2 __ovld __cnfn shuffle(double8 x, ulong2 mask); |
| 15041 | double2 __ovld __cnfn shuffle(double16 x, ulong2 mask); |
| 15042 | |
| 15043 | double4 __ovld __cnfn shuffle(double2 x, ulong4 mask); |
| 15044 | double4 __ovld __cnfn shuffle(double4 x, ulong4 mask); |
| 15045 | double4 __ovld __cnfn shuffle(double8 x, ulong4 mask); |
| 15046 | double4 __ovld __cnfn shuffle(double16 x, ulong4 mask); |
| 15047 | |
| 15048 | double8 __ovld __cnfn shuffle(double2 x, ulong8 mask); |
| 15049 | double8 __ovld __cnfn shuffle(double4 x, ulong8 mask); |
| 15050 | double8 __ovld __cnfn shuffle(double8 x, ulong8 mask); |
| 15051 | double8 __ovld __cnfn shuffle(double16 x, ulong8 mask); |
| 15052 | |
| 15053 | double16 __ovld __cnfn shuffle(double2 x, ulong16 mask); |
| 15054 | double16 __ovld __cnfn shuffle(double4 x, ulong16 mask); |
| 15055 | double16 __ovld __cnfn shuffle(double8 x, ulong16 mask); |
| 15056 | double16 __ovld __cnfn shuffle(double16 x, ulong16 mask); |
| 15057 | #endif //cl_khr_fp64 |
| 15058 | |
| 15059 | #ifdef cl_khr_fp16 |
| 15060 | half2 __ovld __cnfn shuffle(half2 x, ushort2 mask); |
| 15061 | half2 __ovld __cnfn shuffle(half4 x, ushort2 mask); |
| 15062 | half2 __ovld __cnfn shuffle(half8 x, ushort2 mask); |
| 15063 | half2 __ovld __cnfn shuffle(half16 x, ushort2 mask); |
| 15064 | |
| 15065 | half4 __ovld __cnfn shuffle(half2 x, ushort4 mask); |
| 15066 | half4 __ovld __cnfn shuffle(half4 x, ushort4 mask); |
| 15067 | half4 __ovld __cnfn shuffle(half8 x, ushort4 mask); |
| 15068 | half4 __ovld __cnfn shuffle(half16 x, ushort4 mask); |
| 15069 | |
| 15070 | half8 __ovld __cnfn shuffle(half2 x, ushort8 mask); |
| 15071 | half8 __ovld __cnfn shuffle(half4 x, ushort8 mask); |
| 15072 | half8 __ovld __cnfn shuffle(half8 x, ushort8 mask); |
| 15073 | half8 __ovld __cnfn shuffle(half16 x, ushort8 mask); |
| 15074 | |
| 15075 | half16 __ovld __cnfn shuffle(half2 x, ushort16 mask); |
| 15076 | half16 __ovld __cnfn shuffle(half4 x, ushort16 mask); |
| 15077 | half16 __ovld __cnfn shuffle(half8 x, ushort16 mask); |
| 15078 | half16 __ovld __cnfn shuffle(half16 x, ushort16 mask); |
| 15079 | #endif //cl_khr_fp16 |
| 15080 | |
| 15081 | char2 __ovld __cnfn shuffle2(char2 x, char2 y, uchar2 mask); |
| 15082 | char2 __ovld __cnfn shuffle2(char4 x, char4 y, uchar2 mask); |
| 15083 | char2 __ovld __cnfn shuffle2(char8 x, char8 y, uchar2 mask); |
| 15084 | char2 __ovld __cnfn shuffle2(char16 x, char16 y, uchar2 mask); |
| 15085 | |
| 15086 | uchar2 __ovld __cnfn shuffle2(uchar2 x, uchar2 y, uchar2 mask); |
| 15087 | uchar2 __ovld __cnfn shuffle2(uchar4 x, uchar4 y, uchar2 mask); |
| 15088 | uchar2 __ovld __cnfn shuffle2(uchar8 x, uchar8 y, uchar2 mask); |
| 15089 | uchar2 __ovld __cnfn shuffle2(uchar16 x, uchar16 y, uchar2 mask); |
| 15090 | |
| 15091 | short2 __ovld __cnfn shuffle2(short2 x, short2 y, ushort2 mask); |
| 15092 | short2 __ovld __cnfn shuffle2(short4 x, short4 y, ushort2 mask); |
| 15093 | short2 __ovld __cnfn shuffle2(short8 x, short8 y, ushort2 mask); |
| 15094 | short2 __ovld __cnfn shuffle2(short16 x, short16 y, ushort2 mask); |
| 15095 | |
| 15096 | ushort2 __ovld __cnfn shuffle2(ushort2 x, ushort2 y, ushort2 mask); |
| 15097 | ushort2 __ovld __cnfn shuffle2(ushort4 x, ushort4 y, ushort2 mask); |
| 15098 | ushort2 __ovld __cnfn shuffle2(ushort8 x, ushort8 y, ushort2 mask); |
| 15099 | ushort2 __ovld __cnfn shuffle2(ushort16 x, ushort16 y, ushort2 mask); |
| 15100 | |
| 15101 | int2 __ovld __cnfn shuffle2(int2 x, int2 y, uint2 mask); |
| 15102 | int2 __ovld __cnfn shuffle2(int4 x, int4 y, uint2 mask); |
| 15103 | int2 __ovld __cnfn shuffle2(int8 x, int8 y, uint2 mask); |
| 15104 | int2 __ovld __cnfn shuffle2(int16 x, int16 y, uint2 mask); |
| 15105 | |
| 15106 | uint2 __ovld __cnfn shuffle2(uint2 x, uint2 y, uint2 mask); |
| 15107 | uint2 __ovld __cnfn shuffle2(uint4 x, uint4 y, uint2 mask); |
| 15108 | uint2 __ovld __cnfn shuffle2(uint8 x, uint8 y, uint2 mask); |
| 15109 | uint2 __ovld __cnfn shuffle2(uint16 x, uint16 y, uint2 mask); |
| 15110 | |
| 15111 | long2 __ovld __cnfn shuffle2(long2 x, long2 y, ulong2 mask); |
| 15112 | long2 __ovld __cnfn shuffle2(long4 x, long4 y, ulong2 mask); |
| 15113 | long2 __ovld __cnfn shuffle2(long8 x, long8 y, ulong2 mask); |
| 15114 | long2 __ovld __cnfn shuffle2(long16 x, long16 y, ulong2 mask); |
| 15115 | |
| 15116 | ulong2 __ovld __cnfn shuffle2(ulong2 x, ulong2 y, ulong2 mask); |
| 15117 | ulong2 __ovld __cnfn shuffle2(ulong4 x, ulong4 y, ulong2 mask); |
| 15118 | ulong2 __ovld __cnfn shuffle2(ulong8 x, ulong8 y, ulong2 mask); |
| 15119 | ulong2 __ovld __cnfn shuffle2(ulong16 x, ulong16 y, ulong2 mask); |
| 15120 | |
| 15121 | float2 __ovld __cnfn shuffle2(float2 x, float2 y, uint2 mask); |
| 15122 | float2 __ovld __cnfn shuffle2(float4 x, float4 y, uint2 mask); |
| 15123 | float2 __ovld __cnfn shuffle2(float8 x, float8 y, uint2 mask); |
| 15124 | float2 __ovld __cnfn shuffle2(float16 x, float16 y, uint2 mask); |
| 15125 | |
| 15126 | char4 __ovld __cnfn shuffle2(char2 x, char2 y, uchar4 mask); |
| 15127 | char4 __ovld __cnfn shuffle2(char4 x, char4 y, uchar4 mask); |
| 15128 | char4 __ovld __cnfn shuffle2(char8 x, char8 y, uchar4 mask); |
| 15129 | char4 __ovld __cnfn shuffle2(char16 x, char16 y, uchar4 mask); |
| 15130 | |
| 15131 | uchar4 __ovld __cnfn shuffle2(uchar2 x, uchar2 y, uchar4 mask); |
| 15132 | uchar4 __ovld __cnfn shuffle2(uchar4 x, uchar4 y, uchar4 mask); |
| 15133 | uchar4 __ovld __cnfn shuffle2(uchar8 x, uchar8 y, uchar4 mask); |
| 15134 | uchar4 __ovld __cnfn shuffle2(uchar16 x, uchar16 y, uchar4 mask); |
| 15135 | |
| 15136 | short4 __ovld __cnfn shuffle2(short2 x, short2 y, ushort4 mask); |
| 15137 | short4 __ovld __cnfn shuffle2(short4 x, short4 y, ushort4 mask); |
| 15138 | short4 __ovld __cnfn shuffle2(short8 x, short8 y, ushort4 mask); |
| 15139 | short4 __ovld __cnfn shuffle2(short16 x, short16 y, ushort4 mask); |
| 15140 | |
| 15141 | ushort4 __ovld __cnfn shuffle2(ushort2 x, ushort2 y, ushort4 mask); |
| 15142 | ushort4 __ovld __cnfn shuffle2(ushort4 x, ushort4 y, ushort4 mask); |
| 15143 | ushort4 __ovld __cnfn shuffle2(ushort8 x, ushort8 y, ushort4 mask); |
| 15144 | ushort4 __ovld __cnfn shuffle2(ushort16 x, ushort16 y, ushort4 mask); |
| 15145 | |
| 15146 | int4 __ovld __cnfn shuffle2(int2 x, int2 y, uint4 mask); |
| 15147 | int4 __ovld __cnfn shuffle2(int4 x, int4 y, uint4 mask); |
| 15148 | int4 __ovld __cnfn shuffle2(int8 x, int8 y, uint4 mask); |
| 15149 | int4 __ovld __cnfn shuffle2(int16 x, int16 y, uint4 mask); |
| 15150 | |
| 15151 | uint4 __ovld __cnfn shuffle2(uint2 x, uint2 y, uint4 mask); |
| 15152 | uint4 __ovld __cnfn shuffle2(uint4 x, uint4 y, uint4 mask); |
| 15153 | uint4 __ovld __cnfn shuffle2(uint8 x, uint8 y, uint4 mask); |
| 15154 | uint4 __ovld __cnfn shuffle2(uint16 x, uint16 y, uint4 mask); |
| 15155 | |
| 15156 | long4 __ovld __cnfn shuffle2(long2 x, long2 y, ulong4 mask); |
| 15157 | long4 __ovld __cnfn shuffle2(long4 x, long4 y, ulong4 mask); |
| 15158 | long4 __ovld __cnfn shuffle2(long8 x, long8 y, ulong4 mask); |
| 15159 | long4 __ovld __cnfn shuffle2(long16 x, long16 y, ulong4 mask); |
| 15160 | |
| 15161 | ulong4 __ovld __cnfn shuffle2(ulong2 x, ulong2 y, ulong4 mask); |
| 15162 | ulong4 __ovld __cnfn shuffle2(ulong4 x, ulong4 y, ulong4 mask); |
| 15163 | ulong4 __ovld __cnfn shuffle2(ulong8 x, ulong8 y, ulong4 mask); |
| 15164 | ulong4 __ovld __cnfn shuffle2(ulong16 x, ulong16 y, ulong4 mask); |
| 15165 | |
| 15166 | float4 __ovld __cnfn shuffle2(float2 x, float2 y, uint4 mask); |
| 15167 | float4 __ovld __cnfn shuffle2(float4 x, float4 y, uint4 mask); |
| 15168 | float4 __ovld __cnfn shuffle2(float8 x, float8 y, uint4 mask); |
| 15169 | float4 __ovld __cnfn shuffle2(float16 x, float16 y, uint4 mask); |
| 15170 | |
| 15171 | char8 __ovld __cnfn shuffle2(char2 x, char2 y, uchar8 mask); |
| 15172 | char8 __ovld __cnfn shuffle2(char4 x, char4 y, uchar8 mask); |
| 15173 | char8 __ovld __cnfn shuffle2(char8 x, char8 y, uchar8 mask); |
| 15174 | char8 __ovld __cnfn shuffle2(char16 x, char16 y, uchar8 mask); |
| 15175 | |
| 15176 | uchar8 __ovld __cnfn shuffle2(uchar2 x, uchar2 y, uchar8 mask); |
| 15177 | uchar8 __ovld __cnfn shuffle2(uchar4 x, uchar4 y, uchar8 mask); |
| 15178 | uchar8 __ovld __cnfn shuffle2(uchar8 x, uchar8 y, uchar8 mask); |
| 15179 | uchar8 __ovld __cnfn shuffle2(uchar16 x, uchar16 y, uchar8 mask); |
| 15180 | |
| 15181 | short8 __ovld __cnfn shuffle2(short2 x, short2 y, ushort8 mask); |
| 15182 | short8 __ovld __cnfn shuffle2(short4 x, short4 y, ushort8 mask); |
| 15183 | short8 __ovld __cnfn shuffle2(short8 x, short8 y, ushort8 mask); |
| 15184 | short8 __ovld __cnfn shuffle2(short16 x, short16 y, ushort8 mask); |
| 15185 | |
| 15186 | ushort8 __ovld __cnfn shuffle2(ushort2 x, ushort2 y, ushort8 mask); |
| 15187 | ushort8 __ovld __cnfn shuffle2(ushort4 x, ushort4 y, ushort8 mask); |
| 15188 | ushort8 __ovld __cnfn shuffle2(ushort8 x, ushort8 y, ushort8 mask); |
| 15189 | ushort8 __ovld __cnfn shuffle2(ushort16 x, ushort16 y, ushort8 mask); |
| 15190 | |
| 15191 | int8 __ovld __cnfn shuffle2(int2 x, int2 y, uint8 mask); |
| 15192 | int8 __ovld __cnfn shuffle2(int4 x, int4 y, uint8 mask); |
| 15193 | int8 __ovld __cnfn shuffle2(int8 x, int8 y, uint8 mask); |
| 15194 | int8 __ovld __cnfn shuffle2(int16 x, int16 y, uint8 mask); |
| 15195 | |
| 15196 | uint8 __ovld __cnfn shuffle2(uint2 x, uint2 y, uint8 mask); |
| 15197 | uint8 __ovld __cnfn shuffle2(uint4 x, uint4 y, uint8 mask); |
| 15198 | uint8 __ovld __cnfn shuffle2(uint8 x, uint8 y, uint8 mask); |
| 15199 | uint8 __ovld __cnfn shuffle2(uint16 x, uint16 y, uint8 mask); |
| 15200 | |
| 15201 | long8 __ovld __cnfn shuffle2(long2 x, long2 y, ulong8 mask); |
| 15202 | long8 __ovld __cnfn shuffle2(long4 x, long4 y, ulong8 mask); |
| 15203 | long8 __ovld __cnfn shuffle2(long8 x, long8 y, ulong8 mask); |
| 15204 | long8 __ovld __cnfn shuffle2(long16 x, long16 y, ulong8 mask); |
| 15205 | |
| 15206 | ulong8 __ovld __cnfn shuffle2(ulong2 x, ulong2 y, ulong8 mask); |
| 15207 | ulong8 __ovld __cnfn shuffle2(ulong4 x, ulong4 y, ulong8 mask); |
| 15208 | ulong8 __ovld __cnfn shuffle2(ulong8 x, ulong8 y, ulong8 mask); |
| 15209 | ulong8 __ovld __cnfn shuffle2(ulong16 x, ulong16 y, ulong8 mask); |
| 15210 | |
| 15211 | float8 __ovld __cnfn shuffle2(float2 x, float2 y, uint8 mask); |
| 15212 | float8 __ovld __cnfn shuffle2(float4 x, float4 y, uint8 mask); |
| 15213 | float8 __ovld __cnfn shuffle2(float8 x, float8 y, uint8 mask); |
| 15214 | float8 __ovld __cnfn shuffle2(float16 x, float16 y, uint8 mask); |
| 15215 | |
| 15216 | char16 __ovld __cnfn shuffle2(char2 x, char2 y, uchar16 mask); |
| 15217 | char16 __ovld __cnfn shuffle2(char4 x, char4 y, uchar16 mask); |
| 15218 | char16 __ovld __cnfn shuffle2(char8 x, char8 y, uchar16 mask); |
| 15219 | char16 __ovld __cnfn shuffle2(char16 x, char16 y, uchar16 mask); |
| 15220 | |
| 15221 | uchar16 __ovld __cnfn shuffle2(uchar2 x, uchar2 y, uchar16 mask); |
| 15222 | uchar16 __ovld __cnfn shuffle2(uchar4 x, uchar4 y, uchar16 mask); |
| 15223 | uchar16 __ovld __cnfn shuffle2(uchar8 x, uchar8 y, uchar16 mask); |
| 15224 | uchar16 __ovld __cnfn shuffle2(uchar16 x, uchar16 y, uchar16 mask); |
| 15225 | |
| 15226 | short16 __ovld __cnfn shuffle2(short2 x, short2 y, ushort16 mask); |
| 15227 | short16 __ovld __cnfn shuffle2(short4 x, short4 y, ushort16 mask); |
| 15228 | short16 __ovld __cnfn shuffle2(short8 x, short8 y, ushort16 mask); |
| 15229 | short16 __ovld __cnfn shuffle2(short16 x, short16 y, ushort16 mask); |
| 15230 | |
| 15231 | ushort16 __ovld __cnfn shuffle2(ushort2 x, ushort2 y, ushort16 mask); |
| 15232 | ushort16 __ovld __cnfn shuffle2(ushort4 x, ushort4 y, ushort16 mask); |
| 15233 | ushort16 __ovld __cnfn shuffle2(ushort8 x, ushort8 y, ushort16 mask); |
| 15234 | ushort16 __ovld __cnfn shuffle2(ushort16 x, ushort16 y, ushort16 mask); |
| 15235 | |
| 15236 | int16 __ovld __cnfn shuffle2(int2 x, int2 y, uint16 mask); |
| 15237 | int16 __ovld __cnfn shuffle2(int4 x, int4 y, uint16 mask); |
| 15238 | int16 __ovld __cnfn shuffle2(int8 x, int8 y, uint16 mask); |
| 15239 | int16 __ovld __cnfn shuffle2(int16 x, int16 y, uint16 mask); |
| 15240 | |
| 15241 | uint16 __ovld __cnfn shuffle2(uint2 x, uint2 y, uint16 mask); |
| 15242 | uint16 __ovld __cnfn shuffle2(uint4 x, uint4 y, uint16 mask); |
| 15243 | uint16 __ovld __cnfn shuffle2(uint8 x, uint8 y, uint16 mask); |
| 15244 | uint16 __ovld __cnfn shuffle2(uint16 x, uint16 y, uint16 mask); |
| 15245 | |
| 15246 | long16 __ovld __cnfn shuffle2(long2 x, long2 y, ulong16 mask); |
| 15247 | long16 __ovld __cnfn shuffle2(long4 x, long4 y, ulong16 mask); |
| 15248 | long16 __ovld __cnfn shuffle2(long8 x, long8 y, ulong16 mask); |
| 15249 | long16 __ovld __cnfn shuffle2(long16 x, long16 y, ulong16 mask); |
| 15250 | |
| 15251 | ulong16 __ovld __cnfn shuffle2(ulong2 x, ulong2 y, ulong16 mask); |
| 15252 | ulong16 __ovld __cnfn shuffle2(ulong4 x, ulong4 y, ulong16 mask); |
| 15253 | ulong16 __ovld __cnfn shuffle2(ulong8 x, ulong8 y, ulong16 mask); |
| 15254 | ulong16 __ovld __cnfn shuffle2(ulong16 x, ulong16 y, ulong16 mask); |
| 15255 | |
| 15256 | float16 __ovld __cnfn shuffle2(float2 x, float2 y, uint16 mask); |
| 15257 | float16 __ovld __cnfn shuffle2(float4 x, float4 y, uint16 mask); |
| 15258 | float16 __ovld __cnfn shuffle2(float8 x, float8 y, uint16 mask); |
| 15259 | float16 __ovld __cnfn shuffle2(float16 x, float16 y, uint16 mask); |
| 15260 | |
| 15261 | #ifdef cl_khr_fp64 |
| 15262 | double2 __ovld __cnfn shuffle2(double2 x, double2 y, ulong2 mask); |
| 15263 | double2 __ovld __cnfn shuffle2(double4 x, double4 y, ulong2 mask); |
| 15264 | double2 __ovld __cnfn shuffle2(double8 x, double8 y, ulong2 mask); |
| 15265 | double2 __ovld __cnfn shuffle2(double16 x, double16 y, ulong2 mask); |
| 15266 | |
| 15267 | double4 __ovld __cnfn shuffle2(double2 x, double2 y, ulong4 mask); |
| 15268 | double4 __ovld __cnfn shuffle2(double4 x, double4 y, ulong4 mask); |
| 15269 | double4 __ovld __cnfn shuffle2(double8 x, double8 y, ulong4 mask); |
| 15270 | double4 __ovld __cnfn shuffle2(double16 x, double16 y, ulong4 mask); |
| 15271 | |
| 15272 | double8 __ovld __cnfn shuffle2(double2 x, double2 y, ulong8 mask); |
| 15273 | double8 __ovld __cnfn shuffle2(double4 x, double4 y, ulong8 mask); |
| 15274 | double8 __ovld __cnfn shuffle2(double8 x, double8 y, ulong8 mask); |
| 15275 | double8 __ovld __cnfn shuffle2(double16 x, double16 y, ulong8 mask); |
| 15276 | |
| 15277 | double16 __ovld __cnfn shuffle2(double2 x, double2 y, ulong16 mask); |
| 15278 | double16 __ovld __cnfn shuffle2(double4 x, double4 y, ulong16 mask); |
| 15279 | double16 __ovld __cnfn shuffle2(double8 x, double8 y, ulong16 mask); |
| 15280 | double16 __ovld __cnfn shuffle2(double16 x, double16 y, ulong16 mask); |
| 15281 | #endif //cl_khr_fp64 |
| 15282 | |
| 15283 | #ifdef cl_khr_fp16 |
| 15284 | half2 __ovld __cnfn shuffle2(half2 x, half2 y, ushort2 mask); |
| 15285 | half2 __ovld __cnfn shuffle2(half4 x, half4 y, ushort2 mask); |
| 15286 | half2 __ovld __cnfn shuffle2(half8 x, half8 y, ushort2 mask); |
| 15287 | half2 __ovld __cnfn shuffle2(half16 x, half16 y, ushort2 mask); |
| 15288 | |
| 15289 | half4 __ovld __cnfn shuffle2(half2 x, half2 y, ushort4 mask); |
| 15290 | half4 __ovld __cnfn shuffle2(half4 x, half4 y, ushort4 mask); |
| 15291 | half4 __ovld __cnfn shuffle2(half8 x, half8 y, ushort4 mask); |
| 15292 | half4 __ovld __cnfn shuffle2(half16 x, half16 y, ushort4 mask); |
| 15293 | |
| 15294 | half8 __ovld __cnfn shuffle2(half2 x, half2 y, ushort8 mask); |
| 15295 | half8 __ovld __cnfn shuffle2(half4 x, half4 y, ushort8 mask); |
| 15296 | half8 __ovld __cnfn shuffle2(half8 x, half8 y, ushort8 mask); |
| 15297 | half8 __ovld __cnfn shuffle2(half16 x, half16 y, ushort8 mask); |
| 15298 | |
| 15299 | half16 __ovld __cnfn shuffle2(half2 x, half2 y, ushort16 mask); |
| 15300 | half16 __ovld __cnfn shuffle2(half4 x, half4 y, ushort16 mask); |
| 15301 | half16 __ovld __cnfn shuffle2(half8 x, half8 y, ushort16 mask); |
| 15302 | half16 __ovld __cnfn shuffle2(half16 x, half16 y, ushort16 mask); |
| 15303 | #endif //cl_khr_fp16 |
| 15304 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15305 | // OpenCL v1.1 s6.11.3, v1.2 s6.12.14, v2.0 s6.13.14 - Image Read and Write Functions |
| 15306 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15307 | #ifdef cl_khr_gl_msaa_sharing |
| 15308 | #pragma OPENCL EXTENSION cl_khr_gl_msaa_sharing : enable |
| 15309 | #endif //cl_khr_gl_msaa_sharing |
| 15310 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15311 | /** |
| 15312 | * Use the coordinate (coord.xy) to do an element lookup in |
| 15313 | * the 2D image object specified by image. |
| 15314 | * |
| 15315 | * Use the coordinate (coord.x, coord.y, coord.z) to do |
| 15316 | * an element lookup in the 3D image object specified |
| 15317 | * by image. coord.w is ignored. |
| 15318 | * |
| 15319 | * Use the coordinate (coord.z) to index into the |
| 15320 | * 2D image array object specified by image_array |
| 15321 | * and (coord.x, coord.y) to do an element lookup in |
| 15322 | * the 2D image object specified by image. |
| 15323 | * |
| 15324 | * Use the coordinate (x) to do an element lookup in |
| 15325 | * the 1D image object specified by image. |
| 15326 | * |
| 15327 | * Use the coordinate (coord.y) to index into the |
| 15328 | * 1D image array object specified by image_array |
| 15329 | * and (coord.x) to do an element lookup in |
| 15330 | * the 1D image object specified by image. |
| 15331 | * |
| 15332 | * Use the coordinate (cood.xy) and sample to do an |
| 15333 | * element lookup in the 2D multi-sample image specified |
| 15334 | * by image. |
| 15335 | * |
| 15336 | * Use coord.xy and sample to do an element |
| 15337 | * lookup in the 2D multi-sample image layer |
| 15338 | * identified by index coord.z in the 2D multi-sample |
| 15339 | * image array specified by image. |
| 15340 | * |
| 15341 | * For mipmap images, use the mip-level specified by |
| 15342 | * the Level-of-Detail (lod) or use gradients for LOD |
| 15343 | * computation. |
| 15344 | * |
| 15345 | * read_imagef returns floating-point values in the |
| 15346 | * range [0.0 ... 1.0] for image objects created with |
| 15347 | * image_channel_data_type set to one of the predefined |
| 15348 | * packed formats or CL_UNORM_INT8, or |
| 15349 | * CL_UNORM_INT16. |
| 15350 | * |
| 15351 | * read_imagef returns floating-point values in the |
| 15352 | * range [-1.0 ... 1.0] for image objects created with |
| 15353 | * image_channel_data_type set to CL_SNORM_INT8, |
| 15354 | * or CL_SNORM_INT16. |
| 15355 | * |
| 15356 | * read_imagef returns floating-point values for image |
| 15357 | * objects created with image_channel_data_type set to |
| 15358 | * CL_HALF_FLOAT or CL_FLOAT. |
| 15359 | * |
| 15360 | * read_imagei and read_imageui return |
| 15361 | * unnormalized signed integer and unsigned integer |
| 15362 | * values respectively. Each channel will be stored in a |
| 15363 | * 32-bit integer. |
| 15364 | * |
| 15365 | * read_imagei can only be used with image objects |
| 15366 | * created with image_channel_data_type set to one of |
| 15367 | * the following values: |
| 15368 | * CL_SIGNED_INT8, |
| 15369 | * CL_SIGNED_INT16 and |
| 15370 | * CL_SIGNED_INT32. |
| 15371 | * If the image_channel_data_type is not one of the |
| 15372 | * above values, the values returned by read_imagei |
| 15373 | * are undefined. |
| 15374 | * |
| 15375 | * read_imageui can only be used with image objects |
| 15376 | * created with image_channel_data_type set to one of |
| 15377 | * the following values: |
| 15378 | * CL_UNSIGNED_INT8, |
| 15379 | * CL_UNSIGNED_INT16 and |
| 15380 | * CL_UNSIGNED_INT32. |
| 15381 | * If the image_channel_data_type is not one of the |
| 15382 | * above values, the values returned by read_imageui |
| 15383 | * are undefined. |
| 15384 | * |
| 15385 | * The read_image{i|ui} calls support a nearest filter |
| 15386 | * only. The filter_mode specified in sampler |
| 15387 | * must be set to CLK_FILTER_NEAREST; otherwise |
| 15388 | * the values returned are undefined. |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15389 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15390 | * The read_image{f|i|ui} calls that take |
| 15391 | * integer coordinates must use a sampler with |
| 15392 | * normalized coordinates set to |
| 15393 | * CLK_NORMALIZED_COORDS_FALSE and |
| 15394 | * addressing mode set to |
| 15395 | * CLK_ADDRESS_CLAMP_TO_EDGE, |
| 15396 | * CLK_ADDRESS_CLAMP or CLK_ADDRESS_NONE; |
| 15397 | * otherwise the values returned are undefined. |
| 15398 | * |
| 15399 | * Values returned by read_imagef for image objects |
| 15400 | * with image_channel_data_type values not specified |
| 15401 | * in the description above are undefined. |
| 15402 | */ |
| 15403 | |
| 15404 | float4 __purefn __ovld read_imagef(read_only image2d_t image, sampler_t sampler, int2 coord); |
| 15405 | float4 __purefn __ovld read_imagef(read_only image2d_t image, sampler_t sampler, float2 coord); |
| 15406 | |
| 15407 | int4 __purefn __ovld read_imagei(read_only image2d_t image, sampler_t sampler, int2 coord); |
| 15408 | int4 __purefn __ovld read_imagei(read_only image2d_t image, sampler_t sampler, float2 coord); |
| 15409 | uint4 __purefn __ovld read_imageui(read_only image2d_t image, sampler_t sampler, int2 coord); |
| 15410 | uint4 __purefn __ovld read_imageui(read_only image2d_t image, sampler_t sampler, float2 coord); |
| 15411 | |
| 15412 | float4 __purefn __ovld read_imagef(read_only image3d_t image, sampler_t sampler, int4 coord); |
| 15413 | float4 __purefn __ovld read_imagef(read_only image3d_t image, sampler_t sampler, float4 coord); |
| 15414 | |
| 15415 | int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, int4 coord); |
| 15416 | int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, float4 coord); |
| 15417 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, int4 coord); |
| 15418 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord); |
| 15419 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15420 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15421 | float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, int4 coord); |
| 15422 | float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, float4 coord); |
| 15423 | |
| 15424 | int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, int4 coord); |
| 15425 | int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, float4 coord); |
| 15426 | uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, int4 coord); |
| 15427 | uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, float4 coord); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15428 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15429 | |
| 15430 | float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, int coord); |
| 15431 | float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord); |
| 15432 | |
| 15433 | int4 __purefn __ovld read_imagei(read_only image1d_t image, sampler_t sampler, int coord); |
| 15434 | int4 __purefn __ovld read_imagei(read_only image1d_t image, sampler_t sampler, float coord); |
| 15435 | uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, int coord); |
| 15436 | uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, float coord); |
| 15437 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15438 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15439 | float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, int2 coord); |
| 15440 | float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, float2 coord); |
| 15441 | |
| 15442 | int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, int2 coord); |
| 15443 | int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, float2 coord); |
| 15444 | uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, int2 coord); |
| 15445 | uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, float2 coord); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15446 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15447 | |
| 15448 | #ifdef cl_khr_depth_images |
| 15449 | float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, float2 coord); |
| 15450 | float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, int2 coord); |
| 15451 | |
| 15452 | float __purefn __ovld read_imagef(read_only image2d_array_depth_t image, sampler_t sampler, float4 coord); |
| 15453 | float __purefn __ovld read_imagef(read_only image2d_array_depth_t image, sampler_t sampler, int4 coord); |
| 15454 | #endif //cl_khr_depth_images |
| 15455 | |
| 15456 | #if defined(cl_khr_gl_msaa_sharing) |
| 15457 | float4 __purefn __ovld read_imagef(read_only image2d_msaa_t image, int2 coord, int sample); |
| 15458 | int4 __purefn __ovld read_imagei(read_only image2d_msaa_t image, int2 coord, int sample); |
| 15459 | uint4 __purefn __ovld read_imageui(read_only image2d_msaa_t image, int2 coord, int sample); |
| 15460 | |
| 15461 | float __purefn __ovld read_imagef(read_only image2d_msaa_depth_t image, int2 coord, int sample); |
| 15462 | |
| 15463 | float4 __purefn __ovld read_imagef(read_only image2d_array_msaa_t image, int4 coord, int sample); |
| 15464 | int4 __purefn __ovld read_imagei(read_only image2d_array_msaa_t image, int4 coord, int sample); |
| 15465 | uint4 __purefn __ovld read_imageui(read_only image2d_array_msaa_t image, int4 coord, int sample); |
| 15466 | |
| 15467 | float __purefn __ovld read_imagef(read_only image2d_array_msaa_depth_t image, int4 coord, int sample); |
| 15468 | #endif //cl_khr_gl_msaa_sharing |
| 15469 | |
| 15470 | // OpenCL Extension v2.0 s9.18 - Mipmaps |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15471 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15472 | #ifdef cl_khr_mipmap_image |
| 15473 | |
| 15474 | float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord, float lod); |
| 15475 | int4 __purefn __ovld read_imagei(read_only image1d_t image, sampler_t sampler, float coord, float lod); |
| 15476 | uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, float coord, float lod); |
| 15477 | |
| 15478 | float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float lod); |
| 15479 | int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float lod); |
| 15480 | uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float lod); |
| 15481 | |
| 15482 | float4 __purefn __ovld read_imagef(read_only image2d_t image, sampler_t sampler, float2 coord, float lod); |
| 15483 | int4 __purefn __ovld read_imagei(read_only image2d_t image, sampler_t sampler, float2 coord, float lod); |
| 15484 | uint4 __purefn __ovld read_imageui(read_only image2d_t image, sampler_t sampler, float2 coord, float lod); |
| 15485 | |
| 15486 | float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, float2 coord, float lod); |
| 15487 | |
| 15488 | float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float lod); |
| 15489 | int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float lod); |
| 15490 | uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float lod); |
| 15491 | |
| 15492 | float __purefn __ovld read_imagef(read_only image2d_array_depth_t image, sampler_t sampler, float4 coord, float lod); |
| 15493 | |
| 15494 | float4 __purefn __ovld read_imagef(read_only image3d_t image, sampler_t sampler, float4 coord, float lod); |
| 15495 | int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, float4 coord, float lod); |
| 15496 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord, float lod); |
| 15497 | |
| 15498 | float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY); |
| 15499 | int4 __purefn __ovld read_imagei(read_only image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY); |
| 15500 | uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY); |
| 15501 | |
| 15502 | float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY); |
| 15503 | int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY); |
| 15504 | uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY); |
| 15505 | |
| 15506 | float4 __purefn __ovld read_imagef(read_only image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY); |
| 15507 | int4 __purefn __ovld read_imagei(read_only image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY); |
| 15508 | uint4 __purefn __ovld read_imageui(read_only image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY); |
| 15509 | |
| 15510 | float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY); |
| 15511 | |
| 15512 | float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY); |
| 15513 | int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY); |
| 15514 | uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY); |
| 15515 | |
| 15516 | float __purefn __ovld read_imagef(read_only image2d_array_depth_t image, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY); |
| 15517 | |
| 15518 | float4 __purefn __ovld read_imagef(read_only image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY); |
| 15519 | int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY); |
| 15520 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY); |
| 15521 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15522 | #endif //cl_khr_mipmap_image |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15523 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15524 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15525 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
Logan Chien | dbcf412 | 2019-03-21 10:50:25 +0800 | [diff] [blame] | 15526 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15527 | /** |
| 15528 | * Sampler-less Image Access |
| 15529 | */ |
| 15530 | |
| 15531 | float4 __purefn __ovld read_imagef(read_only image1d_t image, int coord); |
| 15532 | int4 __purefn __ovld read_imagei(read_only image1d_t image, int coord); |
| 15533 | uint4 __purefn __ovld read_imageui(read_only image1d_t image, int coord); |
| 15534 | |
| 15535 | float4 __purefn __ovld read_imagef(read_only image1d_buffer_t image, int coord); |
| 15536 | int4 __purefn __ovld read_imagei(read_only image1d_buffer_t image, int coord); |
| 15537 | uint4 __purefn __ovld read_imageui(read_only image1d_buffer_t image, int coord); |
| 15538 | |
| 15539 | float4 __purefn __ovld read_imagef(read_only image1d_array_t image, int2 coord); |
| 15540 | int4 __purefn __ovld read_imagei(read_only image1d_array_t image, int2 coord); |
| 15541 | uint4 __purefn __ovld read_imageui(read_only image1d_array_t image, int2 coord); |
| 15542 | |
| 15543 | float4 __purefn __ovld read_imagef(read_only image2d_t image, int2 coord); |
| 15544 | int4 __purefn __ovld read_imagei(read_only image2d_t image, int2 coord); |
| 15545 | uint4 __purefn __ovld read_imageui(read_only image2d_t image, int2 coord); |
| 15546 | |
| 15547 | float4 __purefn __ovld read_imagef(read_only image2d_array_t image, int4 coord); |
| 15548 | int4 __purefn __ovld read_imagei(read_only image2d_array_t image, int4 coord); |
| 15549 | uint4 __purefn __ovld read_imageui(read_only image2d_array_t image, int4 coord); |
| 15550 | |
| 15551 | #ifdef cl_khr_depth_images |
| 15552 | float __purefn __ovld read_imagef(read_only image2d_depth_t image, int2 coord); |
| 15553 | float __purefn __ovld read_imagef(read_only image2d_array_depth_t image, int4 coord); |
| 15554 | #endif //cl_khr_depth_images |
| 15555 | |
| 15556 | float4 __purefn __ovld read_imagef(read_only image3d_t image, int4 coord); |
| 15557 | int4 __purefn __ovld read_imagei(read_only image3d_t image, int4 coord); |
| 15558 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, int4 coord); |
| 15559 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15560 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
Logan Chien | dbcf412 | 2019-03-21 10:50:25 +0800 | [diff] [blame] | 15561 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15562 | // Image read functions returning half4 type |
| 15563 | #ifdef cl_khr_fp16 |
| 15564 | half4 __purefn __ovld read_imageh(read_only image1d_t image, sampler_t sampler, int coord); |
| 15565 | half4 __purefn __ovld read_imageh(read_only image1d_t image, sampler_t sampler, float coord); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15566 | half4 __purefn __ovld read_imageh(read_only image2d_t image, sampler_t sampler, int2 coord); |
| 15567 | half4 __purefn __ovld read_imageh(read_only image2d_t image, sampler_t sampler, float2 coord); |
| 15568 | half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, int4 coord); |
| 15569 | half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, float4 coord); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15570 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
Logan Chien | dbcf412 | 2019-03-21 10:50:25 +0800 | [diff] [blame] | 15571 | half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, int2 coord); |
| 15572 | half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, float2 coord); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15573 | half4 __purefn __ovld read_imageh(read_only image2d_array_t image, sampler_t sampler, int4 coord); |
| 15574 | half4 __purefn __ovld read_imageh(read_only image2d_array_t image, sampler_t sampler, float4 coord); |
Logan Chien | dbcf412 | 2019-03-21 10:50:25 +0800 | [diff] [blame] | 15575 | /** |
| 15576 | * Sampler-less Image Access |
| 15577 | */ |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15578 | half4 __purefn __ovld read_imageh(read_only image1d_t image, int coord); |
| 15579 | half4 __purefn __ovld read_imageh(read_only image2d_t image, int2 coord); |
| 15580 | half4 __purefn __ovld read_imageh(read_only image3d_t image, int4 coord); |
| 15581 | half4 __purefn __ovld read_imageh(read_only image1d_array_t image, int2 coord); |
| 15582 | half4 __purefn __ovld read_imageh(read_only image2d_array_t image, int4 coord); |
| 15583 | half4 __purefn __ovld read_imageh(read_only image1d_buffer_t image, int coord); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15584 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15585 | #endif //cl_khr_fp16 |
| 15586 | |
| 15587 | // Image read functions for read_write images |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15588 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15589 | float4 __purefn __ovld read_imagef(read_write image1d_t image, int coord); |
| 15590 | int4 __purefn __ovld read_imagei(read_write image1d_t image, int coord); |
| 15591 | uint4 __purefn __ovld read_imageui(read_write image1d_t image, int coord); |
| 15592 | |
| 15593 | float4 __purefn __ovld read_imagef(read_write image1d_buffer_t image, int coord); |
| 15594 | int4 __purefn __ovld read_imagei(read_write image1d_buffer_t image, int coord); |
| 15595 | uint4 __purefn __ovld read_imageui(read_write image1d_buffer_t image, int coord); |
| 15596 | |
| 15597 | float4 __purefn __ovld read_imagef(read_write image1d_array_t image, int2 coord); |
| 15598 | int4 __purefn __ovld read_imagei(read_write image1d_array_t image, int2 coord); |
| 15599 | uint4 __purefn __ovld read_imageui(read_write image1d_array_t image, int2 coord); |
| 15600 | |
| 15601 | float4 __purefn __ovld read_imagef(read_write image2d_t image, int2 coord); |
| 15602 | int4 __purefn __ovld read_imagei(read_write image2d_t image, int2 coord); |
| 15603 | uint4 __purefn __ovld read_imageui(read_write image2d_t image, int2 coord); |
| 15604 | |
| 15605 | float4 __purefn __ovld read_imagef(read_write image2d_array_t image, int4 coord); |
| 15606 | int4 __purefn __ovld read_imagei(read_write image2d_array_t image, int4 coord); |
| 15607 | uint4 __purefn __ovld read_imageui(read_write image2d_array_t image, int4 coord); |
| 15608 | |
| 15609 | float4 __purefn __ovld read_imagef(read_write image3d_t image, int4 coord); |
| 15610 | int4 __purefn __ovld read_imagei(read_write image3d_t image, int4 coord); |
| 15611 | uint4 __purefn __ovld read_imageui(read_write image3d_t image, int4 coord); |
| 15612 | |
| 15613 | #ifdef cl_khr_depth_images |
| 15614 | float __purefn __ovld read_imagef(read_write image2d_depth_t image, int2 coord); |
| 15615 | float __purefn __ovld read_imagef(read_write image2d_array_depth_t image, int4 coord); |
| 15616 | #endif //cl_khr_depth_images |
| 15617 | |
| 15618 | #if cl_khr_gl_msaa_sharing |
| 15619 | float4 __purefn __ovld read_imagef(read_write image2d_msaa_t image, int2 coord, int sample); |
| 15620 | int4 __purefn __ovld read_imagei(read_write image2d_msaa_t image, int2 coord, int sample); |
| 15621 | uint4 __purefn __ovld read_imageui(read_write image2d_msaa_t image, int2 coord, int sample); |
| 15622 | |
| 15623 | float4 __purefn __ovld read_imagef(read_write image2d_array_msaa_t image, int4 coord, int sample); |
| 15624 | int4 __purefn __ovld read_imagei(read_write image2d_array_msaa_t image, int4 coord, int sample); |
| 15625 | uint4 __purefn __ovld read_imageui(read_write image2d_array_msaa_t image, int4 coord, int sample); |
| 15626 | |
| 15627 | float __purefn __ovld read_imagef(read_write image2d_msaa_depth_t image, int2 coord, int sample); |
| 15628 | float __purefn __ovld read_imagef(read_write image2d_array_msaa_depth_t image, int4 coord, int sample); |
| 15629 | #endif //cl_khr_gl_msaa_sharing |
| 15630 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15631 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15632 | #ifdef cl_khr_mipmap_image |
| 15633 | float4 __purefn __ovld read_imagef(read_write image1d_t image, sampler_t sampler, float coord, float lod); |
| 15634 | int4 __purefn __ovld read_imagei(read_write image1d_t image, sampler_t sampler, float coord, float lod); |
| 15635 | uint4 __purefn __ovld read_imageui(read_write image1d_t image, sampler_t sampler, float coord, float lod); |
| 15636 | |
| 15637 | float4 __purefn __ovld read_imagef(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float lod); |
| 15638 | int4 __purefn __ovld read_imagei(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float lod); |
| 15639 | uint4 __purefn __ovld read_imageui(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float lod); |
| 15640 | |
| 15641 | float4 __purefn __ovld read_imagef(read_write image2d_t image, sampler_t sampler, float2 coord, float lod); |
| 15642 | int4 __purefn __ovld read_imagei(read_write image2d_t image, sampler_t sampler, float2 coord, float lod); |
| 15643 | uint4 __purefn __ovld read_imageui(read_write image2d_t image, sampler_t sampler, float2 coord, float lod); |
| 15644 | |
| 15645 | float __purefn __ovld read_imagef(read_write image2d_depth_t image, sampler_t sampler, float2 coord, float lod); |
| 15646 | |
| 15647 | float4 __purefn __ovld read_imagef(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float lod); |
| 15648 | int4 __purefn __ovld read_imagei(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float lod); |
| 15649 | uint4 __purefn __ovld read_imageui(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float lod); |
| 15650 | |
| 15651 | float __purefn __ovld read_imagef(read_write image2d_array_depth_t image, sampler_t sampler, float4 coord, float lod); |
| 15652 | |
| 15653 | float4 __purefn __ovld read_imagef(read_write image3d_t image, sampler_t sampler, float4 coord, float lod); |
| 15654 | int4 __purefn __ovld read_imagei(read_write image3d_t image, sampler_t sampler, float4 coord, float lod); |
| 15655 | uint4 __purefn __ovld read_imageui(read_write image3d_t image, sampler_t sampler, float4 coord, float lod); |
| 15656 | |
| 15657 | float4 __purefn __ovld read_imagef(read_write image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY); |
| 15658 | int4 __purefn __ovld read_imagei(read_write image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY); |
| 15659 | uint4 __purefn __ovld read_imageui(read_write image1d_t image, sampler_t sampler, float coord, float gradientX, float gradientY); |
| 15660 | |
| 15661 | float4 __purefn __ovld read_imagef(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY); |
| 15662 | int4 __purefn __ovld read_imagei(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY); |
| 15663 | uint4 __purefn __ovld read_imageui(read_write image1d_array_t image_array, sampler_t sampler, float2 coord, float gradientX, float gradientY); |
| 15664 | |
| 15665 | float4 __purefn __ovld read_imagef(read_write image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY); |
| 15666 | int4 __purefn __ovld read_imagei(read_write image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY); |
| 15667 | uint4 __purefn __ovld read_imageui(read_write image2d_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY); |
| 15668 | |
| 15669 | float __purefn __ovld read_imagef(read_write image2d_depth_t image, sampler_t sampler, float2 coord, float2 gradientX, float2 gradientY); |
| 15670 | |
| 15671 | float4 __purefn __ovld read_imagef(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY); |
| 15672 | int4 __purefn __ovld read_imagei(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY); |
| 15673 | uint4 __purefn __ovld read_imageui(read_write image2d_array_t image_array, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY); |
| 15674 | |
| 15675 | float __purefn __ovld read_imagef(read_write image2d_array_depth_t image, sampler_t sampler, float4 coord, float2 gradientX, float2 gradientY); |
| 15676 | |
| 15677 | float4 __purefn __ovld read_imagef(read_write image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY); |
| 15678 | int4 __purefn __ovld read_imagei(read_write image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY); |
| 15679 | uint4 __purefn __ovld read_imageui(read_write image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY); |
| 15680 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15681 | #endif //cl_khr_mipmap_image |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15682 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15683 | |
| 15684 | // Image read functions returning half4 type |
| 15685 | #ifdef cl_khr_fp16 |
| 15686 | half4 __purefn __ovld read_imageh(read_write image1d_t image, int coord); |
| 15687 | half4 __purefn __ovld read_imageh(read_write image2d_t image, int2 coord); |
| 15688 | half4 __purefn __ovld read_imageh(read_write image3d_t image, int4 coord); |
| 15689 | half4 __purefn __ovld read_imageh(read_write image1d_array_t image, int2 coord); |
| 15690 | half4 __purefn __ovld read_imageh(read_write image2d_array_t image, int4 coord); |
| 15691 | half4 __purefn __ovld read_imageh(read_write image1d_buffer_t image, int coord); |
| 15692 | #endif //cl_khr_fp16 |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15693 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15694 | |
| 15695 | /** |
| 15696 | * Write color value to location specified by coordinate |
| 15697 | * (coord.x, coord.y) in the 2D image object specified by image. |
| 15698 | * (coord.x, coord.y) are considered to be unnormalized coordinates |
| 15699 | * and must be in the range 0 ... image width - 1, and 0 |
| 15700 | * ... image height - 1. |
| 15701 | |
| 15702 | * Write color value to location specified by coordinate |
| 15703 | * (coord.x, coord.y) in the 2D image object specified by index |
| 15704 | * (coord.z) of the 2D image array object image_array. |
| 15705 | * (coord.x, coord.y) are considered to be unnormalized |
| 15706 | * coordinates and must be in the range 0 ... image width |
| 15707 | * - 1. |
| 15708 | * |
| 15709 | * Write color value to location specified by coordinate |
| 15710 | * (coord) in the 1D image (buffer) object specified by image. |
| 15711 | * coord is considered to be unnormalized coordinates |
| 15712 | * and must be in the range 0 ... image width - 1. |
| 15713 | * |
| 15714 | * Write color value to location specified by coordinate |
| 15715 | * (coord.x) in the 1D image object specified by index |
| 15716 | * (coord.y) of the 1D image array object image_array. |
| 15717 | * x is considered to be unnormalized coordinates |
| 15718 | * and must be in the range 0 ... image width - 1. |
| 15719 | * |
| 15720 | * Write color value to location specified by coordinate |
| 15721 | * (coord.x, coord.y, coord.z) in the 3D image object specified by image. |
| 15722 | * coord.x & coord.y are considered to be unnormalized coordinates |
| 15723 | * and must be in the range 0 ... image width - 1, and 0 |
| 15724 | * ... image height - 1. |
| 15725 | * |
| 15726 | * For mipmap images, use mip-level specified by lod. |
| 15727 | * |
| 15728 | * Appropriate data format conversion to the specified |
| 15729 | * image format is done before writing the color value. |
| 15730 | * |
| 15731 | * write_imagef can only be used with image objects |
| 15732 | * created with image_channel_data_type set to one of |
| 15733 | * the pre-defined packed formats or set to |
| 15734 | * CL_SNORM_INT8, CL_UNORM_INT8, |
| 15735 | * CL_SNORM_INT16, CL_UNORM_INT16, |
| 15736 | * CL_HALF_FLOAT or CL_FLOAT. Appropriate data |
| 15737 | * format conversion will be done to convert channel |
| 15738 | * data from a floating-point value to actual data format |
| 15739 | * in which the channels are stored. |
| 15740 | * |
| 15741 | * write_imagei can only be used with image objects |
| 15742 | * created with image_channel_data_type set to one of |
| 15743 | * the following values: |
| 15744 | * CL_SIGNED_INT8, |
| 15745 | * CL_SIGNED_INT16 and |
| 15746 | * CL_SIGNED_INT32. |
| 15747 | * |
| 15748 | * write_imageui can only be used with image objects |
| 15749 | * created with image_channel_data_type set to one of |
| 15750 | * the following values: |
| 15751 | * CL_UNSIGNED_INT8, |
| 15752 | * CL_UNSIGNED_INT16 and |
| 15753 | * CL_UNSIGNED_INT32. |
| 15754 | * |
| 15755 | * The behavior of write_imagef, write_imagei and |
| 15756 | * write_imageui for image objects created with |
| 15757 | * image_channel_data_type values not specified in |
| 15758 | * the description above or with (x, y) coordinate |
| 15759 | * values that are not in the range (0 ... image width -1, |
| 15760 | * 0 ... image height - 1), respectively, is undefined. |
| 15761 | */ |
| 15762 | void __ovld write_imagef(write_only image2d_t image, int2 coord, float4 color); |
| 15763 | void __ovld write_imagei(write_only image2d_t image, int2 coord, int4 color); |
| 15764 | void __ovld write_imageui(write_only image2d_t image, int2 coord, uint4 color); |
| 15765 | |
| 15766 | void __ovld write_imagef(write_only image2d_array_t image_array, int4 coord, float4 color); |
| 15767 | void __ovld write_imagei(write_only image2d_array_t image_array, int4 coord, int4 color); |
| 15768 | void __ovld write_imageui(write_only image2d_array_t image_array, int4 coord, uint4 color); |
| 15769 | |
| 15770 | void __ovld write_imagef(write_only image1d_t image, int coord, float4 color); |
| 15771 | void __ovld write_imagei(write_only image1d_t image, int coord, int4 color); |
| 15772 | void __ovld write_imageui(write_only image1d_t image, int coord, uint4 color); |
| 15773 | |
| 15774 | void __ovld write_imagef(write_only image1d_buffer_t image, int coord, float4 color); |
| 15775 | void __ovld write_imagei(write_only image1d_buffer_t image, int coord, int4 color); |
| 15776 | void __ovld write_imageui(write_only image1d_buffer_t image, int coord, uint4 color); |
| 15777 | |
| 15778 | void __ovld write_imagef(write_only image1d_array_t image_array, int2 coord, float4 color); |
| 15779 | void __ovld write_imagei(write_only image1d_array_t image_array, int2 coord, int4 color); |
| 15780 | void __ovld write_imageui(write_only image1d_array_t image_array, int2 coord, uint4 color); |
| 15781 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15782 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15783 | void __ovld write_imagef(write_only image3d_t image, int4 coord, float4 color); |
| 15784 | void __ovld write_imagei(write_only image3d_t image, int4 coord, int4 color); |
| 15785 | void __ovld write_imageui(write_only image3d_t image, int4 coord, uint4 color); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15786 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15787 | |
| 15788 | #ifdef cl_khr_depth_images |
| 15789 | void __ovld write_imagef(write_only image2d_depth_t image, int2 coord, float color); |
| 15790 | void __ovld write_imagef(write_only image2d_array_depth_t image, int4 coord, float color); |
| 15791 | #endif //cl_khr_depth_images |
| 15792 | |
| 15793 | // OpenCL Extension v2.0 s9.18 - Mipmaps |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15794 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Sasha Smundak | 33d5ddd | 2020-05-04 13:37:26 -0700 | [diff] [blame] | 15795 | #if defined(cl_khr_mipmap_image_writes) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15796 | void __ovld write_imagef(write_only image1d_t image, int coord, int lod, float4 color); |
| 15797 | void __ovld write_imagei(write_only image1d_t image, int coord, int lod, int4 color); |
| 15798 | void __ovld write_imageui(write_only image1d_t image, int coord, int lod, uint4 color); |
| 15799 | |
| 15800 | void __ovld write_imagef(write_only image1d_array_t image_array, int2 coord, int lod, float4 color); |
| 15801 | void __ovld write_imagei(write_only image1d_array_t image_array, int2 coord, int lod, int4 color); |
| 15802 | void __ovld write_imageui(write_only image1d_array_t image_array, int2 coord, int lod, uint4 color); |
| 15803 | |
| 15804 | void __ovld write_imagef(write_only image2d_t image, int2 coord, int lod, float4 color); |
| 15805 | void __ovld write_imagei(write_only image2d_t image, int2 coord, int lod, int4 color); |
| 15806 | void __ovld write_imageui(write_only image2d_t image, int2 coord, int lod, uint4 color); |
| 15807 | |
| 15808 | void __ovld write_imagef(write_only image2d_array_t image_array, int4 coord, int lod, float4 color); |
| 15809 | void __ovld write_imagei(write_only image2d_array_t image_array, int4 coord, int lod, int4 color); |
| 15810 | void __ovld write_imageui(write_only image2d_array_t image_array, int4 coord, int lod, uint4 color); |
| 15811 | |
Sasha Smundak | 33d5ddd | 2020-05-04 13:37:26 -0700 | [diff] [blame] | 15812 | void __ovld write_imagef(write_only image2d_depth_t image, int2 coord, int lod, float depth); |
| 15813 | void __ovld write_imagef(write_only image2d_array_depth_t image, int4 coord, int lod, float depth); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15814 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15815 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15816 | void __ovld write_imagef(write_only image3d_t image, int4 coord, int lod, float4 color); |
| 15817 | void __ovld write_imagei(write_only image3d_t image, int4 coord, int lod, int4 color); |
| 15818 | void __ovld write_imageui(write_only image3d_t image, int4 coord, int lod, uint4 color); |
Sasha Smundak | 33d5ddd | 2020-05-04 13:37:26 -0700 | [diff] [blame] | 15819 | #endif //cl_khr_3d_image_writes |
| 15820 | |
| 15821 | #endif //defined(cl_khr_mipmap_image_writes) |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15822 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15823 | |
| 15824 | // Image write functions for half4 type |
| 15825 | #ifdef cl_khr_fp16 |
| 15826 | void __ovld write_imageh(write_only image1d_t image, int coord, half4 color); |
| 15827 | void __ovld write_imageh(write_only image2d_t image, int2 coord, half4 color); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15828 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15829 | void __ovld write_imageh(write_only image3d_t image, int4 coord, half4 color); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15830 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15831 | void __ovld write_imageh(write_only image1d_array_t image, int2 coord, half4 color); |
| 15832 | void __ovld write_imageh(write_only image2d_array_t image, int4 coord, half4 color); |
| 15833 | void __ovld write_imageh(write_only image1d_buffer_t image, int coord, half4 color); |
| 15834 | #endif //cl_khr_fp16 |
| 15835 | |
| 15836 | // Image write functions for read_write images |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15837 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15838 | void __ovld write_imagef(read_write image2d_t image, int2 coord, float4 color); |
| 15839 | void __ovld write_imagei(read_write image2d_t image, int2 coord, int4 color); |
| 15840 | void __ovld write_imageui(read_write image2d_t image, int2 coord, uint4 color); |
| 15841 | |
| 15842 | void __ovld write_imagef(read_write image2d_array_t image_array, int4 coord, float4 color); |
| 15843 | void __ovld write_imagei(read_write image2d_array_t image_array, int4 coord, int4 color); |
| 15844 | void __ovld write_imageui(read_write image2d_array_t image_array, int4 coord, uint4 color); |
| 15845 | |
| 15846 | void __ovld write_imagef(read_write image1d_t image, int coord, float4 color); |
| 15847 | void __ovld write_imagei(read_write image1d_t image, int coord, int4 color); |
| 15848 | void __ovld write_imageui(read_write image1d_t image, int coord, uint4 color); |
| 15849 | |
| 15850 | void __ovld write_imagef(read_write image1d_buffer_t image, int coord, float4 color); |
| 15851 | void __ovld write_imagei(read_write image1d_buffer_t image, int coord, int4 color); |
| 15852 | void __ovld write_imageui(read_write image1d_buffer_t image, int coord, uint4 color); |
| 15853 | |
| 15854 | void __ovld write_imagef(read_write image1d_array_t image_array, int2 coord, float4 color); |
| 15855 | void __ovld write_imagei(read_write image1d_array_t image_array, int2 coord, int4 color); |
| 15856 | void __ovld write_imageui(read_write image1d_array_t image_array, int2 coord, uint4 color); |
| 15857 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15858 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15859 | void __ovld write_imagef(read_write image3d_t image, int4 coord, float4 color); |
| 15860 | void __ovld write_imagei(read_write image3d_t image, int4 coord, int4 color); |
| 15861 | void __ovld write_imageui(read_write image3d_t image, int4 coord, uint4 color); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15862 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15863 | |
| 15864 | #ifdef cl_khr_depth_images |
| 15865 | void __ovld write_imagef(read_write image2d_depth_t image, int2 coord, float color); |
| 15866 | void __ovld write_imagef(read_write image2d_array_depth_t image, int4 coord, float color); |
| 15867 | #endif //cl_khr_depth_images |
| 15868 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15869 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Sasha Smundak | 33d5ddd | 2020-05-04 13:37:26 -0700 | [diff] [blame] | 15870 | #if defined(cl_khr_mipmap_image_writes) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15871 | void __ovld write_imagef(read_write image1d_t image, int coord, int lod, float4 color); |
| 15872 | void __ovld write_imagei(read_write image1d_t image, int coord, int lod, int4 color); |
| 15873 | void __ovld write_imageui(read_write image1d_t image, int coord, int lod, uint4 color); |
| 15874 | |
| 15875 | void __ovld write_imagef(read_write image1d_array_t image_array, int2 coord, int lod, float4 color); |
| 15876 | void __ovld write_imagei(read_write image1d_array_t image_array, int2 coord, int lod, int4 color); |
| 15877 | void __ovld write_imageui(read_write image1d_array_t image_array, int2 coord, int lod, uint4 color); |
| 15878 | |
| 15879 | void __ovld write_imagef(read_write image2d_t image, int2 coord, int lod, float4 color); |
| 15880 | void __ovld write_imagei(read_write image2d_t image, int2 coord, int lod, int4 color); |
| 15881 | void __ovld write_imageui(read_write image2d_t image, int2 coord, int lod, uint4 color); |
| 15882 | |
| 15883 | void __ovld write_imagef(read_write image2d_array_t image_array, int4 coord, int lod, float4 color); |
| 15884 | void __ovld write_imagei(read_write image2d_array_t image_array, int4 coord, int lod, int4 color); |
| 15885 | void __ovld write_imageui(read_write image2d_array_t image_array, int4 coord, int lod, uint4 color); |
| 15886 | |
| 15887 | void __ovld write_imagef(read_write image2d_depth_t image, int2 coord, int lod, float color); |
| 15888 | void __ovld write_imagef(read_write image2d_array_depth_t image, int4 coord, int lod, float color); |
| 15889 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15890 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15891 | void __ovld write_imagef(read_write image3d_t image, int4 coord, int lod, float4 color); |
| 15892 | void __ovld write_imagei(read_write image3d_t image, int4 coord, int lod, int4 color); |
| 15893 | void __ovld write_imageui(read_write image3d_t image, int4 coord, int lod, uint4 color); |
Sasha Smundak | 33d5ddd | 2020-05-04 13:37:26 -0700 | [diff] [blame] | 15894 | #endif //cl_khr_3d_image_writes |
| 15895 | |
| 15896 | #endif //cl_khr_mipmap_image_writes |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15897 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15898 | |
| 15899 | // Image write functions for half4 type |
| 15900 | #ifdef cl_khr_fp16 |
| 15901 | void __ovld write_imageh(read_write image1d_t image, int coord, half4 color); |
| 15902 | void __ovld write_imageh(read_write image2d_t image, int2 coord, half4 color); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15903 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15904 | void __ovld write_imageh(read_write image3d_t image, int4 coord, half4 color); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15905 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15906 | void __ovld write_imageh(read_write image1d_array_t image, int2 coord, half4 color); |
| 15907 | void __ovld write_imageh(read_write image2d_array_t image, int4 coord, half4 color); |
| 15908 | void __ovld write_imageh(read_write image1d_buffer_t image, int coord, half4 color); |
| 15909 | #endif //cl_khr_fp16 |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15910 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15911 | |
| 15912 | // Note: In OpenCL v1.0/1.1/1.2, image argument of image query builtin functions does not have |
| 15913 | // access qualifier, which by default assume read_only access qualifier. Image query builtin |
| 15914 | // functions with write_only image argument should also be declared. |
| 15915 | |
| 15916 | /** |
| 15917 | * Return the image width in pixels. |
| 15918 | * |
| 15919 | */ |
| 15920 | int __ovld __cnfn get_image_width(read_only image1d_t image); |
| 15921 | int __ovld __cnfn get_image_width(read_only image1d_buffer_t image); |
| 15922 | int __ovld __cnfn get_image_width(read_only image2d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15923 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15924 | int __ovld __cnfn get_image_width(read_only image3d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15925 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15926 | int __ovld __cnfn get_image_width(read_only image1d_array_t image); |
| 15927 | int __ovld __cnfn get_image_width(read_only image2d_array_t image); |
| 15928 | #ifdef cl_khr_depth_images |
| 15929 | int __ovld __cnfn get_image_width(read_only image2d_depth_t image); |
| 15930 | int __ovld __cnfn get_image_width(read_only image2d_array_depth_t image); |
| 15931 | #endif //cl_khr_depth_images |
| 15932 | #if defined(cl_khr_gl_msaa_sharing) |
| 15933 | int __ovld __cnfn get_image_width(read_only image2d_msaa_t image); |
| 15934 | int __ovld __cnfn get_image_width(read_only image2d_msaa_depth_t image); |
| 15935 | int __ovld __cnfn get_image_width(read_only image2d_array_msaa_t image); |
| 15936 | int __ovld __cnfn get_image_width(read_only image2d_array_msaa_depth_t image); |
| 15937 | #endif //cl_khr_gl_msaa_sharing |
| 15938 | |
| 15939 | int __ovld __cnfn get_image_width(write_only image1d_t image); |
| 15940 | int __ovld __cnfn get_image_width(write_only image1d_buffer_t image); |
| 15941 | int __ovld __cnfn get_image_width(write_only image2d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15942 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15943 | int __ovld __cnfn get_image_width(write_only image3d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15944 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15945 | int __ovld __cnfn get_image_width(write_only image1d_array_t image); |
| 15946 | int __ovld __cnfn get_image_width(write_only image2d_array_t image); |
| 15947 | #ifdef cl_khr_depth_images |
| 15948 | int __ovld __cnfn get_image_width(write_only image2d_depth_t image); |
| 15949 | int __ovld __cnfn get_image_width(write_only image2d_array_depth_t image); |
| 15950 | #endif //cl_khr_depth_images |
| 15951 | #if defined(cl_khr_gl_msaa_sharing) |
| 15952 | int __ovld __cnfn get_image_width(write_only image2d_msaa_t image); |
| 15953 | int __ovld __cnfn get_image_width(write_only image2d_msaa_depth_t image); |
| 15954 | int __ovld __cnfn get_image_width(write_only image2d_array_msaa_t image); |
| 15955 | int __ovld __cnfn get_image_width(write_only image2d_array_msaa_depth_t image); |
| 15956 | #endif //cl_khr_gl_msaa_sharing |
| 15957 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15958 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15959 | int __ovld __cnfn get_image_width(read_write image1d_t image); |
| 15960 | int __ovld __cnfn get_image_width(read_write image1d_buffer_t image); |
| 15961 | int __ovld __cnfn get_image_width(read_write image2d_t image); |
| 15962 | int __ovld __cnfn get_image_width(read_write image3d_t image); |
| 15963 | int __ovld __cnfn get_image_width(read_write image1d_array_t image); |
| 15964 | int __ovld __cnfn get_image_width(read_write image2d_array_t image); |
| 15965 | #ifdef cl_khr_depth_images |
| 15966 | int __ovld __cnfn get_image_width(read_write image2d_depth_t image); |
| 15967 | int __ovld __cnfn get_image_width(read_write image2d_array_depth_t image); |
| 15968 | #endif //cl_khr_depth_images |
| 15969 | #if defined(cl_khr_gl_msaa_sharing) |
| 15970 | int __ovld __cnfn get_image_width(read_write image2d_msaa_t image); |
| 15971 | int __ovld __cnfn get_image_width(read_write image2d_msaa_depth_t image); |
| 15972 | int __ovld __cnfn get_image_width(read_write image2d_array_msaa_t image); |
| 15973 | int __ovld __cnfn get_image_width(read_write image2d_array_msaa_depth_t image); |
| 15974 | #endif //cl_khr_gl_msaa_sharing |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 15975 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15976 | |
| 15977 | /** |
| 15978 | * Return the image height in pixels. |
| 15979 | */ |
| 15980 | int __ovld __cnfn get_image_height(read_only image2d_t image); |
| 15981 | int __ovld __cnfn get_image_height(read_only image3d_t image); |
| 15982 | int __ovld __cnfn get_image_height(read_only image2d_array_t image); |
| 15983 | #ifdef cl_khr_depth_images |
| 15984 | int __ovld __cnfn get_image_height(read_only image2d_depth_t image); |
| 15985 | int __ovld __cnfn get_image_height(read_only image2d_array_depth_t image); |
| 15986 | #endif //cl_khr_depth_images |
| 15987 | #if defined(cl_khr_gl_msaa_sharing) |
| 15988 | int __ovld __cnfn get_image_height(read_only image2d_msaa_t image); |
| 15989 | int __ovld __cnfn get_image_height(read_only image2d_msaa_depth_t image); |
| 15990 | int __ovld __cnfn get_image_height(read_only image2d_array_msaa_t image); |
| 15991 | int __ovld __cnfn get_image_height(read_only image2d_array_msaa_depth_t image); |
| 15992 | #endif //cl_khr_gl_msaa_sharing |
| 15993 | |
| 15994 | int __ovld __cnfn get_image_height(write_only image2d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15995 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15996 | int __ovld __cnfn get_image_height(write_only image3d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 15997 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 15998 | int __ovld __cnfn get_image_height(write_only image2d_array_t image); |
| 15999 | #ifdef cl_khr_depth_images |
| 16000 | int __ovld __cnfn get_image_height(write_only image2d_depth_t image); |
| 16001 | int __ovld __cnfn get_image_height(write_only image2d_array_depth_t image); |
| 16002 | #endif //cl_khr_depth_images |
| 16003 | #if defined(cl_khr_gl_msaa_sharing) |
| 16004 | int __ovld __cnfn get_image_height(write_only image2d_msaa_t image); |
| 16005 | int __ovld __cnfn get_image_height(write_only image2d_msaa_depth_t image); |
| 16006 | int __ovld __cnfn get_image_height(write_only image2d_array_msaa_t image); |
| 16007 | int __ovld __cnfn get_image_height(write_only image2d_array_msaa_depth_t image); |
| 16008 | #endif //cl_khr_gl_msaa_sharing |
| 16009 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16010 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16011 | int __ovld __cnfn get_image_height(read_write image2d_t image); |
| 16012 | int __ovld __cnfn get_image_height(read_write image3d_t image); |
| 16013 | int __ovld __cnfn get_image_height(read_write image2d_array_t image); |
| 16014 | #ifdef cl_khr_depth_images |
| 16015 | int __ovld __cnfn get_image_height(read_write image2d_depth_t image); |
| 16016 | int __ovld __cnfn get_image_height(read_write image2d_array_depth_t image); |
| 16017 | #endif //cl_khr_depth_images |
| 16018 | #if defined(cl_khr_gl_msaa_sharing) |
| 16019 | int __ovld __cnfn get_image_height(read_write image2d_msaa_t image); |
| 16020 | int __ovld __cnfn get_image_height(read_write image2d_msaa_depth_t image); |
| 16021 | int __ovld __cnfn get_image_height(read_write image2d_array_msaa_t image); |
| 16022 | int __ovld __cnfn get_image_height(read_write image2d_array_msaa_depth_t image); |
| 16023 | #endif //cl_khr_gl_msaa_sharing |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16024 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16025 | |
| 16026 | /** |
| 16027 | * Return the image depth in pixels. |
| 16028 | */ |
| 16029 | int __ovld __cnfn get_image_depth(read_only image3d_t image); |
| 16030 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16031 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16032 | int __ovld __cnfn get_image_depth(write_only image3d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16033 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16034 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16035 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16036 | int __ovld __cnfn get_image_depth(read_write image3d_t image); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16037 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16038 | |
| 16039 | // OpenCL Extension v2.0 s9.18 - Mipmaps |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16040 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16041 | #ifdef cl_khr_mipmap_image |
| 16042 | /** |
| 16043 | * Return the image miplevels. |
| 16044 | */ |
| 16045 | |
| 16046 | int __ovld get_image_num_mip_levels(read_only image1d_t image); |
| 16047 | int __ovld get_image_num_mip_levels(read_only image2d_t image); |
| 16048 | int __ovld get_image_num_mip_levels(read_only image3d_t image); |
| 16049 | |
| 16050 | int __ovld get_image_num_mip_levels(write_only image1d_t image); |
| 16051 | int __ovld get_image_num_mip_levels(write_only image2d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16052 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16053 | int __ovld get_image_num_mip_levels(write_only image3d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16054 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16055 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16056 | int __ovld get_image_num_mip_levels(read_write image1d_t image); |
| 16057 | int __ovld get_image_num_mip_levels(read_write image2d_t image); |
| 16058 | int __ovld get_image_num_mip_levels(read_write image3d_t image); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16059 | |
| 16060 | int __ovld get_image_num_mip_levels(read_only image1d_array_t image); |
| 16061 | int __ovld get_image_num_mip_levels(read_only image2d_array_t image); |
| 16062 | int __ovld get_image_num_mip_levels(read_only image2d_array_depth_t image); |
| 16063 | int __ovld get_image_num_mip_levels(read_only image2d_depth_t image); |
| 16064 | |
| 16065 | int __ovld get_image_num_mip_levels(write_only image1d_array_t image); |
| 16066 | int __ovld get_image_num_mip_levels(write_only image2d_array_t image); |
| 16067 | int __ovld get_image_num_mip_levels(write_only image2d_array_depth_t image); |
| 16068 | int __ovld get_image_num_mip_levels(write_only image2d_depth_t image); |
| 16069 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16070 | int __ovld get_image_num_mip_levels(read_write image1d_array_t image); |
| 16071 | int __ovld get_image_num_mip_levels(read_write image2d_array_t image); |
| 16072 | int __ovld get_image_num_mip_levels(read_write image2d_array_depth_t image); |
| 16073 | int __ovld get_image_num_mip_levels(read_write image2d_depth_t image); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16074 | |
| 16075 | #endif //cl_khr_mipmap_image |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16076 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16077 | |
| 16078 | /** |
| 16079 | * Return the channel data type. Valid values are: |
| 16080 | * CLK_SNORM_INT8 |
| 16081 | * CLK_SNORM_INT16 |
| 16082 | * CLK_UNORM_INT8 |
| 16083 | * CLK_UNORM_INT16 |
| 16084 | * CLK_UNORM_SHORT_565 |
| 16085 | * CLK_UNORM_SHORT_555 |
| 16086 | * CLK_UNORM_SHORT_101010 |
| 16087 | * CLK_SIGNED_INT8 |
| 16088 | * CLK_SIGNED_INT16 |
| 16089 | * CLK_SIGNED_INT32 |
| 16090 | * CLK_UNSIGNED_INT8 |
| 16091 | * CLK_UNSIGNED_INT16 |
| 16092 | * CLK_UNSIGNED_INT32 |
| 16093 | * CLK_HALF_FLOAT |
| 16094 | * CLK_FLOAT |
| 16095 | */ |
| 16096 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16097 | int __ovld __cnfn get_image_channel_data_type(read_only image1d_t image); |
| 16098 | int __ovld __cnfn get_image_channel_data_type(read_only image1d_buffer_t image); |
| 16099 | int __ovld __cnfn get_image_channel_data_type(read_only image2d_t image); |
| 16100 | int __ovld __cnfn get_image_channel_data_type(read_only image3d_t image); |
| 16101 | int __ovld __cnfn get_image_channel_data_type(read_only image1d_array_t image); |
| 16102 | int __ovld __cnfn get_image_channel_data_type(read_only image2d_array_t image); |
| 16103 | #ifdef cl_khr_depth_images |
| 16104 | int __ovld __cnfn get_image_channel_data_type(read_only image2d_depth_t image); |
| 16105 | int __ovld __cnfn get_image_channel_data_type(read_only image2d_array_depth_t image); |
| 16106 | #endif //cl_khr_depth_images |
| 16107 | #if defined(cl_khr_gl_msaa_sharing) |
| 16108 | int __ovld __cnfn get_image_channel_data_type(read_only image2d_msaa_t image); |
| 16109 | int __ovld __cnfn get_image_channel_data_type(read_only image2d_msaa_depth_t image); |
| 16110 | int __ovld __cnfn get_image_channel_data_type(read_only image2d_array_msaa_t image); |
| 16111 | int __ovld __cnfn get_image_channel_data_type(read_only image2d_array_msaa_depth_t image); |
| 16112 | #endif //cl_khr_gl_msaa_sharing |
| 16113 | |
| 16114 | int __ovld __cnfn get_image_channel_data_type(write_only image1d_t image); |
| 16115 | int __ovld __cnfn get_image_channel_data_type(write_only image1d_buffer_t image); |
| 16116 | int __ovld __cnfn get_image_channel_data_type(write_only image2d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16117 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16118 | int __ovld __cnfn get_image_channel_data_type(write_only image3d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16119 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16120 | int __ovld __cnfn get_image_channel_data_type(write_only image1d_array_t image); |
| 16121 | int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_t image); |
| 16122 | #ifdef cl_khr_depth_images |
| 16123 | int __ovld __cnfn get_image_channel_data_type(write_only image2d_depth_t image); |
| 16124 | int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_depth_t image); |
| 16125 | #endif //cl_khr_depth_images |
| 16126 | #if defined(cl_khr_gl_msaa_sharing) |
| 16127 | int __ovld __cnfn get_image_channel_data_type(write_only image2d_msaa_t image); |
| 16128 | int __ovld __cnfn get_image_channel_data_type(write_only image2d_msaa_depth_t image); |
| 16129 | int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_msaa_t image); |
| 16130 | int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_msaa_depth_t image); |
| 16131 | #endif //cl_khr_gl_msaa_sharing |
| 16132 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16133 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16134 | int __ovld __cnfn get_image_channel_data_type(read_write image1d_t image); |
| 16135 | int __ovld __cnfn get_image_channel_data_type(read_write image1d_buffer_t image); |
| 16136 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_t image); |
| 16137 | int __ovld __cnfn get_image_channel_data_type(read_write image3d_t image); |
| 16138 | int __ovld __cnfn get_image_channel_data_type(read_write image1d_array_t image); |
| 16139 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_t image); |
| 16140 | #ifdef cl_khr_depth_images |
| 16141 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_depth_t image); |
| 16142 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_depth_t image); |
| 16143 | #endif //cl_khr_depth_images |
| 16144 | #if defined(cl_khr_gl_msaa_sharing) |
| 16145 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_msaa_t image); |
| 16146 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_msaa_depth_t image); |
| 16147 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_t image); |
| 16148 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_depth_t image); |
| 16149 | #endif //cl_khr_gl_msaa_sharing |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16150 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16151 | |
| 16152 | /** |
| 16153 | * Return the image channel order. Valid values are: |
| 16154 | * CLK_A |
| 16155 | * CLK_R |
| 16156 | * CLK_Rx |
| 16157 | * CLK_RG |
| 16158 | * CLK_RGx |
| 16159 | * CLK_RA |
| 16160 | * CLK_RGB |
| 16161 | * CLK_RGBx |
| 16162 | * CLK_RGBA |
| 16163 | * CLK_ARGB |
| 16164 | * CLK_BGRA |
| 16165 | * CLK_INTENSITY |
| 16166 | * CLK_LUMINANCE |
| 16167 | */ |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16168 | |
| 16169 | int __ovld __cnfn get_image_channel_order(read_only image1d_t image); |
| 16170 | int __ovld __cnfn get_image_channel_order(read_only image1d_buffer_t image); |
| 16171 | int __ovld __cnfn get_image_channel_order(read_only image2d_t image); |
| 16172 | int __ovld __cnfn get_image_channel_order(read_only image3d_t image); |
| 16173 | int __ovld __cnfn get_image_channel_order(read_only image1d_array_t image); |
| 16174 | int __ovld __cnfn get_image_channel_order(read_only image2d_array_t image); |
| 16175 | #ifdef cl_khr_depth_images |
| 16176 | int __ovld __cnfn get_image_channel_order(read_only image2d_depth_t image); |
| 16177 | int __ovld __cnfn get_image_channel_order(read_only image2d_array_depth_t image); |
| 16178 | #endif //cl_khr_depth_images |
| 16179 | #if defined(cl_khr_gl_msaa_sharing) |
| 16180 | int __ovld __cnfn get_image_channel_order(read_only image2d_msaa_t image); |
| 16181 | int __ovld __cnfn get_image_channel_order(read_only image2d_msaa_depth_t image); |
| 16182 | int __ovld __cnfn get_image_channel_order(read_only image2d_array_msaa_t image); |
| 16183 | int __ovld __cnfn get_image_channel_order(read_only image2d_array_msaa_depth_t image); |
| 16184 | #endif //cl_khr_gl_msaa_sharing |
| 16185 | |
| 16186 | int __ovld __cnfn get_image_channel_order(write_only image1d_t image); |
| 16187 | int __ovld __cnfn get_image_channel_order(write_only image1d_buffer_t image); |
| 16188 | int __ovld __cnfn get_image_channel_order(write_only image2d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16189 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16190 | int __ovld __cnfn get_image_channel_order(write_only image3d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16191 | #endif |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16192 | int __ovld __cnfn get_image_channel_order(write_only image1d_array_t image); |
| 16193 | int __ovld __cnfn get_image_channel_order(write_only image2d_array_t image); |
| 16194 | #ifdef cl_khr_depth_images |
| 16195 | int __ovld __cnfn get_image_channel_order(write_only image2d_depth_t image); |
| 16196 | int __ovld __cnfn get_image_channel_order(write_only image2d_array_depth_t image); |
| 16197 | #endif //cl_khr_depth_images |
| 16198 | #if defined(cl_khr_gl_msaa_sharing) |
| 16199 | int __ovld __cnfn get_image_channel_order(write_only image2d_msaa_t image); |
| 16200 | int __ovld __cnfn get_image_channel_order(write_only image2d_msaa_depth_t image); |
| 16201 | int __ovld __cnfn get_image_channel_order(write_only image2d_array_msaa_t image); |
| 16202 | int __ovld __cnfn get_image_channel_order(write_only image2d_array_msaa_depth_t image); |
| 16203 | #endif //cl_khr_gl_msaa_sharing |
| 16204 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16205 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16206 | int __ovld __cnfn get_image_channel_order(read_write image1d_t image); |
| 16207 | int __ovld __cnfn get_image_channel_order(read_write image1d_buffer_t image); |
| 16208 | int __ovld __cnfn get_image_channel_order(read_write image2d_t image); |
| 16209 | int __ovld __cnfn get_image_channel_order(read_write image3d_t image); |
| 16210 | int __ovld __cnfn get_image_channel_order(read_write image1d_array_t image); |
| 16211 | int __ovld __cnfn get_image_channel_order(read_write image2d_array_t image); |
| 16212 | #ifdef cl_khr_depth_images |
| 16213 | int __ovld __cnfn get_image_channel_order(read_write image2d_depth_t image); |
| 16214 | int __ovld __cnfn get_image_channel_order(read_write image2d_array_depth_t image); |
| 16215 | #endif //cl_khr_depth_images |
| 16216 | #if defined(cl_khr_gl_msaa_sharing) |
| 16217 | int __ovld __cnfn get_image_channel_order(read_write image2d_msaa_t image); |
| 16218 | int __ovld __cnfn get_image_channel_order(read_write image2d_msaa_depth_t image); |
| 16219 | int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_t image); |
| 16220 | int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_depth_t image); |
| 16221 | #endif //cl_khr_gl_msaa_sharing |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16222 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16223 | |
| 16224 | /** |
| 16225 | * Return the 2D image width and height as an int2 |
| 16226 | * type. The width is returned in the x component, and |
| 16227 | * the height in the y component. |
| 16228 | */ |
| 16229 | int2 __ovld __cnfn get_image_dim(read_only image2d_t image); |
| 16230 | int2 __ovld __cnfn get_image_dim(read_only image2d_array_t image); |
| 16231 | #ifdef cl_khr_depth_images |
| 16232 | int2 __ovld __cnfn get_image_dim(read_only image2d_array_depth_t image); |
| 16233 | int2 __ovld __cnfn get_image_dim(read_only image2d_depth_t image); |
| 16234 | #endif //cl_khr_depth_images |
| 16235 | #if defined(cl_khr_gl_msaa_sharing) |
| 16236 | int2 __ovld __cnfn get_image_dim(read_only image2d_msaa_t image); |
| 16237 | int2 __ovld __cnfn get_image_dim(read_only image2d_msaa_depth_t image); |
| 16238 | int2 __ovld __cnfn get_image_dim(read_only image2d_array_msaa_t image); |
| 16239 | int2 __ovld __cnfn get_image_dim(read_only image2d_array_msaa_depth_t image); |
| 16240 | #endif //cl_khr_gl_msaa_sharing |
| 16241 | |
| 16242 | int2 __ovld __cnfn get_image_dim(write_only image2d_t image); |
| 16243 | int2 __ovld __cnfn get_image_dim(write_only image2d_array_t image); |
| 16244 | #ifdef cl_khr_depth_images |
| 16245 | int2 __ovld __cnfn get_image_dim(write_only image2d_array_depth_t image); |
| 16246 | int2 __ovld __cnfn get_image_dim(write_only image2d_depth_t image); |
| 16247 | #endif //cl_khr_depth_images |
| 16248 | #if defined(cl_khr_gl_msaa_sharing) |
| 16249 | int2 __ovld __cnfn get_image_dim(write_only image2d_msaa_t image); |
| 16250 | int2 __ovld __cnfn get_image_dim(write_only image2d_msaa_depth_t image); |
| 16251 | int2 __ovld __cnfn get_image_dim(write_only image2d_array_msaa_t image); |
| 16252 | int2 __ovld __cnfn get_image_dim(write_only image2d_array_msaa_depth_t image); |
| 16253 | #endif //cl_khr_gl_msaa_sharing |
| 16254 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16255 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16256 | int2 __ovld __cnfn get_image_dim(read_write image2d_t image); |
| 16257 | int2 __ovld __cnfn get_image_dim(read_write image2d_array_t image); |
| 16258 | #ifdef cl_khr_depth_images |
| 16259 | int2 __ovld __cnfn get_image_dim(read_write image2d_array_depth_t image); |
| 16260 | int2 __ovld __cnfn get_image_dim(read_write image2d_depth_t image); |
| 16261 | #endif //cl_khr_depth_images |
| 16262 | #if defined(cl_khr_gl_msaa_sharing) |
| 16263 | int2 __ovld __cnfn get_image_dim(read_write image2d_msaa_t image); |
| 16264 | int2 __ovld __cnfn get_image_dim(read_write image2d_msaa_depth_t image); |
| 16265 | int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_t image); |
| 16266 | int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_depth_t image); |
| 16267 | #endif //cl_khr_gl_msaa_sharing |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16268 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16269 | |
| 16270 | /** |
| 16271 | * Return the 3D image width, height, and depth as an |
| 16272 | * int4 type. The width is returned in the x |
| 16273 | * component, height in the y component, depth in the z |
| 16274 | * component and the w component is 0. |
| 16275 | */ |
| 16276 | int4 __ovld __cnfn get_image_dim(read_only image3d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16277 | #ifdef cl_khr_3d_image_writes |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16278 | int4 __ovld __cnfn get_image_dim(write_only image3d_t image); |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16279 | #endif |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16280 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16281 | int4 __ovld __cnfn get_image_dim(read_write image3d_t image); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16282 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16283 | |
| 16284 | /** |
| 16285 | * Return the image array size. |
| 16286 | */ |
| 16287 | |
| 16288 | size_t __ovld __cnfn get_image_array_size(read_only image1d_array_t image_array); |
| 16289 | size_t __ovld __cnfn get_image_array_size(read_only image2d_array_t image_array); |
| 16290 | #ifdef cl_khr_depth_images |
| 16291 | size_t __ovld __cnfn get_image_array_size(read_only image2d_array_depth_t image_array); |
| 16292 | #endif //cl_khr_depth_images |
| 16293 | #if defined(cl_khr_gl_msaa_sharing) |
| 16294 | size_t __ovld __cnfn get_image_array_size(read_only image2d_array_msaa_t image_array); |
| 16295 | size_t __ovld __cnfn get_image_array_size(read_only image2d_array_msaa_depth_t image_array); |
| 16296 | #endif //cl_khr_gl_msaa_sharing |
| 16297 | |
| 16298 | size_t __ovld __cnfn get_image_array_size(write_only image1d_array_t image_array); |
| 16299 | size_t __ovld __cnfn get_image_array_size(write_only image2d_array_t image_array); |
| 16300 | #ifdef cl_khr_depth_images |
| 16301 | size_t __ovld __cnfn get_image_array_size(write_only image2d_array_depth_t image_array); |
| 16302 | #endif //cl_khr_depth_images |
| 16303 | #if defined(cl_khr_gl_msaa_sharing) |
| 16304 | size_t __ovld __cnfn get_image_array_size(write_only image2d_array_msaa_t image_array); |
| 16305 | size_t __ovld __cnfn get_image_array_size(write_only image2d_array_msaa_depth_t image_array); |
| 16306 | #endif //cl_khr_gl_msaa_sharing |
| 16307 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16308 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16309 | size_t __ovld __cnfn get_image_array_size(read_write image1d_array_t image_array); |
| 16310 | size_t __ovld __cnfn get_image_array_size(read_write image2d_array_t image_array); |
| 16311 | #ifdef cl_khr_depth_images |
| 16312 | size_t __ovld __cnfn get_image_array_size(read_write image2d_array_depth_t image_array); |
| 16313 | #endif //cl_khr_depth_images |
| 16314 | #if defined(cl_khr_gl_msaa_sharing) |
| 16315 | size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_t image_array); |
| 16316 | size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_depth_t image_array); |
| 16317 | #endif //cl_khr_gl_msaa_sharing |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16318 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16319 | |
| 16320 | /** |
| 16321 | * Return the number of samples associated with image |
| 16322 | */ |
| 16323 | #if defined(cl_khr_gl_msaa_sharing) |
| 16324 | int __ovld get_image_num_samples(read_only image2d_msaa_t image); |
| 16325 | int __ovld get_image_num_samples(read_only image2d_msaa_depth_t image); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16326 | int __ovld get_image_num_samples(read_only image2d_array_msaa_t image); |
| 16327 | int __ovld get_image_num_samples(read_only image2d_array_msaa_depth_t image); |
| 16328 | |
| 16329 | int __ovld get_image_num_samples(write_only image2d_msaa_t image); |
| 16330 | int __ovld get_image_num_samples(write_only image2d_msaa_depth_t image); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16331 | int __ovld get_image_num_samples(write_only image2d_array_msaa_t image); |
| 16332 | int __ovld get_image_num_samples(write_only image2d_array_msaa_depth_t image); |
| 16333 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16334 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16335 | int __ovld get_image_num_samples(read_write image2d_msaa_t image); |
| 16336 | int __ovld get_image_num_samples(read_write image2d_msaa_depth_t image); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16337 | int __ovld get_image_num_samples(read_write image2d_array_msaa_t image); |
| 16338 | int __ovld get_image_num_samples(read_write image2d_array_msaa_depth_t image); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16339 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16340 | #endif |
| 16341 | |
| 16342 | // OpenCL v2.0 s6.13.15 - Work-group Functions |
| 16343 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 16344 | #if defined(__opencl_c_work_group_collective_functions) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16345 | int __ovld __conv work_group_all(int predicate); |
| 16346 | int __ovld __conv work_group_any(int predicate); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16347 | |
| 16348 | #ifdef cl_khr_fp16 |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16349 | half __ovld __conv work_group_broadcast(half a, size_t local_id); |
| 16350 | half __ovld __conv work_group_broadcast(half a, size_t x, size_t y); |
| 16351 | half __ovld __conv work_group_broadcast(half a, size_t x, size_t y, size_t z); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16352 | #endif |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16353 | int __ovld __conv work_group_broadcast(int a, size_t local_id); |
| 16354 | int __ovld __conv work_group_broadcast(int a, size_t x, size_t y); |
| 16355 | int __ovld __conv work_group_broadcast(int a, size_t x, size_t y, size_t z); |
| 16356 | uint __ovld __conv work_group_broadcast(uint a, size_t local_id); |
| 16357 | uint __ovld __conv work_group_broadcast(uint a, size_t x, size_t y); |
| 16358 | uint __ovld __conv work_group_broadcast(uint a, size_t x, size_t y, size_t z); |
| 16359 | long __ovld __conv work_group_broadcast(long a, size_t local_id); |
| 16360 | long __ovld __conv work_group_broadcast(long a, size_t x, size_t y); |
| 16361 | long __ovld __conv work_group_broadcast(long a, size_t x, size_t y, size_t z); |
| 16362 | ulong __ovld __conv work_group_broadcast(ulong a, size_t local_id); |
| 16363 | ulong __ovld __conv work_group_broadcast(ulong a, size_t x, size_t y); |
| 16364 | ulong __ovld __conv work_group_broadcast(ulong a, size_t x, size_t y, size_t z); |
| 16365 | float __ovld __conv work_group_broadcast(float a, size_t local_id); |
| 16366 | float __ovld __conv work_group_broadcast(float a, size_t x, size_t y); |
| 16367 | float __ovld __conv work_group_broadcast(float a, size_t x, size_t y, size_t z); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16368 | #ifdef cl_khr_fp64 |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16369 | double __ovld __conv work_group_broadcast(double a, size_t local_id); |
| 16370 | double __ovld __conv work_group_broadcast(double a, size_t x, size_t y); |
| 16371 | double __ovld __conv work_group_broadcast(double a, size_t x, size_t y, size_t z); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16372 | #endif //cl_khr_fp64 |
| 16373 | |
| 16374 | #ifdef cl_khr_fp16 |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16375 | half __ovld __conv work_group_reduce_add(half x); |
| 16376 | half __ovld __conv work_group_reduce_min(half x); |
| 16377 | half __ovld __conv work_group_reduce_max(half x); |
| 16378 | half __ovld __conv work_group_scan_exclusive_add(half x); |
| 16379 | half __ovld __conv work_group_scan_exclusive_min(half x); |
| 16380 | half __ovld __conv work_group_scan_exclusive_max(half x); |
| 16381 | half __ovld __conv work_group_scan_inclusive_add(half x); |
| 16382 | half __ovld __conv work_group_scan_inclusive_min(half x); |
| 16383 | half __ovld __conv work_group_scan_inclusive_max(half x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16384 | #endif |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16385 | int __ovld __conv work_group_reduce_add(int x); |
| 16386 | int __ovld __conv work_group_reduce_min(int x); |
| 16387 | int __ovld __conv work_group_reduce_max(int x); |
| 16388 | int __ovld __conv work_group_scan_exclusive_add(int x); |
| 16389 | int __ovld __conv work_group_scan_exclusive_min(int x); |
| 16390 | int __ovld __conv work_group_scan_exclusive_max(int x); |
| 16391 | int __ovld __conv work_group_scan_inclusive_add(int x); |
| 16392 | int __ovld __conv work_group_scan_inclusive_min(int x); |
| 16393 | int __ovld __conv work_group_scan_inclusive_max(int x); |
| 16394 | uint __ovld __conv work_group_reduce_add(uint x); |
| 16395 | uint __ovld __conv work_group_reduce_min(uint x); |
| 16396 | uint __ovld __conv work_group_reduce_max(uint x); |
| 16397 | uint __ovld __conv work_group_scan_exclusive_add(uint x); |
| 16398 | uint __ovld __conv work_group_scan_exclusive_min(uint x); |
| 16399 | uint __ovld __conv work_group_scan_exclusive_max(uint x); |
| 16400 | uint __ovld __conv work_group_scan_inclusive_add(uint x); |
| 16401 | uint __ovld __conv work_group_scan_inclusive_min(uint x); |
| 16402 | uint __ovld __conv work_group_scan_inclusive_max(uint x); |
| 16403 | long __ovld __conv work_group_reduce_add(long x); |
| 16404 | long __ovld __conv work_group_reduce_min(long x); |
| 16405 | long __ovld __conv work_group_reduce_max(long x); |
| 16406 | long __ovld __conv work_group_scan_exclusive_add(long x); |
| 16407 | long __ovld __conv work_group_scan_exclusive_min(long x); |
| 16408 | long __ovld __conv work_group_scan_exclusive_max(long x); |
| 16409 | long __ovld __conv work_group_scan_inclusive_add(long x); |
| 16410 | long __ovld __conv work_group_scan_inclusive_min(long x); |
| 16411 | long __ovld __conv work_group_scan_inclusive_max(long x); |
| 16412 | ulong __ovld __conv work_group_reduce_add(ulong x); |
| 16413 | ulong __ovld __conv work_group_reduce_min(ulong x); |
| 16414 | ulong __ovld __conv work_group_reduce_max(ulong x); |
| 16415 | ulong __ovld __conv work_group_scan_exclusive_add(ulong x); |
| 16416 | ulong __ovld __conv work_group_scan_exclusive_min(ulong x); |
| 16417 | ulong __ovld __conv work_group_scan_exclusive_max(ulong x); |
| 16418 | ulong __ovld __conv work_group_scan_inclusive_add(ulong x); |
| 16419 | ulong __ovld __conv work_group_scan_inclusive_min(ulong x); |
| 16420 | ulong __ovld __conv work_group_scan_inclusive_max(ulong x); |
| 16421 | float __ovld __conv work_group_reduce_add(float x); |
| 16422 | float __ovld __conv work_group_reduce_min(float x); |
| 16423 | float __ovld __conv work_group_reduce_max(float x); |
| 16424 | float __ovld __conv work_group_scan_exclusive_add(float x); |
| 16425 | float __ovld __conv work_group_scan_exclusive_min(float x); |
| 16426 | float __ovld __conv work_group_scan_exclusive_max(float x); |
| 16427 | float __ovld __conv work_group_scan_inclusive_add(float x); |
| 16428 | float __ovld __conv work_group_scan_inclusive_min(float x); |
| 16429 | float __ovld __conv work_group_scan_inclusive_max(float x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16430 | #ifdef cl_khr_fp64 |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16431 | double __ovld __conv work_group_reduce_add(double x); |
| 16432 | double __ovld __conv work_group_reduce_min(double x); |
| 16433 | double __ovld __conv work_group_reduce_max(double x); |
| 16434 | double __ovld __conv work_group_scan_exclusive_add(double x); |
| 16435 | double __ovld __conv work_group_scan_exclusive_min(double x); |
| 16436 | double __ovld __conv work_group_scan_exclusive_max(double x); |
| 16437 | double __ovld __conv work_group_scan_inclusive_add(double x); |
| 16438 | double __ovld __conv work_group_scan_inclusive_min(double x); |
| 16439 | double __ovld __conv work_group_scan_inclusive_max(double x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16440 | #endif //cl_khr_fp64 |
| 16441 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 16442 | #endif //defined(__opencl_c_work_group_collective_functions) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16443 | |
| 16444 | // OpenCL v2.0 s6.13.16 - Pipe Functions |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 16445 | #if defined(__opencl_c_pipes) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16446 | bool __ovld is_valid_reserve_id(reserve_id_t reserve_id); |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 16447 | #endif //defined(__opencl_c_pipes) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16448 | |
| 16449 | |
| 16450 | // OpenCL v2.0 s6.13.17 - Enqueue Kernels |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16451 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16452 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16453 | ndrange_t __ovld ndrange_1D(size_t); |
| 16454 | ndrange_t __ovld ndrange_1D(size_t, size_t); |
| 16455 | ndrange_t __ovld ndrange_1D(size_t, size_t, size_t); |
| 16456 | |
| 16457 | ndrange_t __ovld ndrange_2D(const size_t[2]); |
| 16458 | ndrange_t __ovld ndrange_2D(const size_t[2], const size_t[2]); |
| 16459 | ndrange_t __ovld ndrange_2D(const size_t[2], const size_t[2], const size_t[2]); |
| 16460 | |
| 16461 | ndrange_t __ovld ndrange_3D(const size_t[3]); |
| 16462 | ndrange_t __ovld ndrange_3D(const size_t[3], const size_t[3]); |
| 16463 | ndrange_t __ovld ndrange_3D(const size_t[3], const size_t[3], const size_t[3]); |
| 16464 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16465 | int __ovld enqueue_marker(queue_t, uint, const clk_event_t*, clk_event_t*); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16466 | |
| 16467 | void __ovld retain_event(clk_event_t); |
| 16468 | |
| 16469 | void __ovld release_event(clk_event_t); |
| 16470 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16471 | clk_event_t __ovld create_user_event(void); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16472 | |
| 16473 | void __ovld set_user_event_status(clk_event_t e, int state); |
| 16474 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16475 | bool __ovld is_valid_event (clk_event_t event); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16476 | |
| 16477 | void __ovld capture_event_profiling_info(clk_event_t, clk_profiling_info, __global void* value); |
| 16478 | |
| 16479 | queue_t __ovld get_default_queue(void); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16480 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16481 | |
| 16482 | // OpenCL Extension v2.0 s9.17 - Sub-groups |
| 16483 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 16484 | #if defined(cl_intel_subgroups) || defined(cl_khr_subgroups) || defined(__opencl_c_subgroups) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16485 | // Shared Sub Group Functions |
| 16486 | uint __ovld get_sub_group_size(void); |
| 16487 | uint __ovld get_max_sub_group_size(void); |
| 16488 | uint __ovld get_num_sub_groups(void); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16489 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16490 | uint __ovld get_enqueued_num_sub_groups(void); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16491 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16492 | uint __ovld get_sub_group_id(void); |
| 16493 | uint __ovld get_sub_group_local_id(void); |
| 16494 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16495 | void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16496 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16497 | void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags, memory_scope scope); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 16498 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16499 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16500 | int __ovld __conv sub_group_all(int predicate); |
| 16501 | int __ovld __conv sub_group_any(int predicate); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16502 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16503 | int __ovld __conv sub_group_broadcast(int x, uint sub_group_local_id); |
| 16504 | uint __ovld __conv sub_group_broadcast(uint x, uint sub_group_local_id); |
| 16505 | long __ovld __conv sub_group_broadcast(long x, uint sub_group_local_id); |
| 16506 | ulong __ovld __conv sub_group_broadcast(ulong x, uint sub_group_local_id); |
| 16507 | float __ovld __conv sub_group_broadcast(float x, uint sub_group_local_id); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16508 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16509 | int __ovld __conv sub_group_reduce_add(int x); |
| 16510 | uint __ovld __conv sub_group_reduce_add(uint x); |
| 16511 | long __ovld __conv sub_group_reduce_add(long x); |
| 16512 | ulong __ovld __conv sub_group_reduce_add(ulong x); |
| 16513 | float __ovld __conv sub_group_reduce_add(float x); |
| 16514 | int __ovld __conv sub_group_reduce_min(int x); |
| 16515 | uint __ovld __conv sub_group_reduce_min(uint x); |
| 16516 | long __ovld __conv sub_group_reduce_min(long x); |
| 16517 | ulong __ovld __conv sub_group_reduce_min(ulong x); |
| 16518 | float __ovld __conv sub_group_reduce_min(float x); |
| 16519 | int __ovld __conv sub_group_reduce_max(int x); |
| 16520 | uint __ovld __conv sub_group_reduce_max(uint x); |
| 16521 | long __ovld __conv sub_group_reduce_max(long x); |
| 16522 | ulong __ovld __conv sub_group_reduce_max(ulong x); |
| 16523 | float __ovld __conv sub_group_reduce_max(float x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16524 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16525 | int __ovld __conv sub_group_scan_exclusive_add(int x); |
| 16526 | uint __ovld __conv sub_group_scan_exclusive_add(uint x); |
| 16527 | long __ovld __conv sub_group_scan_exclusive_add(long x); |
| 16528 | ulong __ovld __conv sub_group_scan_exclusive_add(ulong x); |
| 16529 | float __ovld __conv sub_group_scan_exclusive_add(float x); |
| 16530 | int __ovld __conv sub_group_scan_exclusive_min(int x); |
| 16531 | uint __ovld __conv sub_group_scan_exclusive_min(uint x); |
| 16532 | long __ovld __conv sub_group_scan_exclusive_min(long x); |
| 16533 | ulong __ovld __conv sub_group_scan_exclusive_min(ulong x); |
| 16534 | float __ovld __conv sub_group_scan_exclusive_min(float x); |
| 16535 | int __ovld __conv sub_group_scan_exclusive_max(int x); |
| 16536 | uint __ovld __conv sub_group_scan_exclusive_max(uint x); |
| 16537 | long __ovld __conv sub_group_scan_exclusive_max(long x); |
| 16538 | ulong __ovld __conv sub_group_scan_exclusive_max(ulong x); |
| 16539 | float __ovld __conv sub_group_scan_exclusive_max(float x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16540 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16541 | int __ovld __conv sub_group_scan_inclusive_add(int x); |
| 16542 | uint __ovld __conv sub_group_scan_inclusive_add(uint x); |
| 16543 | long __ovld __conv sub_group_scan_inclusive_add(long x); |
| 16544 | ulong __ovld __conv sub_group_scan_inclusive_add(ulong x); |
| 16545 | float __ovld __conv sub_group_scan_inclusive_add(float x); |
| 16546 | int __ovld __conv sub_group_scan_inclusive_min(int x); |
| 16547 | uint __ovld __conv sub_group_scan_inclusive_min(uint x); |
| 16548 | long __ovld __conv sub_group_scan_inclusive_min(long x); |
| 16549 | ulong __ovld __conv sub_group_scan_inclusive_min(ulong x); |
| 16550 | float __ovld __conv sub_group_scan_inclusive_min(float x); |
| 16551 | int __ovld __conv sub_group_scan_inclusive_max(int x); |
| 16552 | uint __ovld __conv sub_group_scan_inclusive_max(uint x); |
| 16553 | long __ovld __conv sub_group_scan_inclusive_max(long x); |
| 16554 | ulong __ovld __conv sub_group_scan_inclusive_max(ulong x); |
| 16555 | float __ovld __conv sub_group_scan_inclusive_max(float x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16556 | |
| 16557 | #ifdef cl_khr_fp16 |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16558 | half __ovld __conv sub_group_broadcast(half x, uint sub_group_local_id); |
| 16559 | half __ovld __conv sub_group_reduce_add(half x); |
| 16560 | half __ovld __conv sub_group_reduce_min(half x); |
| 16561 | half __ovld __conv sub_group_reduce_max(half x); |
| 16562 | half __ovld __conv sub_group_scan_exclusive_add(half x); |
| 16563 | half __ovld __conv sub_group_scan_exclusive_min(half x); |
| 16564 | half __ovld __conv sub_group_scan_exclusive_max(half x); |
| 16565 | half __ovld __conv sub_group_scan_inclusive_add(half x); |
| 16566 | half __ovld __conv sub_group_scan_inclusive_min(half x); |
| 16567 | half __ovld __conv sub_group_scan_inclusive_max(half x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16568 | #endif //cl_khr_fp16 |
| 16569 | |
| 16570 | #ifdef cl_khr_fp64 |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 16571 | double __ovld __conv sub_group_broadcast(double x, uint sub_group_local_id); |
| 16572 | double __ovld __conv sub_group_reduce_add(double x); |
| 16573 | double __ovld __conv sub_group_reduce_min(double x); |
| 16574 | double __ovld __conv sub_group_reduce_max(double x); |
| 16575 | double __ovld __conv sub_group_scan_exclusive_add(double x); |
| 16576 | double __ovld __conv sub_group_scan_exclusive_min(double x); |
| 16577 | double __ovld __conv sub_group_scan_exclusive_max(double x); |
| 16578 | double __ovld __conv sub_group_scan_inclusive_add(double x); |
| 16579 | double __ovld __conv sub_group_scan_inclusive_min(double x); |
| 16580 | double __ovld __conv sub_group_scan_inclusive_max(double x); |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16581 | #endif //cl_khr_fp64 |
| 16582 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 16583 | #endif //cl_khr_subgroups cl_intel_subgroups __opencl_c_subgroups |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 16584 | |
Sasha Smundak | 0fc590b | 2020-10-07 08:11:59 -0700 | [diff] [blame] | 16585 | #if defined(cl_khr_subgroup_extended_types) |
| 16586 | char __ovld __conv sub_group_broadcast( char value, uint index ); |
| 16587 | char2 __ovld __conv sub_group_broadcast( char2 value, uint index ); |
| 16588 | char3 __ovld __conv sub_group_broadcast( char3 value, uint index ); |
| 16589 | char4 __ovld __conv sub_group_broadcast( char4 value, uint index ); |
| 16590 | char8 __ovld __conv sub_group_broadcast( char8 value, uint index ); |
| 16591 | char16 __ovld __conv sub_group_broadcast( char16 value, uint index ); |
| 16592 | |
| 16593 | uchar __ovld __conv sub_group_broadcast( uchar value, uint index ); |
| 16594 | uchar2 __ovld __conv sub_group_broadcast( uchar2 value, uint index ); |
| 16595 | uchar3 __ovld __conv sub_group_broadcast( uchar3 value, uint index ); |
| 16596 | uchar4 __ovld __conv sub_group_broadcast( uchar4 value, uint index ); |
| 16597 | uchar8 __ovld __conv sub_group_broadcast( uchar8 value, uint index ); |
| 16598 | uchar16 __ovld __conv sub_group_broadcast( uchar16 value, uint index ); |
| 16599 | |
| 16600 | short __ovld __conv sub_group_broadcast( short value, uint index ); |
| 16601 | short2 __ovld __conv sub_group_broadcast( short2 value, uint index ); |
| 16602 | short3 __ovld __conv sub_group_broadcast( short3 value, uint index ); |
| 16603 | short4 __ovld __conv sub_group_broadcast( short4 value, uint index ); |
| 16604 | short8 __ovld __conv sub_group_broadcast( short8 value, uint index ); |
| 16605 | short16 __ovld __conv sub_group_broadcast( short16 value, uint index ); |
| 16606 | |
| 16607 | ushort __ovld __conv sub_group_broadcast( ushort value, uint index ); |
| 16608 | ushort2 __ovld __conv sub_group_broadcast( ushort2 value, uint index ); |
| 16609 | ushort3 __ovld __conv sub_group_broadcast( ushort3 value, uint index ); |
| 16610 | ushort4 __ovld __conv sub_group_broadcast( ushort4 value, uint index ); |
| 16611 | ushort8 __ovld __conv sub_group_broadcast( ushort8 value, uint index ); |
| 16612 | ushort16 __ovld __conv sub_group_broadcast( ushort16 value, uint index ); |
| 16613 | |
| 16614 | // scalar int broadcast is part of cl_khr_subgroups |
| 16615 | int2 __ovld __conv sub_group_broadcast( int2 value, uint index ); |
| 16616 | int3 __ovld __conv sub_group_broadcast( int3 value, uint index ); |
| 16617 | int4 __ovld __conv sub_group_broadcast( int4 value, uint index ); |
| 16618 | int8 __ovld __conv sub_group_broadcast( int8 value, uint index ); |
| 16619 | int16 __ovld __conv sub_group_broadcast( int16 value, uint index ); |
| 16620 | |
| 16621 | // scalar uint broadcast is part of cl_khr_subgroups |
| 16622 | uint2 __ovld __conv sub_group_broadcast( uint2 value, uint index ); |
| 16623 | uint3 __ovld __conv sub_group_broadcast( uint3 value, uint index ); |
| 16624 | uint4 __ovld __conv sub_group_broadcast( uint4 value, uint index ); |
| 16625 | uint8 __ovld __conv sub_group_broadcast( uint8 value, uint index ); |
| 16626 | uint16 __ovld __conv sub_group_broadcast( uint16 value, uint index ); |
| 16627 | |
| 16628 | // scalar long broadcast is part of cl_khr_subgroups |
| 16629 | long2 __ovld __conv sub_group_broadcast( long2 value, uint index ); |
| 16630 | long3 __ovld __conv sub_group_broadcast( long3 value, uint index ); |
| 16631 | long4 __ovld __conv sub_group_broadcast( long4 value, uint index ); |
| 16632 | long8 __ovld __conv sub_group_broadcast( long8 value, uint index ); |
| 16633 | long16 __ovld __conv sub_group_broadcast( long16 value, uint index ); |
| 16634 | |
| 16635 | // scalar ulong broadcast is part of cl_khr_subgroups |
| 16636 | ulong2 __ovld __conv sub_group_broadcast( ulong2 value, uint index ); |
| 16637 | ulong3 __ovld __conv sub_group_broadcast( ulong3 value, uint index ); |
| 16638 | ulong4 __ovld __conv sub_group_broadcast( ulong4 value, uint index ); |
| 16639 | ulong8 __ovld __conv sub_group_broadcast( ulong8 value, uint index ); |
| 16640 | ulong16 __ovld __conv sub_group_broadcast( ulong16 value, uint index ); |
| 16641 | |
| 16642 | // scalar float broadcast is part of cl_khr_subgroups |
| 16643 | float2 __ovld __conv sub_group_broadcast( float2 value, uint index ); |
| 16644 | float3 __ovld __conv sub_group_broadcast( float3 value, uint index ); |
| 16645 | float4 __ovld __conv sub_group_broadcast( float4 value, uint index ); |
| 16646 | float8 __ovld __conv sub_group_broadcast( float8 value, uint index ); |
| 16647 | float16 __ovld __conv sub_group_broadcast( float16 value, uint index ); |
| 16648 | |
| 16649 | char __ovld __conv sub_group_reduce_add( char value ); |
| 16650 | uchar __ovld __conv sub_group_reduce_add( uchar value ); |
| 16651 | short __ovld __conv sub_group_reduce_add( short value ); |
| 16652 | ushort __ovld __conv sub_group_reduce_add( ushort value ); |
| 16653 | |
| 16654 | char __ovld __conv sub_group_reduce_min( char value ); |
| 16655 | uchar __ovld __conv sub_group_reduce_min( uchar value ); |
| 16656 | short __ovld __conv sub_group_reduce_min( short value ); |
| 16657 | ushort __ovld __conv sub_group_reduce_min( ushort value ); |
| 16658 | |
| 16659 | char __ovld __conv sub_group_reduce_max( char value ); |
| 16660 | uchar __ovld __conv sub_group_reduce_max( uchar value ); |
| 16661 | short __ovld __conv sub_group_reduce_max( short value ); |
| 16662 | ushort __ovld __conv sub_group_reduce_max( ushort value ); |
| 16663 | |
| 16664 | char __ovld __conv sub_group_scan_inclusive_add( char value ); |
| 16665 | uchar __ovld __conv sub_group_scan_inclusive_add( uchar value ); |
| 16666 | short __ovld __conv sub_group_scan_inclusive_add( short value ); |
| 16667 | ushort __ovld __conv sub_group_scan_inclusive_add( ushort value ); |
| 16668 | |
| 16669 | char __ovld __conv sub_group_scan_inclusive_min( char value ); |
| 16670 | uchar __ovld __conv sub_group_scan_inclusive_min( uchar value ); |
| 16671 | short __ovld __conv sub_group_scan_inclusive_min( short value ); |
| 16672 | ushort __ovld __conv sub_group_scan_inclusive_min( ushort value ); |
| 16673 | |
| 16674 | char __ovld __conv sub_group_scan_inclusive_max( char value ); |
| 16675 | uchar __ovld __conv sub_group_scan_inclusive_max( uchar value ); |
| 16676 | short __ovld __conv sub_group_scan_inclusive_max( short value ); |
| 16677 | ushort __ovld __conv sub_group_scan_inclusive_max( ushort value ); |
| 16678 | |
| 16679 | char __ovld __conv sub_group_scan_exclusive_add( char value ); |
| 16680 | uchar __ovld __conv sub_group_scan_exclusive_add( uchar value ); |
| 16681 | short __ovld __conv sub_group_scan_exclusive_add( short value ); |
| 16682 | ushort __ovld __conv sub_group_scan_exclusive_add( ushort value ); |
| 16683 | |
| 16684 | char __ovld __conv sub_group_scan_exclusive_min( char value ); |
| 16685 | uchar __ovld __conv sub_group_scan_exclusive_min( uchar value ); |
| 16686 | short __ovld __conv sub_group_scan_exclusive_min( short value ); |
| 16687 | ushort __ovld __conv sub_group_scan_exclusive_min( ushort value ); |
| 16688 | |
| 16689 | char __ovld __conv sub_group_scan_exclusive_max( char value ); |
| 16690 | uchar __ovld __conv sub_group_scan_exclusive_max( uchar value ); |
| 16691 | short __ovld __conv sub_group_scan_exclusive_max( short value ); |
| 16692 | ushort __ovld __conv sub_group_scan_exclusive_max( ushort value ); |
| 16693 | |
| 16694 | #if defined(cl_khr_fp16) |
| 16695 | // scalar half broadcast is part of cl_khr_subgroups |
| 16696 | half2 __ovld __conv sub_group_broadcast( half2 value, uint index ); |
| 16697 | half3 __ovld __conv sub_group_broadcast( half3 value, uint index ); |
| 16698 | half4 __ovld __conv sub_group_broadcast( half4 value, uint index ); |
| 16699 | half8 __ovld __conv sub_group_broadcast( half8 value, uint index ); |
| 16700 | half16 __ovld __conv sub_group_broadcast( half16 value, uint index ); |
| 16701 | #endif // cl_khr_fp16 |
| 16702 | |
| 16703 | #if defined(cl_khr_fp64) |
| 16704 | // scalar double broadcast is part of cl_khr_subgroups |
| 16705 | double2 __ovld __conv sub_group_broadcast( double2 value, uint index ); |
| 16706 | double3 __ovld __conv sub_group_broadcast( double3 value, uint index ); |
| 16707 | double4 __ovld __conv sub_group_broadcast( double4 value, uint index ); |
| 16708 | double8 __ovld __conv sub_group_broadcast( double8 value, uint index ); |
| 16709 | double16 __ovld __conv sub_group_broadcast( double16 value, uint index ); |
| 16710 | #endif // cl_khr_fp64 |
| 16711 | |
| 16712 | #endif // cl_khr_subgroup_extended_types |
| 16713 | |
| 16714 | #if defined(cl_khr_subgroup_non_uniform_vote) |
| 16715 | int __ovld sub_group_elect(void); |
| 16716 | int __ovld sub_group_non_uniform_all( int predicate ); |
| 16717 | int __ovld sub_group_non_uniform_any( int predicate ); |
| 16718 | |
| 16719 | int __ovld sub_group_non_uniform_all_equal( char value ); |
| 16720 | int __ovld sub_group_non_uniform_all_equal( uchar value ); |
| 16721 | int __ovld sub_group_non_uniform_all_equal( short value ); |
| 16722 | int __ovld sub_group_non_uniform_all_equal( ushort value ); |
| 16723 | int __ovld sub_group_non_uniform_all_equal( int value ); |
| 16724 | int __ovld sub_group_non_uniform_all_equal( uint value ); |
| 16725 | int __ovld sub_group_non_uniform_all_equal( long value ); |
| 16726 | int __ovld sub_group_non_uniform_all_equal( ulong value ); |
| 16727 | int __ovld sub_group_non_uniform_all_equal( float value ); |
| 16728 | |
| 16729 | #if defined(cl_khr_fp16) |
| 16730 | int __ovld sub_group_non_uniform_all_equal( half value ); |
| 16731 | #endif // cl_khr_fp16 |
| 16732 | |
| 16733 | #if defined(cl_khr_fp64) |
| 16734 | int __ovld sub_group_non_uniform_all_equal( double value ); |
| 16735 | #endif // cl_khr_fp64 |
| 16736 | |
| 16737 | #endif // cl_khr_subgroup_non_uniform_vote |
| 16738 | |
| 16739 | #if defined(cl_khr_subgroup_ballot) |
| 16740 | char __ovld sub_group_non_uniform_broadcast( char value, uint index ); |
| 16741 | char2 __ovld sub_group_non_uniform_broadcast( char2 value, uint index ); |
| 16742 | char3 __ovld sub_group_non_uniform_broadcast( char3 value, uint index ); |
| 16743 | char4 __ovld sub_group_non_uniform_broadcast( char4 value, uint index ); |
| 16744 | char8 __ovld sub_group_non_uniform_broadcast( char8 value, uint index ); |
| 16745 | char16 __ovld sub_group_non_uniform_broadcast( char16 value, uint index ); |
| 16746 | |
| 16747 | uchar __ovld sub_group_non_uniform_broadcast( uchar value, uint index ); |
| 16748 | uchar2 __ovld sub_group_non_uniform_broadcast( uchar2 value, uint index ); |
| 16749 | uchar3 __ovld sub_group_non_uniform_broadcast( uchar3 value, uint index ); |
| 16750 | uchar4 __ovld sub_group_non_uniform_broadcast( uchar4 value, uint index ); |
| 16751 | uchar8 __ovld sub_group_non_uniform_broadcast( uchar8 value, uint index ); |
| 16752 | uchar16 __ovld sub_group_non_uniform_broadcast( uchar16 value, uint index ); |
| 16753 | |
| 16754 | short __ovld sub_group_non_uniform_broadcast( short value, uint index ); |
| 16755 | short2 __ovld sub_group_non_uniform_broadcast( short2 value, uint index ); |
| 16756 | short3 __ovld sub_group_non_uniform_broadcast( short3 value, uint index ); |
| 16757 | short4 __ovld sub_group_non_uniform_broadcast( short4 value, uint index ); |
| 16758 | short8 __ovld sub_group_non_uniform_broadcast( short8 value, uint index ); |
| 16759 | short16 __ovld sub_group_non_uniform_broadcast( short16 value, uint index ); |
| 16760 | |
| 16761 | ushort __ovld sub_group_non_uniform_broadcast( ushort value, uint index ); |
| 16762 | ushort2 __ovld sub_group_non_uniform_broadcast( ushort2 value, uint index ); |
| 16763 | ushort3 __ovld sub_group_non_uniform_broadcast( ushort3 value, uint index ); |
| 16764 | ushort4 __ovld sub_group_non_uniform_broadcast( ushort4 value, uint index ); |
| 16765 | ushort8 __ovld sub_group_non_uniform_broadcast( ushort8 value, uint index ); |
| 16766 | ushort16 __ovld sub_group_non_uniform_broadcast( ushort16 value, uint index ); |
| 16767 | |
| 16768 | int __ovld sub_group_non_uniform_broadcast( int value, uint index ); |
| 16769 | int2 __ovld sub_group_non_uniform_broadcast( int2 value, uint index ); |
| 16770 | int3 __ovld sub_group_non_uniform_broadcast( int3 value, uint index ); |
| 16771 | int4 __ovld sub_group_non_uniform_broadcast( int4 value, uint index ); |
| 16772 | int8 __ovld sub_group_non_uniform_broadcast( int8 value, uint index ); |
| 16773 | int16 __ovld sub_group_non_uniform_broadcast( int16 value, uint index ); |
| 16774 | |
| 16775 | uint __ovld sub_group_non_uniform_broadcast( uint value, uint index ); |
| 16776 | uint2 __ovld sub_group_non_uniform_broadcast( uint2 value, uint index ); |
| 16777 | uint3 __ovld sub_group_non_uniform_broadcast( uint3 value, uint index ); |
| 16778 | uint4 __ovld sub_group_non_uniform_broadcast( uint4 value, uint index ); |
| 16779 | uint8 __ovld sub_group_non_uniform_broadcast( uint8 value, uint index ); |
| 16780 | uint16 __ovld sub_group_non_uniform_broadcast( uint16 value, uint index ); |
| 16781 | |
| 16782 | long __ovld sub_group_non_uniform_broadcast( long value, uint index ); |
| 16783 | long2 __ovld sub_group_non_uniform_broadcast( long2 value, uint index ); |
| 16784 | long3 __ovld sub_group_non_uniform_broadcast( long3 value, uint index ); |
| 16785 | long4 __ovld sub_group_non_uniform_broadcast( long4 value, uint index ); |
| 16786 | long8 __ovld sub_group_non_uniform_broadcast( long8 value, uint index ); |
| 16787 | long16 __ovld sub_group_non_uniform_broadcast( long16 value, uint index ); |
| 16788 | |
| 16789 | ulong __ovld sub_group_non_uniform_broadcast( ulong value, uint index ); |
| 16790 | ulong2 __ovld sub_group_non_uniform_broadcast( ulong2 value, uint index ); |
| 16791 | ulong3 __ovld sub_group_non_uniform_broadcast( ulong3 value, uint index ); |
| 16792 | ulong4 __ovld sub_group_non_uniform_broadcast( ulong4 value, uint index ); |
| 16793 | ulong8 __ovld sub_group_non_uniform_broadcast( ulong8 value, uint index ); |
| 16794 | ulong16 __ovld sub_group_non_uniform_broadcast( ulong16 value, uint index ); |
| 16795 | |
| 16796 | float __ovld sub_group_non_uniform_broadcast( float value, uint index ); |
| 16797 | float2 __ovld sub_group_non_uniform_broadcast( float2 value, uint index ); |
| 16798 | float3 __ovld sub_group_non_uniform_broadcast( float3 value, uint index ); |
| 16799 | float4 __ovld sub_group_non_uniform_broadcast( float4 value, uint index ); |
| 16800 | float8 __ovld sub_group_non_uniform_broadcast( float8 value, uint index ); |
| 16801 | float16 __ovld sub_group_non_uniform_broadcast( float16 value, uint index ); |
| 16802 | |
| 16803 | char __ovld sub_group_broadcast_first( char value ); |
| 16804 | uchar __ovld sub_group_broadcast_first( uchar value ); |
| 16805 | short __ovld sub_group_broadcast_first( short value ); |
| 16806 | ushort __ovld sub_group_broadcast_first( ushort value ); |
| 16807 | int __ovld sub_group_broadcast_first( int value ); |
| 16808 | uint __ovld sub_group_broadcast_first( uint value ); |
| 16809 | long __ovld sub_group_broadcast_first( long value ); |
| 16810 | ulong __ovld sub_group_broadcast_first( ulong value ); |
| 16811 | float __ovld sub_group_broadcast_first( float value ); |
| 16812 | |
| 16813 | uint4 __ovld sub_group_ballot( int predicate ); |
| 16814 | int __ovld __cnfn sub_group_inverse_ballot( uint4 value ); |
| 16815 | int __ovld __cnfn sub_group_ballot_bit_extract( uint4 value, uint index ); |
| 16816 | uint __ovld __cnfn sub_group_ballot_bit_count( uint4 value ); |
| 16817 | |
| 16818 | uint __ovld sub_group_ballot_inclusive_scan( uint4 value ); |
| 16819 | uint __ovld sub_group_ballot_exclusive_scan( uint4 value ); |
| 16820 | uint __ovld sub_group_ballot_find_lsb( uint4 value ); |
| 16821 | uint __ovld sub_group_ballot_find_msb( uint4 value ); |
| 16822 | |
| 16823 | uint4 __ovld __cnfn get_sub_group_eq_mask(void); |
| 16824 | uint4 __ovld __cnfn get_sub_group_ge_mask(void); |
| 16825 | uint4 __ovld __cnfn get_sub_group_gt_mask(void); |
| 16826 | uint4 __ovld __cnfn get_sub_group_le_mask(void); |
| 16827 | uint4 __ovld __cnfn get_sub_group_lt_mask(void); |
| 16828 | |
| 16829 | #if defined(cl_khr_fp16) |
| 16830 | half __ovld sub_group_non_uniform_broadcast( half value, uint index ); |
| 16831 | half2 __ovld sub_group_non_uniform_broadcast( half2 value, uint index ); |
| 16832 | half3 __ovld sub_group_non_uniform_broadcast( half3 value, uint index ); |
| 16833 | half4 __ovld sub_group_non_uniform_broadcast( half4 value, uint index ); |
| 16834 | half8 __ovld sub_group_non_uniform_broadcast( half8 value, uint index ); |
| 16835 | half16 __ovld sub_group_non_uniform_broadcast( half16 value, uint index ); |
| 16836 | |
| 16837 | half __ovld sub_group_broadcast_first( half value ); |
| 16838 | #endif // cl_khr_fp16 |
| 16839 | |
| 16840 | #if defined(cl_khr_fp64) |
| 16841 | double __ovld sub_group_non_uniform_broadcast( double value, uint index ); |
| 16842 | double2 __ovld sub_group_non_uniform_broadcast( double2 value, uint index ); |
| 16843 | double3 __ovld sub_group_non_uniform_broadcast( double3 value, uint index ); |
| 16844 | double4 __ovld sub_group_non_uniform_broadcast( double4 value, uint index ); |
| 16845 | double8 __ovld sub_group_non_uniform_broadcast( double8 value, uint index ); |
| 16846 | double16 __ovld sub_group_non_uniform_broadcast( double16 value, uint index ); |
| 16847 | |
| 16848 | double __ovld sub_group_broadcast_first( double value ); |
| 16849 | #endif // cl_khr_fp64 |
| 16850 | |
| 16851 | #endif // cl_khr_subgroup_ballot |
| 16852 | |
| 16853 | #if defined(cl_khr_subgroup_non_uniform_arithmetic) |
| 16854 | char __ovld sub_group_non_uniform_reduce_add( char value ); |
| 16855 | uchar __ovld sub_group_non_uniform_reduce_add( uchar value ); |
| 16856 | short __ovld sub_group_non_uniform_reduce_add( short value ); |
| 16857 | ushort __ovld sub_group_non_uniform_reduce_add( ushort value ); |
| 16858 | int __ovld sub_group_non_uniform_reduce_add( int value ); |
| 16859 | uint __ovld sub_group_non_uniform_reduce_add( uint value ); |
| 16860 | long __ovld sub_group_non_uniform_reduce_add( long value ); |
| 16861 | ulong __ovld sub_group_non_uniform_reduce_add( ulong value ); |
| 16862 | float __ovld sub_group_non_uniform_reduce_add( float value ); |
| 16863 | |
| 16864 | char __ovld sub_group_non_uniform_reduce_mul( char value ); |
| 16865 | uchar __ovld sub_group_non_uniform_reduce_mul( uchar value ); |
| 16866 | short __ovld sub_group_non_uniform_reduce_mul( short value ); |
| 16867 | ushort __ovld sub_group_non_uniform_reduce_mul( ushort value ); |
| 16868 | int __ovld sub_group_non_uniform_reduce_mul( int value ); |
| 16869 | uint __ovld sub_group_non_uniform_reduce_mul( uint value ); |
| 16870 | long __ovld sub_group_non_uniform_reduce_mul( long value ); |
| 16871 | ulong __ovld sub_group_non_uniform_reduce_mul( ulong value ); |
| 16872 | float __ovld sub_group_non_uniform_reduce_mul( float value ); |
| 16873 | |
| 16874 | char __ovld sub_group_non_uniform_reduce_min( char value ); |
| 16875 | uchar __ovld sub_group_non_uniform_reduce_min( uchar value ); |
| 16876 | short __ovld sub_group_non_uniform_reduce_min( short value ); |
| 16877 | ushort __ovld sub_group_non_uniform_reduce_min( ushort value ); |
| 16878 | int __ovld sub_group_non_uniform_reduce_min( int value ); |
| 16879 | uint __ovld sub_group_non_uniform_reduce_min( uint value ); |
| 16880 | long __ovld sub_group_non_uniform_reduce_min( long value ); |
| 16881 | ulong __ovld sub_group_non_uniform_reduce_min( ulong value ); |
| 16882 | float __ovld sub_group_non_uniform_reduce_min( float value ); |
| 16883 | |
| 16884 | char __ovld sub_group_non_uniform_reduce_max( char value ); |
| 16885 | uchar __ovld sub_group_non_uniform_reduce_max( uchar value ); |
| 16886 | short __ovld sub_group_non_uniform_reduce_max( short value ); |
| 16887 | ushort __ovld sub_group_non_uniform_reduce_max( ushort value ); |
| 16888 | int __ovld sub_group_non_uniform_reduce_max( int value ); |
| 16889 | uint __ovld sub_group_non_uniform_reduce_max( uint value ); |
| 16890 | long __ovld sub_group_non_uniform_reduce_max( long value ); |
| 16891 | ulong __ovld sub_group_non_uniform_reduce_max( ulong value ); |
| 16892 | float __ovld sub_group_non_uniform_reduce_max( float value ); |
| 16893 | |
| 16894 | char __ovld sub_group_non_uniform_scan_inclusive_add( char value ); |
| 16895 | uchar __ovld sub_group_non_uniform_scan_inclusive_add( uchar value ); |
| 16896 | short __ovld sub_group_non_uniform_scan_inclusive_add( short value ); |
| 16897 | ushort __ovld sub_group_non_uniform_scan_inclusive_add( ushort value ); |
| 16898 | int __ovld sub_group_non_uniform_scan_inclusive_add( int value ); |
| 16899 | uint __ovld sub_group_non_uniform_scan_inclusive_add( uint value ); |
| 16900 | long __ovld sub_group_non_uniform_scan_inclusive_add( long value ); |
| 16901 | ulong __ovld sub_group_non_uniform_scan_inclusive_add( ulong value ); |
| 16902 | float __ovld sub_group_non_uniform_scan_inclusive_add( float value ); |
| 16903 | |
| 16904 | char __ovld sub_group_non_uniform_scan_inclusive_mul( char value ); |
| 16905 | uchar __ovld sub_group_non_uniform_scan_inclusive_mul( uchar value ); |
| 16906 | short __ovld sub_group_non_uniform_scan_inclusive_mul( short value ); |
| 16907 | ushort __ovld sub_group_non_uniform_scan_inclusive_mul( ushort value ); |
| 16908 | int __ovld sub_group_non_uniform_scan_inclusive_mul( int value ); |
| 16909 | uint __ovld sub_group_non_uniform_scan_inclusive_mul( uint value ); |
| 16910 | long __ovld sub_group_non_uniform_scan_inclusive_mul( long value ); |
| 16911 | ulong __ovld sub_group_non_uniform_scan_inclusive_mul( ulong value ); |
| 16912 | float __ovld sub_group_non_uniform_scan_inclusive_mul( float value ); |
| 16913 | |
| 16914 | char __ovld sub_group_non_uniform_scan_inclusive_min( char value ); |
| 16915 | uchar __ovld sub_group_non_uniform_scan_inclusive_min( uchar value ); |
| 16916 | short __ovld sub_group_non_uniform_scan_inclusive_min( short value ); |
| 16917 | ushort __ovld sub_group_non_uniform_scan_inclusive_min( ushort value ); |
| 16918 | int __ovld sub_group_non_uniform_scan_inclusive_min( int value ); |
| 16919 | uint __ovld sub_group_non_uniform_scan_inclusive_min( uint value ); |
| 16920 | long __ovld sub_group_non_uniform_scan_inclusive_min( long value ); |
| 16921 | ulong __ovld sub_group_non_uniform_scan_inclusive_min( ulong value ); |
| 16922 | float __ovld sub_group_non_uniform_scan_inclusive_min( float value ); |
| 16923 | |
| 16924 | char __ovld sub_group_non_uniform_scan_inclusive_max( char value ); |
| 16925 | uchar __ovld sub_group_non_uniform_scan_inclusive_max( uchar value ); |
| 16926 | short __ovld sub_group_non_uniform_scan_inclusive_max( short value ); |
| 16927 | ushort __ovld sub_group_non_uniform_scan_inclusive_max( ushort value ); |
| 16928 | int __ovld sub_group_non_uniform_scan_inclusive_max( int value ); |
| 16929 | uint __ovld sub_group_non_uniform_scan_inclusive_max( uint value ); |
| 16930 | long __ovld sub_group_non_uniform_scan_inclusive_max( long value ); |
| 16931 | ulong __ovld sub_group_non_uniform_scan_inclusive_max( ulong value ); |
| 16932 | float __ovld sub_group_non_uniform_scan_inclusive_max( float value ); |
| 16933 | |
| 16934 | char __ovld sub_group_non_uniform_scan_exclusive_add( char value ); |
| 16935 | uchar __ovld sub_group_non_uniform_scan_exclusive_add( uchar value ); |
| 16936 | short __ovld sub_group_non_uniform_scan_exclusive_add( short value ); |
| 16937 | ushort __ovld sub_group_non_uniform_scan_exclusive_add( ushort value ); |
| 16938 | int __ovld sub_group_non_uniform_scan_exclusive_add( int value ); |
| 16939 | uint __ovld sub_group_non_uniform_scan_exclusive_add( uint value ); |
| 16940 | long __ovld sub_group_non_uniform_scan_exclusive_add( long value ); |
| 16941 | ulong __ovld sub_group_non_uniform_scan_exclusive_add( ulong value ); |
| 16942 | float __ovld sub_group_non_uniform_scan_exclusive_add( float value ); |
| 16943 | |
| 16944 | char __ovld sub_group_non_uniform_scan_exclusive_mul( char value ); |
| 16945 | uchar __ovld sub_group_non_uniform_scan_exclusive_mul( uchar value ); |
| 16946 | short __ovld sub_group_non_uniform_scan_exclusive_mul( short value ); |
| 16947 | ushort __ovld sub_group_non_uniform_scan_exclusive_mul( ushort value ); |
| 16948 | int __ovld sub_group_non_uniform_scan_exclusive_mul( int value ); |
| 16949 | uint __ovld sub_group_non_uniform_scan_exclusive_mul( uint value ); |
| 16950 | long __ovld sub_group_non_uniform_scan_exclusive_mul( long value ); |
| 16951 | ulong __ovld sub_group_non_uniform_scan_exclusive_mul( ulong value ); |
| 16952 | float __ovld sub_group_non_uniform_scan_exclusive_mul( float value ); |
| 16953 | |
| 16954 | char __ovld sub_group_non_uniform_scan_exclusive_min( char value ); |
| 16955 | uchar __ovld sub_group_non_uniform_scan_exclusive_min( uchar value ); |
| 16956 | short __ovld sub_group_non_uniform_scan_exclusive_min( short value ); |
| 16957 | ushort __ovld sub_group_non_uniform_scan_exclusive_min( ushort value ); |
| 16958 | int __ovld sub_group_non_uniform_scan_exclusive_min( int value ); |
| 16959 | uint __ovld sub_group_non_uniform_scan_exclusive_min( uint value ); |
| 16960 | long __ovld sub_group_non_uniform_scan_exclusive_min( long value ); |
| 16961 | ulong __ovld sub_group_non_uniform_scan_exclusive_min( ulong value ); |
| 16962 | float __ovld sub_group_non_uniform_scan_exclusive_min( float value ); |
| 16963 | |
| 16964 | char __ovld sub_group_non_uniform_scan_exclusive_max( char value ); |
| 16965 | uchar __ovld sub_group_non_uniform_scan_exclusive_max( uchar value ); |
| 16966 | short __ovld sub_group_non_uniform_scan_exclusive_max( short value ); |
| 16967 | ushort __ovld sub_group_non_uniform_scan_exclusive_max( ushort value ); |
| 16968 | int __ovld sub_group_non_uniform_scan_exclusive_max( int value ); |
| 16969 | uint __ovld sub_group_non_uniform_scan_exclusive_max( uint value ); |
| 16970 | long __ovld sub_group_non_uniform_scan_exclusive_max( long value ); |
| 16971 | ulong __ovld sub_group_non_uniform_scan_exclusive_max( ulong value ); |
| 16972 | float __ovld sub_group_non_uniform_scan_exclusive_max( float value ); |
| 16973 | |
| 16974 | char __ovld sub_group_non_uniform_reduce_and( char value ); |
| 16975 | uchar __ovld sub_group_non_uniform_reduce_and( uchar value ); |
| 16976 | short __ovld sub_group_non_uniform_reduce_and( short value ); |
| 16977 | ushort __ovld sub_group_non_uniform_reduce_and( ushort value ); |
| 16978 | int __ovld sub_group_non_uniform_reduce_and( int value ); |
| 16979 | uint __ovld sub_group_non_uniform_reduce_and( uint value ); |
| 16980 | long __ovld sub_group_non_uniform_reduce_and( long value ); |
| 16981 | ulong __ovld sub_group_non_uniform_reduce_and( ulong value ); |
| 16982 | |
| 16983 | char __ovld sub_group_non_uniform_reduce_or( char value ); |
| 16984 | uchar __ovld sub_group_non_uniform_reduce_or( uchar value ); |
| 16985 | short __ovld sub_group_non_uniform_reduce_or( short value ); |
| 16986 | ushort __ovld sub_group_non_uniform_reduce_or( ushort value ); |
| 16987 | int __ovld sub_group_non_uniform_reduce_or( int value ); |
| 16988 | uint __ovld sub_group_non_uniform_reduce_or( uint value ); |
| 16989 | long __ovld sub_group_non_uniform_reduce_or( long value ); |
| 16990 | ulong __ovld sub_group_non_uniform_reduce_or( ulong value ); |
| 16991 | |
| 16992 | char __ovld sub_group_non_uniform_reduce_xor( char value ); |
| 16993 | uchar __ovld sub_group_non_uniform_reduce_xor( uchar value ); |
| 16994 | short __ovld sub_group_non_uniform_reduce_xor( short value ); |
| 16995 | ushort __ovld sub_group_non_uniform_reduce_xor( ushort value ); |
| 16996 | int __ovld sub_group_non_uniform_reduce_xor( int value ); |
| 16997 | uint __ovld sub_group_non_uniform_reduce_xor( uint value ); |
| 16998 | long __ovld sub_group_non_uniform_reduce_xor( long value ); |
| 16999 | ulong __ovld sub_group_non_uniform_reduce_xor( ulong value ); |
| 17000 | |
| 17001 | char __ovld sub_group_non_uniform_scan_inclusive_and( char value ); |
| 17002 | uchar __ovld sub_group_non_uniform_scan_inclusive_and( uchar value ); |
| 17003 | short __ovld sub_group_non_uniform_scan_inclusive_and( short value ); |
| 17004 | ushort __ovld sub_group_non_uniform_scan_inclusive_and( ushort value ); |
| 17005 | int __ovld sub_group_non_uniform_scan_inclusive_and( int value ); |
| 17006 | uint __ovld sub_group_non_uniform_scan_inclusive_and( uint value ); |
| 17007 | long __ovld sub_group_non_uniform_scan_inclusive_and( long value ); |
| 17008 | ulong __ovld sub_group_non_uniform_scan_inclusive_and( ulong value ); |
| 17009 | |
| 17010 | char __ovld sub_group_non_uniform_scan_inclusive_or( char value ); |
| 17011 | uchar __ovld sub_group_non_uniform_scan_inclusive_or( uchar value ); |
| 17012 | short __ovld sub_group_non_uniform_scan_inclusive_or( short value ); |
| 17013 | ushort __ovld sub_group_non_uniform_scan_inclusive_or( ushort value ); |
| 17014 | int __ovld sub_group_non_uniform_scan_inclusive_or( int value ); |
| 17015 | uint __ovld sub_group_non_uniform_scan_inclusive_or( uint value ); |
| 17016 | long __ovld sub_group_non_uniform_scan_inclusive_or( long value ); |
| 17017 | ulong __ovld sub_group_non_uniform_scan_inclusive_or( ulong value ); |
| 17018 | |
| 17019 | char __ovld sub_group_non_uniform_scan_inclusive_xor( char value ); |
| 17020 | uchar __ovld sub_group_non_uniform_scan_inclusive_xor( uchar value ); |
| 17021 | short __ovld sub_group_non_uniform_scan_inclusive_xor( short value ); |
| 17022 | ushort __ovld sub_group_non_uniform_scan_inclusive_xor( ushort value ); |
| 17023 | int __ovld sub_group_non_uniform_scan_inclusive_xor( int value ); |
| 17024 | uint __ovld sub_group_non_uniform_scan_inclusive_xor( uint value ); |
| 17025 | long __ovld sub_group_non_uniform_scan_inclusive_xor( long value ); |
| 17026 | ulong __ovld sub_group_non_uniform_scan_inclusive_xor( ulong value ); |
| 17027 | |
| 17028 | char __ovld sub_group_non_uniform_scan_exclusive_and( char value ); |
| 17029 | uchar __ovld sub_group_non_uniform_scan_exclusive_and( uchar value ); |
| 17030 | short __ovld sub_group_non_uniform_scan_exclusive_and( short value ); |
| 17031 | ushort __ovld sub_group_non_uniform_scan_exclusive_and( ushort value ); |
| 17032 | int __ovld sub_group_non_uniform_scan_exclusive_and( int value ); |
| 17033 | uint __ovld sub_group_non_uniform_scan_exclusive_and( uint value ); |
| 17034 | long __ovld sub_group_non_uniform_scan_exclusive_and( long value ); |
| 17035 | ulong __ovld sub_group_non_uniform_scan_exclusive_and( ulong value ); |
| 17036 | |
| 17037 | char __ovld sub_group_non_uniform_scan_exclusive_or( char value ); |
| 17038 | uchar __ovld sub_group_non_uniform_scan_exclusive_or( uchar value ); |
| 17039 | short __ovld sub_group_non_uniform_scan_exclusive_or( short value ); |
| 17040 | ushort __ovld sub_group_non_uniform_scan_exclusive_or( ushort value ); |
| 17041 | int __ovld sub_group_non_uniform_scan_exclusive_or( int value ); |
| 17042 | uint __ovld sub_group_non_uniform_scan_exclusive_or( uint value ); |
| 17043 | long __ovld sub_group_non_uniform_scan_exclusive_or( long value ); |
| 17044 | ulong __ovld sub_group_non_uniform_scan_exclusive_or( ulong value ); |
| 17045 | |
| 17046 | char __ovld sub_group_non_uniform_scan_exclusive_xor( char value ); |
| 17047 | uchar __ovld sub_group_non_uniform_scan_exclusive_xor( uchar value ); |
| 17048 | short __ovld sub_group_non_uniform_scan_exclusive_xor( short value ); |
| 17049 | ushort __ovld sub_group_non_uniform_scan_exclusive_xor( ushort value ); |
| 17050 | int __ovld sub_group_non_uniform_scan_exclusive_xor( int value ); |
| 17051 | uint __ovld sub_group_non_uniform_scan_exclusive_xor( uint value ); |
| 17052 | long __ovld sub_group_non_uniform_scan_exclusive_xor( long value ); |
| 17053 | ulong __ovld sub_group_non_uniform_scan_exclusive_xor( ulong value ); |
| 17054 | |
| 17055 | int __ovld sub_group_non_uniform_reduce_logical_and( int predicate ); |
| 17056 | int __ovld sub_group_non_uniform_reduce_logical_or( int predicate ); |
| 17057 | int __ovld sub_group_non_uniform_reduce_logical_xor( int predicate ); |
| 17058 | |
| 17059 | int __ovld sub_group_non_uniform_scan_inclusive_logical_and( int predicate ); |
| 17060 | int __ovld sub_group_non_uniform_scan_inclusive_logical_or( int predicate ); |
| 17061 | int __ovld sub_group_non_uniform_scan_inclusive_logical_xor( int predicate ); |
| 17062 | |
| 17063 | int __ovld sub_group_non_uniform_scan_exclusive_logical_and( int predicate ); |
| 17064 | int __ovld sub_group_non_uniform_scan_exclusive_logical_or( int predicate ); |
| 17065 | int __ovld sub_group_non_uniform_scan_exclusive_logical_xor( int predicate ); |
| 17066 | |
| 17067 | #if defined(cl_khr_fp16) |
| 17068 | half __ovld sub_group_non_uniform_reduce_add( half value ); |
| 17069 | half __ovld sub_group_non_uniform_reduce_mul( half value ); |
| 17070 | half __ovld sub_group_non_uniform_reduce_min( half value ); |
| 17071 | half __ovld sub_group_non_uniform_reduce_max( half value ); |
| 17072 | half __ovld sub_group_non_uniform_scan_inclusive_add( half value ); |
| 17073 | half __ovld sub_group_non_uniform_scan_inclusive_mul( half value ); |
| 17074 | half __ovld sub_group_non_uniform_scan_inclusive_min( half value ); |
| 17075 | half __ovld sub_group_non_uniform_scan_inclusive_max( half value ); |
| 17076 | half __ovld sub_group_non_uniform_scan_exclusive_add( half value ); |
| 17077 | half __ovld sub_group_non_uniform_scan_exclusive_mul( half value ); |
| 17078 | half __ovld sub_group_non_uniform_scan_exclusive_min( half value ); |
| 17079 | half __ovld sub_group_non_uniform_scan_exclusive_max( half value ); |
| 17080 | #endif // cl_khr_fp16 |
| 17081 | |
| 17082 | #if defined(cl_khr_fp64) |
| 17083 | double __ovld sub_group_non_uniform_reduce_add( double value ); |
| 17084 | double __ovld sub_group_non_uniform_reduce_mul( double value ); |
| 17085 | double __ovld sub_group_non_uniform_reduce_min( double value ); |
| 17086 | double __ovld sub_group_non_uniform_reduce_max( double value ); |
| 17087 | double __ovld sub_group_non_uniform_scan_inclusive_add( double value ); |
| 17088 | double __ovld sub_group_non_uniform_scan_inclusive_mul( double value ); |
| 17089 | double __ovld sub_group_non_uniform_scan_inclusive_min( double value ); |
| 17090 | double __ovld sub_group_non_uniform_scan_inclusive_max( double value ); |
| 17091 | double __ovld sub_group_non_uniform_scan_exclusive_add( double value ); |
| 17092 | double __ovld sub_group_non_uniform_scan_exclusive_mul( double value ); |
| 17093 | double __ovld sub_group_non_uniform_scan_exclusive_min( double value ); |
| 17094 | double __ovld sub_group_non_uniform_scan_exclusive_max( double value ); |
| 17095 | #endif // cl_khr_fp64 |
| 17096 | |
| 17097 | #endif // cl_khr_subgroup_non_uniform_arithmetic |
| 17098 | |
| 17099 | #if defined(cl_khr_subgroup_shuffle) |
| 17100 | char __ovld sub_group_shuffle( char value, uint index ); |
| 17101 | uchar __ovld sub_group_shuffle( uchar value, uint index ); |
| 17102 | short __ovld sub_group_shuffle( short value, uint index ); |
| 17103 | ushort __ovld sub_group_shuffle( ushort value, uint index ); |
| 17104 | int __ovld sub_group_shuffle( int value, uint index ); |
| 17105 | uint __ovld sub_group_shuffle( uint value, uint index ); |
| 17106 | long __ovld sub_group_shuffle( long value, uint index ); |
| 17107 | ulong __ovld sub_group_shuffle( ulong value, uint index ); |
| 17108 | float __ovld sub_group_shuffle( float value, uint index ); |
| 17109 | |
| 17110 | char __ovld sub_group_shuffle_xor( char value, uint mask ); |
| 17111 | uchar __ovld sub_group_shuffle_xor( uchar value, uint mask ); |
| 17112 | short __ovld sub_group_shuffle_xor( short value, uint mask ); |
| 17113 | ushort __ovld sub_group_shuffle_xor( ushort value, uint mask ); |
| 17114 | int __ovld sub_group_shuffle_xor( int value, uint mask ); |
| 17115 | uint __ovld sub_group_shuffle_xor( uint value, uint mask ); |
| 17116 | long __ovld sub_group_shuffle_xor( long value, uint mask ); |
| 17117 | ulong __ovld sub_group_shuffle_xor( ulong value, uint mask ); |
| 17118 | float __ovld sub_group_shuffle_xor( float value, uint mask ); |
| 17119 | |
| 17120 | #if defined(cl_khr_fp16) |
| 17121 | half __ovld sub_group_shuffle( half value, uint index ); |
| 17122 | half __ovld sub_group_shuffle_xor( half value, uint mask ); |
| 17123 | #endif // cl_khr_fp16 |
| 17124 | |
| 17125 | #if defined(cl_khr_fp64) |
| 17126 | double __ovld sub_group_shuffle( double value, uint index ); |
| 17127 | double __ovld sub_group_shuffle_xor( double value, uint mask ); |
| 17128 | #endif // cl_khr_fp64 |
| 17129 | |
| 17130 | #endif // cl_khr_subgroup_shuffle |
| 17131 | |
| 17132 | #if defined(cl_khr_subgroup_shuffle_relative) |
| 17133 | char __ovld sub_group_shuffle_up( char value, uint delta ); |
| 17134 | uchar __ovld sub_group_shuffle_up( uchar value, uint delta ); |
| 17135 | short __ovld sub_group_shuffle_up( short value, uint delta ); |
| 17136 | ushort __ovld sub_group_shuffle_up( ushort value, uint delta ); |
| 17137 | int __ovld sub_group_shuffle_up( int value, uint delta ); |
| 17138 | uint __ovld sub_group_shuffle_up( uint value, uint delta ); |
| 17139 | long __ovld sub_group_shuffle_up( long value, uint delta ); |
| 17140 | ulong __ovld sub_group_shuffle_up( ulong value, uint delta ); |
| 17141 | float __ovld sub_group_shuffle_up( float value, uint delta ); |
| 17142 | |
| 17143 | char __ovld sub_group_shuffle_down( char value, uint delta ); |
| 17144 | uchar __ovld sub_group_shuffle_down( uchar value, uint delta ); |
| 17145 | short __ovld sub_group_shuffle_down( short value, uint delta ); |
| 17146 | ushort __ovld sub_group_shuffle_down( ushort value, uint delta ); |
| 17147 | int __ovld sub_group_shuffle_down( int value, uint delta ); |
| 17148 | uint __ovld sub_group_shuffle_down( uint value, uint delta ); |
| 17149 | long __ovld sub_group_shuffle_down( long value, uint delta ); |
| 17150 | ulong __ovld sub_group_shuffle_down( ulong value, uint delta ); |
| 17151 | float __ovld sub_group_shuffle_down( float value, uint delta ); |
| 17152 | |
| 17153 | #if defined(cl_khr_fp16) |
| 17154 | half __ovld sub_group_shuffle_up( half value, uint delta ); |
| 17155 | half __ovld sub_group_shuffle_down( half value, uint delta ); |
| 17156 | #endif // cl_khr_fp16 |
| 17157 | |
| 17158 | #if defined(cl_khr_fp64) |
| 17159 | double __ovld sub_group_shuffle_up( double value, uint delta ); |
| 17160 | double __ovld sub_group_shuffle_down( double value, uint delta ); |
| 17161 | #endif // cl_khr_fp64 |
| 17162 | |
| 17163 | #endif // cl_khr_subgroup_shuffle_relative |
| 17164 | |
| 17165 | #if defined(cl_khr_subgroup_clustered_reduce) |
| 17166 | char __ovld sub_group_clustered_reduce_add( char value, uint clustersize ); |
| 17167 | uchar __ovld sub_group_clustered_reduce_add( uchar value, uint clustersize ); |
| 17168 | short __ovld sub_group_clustered_reduce_add( short value, uint clustersize ); |
| 17169 | ushort __ovld sub_group_clustered_reduce_add( ushort value, uint clustersize ); |
| 17170 | int __ovld sub_group_clustered_reduce_add( int value, uint clustersize ); |
| 17171 | uint __ovld sub_group_clustered_reduce_add( uint value, uint clustersize ); |
| 17172 | long __ovld sub_group_clustered_reduce_add( long value, uint clustersize ); |
| 17173 | ulong __ovld sub_group_clustered_reduce_add( ulong value, uint clustersize ); |
| 17174 | float __ovld sub_group_clustered_reduce_add( float value, uint clustersize ); |
| 17175 | |
| 17176 | char __ovld sub_group_clustered_reduce_mul( char value, uint clustersize ); |
| 17177 | uchar __ovld sub_group_clustered_reduce_mul( uchar value, uint clustersize ); |
| 17178 | short __ovld sub_group_clustered_reduce_mul( short value, uint clustersize ); |
| 17179 | ushort __ovld sub_group_clustered_reduce_mul( ushort value, uint clustersize ); |
| 17180 | int __ovld sub_group_clustered_reduce_mul( int value, uint clustersize ); |
| 17181 | uint __ovld sub_group_clustered_reduce_mul( uint value, uint clustersize ); |
| 17182 | long __ovld sub_group_clustered_reduce_mul( long value, uint clustersize ); |
| 17183 | ulong __ovld sub_group_clustered_reduce_mul( ulong value, uint clustersize ); |
| 17184 | float __ovld sub_group_clustered_reduce_mul( float value, uint clustersize ); |
| 17185 | |
| 17186 | char __ovld sub_group_clustered_reduce_min( char value, uint clustersize ); |
| 17187 | uchar __ovld sub_group_clustered_reduce_min( uchar value, uint clustersize ); |
| 17188 | short __ovld sub_group_clustered_reduce_min( short value, uint clustersize ); |
| 17189 | ushort __ovld sub_group_clustered_reduce_min( ushort value, uint clustersize ); |
| 17190 | int __ovld sub_group_clustered_reduce_min( int value, uint clustersize ); |
| 17191 | uint __ovld sub_group_clustered_reduce_min( uint value, uint clustersize ); |
| 17192 | long __ovld sub_group_clustered_reduce_min( long value, uint clustersize ); |
| 17193 | ulong __ovld sub_group_clustered_reduce_min( ulong value, uint clustersize ); |
| 17194 | float __ovld sub_group_clustered_reduce_min( float value, uint clustersize ); |
| 17195 | |
| 17196 | char __ovld sub_group_clustered_reduce_max( char value, uint clustersize ); |
| 17197 | uchar __ovld sub_group_clustered_reduce_max( uchar value, uint clustersize ); |
| 17198 | short __ovld sub_group_clustered_reduce_max( short value, uint clustersize ); |
| 17199 | ushort __ovld sub_group_clustered_reduce_max( ushort value, uint clustersize ); |
| 17200 | int __ovld sub_group_clustered_reduce_max( int value, uint clustersize ); |
| 17201 | uint __ovld sub_group_clustered_reduce_max( uint value, uint clustersize ); |
| 17202 | long __ovld sub_group_clustered_reduce_max( long value, uint clustersize ); |
| 17203 | ulong __ovld sub_group_clustered_reduce_max( ulong value, uint clustersize ); |
| 17204 | float __ovld sub_group_clustered_reduce_max( float value, uint clustersize ); |
| 17205 | |
| 17206 | char __ovld sub_group_clustered_reduce_and( char value, uint clustersize ); |
| 17207 | uchar __ovld sub_group_clustered_reduce_and( uchar value, uint clustersize ); |
| 17208 | short __ovld sub_group_clustered_reduce_and( short value, uint clustersize ); |
| 17209 | ushort __ovld sub_group_clustered_reduce_and( ushort value, uint clustersize ); |
| 17210 | int __ovld sub_group_clustered_reduce_and( int value, uint clustersize ); |
| 17211 | uint __ovld sub_group_clustered_reduce_and( uint value, uint clustersize ); |
| 17212 | long __ovld sub_group_clustered_reduce_and( long value, uint clustersize ); |
| 17213 | ulong __ovld sub_group_clustered_reduce_and( ulong value, uint clustersize ); |
| 17214 | |
| 17215 | char __ovld sub_group_clustered_reduce_or( char value, uint clustersize ); |
| 17216 | uchar __ovld sub_group_clustered_reduce_or( uchar value, uint clustersize ); |
| 17217 | short __ovld sub_group_clustered_reduce_or( short value, uint clustersize ); |
| 17218 | ushort __ovld sub_group_clustered_reduce_or( ushort value, uint clustersize ); |
| 17219 | int __ovld sub_group_clustered_reduce_or( int value, uint clustersize ); |
| 17220 | uint __ovld sub_group_clustered_reduce_or( uint value, uint clustersize ); |
| 17221 | long __ovld sub_group_clustered_reduce_or( long value, uint clustersize ); |
| 17222 | ulong __ovld sub_group_clustered_reduce_or( ulong value, uint clustersize ); |
| 17223 | |
| 17224 | char __ovld sub_group_clustered_reduce_xor( char value, uint clustersize ); |
| 17225 | uchar __ovld sub_group_clustered_reduce_xor( uchar value, uint clustersize ); |
| 17226 | short __ovld sub_group_clustered_reduce_xor( short value, uint clustersize ); |
| 17227 | ushort __ovld sub_group_clustered_reduce_xor( ushort value, uint clustersize ); |
| 17228 | int __ovld sub_group_clustered_reduce_xor( int value, uint clustersize ); |
| 17229 | uint __ovld sub_group_clustered_reduce_xor( uint value, uint clustersize ); |
| 17230 | long __ovld sub_group_clustered_reduce_xor( long value, uint clustersize ); |
| 17231 | ulong __ovld sub_group_clustered_reduce_xor( ulong value, uint clustersize ); |
| 17232 | |
| 17233 | int __ovld sub_group_clustered_reduce_logical_and( int predicate, uint clustersize ); |
| 17234 | int __ovld sub_group_clustered_reduce_logical_or( int predicate, uint clustersize ); |
| 17235 | int __ovld sub_group_clustered_reduce_logical_xor( int predicate, uint clustersize ); |
| 17236 | |
| 17237 | #if defined(cl_khr_fp16) |
| 17238 | half __ovld sub_group_clustered_reduce_add( half value, uint clustersize ); |
| 17239 | half __ovld sub_group_clustered_reduce_mul( half value, uint clustersize ); |
| 17240 | half __ovld sub_group_clustered_reduce_min( half value, uint clustersize ); |
| 17241 | half __ovld sub_group_clustered_reduce_max( half value, uint clustersize ); |
| 17242 | #endif // cl_khr_fp16 |
| 17243 | |
| 17244 | #if defined(cl_khr_fp64) |
| 17245 | double __ovld sub_group_clustered_reduce_add( double value, uint clustersize ); |
| 17246 | double __ovld sub_group_clustered_reduce_mul( double value, uint clustersize ); |
| 17247 | double __ovld sub_group_clustered_reduce_min( double value, uint clustersize ); |
| 17248 | double __ovld sub_group_clustered_reduce_max( double value, uint clustersize ); |
| 17249 | #endif // cl_khr_fp64 |
| 17250 | |
| 17251 | #endif // cl_khr_subgroup_clustered_reduce |
| 17252 | |
Pirama Arumuga Nainar | 494f645 | 2021-12-02 10:42:14 -0800 | [diff] [blame] | 17253 | #if defined(cl_khr_extended_bit_ops) |
| 17254 | char __ovld __cnfn bitfield_insert(char, char, uint, uint); |
| 17255 | uchar __ovld __cnfn bitfield_insert(uchar, uchar, uint, uint); |
| 17256 | short __ovld __cnfn bitfield_insert(short, short, uint, uint); |
| 17257 | ushort __ovld __cnfn bitfield_insert(ushort, ushort, uint, uint); |
| 17258 | int __ovld __cnfn bitfield_insert(int, int, uint, uint); |
| 17259 | uint __ovld __cnfn bitfield_insert(uint, uint, uint, uint); |
| 17260 | long __ovld __cnfn bitfield_insert(long, long, uint, uint); |
| 17261 | ulong __ovld __cnfn bitfield_insert(ulong, ulong, uint, uint); |
| 17262 | char2 __ovld __cnfn bitfield_insert(char2, char2, uint, uint); |
| 17263 | uchar2 __ovld __cnfn bitfield_insert(uchar2, uchar2, uint, uint); |
| 17264 | short2 __ovld __cnfn bitfield_insert(short2, short2, uint, uint); |
| 17265 | ushort2 __ovld __cnfn bitfield_insert(ushort2, ushort2, uint, uint); |
| 17266 | int2 __ovld __cnfn bitfield_insert(int2, int2, uint, uint); |
| 17267 | uint2 __ovld __cnfn bitfield_insert(uint2, uint2, uint, uint); |
| 17268 | long2 __ovld __cnfn bitfield_insert(long2, long2, uint, uint); |
| 17269 | ulong2 __ovld __cnfn bitfield_insert(ulong2, ulong2, uint, uint); |
| 17270 | char3 __ovld __cnfn bitfield_insert(char3, char3, uint, uint); |
| 17271 | uchar3 __ovld __cnfn bitfield_insert(uchar3, uchar3, uint, uint); |
| 17272 | short3 __ovld __cnfn bitfield_insert(short3, short3, uint, uint); |
| 17273 | ushort3 __ovld __cnfn bitfield_insert(ushort3, ushort3, uint, uint); |
| 17274 | int3 __ovld __cnfn bitfield_insert(int3, int3, uint, uint); |
| 17275 | uint3 __ovld __cnfn bitfield_insert(uint3, uint3, uint, uint); |
| 17276 | long3 __ovld __cnfn bitfield_insert(long3, long3, uint, uint); |
| 17277 | ulong3 __ovld __cnfn bitfield_insert(ulong3, ulong3, uint, uint); |
| 17278 | char4 __ovld __cnfn bitfield_insert(char4, char4, uint, uint); |
| 17279 | uchar4 __ovld __cnfn bitfield_insert(uchar4, uchar4, uint, uint); |
| 17280 | short4 __ovld __cnfn bitfield_insert(short4, short4, uint, uint); |
| 17281 | ushort4 __ovld __cnfn bitfield_insert(ushort4, ushort4, uint, uint); |
| 17282 | int4 __ovld __cnfn bitfield_insert(int4, int4, uint, uint); |
| 17283 | uint4 __ovld __cnfn bitfield_insert(uint4, uint4, uint, uint); |
| 17284 | long4 __ovld __cnfn bitfield_insert(long4, long4, uint, uint); |
| 17285 | ulong4 __ovld __cnfn bitfield_insert(ulong4, ulong4, uint, uint); |
| 17286 | char8 __ovld __cnfn bitfield_insert(char8, char8, uint, uint); |
| 17287 | uchar8 __ovld __cnfn bitfield_insert(uchar8, uchar8, uint, uint); |
| 17288 | short8 __ovld __cnfn bitfield_insert(short8, short8, uint, uint); |
| 17289 | ushort8 __ovld __cnfn bitfield_insert(ushort8, ushort8, uint, uint); |
| 17290 | int8 __ovld __cnfn bitfield_insert(int8, int8, uint, uint); |
| 17291 | uint8 __ovld __cnfn bitfield_insert(uint8, uint8, uint, uint); |
| 17292 | long8 __ovld __cnfn bitfield_insert(long8, long8, uint, uint); |
| 17293 | ulong8 __ovld __cnfn bitfield_insert(ulong8, ulong8, uint, uint); |
| 17294 | char16 __ovld __cnfn bitfield_insert(char16, char16, uint, uint); |
| 17295 | uchar16 __ovld __cnfn bitfield_insert(uchar16, uchar16, uint, uint); |
| 17296 | short16 __ovld __cnfn bitfield_insert(short16, short16, uint, uint); |
| 17297 | ushort16 __ovld __cnfn bitfield_insert(ushort16, ushort16, uint, uint); |
| 17298 | int16 __ovld __cnfn bitfield_insert(int16, int16, uint, uint); |
| 17299 | uint16 __ovld __cnfn bitfield_insert(uint16, uint16, uint, uint); |
| 17300 | long16 __ovld __cnfn bitfield_insert(long16, long16, uint, uint); |
| 17301 | ulong16 __ovld __cnfn bitfield_insert(ulong16, ulong16, uint, uint); |
| 17302 | |
| 17303 | char __ovld __cnfn bitfield_extract_signed(char, uint, uint); |
| 17304 | short __ovld __cnfn bitfield_extract_signed(short, uint, uint); |
| 17305 | int __ovld __cnfn bitfield_extract_signed(int, uint, uint); |
| 17306 | long __ovld __cnfn bitfield_extract_signed(long, uint, uint); |
| 17307 | char2 __ovld __cnfn bitfield_extract_signed(char2, uint, uint); |
| 17308 | short2 __ovld __cnfn bitfield_extract_signed(short2, uint, uint); |
| 17309 | int2 __ovld __cnfn bitfield_extract_signed(int2, uint, uint); |
| 17310 | long2 __ovld __cnfn bitfield_extract_signed(long2, uint, uint); |
| 17311 | char3 __ovld __cnfn bitfield_extract_signed(char3, uint, uint); |
| 17312 | short3 __ovld __cnfn bitfield_extract_signed(short3, uint, uint); |
| 17313 | int3 __ovld __cnfn bitfield_extract_signed(int3, uint, uint); |
| 17314 | long3 __ovld __cnfn bitfield_extract_signed(long3, uint, uint); |
| 17315 | char4 __ovld __cnfn bitfield_extract_signed(char4, uint, uint); |
| 17316 | short4 __ovld __cnfn bitfield_extract_signed(short4, uint, uint); |
| 17317 | int4 __ovld __cnfn bitfield_extract_signed(int4, uint, uint); |
| 17318 | long4 __ovld __cnfn bitfield_extract_signed(long4, uint, uint); |
| 17319 | char8 __ovld __cnfn bitfield_extract_signed(char8, uint, uint); |
| 17320 | short8 __ovld __cnfn bitfield_extract_signed(short8, uint, uint); |
| 17321 | int8 __ovld __cnfn bitfield_extract_signed(int8, uint, uint); |
| 17322 | long8 __ovld __cnfn bitfield_extract_signed(long8, uint, uint); |
| 17323 | char16 __ovld __cnfn bitfield_extract_signed(char16, uint, uint); |
| 17324 | short16 __ovld __cnfn bitfield_extract_signed(short16, uint, uint); |
| 17325 | int16 __ovld __cnfn bitfield_extract_signed(int16, uint, uint); |
| 17326 | long16 __ovld __cnfn bitfield_extract_signed(long16, uint, uint); |
| 17327 | |
| 17328 | char __ovld __cnfn bitfield_extract_signed(uchar, uint, uint); |
| 17329 | short __ovld __cnfn bitfield_extract_signed(ushort, uint, uint); |
| 17330 | int __ovld __cnfn bitfield_extract_signed(uint, uint, uint); |
| 17331 | long __ovld __cnfn bitfield_extract_signed(ulong, uint, uint); |
| 17332 | char2 __ovld __cnfn bitfield_extract_signed(uchar2, uint, uint); |
| 17333 | short2 __ovld __cnfn bitfield_extract_signed(ushort2, uint, uint); |
| 17334 | int2 __ovld __cnfn bitfield_extract_signed(uint2, uint, uint); |
| 17335 | long2 __ovld __cnfn bitfield_extract_signed(ulong2, uint, uint); |
| 17336 | char3 __ovld __cnfn bitfield_extract_signed(uchar3, uint, uint); |
| 17337 | short3 __ovld __cnfn bitfield_extract_signed(ushort3, uint, uint); |
| 17338 | int3 __ovld __cnfn bitfield_extract_signed(uint3, uint, uint); |
| 17339 | long3 __ovld __cnfn bitfield_extract_signed(ulong3, uint, uint); |
| 17340 | char4 __ovld __cnfn bitfield_extract_signed(uchar4, uint, uint); |
| 17341 | short4 __ovld __cnfn bitfield_extract_signed(ushort4, uint, uint); |
| 17342 | int4 __ovld __cnfn bitfield_extract_signed(uint4, uint, uint); |
| 17343 | long4 __ovld __cnfn bitfield_extract_signed(ulong4, uint, uint); |
| 17344 | char8 __ovld __cnfn bitfield_extract_signed(uchar8, uint, uint); |
| 17345 | short8 __ovld __cnfn bitfield_extract_signed(ushort8, uint, uint); |
| 17346 | int8 __ovld __cnfn bitfield_extract_signed(uint8, uint, uint); |
| 17347 | long8 __ovld __cnfn bitfield_extract_signed(ulong8, uint, uint); |
| 17348 | char16 __ovld __cnfn bitfield_extract_signed(uchar16, uint, uint); |
| 17349 | short16 __ovld __cnfn bitfield_extract_signed(ushort16, uint, uint); |
| 17350 | int16 __ovld __cnfn bitfield_extract_signed(uint16, uint, uint); |
| 17351 | long16 __ovld __cnfn bitfield_extract_signed(ulong16, uint, uint); |
| 17352 | |
| 17353 | uchar __ovld __cnfn bitfield_extract_unsigned(char, uint, uint); |
| 17354 | ushort __ovld __cnfn bitfield_extract_unsigned(short, uint, uint); |
| 17355 | uint __ovld __cnfn bitfield_extract_unsigned(int, uint, uint); |
| 17356 | ulong __ovld __cnfn bitfield_extract_unsigned(long, uint, uint); |
| 17357 | uchar2 __ovld __cnfn bitfield_extract_unsigned(char2, uint, uint); |
| 17358 | ushort2 __ovld __cnfn bitfield_extract_unsigned(short2, uint, uint); |
| 17359 | uint2 __ovld __cnfn bitfield_extract_unsigned(int2, uint, uint); |
| 17360 | ulong2 __ovld __cnfn bitfield_extract_unsigned(long2, uint, uint); |
| 17361 | uchar3 __ovld __cnfn bitfield_extract_unsigned(char3, uint, uint); |
| 17362 | ushort3 __ovld __cnfn bitfield_extract_unsigned(short3, uint, uint); |
| 17363 | uint3 __ovld __cnfn bitfield_extract_unsigned(int3, uint, uint); |
| 17364 | ulong3 __ovld __cnfn bitfield_extract_unsigned(long3, uint, uint); |
| 17365 | uchar4 __ovld __cnfn bitfield_extract_unsigned(char4, uint, uint); |
| 17366 | ushort4 __ovld __cnfn bitfield_extract_unsigned(short4, uint, uint); |
| 17367 | uint4 __ovld __cnfn bitfield_extract_unsigned(int4, uint, uint); |
| 17368 | ulong4 __ovld __cnfn bitfield_extract_unsigned(long4, uint, uint); |
| 17369 | uchar8 __ovld __cnfn bitfield_extract_unsigned(char8, uint, uint); |
| 17370 | ushort8 __ovld __cnfn bitfield_extract_unsigned(short8, uint, uint); |
| 17371 | uint8 __ovld __cnfn bitfield_extract_unsigned(int8, uint, uint); |
| 17372 | ulong8 __ovld __cnfn bitfield_extract_unsigned(long8, uint, uint); |
| 17373 | uchar16 __ovld __cnfn bitfield_extract_unsigned(char16, uint, uint); |
| 17374 | ushort16 __ovld __cnfn bitfield_extract_unsigned(short16, uint, uint); |
| 17375 | uint16 __ovld __cnfn bitfield_extract_unsigned(int16, uint, uint); |
| 17376 | ulong16 __ovld __cnfn bitfield_extract_unsigned(long16, uint, uint); |
| 17377 | |
| 17378 | uchar __ovld __cnfn bitfield_extract_unsigned(uchar, uint, uint); |
| 17379 | ushort __ovld __cnfn bitfield_extract_unsigned(ushort, uint, uint); |
| 17380 | uint __ovld __cnfn bitfield_extract_unsigned(uint, uint, uint); |
| 17381 | ulong __ovld __cnfn bitfield_extract_unsigned(ulong, uint, uint); |
| 17382 | uchar2 __ovld __cnfn bitfield_extract_unsigned(uchar2, uint, uint); |
| 17383 | ushort2 __ovld __cnfn bitfield_extract_unsigned(ushort2, uint, uint); |
| 17384 | uint2 __ovld __cnfn bitfield_extract_unsigned(uint2, uint, uint); |
| 17385 | ulong2 __ovld __cnfn bitfield_extract_unsigned(ulong2, uint, uint); |
| 17386 | uchar3 __ovld __cnfn bitfield_extract_unsigned(uchar3, uint, uint); |
| 17387 | ushort3 __ovld __cnfn bitfield_extract_unsigned(ushort3, uint, uint); |
| 17388 | uint3 __ovld __cnfn bitfield_extract_unsigned(uint3, uint, uint); |
| 17389 | ulong3 __ovld __cnfn bitfield_extract_unsigned(ulong3, uint, uint); |
| 17390 | uchar4 __ovld __cnfn bitfield_extract_unsigned(uchar4, uint, uint); |
| 17391 | ushort4 __ovld __cnfn bitfield_extract_unsigned(ushort4, uint, uint); |
| 17392 | uint4 __ovld __cnfn bitfield_extract_unsigned(uint4, uint, uint); |
| 17393 | ulong4 __ovld __cnfn bitfield_extract_unsigned(ulong4, uint, uint); |
| 17394 | uchar8 __ovld __cnfn bitfield_extract_unsigned(uchar8, uint, uint); |
| 17395 | ushort8 __ovld __cnfn bitfield_extract_unsigned(ushort8, uint, uint); |
| 17396 | uint8 __ovld __cnfn bitfield_extract_unsigned(uint8, uint, uint); |
| 17397 | ulong8 __ovld __cnfn bitfield_extract_unsigned(ulong8, uint, uint); |
| 17398 | uchar16 __ovld __cnfn bitfield_extract_unsigned(uchar16, uint, uint); |
| 17399 | ushort16 __ovld __cnfn bitfield_extract_unsigned(ushort16, uint, uint); |
| 17400 | uint16 __ovld __cnfn bitfield_extract_unsigned(uint16, uint, uint); |
| 17401 | ulong16 __ovld __cnfn bitfield_extract_unsigned(ulong16, uint, uint); |
| 17402 | |
| 17403 | char __ovld __cnfn bit_reverse(char); |
| 17404 | uchar __ovld __cnfn bit_reverse(uchar); |
| 17405 | short __ovld __cnfn bit_reverse(short); |
| 17406 | ushort __ovld __cnfn bit_reverse(ushort); |
| 17407 | int __ovld __cnfn bit_reverse(int); |
| 17408 | uint __ovld __cnfn bit_reverse(uint); |
| 17409 | long __ovld __cnfn bit_reverse(long); |
| 17410 | ulong __ovld __cnfn bit_reverse(ulong); |
| 17411 | char2 __ovld __cnfn bit_reverse(char2); |
| 17412 | uchar2 __ovld __cnfn bit_reverse(uchar2); |
| 17413 | short2 __ovld __cnfn bit_reverse(short2); |
| 17414 | ushort2 __ovld __cnfn bit_reverse(ushort2); |
| 17415 | int2 __ovld __cnfn bit_reverse(int2); |
| 17416 | uint2 __ovld __cnfn bit_reverse(uint2); |
| 17417 | long2 __ovld __cnfn bit_reverse(long2); |
| 17418 | ulong2 __ovld __cnfn bit_reverse(ulong2); |
| 17419 | char3 __ovld __cnfn bit_reverse(char3); |
| 17420 | uchar3 __ovld __cnfn bit_reverse(uchar3); |
| 17421 | short3 __ovld __cnfn bit_reverse(short3); |
| 17422 | ushort3 __ovld __cnfn bit_reverse(ushort3); |
| 17423 | int3 __ovld __cnfn bit_reverse(int3); |
| 17424 | uint3 __ovld __cnfn bit_reverse(uint3); |
| 17425 | long3 __ovld __cnfn bit_reverse(long3); |
| 17426 | ulong3 __ovld __cnfn bit_reverse(ulong3); |
| 17427 | char4 __ovld __cnfn bit_reverse(char4); |
| 17428 | uchar4 __ovld __cnfn bit_reverse(uchar4); |
| 17429 | short4 __ovld __cnfn bit_reverse(short4); |
| 17430 | ushort4 __ovld __cnfn bit_reverse(ushort4); |
| 17431 | int4 __ovld __cnfn bit_reverse(int4); |
| 17432 | uint4 __ovld __cnfn bit_reverse(uint4); |
| 17433 | long4 __ovld __cnfn bit_reverse(long4); |
| 17434 | ulong4 __ovld __cnfn bit_reverse(ulong4); |
| 17435 | char8 __ovld __cnfn bit_reverse(char8); |
| 17436 | uchar8 __ovld __cnfn bit_reverse(uchar8); |
| 17437 | short8 __ovld __cnfn bit_reverse(short8); |
| 17438 | ushort8 __ovld __cnfn bit_reverse(ushort8); |
| 17439 | int8 __ovld __cnfn bit_reverse(int8); |
| 17440 | uint8 __ovld __cnfn bit_reverse(uint8); |
| 17441 | long8 __ovld __cnfn bit_reverse(long8); |
| 17442 | ulong8 __ovld __cnfn bit_reverse(ulong8); |
| 17443 | char16 __ovld __cnfn bit_reverse(char16); |
| 17444 | uchar16 __ovld __cnfn bit_reverse(uchar16); |
| 17445 | short16 __ovld __cnfn bit_reverse(short16); |
| 17446 | ushort16 __ovld __cnfn bit_reverse(ushort16); |
| 17447 | int16 __ovld __cnfn bit_reverse(int16); |
| 17448 | uint16 __ovld __cnfn bit_reverse(uint16); |
| 17449 | long16 __ovld __cnfn bit_reverse(long16); |
| 17450 | ulong16 __ovld __cnfn bit_reverse(ulong16); |
| 17451 | #endif // cl_khr_extended_bit_ops |
| 17452 | |
| 17453 | #if defined(__opencl_c_integer_dot_product_input_4x8bit) |
| 17454 | uint __ovld __cnfn dot(uchar4, uchar4); |
| 17455 | int __ovld __cnfn dot(char4, char4); |
| 17456 | int __ovld __cnfn dot(uchar4, char4); |
| 17457 | int __ovld __cnfn dot(char4, uchar4); |
| 17458 | |
| 17459 | uint __ovld __cnfn dot_acc_sat(uchar4, uchar4, uint); |
| 17460 | int __ovld __cnfn dot_acc_sat(char4, char4, int); |
| 17461 | int __ovld __cnfn dot_acc_sat(uchar4, char4, int); |
| 17462 | int __ovld __cnfn dot_acc_sat(char4, uchar4, int); |
| 17463 | #endif // __opencl_c_integer_dot_product_input_4x8bit |
| 17464 | |
| 17465 | #if defined(__opencl_c_integer_dot_product_input_4x8bit_packed) |
| 17466 | uint __ovld __cnfn dot_4x8packed_uu_uint(uint, uint); |
| 17467 | int __ovld __cnfn dot_4x8packed_ss_int(uint, uint); |
| 17468 | int __ovld __cnfn dot_4x8packed_us_int(uint, uint); |
| 17469 | int __ovld __cnfn dot_4x8packed_su_int(uint, uint); |
| 17470 | |
| 17471 | uint __ovld __cnfn dot_acc_sat_4x8packed_uu_uint(uint, uint, uint); |
| 17472 | int __ovld __cnfn dot_acc_sat_4x8packed_ss_int(uint, uint, int); |
| 17473 | int __ovld __cnfn dot_acc_sat_4x8packed_us_int(uint, uint, int); |
| 17474 | int __ovld __cnfn dot_acc_sat_4x8packed_su_int(uint, uint, int); |
| 17475 | #endif // __opencl_c_integer_dot_product_input_4x8bit_packed |
| 17476 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17477 | #if defined(cl_intel_subgroups) |
| 17478 | // Intel-Specific Sub Group Functions |
| 17479 | float __ovld __conv intel_sub_group_shuffle( float x, uint c ); |
| 17480 | float2 __ovld __conv intel_sub_group_shuffle( float2 x, uint c ); |
| 17481 | float3 __ovld __conv intel_sub_group_shuffle( float3 x, uint c ); |
| 17482 | float4 __ovld __conv intel_sub_group_shuffle( float4 x, uint c ); |
| 17483 | float8 __ovld __conv intel_sub_group_shuffle( float8 x, uint c ); |
| 17484 | float16 __ovld __conv intel_sub_group_shuffle( float16 x, uint c ); |
| 17485 | |
| 17486 | int __ovld __conv intel_sub_group_shuffle( int x, uint c ); |
| 17487 | int2 __ovld __conv intel_sub_group_shuffle( int2 x, uint c ); |
| 17488 | int3 __ovld __conv intel_sub_group_shuffle( int3 x, uint c ); |
| 17489 | int4 __ovld __conv intel_sub_group_shuffle( int4 x, uint c ); |
| 17490 | int8 __ovld __conv intel_sub_group_shuffle( int8 x, uint c ); |
| 17491 | int16 __ovld __conv intel_sub_group_shuffle( int16 x, uint c ); |
| 17492 | |
| 17493 | uint __ovld __conv intel_sub_group_shuffle( uint x, uint c ); |
| 17494 | uint2 __ovld __conv intel_sub_group_shuffle( uint2 x, uint c ); |
| 17495 | uint3 __ovld __conv intel_sub_group_shuffle( uint3 x, uint c ); |
| 17496 | uint4 __ovld __conv intel_sub_group_shuffle( uint4 x, uint c ); |
| 17497 | uint8 __ovld __conv intel_sub_group_shuffle( uint8 x, uint c ); |
| 17498 | uint16 __ovld __conv intel_sub_group_shuffle( uint16 x, uint c ); |
| 17499 | |
| 17500 | long __ovld __conv intel_sub_group_shuffle( long x, uint c ); |
| 17501 | ulong __ovld __conv intel_sub_group_shuffle( ulong x, uint c ); |
| 17502 | |
| 17503 | float __ovld __conv intel_sub_group_shuffle_down( float cur, float next, uint c ); |
| 17504 | float2 __ovld __conv intel_sub_group_shuffle_down( float2 cur, float2 next, uint c ); |
| 17505 | float3 __ovld __conv intel_sub_group_shuffle_down( float3 cur, float3 next, uint c ); |
| 17506 | float4 __ovld __conv intel_sub_group_shuffle_down( float4 cur, float4 next, uint c ); |
| 17507 | float8 __ovld __conv intel_sub_group_shuffle_down( float8 cur, float8 next, uint c ); |
| 17508 | float16 __ovld __conv intel_sub_group_shuffle_down( float16 cur, float16 next, uint c ); |
| 17509 | |
| 17510 | int __ovld __conv intel_sub_group_shuffle_down( int cur, int next, uint c ); |
| 17511 | int2 __ovld __conv intel_sub_group_shuffle_down( int2 cur, int2 next, uint c ); |
| 17512 | int3 __ovld __conv intel_sub_group_shuffle_down( int3 cur, int3 next, uint c ); |
| 17513 | int4 __ovld __conv intel_sub_group_shuffle_down( int4 cur, int4 next, uint c ); |
| 17514 | int8 __ovld __conv intel_sub_group_shuffle_down( int8 cur, int8 next, uint c ); |
| 17515 | int16 __ovld __conv intel_sub_group_shuffle_down( int16 cur, int16 next, uint c ); |
| 17516 | |
| 17517 | uint __ovld __conv intel_sub_group_shuffle_down( uint cur, uint next, uint c ); |
| 17518 | uint2 __ovld __conv intel_sub_group_shuffle_down( uint2 cur, uint2 next, uint c ); |
| 17519 | uint3 __ovld __conv intel_sub_group_shuffle_down( uint3 cur, uint3 next, uint c ); |
| 17520 | uint4 __ovld __conv intel_sub_group_shuffle_down( uint4 cur, uint4 next, uint c ); |
| 17521 | uint8 __ovld __conv intel_sub_group_shuffle_down( uint8 cur, uint8 next, uint c ); |
| 17522 | uint16 __ovld __conv intel_sub_group_shuffle_down( uint16 cur, uint16 next, uint c ); |
| 17523 | |
| 17524 | long __ovld __conv intel_sub_group_shuffle_down( long prev, long cur, uint c ); |
| 17525 | ulong __ovld __conv intel_sub_group_shuffle_down( ulong prev, ulong cur, uint c ); |
| 17526 | |
| 17527 | float __ovld __conv intel_sub_group_shuffle_up( float prev, float cur, uint c ); |
| 17528 | float2 __ovld __conv intel_sub_group_shuffle_up( float2 prev, float2 cur, uint c ); |
| 17529 | float3 __ovld __conv intel_sub_group_shuffle_up( float3 prev, float3 cur, uint c ); |
| 17530 | float4 __ovld __conv intel_sub_group_shuffle_up( float4 prev, float4 cur, uint c ); |
| 17531 | float8 __ovld __conv intel_sub_group_shuffle_up( float8 prev, float8 cur, uint c ); |
| 17532 | float16 __ovld __conv intel_sub_group_shuffle_up( float16 prev, float16 cur, uint c ); |
| 17533 | |
| 17534 | int __ovld __conv intel_sub_group_shuffle_up( int prev, int cur, uint c ); |
| 17535 | int2 __ovld __conv intel_sub_group_shuffle_up( int2 prev, int2 cur, uint c ); |
| 17536 | int3 __ovld __conv intel_sub_group_shuffle_up( int3 prev, int3 cur, uint c ); |
| 17537 | int4 __ovld __conv intel_sub_group_shuffle_up( int4 prev, int4 cur, uint c ); |
| 17538 | int8 __ovld __conv intel_sub_group_shuffle_up( int8 prev, int8 cur, uint c ); |
| 17539 | int16 __ovld __conv intel_sub_group_shuffle_up( int16 prev, int16 cur, uint c ); |
| 17540 | |
| 17541 | uint __ovld __conv intel_sub_group_shuffle_up( uint prev, uint cur, uint c ); |
| 17542 | uint2 __ovld __conv intel_sub_group_shuffle_up( uint2 prev, uint2 cur, uint c ); |
| 17543 | uint3 __ovld __conv intel_sub_group_shuffle_up( uint3 prev, uint3 cur, uint c ); |
| 17544 | uint4 __ovld __conv intel_sub_group_shuffle_up( uint4 prev, uint4 cur, uint c ); |
| 17545 | uint8 __ovld __conv intel_sub_group_shuffle_up( uint8 prev, uint8 cur, uint c ); |
| 17546 | uint16 __ovld __conv intel_sub_group_shuffle_up( uint16 prev, uint16 cur, uint c ); |
| 17547 | |
| 17548 | long __ovld __conv intel_sub_group_shuffle_up( long prev, long cur, uint c ); |
| 17549 | ulong __ovld __conv intel_sub_group_shuffle_up( ulong prev, ulong cur, uint c ); |
| 17550 | |
| 17551 | float __ovld __conv intel_sub_group_shuffle_xor( float x, uint c ); |
| 17552 | float2 __ovld __conv intel_sub_group_shuffle_xor( float2 x, uint c ); |
| 17553 | float3 __ovld __conv intel_sub_group_shuffle_xor( float3 x, uint c ); |
| 17554 | float4 __ovld __conv intel_sub_group_shuffle_xor( float4 x, uint c ); |
| 17555 | float8 __ovld __conv intel_sub_group_shuffle_xor( float8 x, uint c ); |
| 17556 | float16 __ovld __conv intel_sub_group_shuffle_xor( float16 x, uint c ); |
| 17557 | |
| 17558 | int __ovld __conv intel_sub_group_shuffle_xor( int x, uint c ); |
| 17559 | int2 __ovld __conv intel_sub_group_shuffle_xor( int2 x, uint c ); |
| 17560 | int3 __ovld __conv intel_sub_group_shuffle_xor( int3 x, uint c ); |
| 17561 | int4 __ovld __conv intel_sub_group_shuffle_xor( int4 x, uint c ); |
| 17562 | int8 __ovld __conv intel_sub_group_shuffle_xor( int8 x, uint c ); |
| 17563 | int16 __ovld __conv intel_sub_group_shuffle_xor( int16 x, uint c ); |
| 17564 | |
| 17565 | uint __ovld __conv intel_sub_group_shuffle_xor( uint x, uint c ); |
| 17566 | uint2 __ovld __conv intel_sub_group_shuffle_xor( uint2 x, uint c ); |
| 17567 | uint3 __ovld __conv intel_sub_group_shuffle_xor( uint3 x, uint c ); |
| 17568 | uint4 __ovld __conv intel_sub_group_shuffle_xor( uint4 x, uint c ); |
| 17569 | uint8 __ovld __conv intel_sub_group_shuffle_xor( uint8 x, uint c ); |
| 17570 | uint16 __ovld __conv intel_sub_group_shuffle_xor( uint16 x, uint c ); |
| 17571 | |
| 17572 | long __ovld __conv intel_sub_group_shuffle_xor( long x, uint c ); |
| 17573 | ulong __ovld __conv intel_sub_group_shuffle_xor( ulong x, uint c ); |
| 17574 | |
| 17575 | uint __ovld __conv intel_sub_group_block_read( read_only image2d_t image, int2 coord ); |
| 17576 | uint2 __ovld __conv intel_sub_group_block_read2( read_only image2d_t image, int2 coord ); |
| 17577 | uint4 __ovld __conv intel_sub_group_block_read4( read_only image2d_t image, int2 coord ); |
| 17578 | uint8 __ovld __conv intel_sub_group_block_read8( read_only image2d_t image, int2 coord ); |
| 17579 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17580 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17581 | uint __ovld __conv intel_sub_group_block_read(read_write image2d_t image, int2 coord); |
| 17582 | uint2 __ovld __conv intel_sub_group_block_read2(read_write image2d_t image, int2 coord); |
| 17583 | uint4 __ovld __conv intel_sub_group_block_read4(read_write image2d_t image, int2 coord); |
| 17584 | uint8 __ovld __conv intel_sub_group_block_read8(read_write image2d_t image, int2 coord); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17585 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17586 | |
| 17587 | uint __ovld __conv intel_sub_group_block_read( const __global uint* p ); |
| 17588 | uint2 __ovld __conv intel_sub_group_block_read2( const __global uint* p ); |
| 17589 | uint4 __ovld __conv intel_sub_group_block_read4( const __global uint* p ); |
| 17590 | uint8 __ovld __conv intel_sub_group_block_read8( const __global uint* p ); |
| 17591 | |
| 17592 | void __ovld __conv intel_sub_group_block_write(write_only image2d_t image, int2 coord, uint data); |
| 17593 | void __ovld __conv intel_sub_group_block_write2(write_only image2d_t image, int2 coord, uint2 data); |
| 17594 | void __ovld __conv intel_sub_group_block_write4(write_only image2d_t image, int2 coord, uint4 data); |
| 17595 | void __ovld __conv intel_sub_group_block_write8(write_only image2d_t image, int2 coord, uint8 data); |
| 17596 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17597 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17598 | void __ovld __conv intel_sub_group_block_write(read_write image2d_t image, int2 coord, uint data); |
| 17599 | void __ovld __conv intel_sub_group_block_write2(read_write image2d_t image, int2 coord, uint2 data); |
| 17600 | void __ovld __conv intel_sub_group_block_write4(read_write image2d_t image, int2 coord, uint4 data); |
| 17601 | void __ovld __conv intel_sub_group_block_write8(read_write image2d_t image, int2 coord, uint8 data); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17602 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17603 | |
| 17604 | void __ovld __conv intel_sub_group_block_write( __global uint* p, uint data ); |
| 17605 | void __ovld __conv intel_sub_group_block_write2( __global uint* p, uint2 data ); |
| 17606 | void __ovld __conv intel_sub_group_block_write4( __global uint* p, uint4 data ); |
| 17607 | void __ovld __conv intel_sub_group_block_write8( __global uint* p, uint8 data ); |
| 17608 | |
| 17609 | #ifdef cl_khr_fp16 |
| 17610 | half __ovld __conv intel_sub_group_shuffle( half x, uint c ); |
| 17611 | half __ovld __conv intel_sub_group_shuffle_down( half prev, half cur, uint c ); |
| 17612 | half __ovld __conv intel_sub_group_shuffle_up( half prev, half cur, uint c ); |
| 17613 | half __ovld __conv intel_sub_group_shuffle_xor( half x, uint c ); |
| 17614 | #endif |
| 17615 | |
| 17616 | #if defined(cl_khr_fp64) |
| 17617 | double __ovld __conv intel_sub_group_shuffle( double x, uint c ); |
| 17618 | double __ovld __conv intel_sub_group_shuffle_down( double prev, double cur, uint c ); |
| 17619 | double __ovld __conv intel_sub_group_shuffle_up( double prev, double cur, uint c ); |
| 17620 | double __ovld __conv intel_sub_group_shuffle_xor( double x, uint c ); |
| 17621 | #endif |
| 17622 | |
| 17623 | #endif //cl_intel_subgroups |
| 17624 | |
| 17625 | #if defined(cl_intel_subgroups_short) |
| 17626 | short __ovld __conv intel_sub_group_broadcast( short x, uint sub_group_local_id ); |
| 17627 | short2 __ovld __conv intel_sub_group_broadcast( short2 x, uint sub_group_local_id ); |
| 17628 | short3 __ovld __conv intel_sub_group_broadcast( short3 x, uint sub_group_local_id ); |
| 17629 | short4 __ovld __conv intel_sub_group_broadcast( short4 x, uint sub_group_local_id ); |
| 17630 | short8 __ovld __conv intel_sub_group_broadcast( short8 x, uint sub_group_local_id ); |
| 17631 | |
| 17632 | ushort __ovld __conv intel_sub_group_broadcast( ushort x, uint sub_group_local_id ); |
| 17633 | ushort2 __ovld __conv intel_sub_group_broadcast( ushort2 x, uint sub_group_local_id ); |
| 17634 | ushort3 __ovld __conv intel_sub_group_broadcast( ushort3 x, uint sub_group_local_id ); |
| 17635 | ushort4 __ovld __conv intel_sub_group_broadcast( ushort4 x, uint sub_group_local_id ); |
| 17636 | ushort8 __ovld __conv intel_sub_group_broadcast( ushort8 x, uint sub_group_local_id ); |
| 17637 | |
| 17638 | short __ovld __conv intel_sub_group_shuffle( short x, uint c ); |
| 17639 | short2 __ovld __conv intel_sub_group_shuffle( short2 x, uint c ); |
| 17640 | short3 __ovld __conv intel_sub_group_shuffle( short3 x, uint c ); |
| 17641 | short4 __ovld __conv intel_sub_group_shuffle( short4 x, uint c ); |
| 17642 | short8 __ovld __conv intel_sub_group_shuffle( short8 x, uint c ); |
| 17643 | short16 __ovld __conv intel_sub_group_shuffle( short16 x, uint c); |
| 17644 | |
| 17645 | ushort __ovld __conv intel_sub_group_shuffle( ushort x, uint c ); |
| 17646 | ushort2 __ovld __conv intel_sub_group_shuffle( ushort2 x, uint c ); |
| 17647 | ushort3 __ovld __conv intel_sub_group_shuffle( ushort3 x, uint c ); |
| 17648 | ushort4 __ovld __conv intel_sub_group_shuffle( ushort4 x, uint c ); |
| 17649 | ushort8 __ovld __conv intel_sub_group_shuffle( ushort8 x, uint c ); |
| 17650 | ushort16 __ovld __conv intel_sub_group_shuffle( ushort16 x, uint c ); |
| 17651 | |
| 17652 | short __ovld __conv intel_sub_group_shuffle_down( short cur, short next, uint c ); |
| 17653 | short2 __ovld __conv intel_sub_group_shuffle_down( short2 cur, short2 next, uint c ); |
| 17654 | short3 __ovld __conv intel_sub_group_shuffle_down( short3 cur, short3 next, uint c ); |
| 17655 | short4 __ovld __conv intel_sub_group_shuffle_down( short4 cur, short4 next, uint c ); |
| 17656 | short8 __ovld __conv intel_sub_group_shuffle_down( short8 cur, short8 next, uint c ); |
| 17657 | short16 __ovld __conv intel_sub_group_shuffle_down( short16 cur, short16 next, uint c ); |
| 17658 | |
| 17659 | ushort __ovld __conv intel_sub_group_shuffle_down( ushort cur, ushort next, uint c ); |
| 17660 | ushort2 __ovld __conv intel_sub_group_shuffle_down( ushort2 cur, ushort2 next, uint c ); |
| 17661 | ushort3 __ovld __conv intel_sub_group_shuffle_down( ushort3 cur, ushort3 next, uint c ); |
| 17662 | ushort4 __ovld __conv intel_sub_group_shuffle_down( ushort4 cur, ushort4 next, uint c ); |
| 17663 | ushort8 __ovld __conv intel_sub_group_shuffle_down( ushort8 cur, ushort8 next, uint c ); |
| 17664 | ushort16 __ovld __conv intel_sub_group_shuffle_down( ushort16 cur, ushort16 next, uint c ); |
| 17665 | |
| 17666 | short __ovld __conv intel_sub_group_shuffle_up( short cur, short next, uint c ); |
| 17667 | short2 __ovld __conv intel_sub_group_shuffle_up( short2 cur, short2 next, uint c ); |
| 17668 | short3 __ovld __conv intel_sub_group_shuffle_up( short3 cur, short3 next, uint c ); |
| 17669 | short4 __ovld __conv intel_sub_group_shuffle_up( short4 cur, short4 next, uint c ); |
| 17670 | short8 __ovld __conv intel_sub_group_shuffle_up( short8 cur, short8 next, uint c ); |
| 17671 | short16 __ovld __conv intel_sub_group_shuffle_up( short16 cur, short16 next, uint c ); |
| 17672 | |
| 17673 | ushort __ovld __conv intel_sub_group_shuffle_up( ushort cur, ushort next, uint c ); |
| 17674 | ushort2 __ovld __conv intel_sub_group_shuffle_up( ushort2 cur, ushort2 next, uint c ); |
| 17675 | ushort3 __ovld __conv intel_sub_group_shuffle_up( ushort3 cur, ushort3 next, uint c ); |
| 17676 | ushort4 __ovld __conv intel_sub_group_shuffle_up( ushort4 cur, ushort4 next, uint c ); |
| 17677 | ushort8 __ovld __conv intel_sub_group_shuffle_up( ushort8 cur, ushort8 next, uint c ); |
| 17678 | ushort16 __ovld __conv intel_sub_group_shuffle_up( ushort16 cur, ushort16 next, uint c ); |
| 17679 | |
| 17680 | short __ovld __conv intel_sub_group_shuffle_xor( short x, uint c ); |
| 17681 | short2 __ovld __conv intel_sub_group_shuffle_xor( short2 x, uint c ); |
| 17682 | short3 __ovld __conv intel_sub_group_shuffle_xor( short3 x, uint c ); |
| 17683 | short4 __ovld __conv intel_sub_group_shuffle_xor( short4 x, uint c ); |
| 17684 | short8 __ovld __conv intel_sub_group_shuffle_xor( short8 x, uint c ); |
| 17685 | short16 __ovld __conv intel_sub_group_shuffle_xor( short16 x, uint c ); |
| 17686 | |
| 17687 | ushort __ovld __conv intel_sub_group_shuffle_xor( ushort x, uint c ); |
| 17688 | ushort2 __ovld __conv intel_sub_group_shuffle_xor( ushort2 x, uint c ); |
| 17689 | ushort3 __ovld __conv intel_sub_group_shuffle_xor( ushort3 x, uint c ); |
| 17690 | ushort4 __ovld __conv intel_sub_group_shuffle_xor( ushort4 x, uint c ); |
| 17691 | ushort8 __ovld __conv intel_sub_group_shuffle_xor( ushort8 x, uint c ); |
| 17692 | ushort16 __ovld __conv intel_sub_group_shuffle_xor( ushort16 x, uint c ); |
| 17693 | |
| 17694 | short __ovld __conv intel_sub_group_reduce_add( short x ); |
| 17695 | ushort __ovld __conv intel_sub_group_reduce_add( ushort x ); |
| 17696 | short __ovld __conv intel_sub_group_reduce_min( short x ); |
| 17697 | ushort __ovld __conv intel_sub_group_reduce_min( ushort x ); |
| 17698 | short __ovld __conv intel_sub_group_reduce_max( short x ); |
| 17699 | ushort __ovld __conv intel_sub_group_reduce_max( ushort x ); |
| 17700 | |
| 17701 | short __ovld __conv intel_sub_group_scan_exclusive_add( short x ); |
| 17702 | ushort __ovld __conv intel_sub_group_scan_exclusive_add( ushort x ); |
| 17703 | short __ovld __conv intel_sub_group_scan_exclusive_min( short x ); |
| 17704 | ushort __ovld __conv intel_sub_group_scan_exclusive_min( ushort x ); |
| 17705 | short __ovld __conv intel_sub_group_scan_exclusive_max( short x ); |
| 17706 | ushort __ovld __conv intel_sub_group_scan_exclusive_max( ushort x ); |
| 17707 | |
| 17708 | short __ovld __conv intel_sub_group_scan_inclusive_add( short x ); |
| 17709 | ushort __ovld __conv intel_sub_group_scan_inclusive_add( ushort x ); |
| 17710 | short __ovld __conv intel_sub_group_scan_inclusive_min( short x ); |
| 17711 | ushort __ovld __conv intel_sub_group_scan_inclusive_min( ushort x ); |
| 17712 | short __ovld __conv intel_sub_group_scan_inclusive_max( short x ); |
| 17713 | ushort __ovld __conv intel_sub_group_scan_inclusive_max( ushort x ); |
| 17714 | |
| 17715 | uint __ovld __conv intel_sub_group_block_read_ui( read_only image2d_t image, int2 byte_coord ); |
| 17716 | uint2 __ovld __conv intel_sub_group_block_read_ui2( read_only image2d_t image, int2 byte_coord ); |
| 17717 | uint4 __ovld __conv intel_sub_group_block_read_ui4( read_only image2d_t image, int2 byte_coord ); |
| 17718 | uint8 __ovld __conv intel_sub_group_block_read_ui8( read_only image2d_t image, int2 byte_coord ); |
| 17719 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17720 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17721 | uint __ovld __conv intel_sub_group_block_read_ui( read_write image2d_t image, int2 byte_coord ); |
| 17722 | uint2 __ovld __conv intel_sub_group_block_read_ui2( read_write image2d_t image, int2 byte_coord ); |
| 17723 | uint4 __ovld __conv intel_sub_group_block_read_ui4( read_write image2d_t image, int2 byte_coord ); |
| 17724 | uint8 __ovld __conv intel_sub_group_block_read_ui8( read_write image2d_t image, int2 byte_coord ); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17725 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17726 | |
| 17727 | uint __ovld __conv intel_sub_group_block_read_ui( const __global uint* p ); |
| 17728 | uint2 __ovld __conv intel_sub_group_block_read_ui2( const __global uint* p ); |
| 17729 | uint4 __ovld __conv intel_sub_group_block_read_ui4( const __global uint* p ); |
| 17730 | uint8 __ovld __conv intel_sub_group_block_read_ui8( const __global uint* p ); |
| 17731 | |
| 17732 | void __ovld __conv intel_sub_group_block_write_ui( read_only image2d_t image, int2 byte_coord, uint data ); |
| 17733 | void __ovld __conv intel_sub_group_block_write_ui2( read_only image2d_t image, int2 byte_coord, uint2 data ); |
| 17734 | void __ovld __conv intel_sub_group_block_write_ui4( read_only image2d_t image, int2 byte_coord, uint4 data ); |
| 17735 | void __ovld __conv intel_sub_group_block_write_ui8( read_only image2d_t image, int2 byte_coord, uint8 data ); |
| 17736 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17737 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17738 | void __ovld __conv intel_sub_group_block_write_ui( read_write image2d_t image, int2 byte_coord, uint data ); |
| 17739 | void __ovld __conv intel_sub_group_block_write_ui2( read_write image2d_t image, int2 byte_coord, uint2 data ); |
| 17740 | void __ovld __conv intel_sub_group_block_write_ui4( read_write image2d_t image, int2 byte_coord, uint4 data ); |
| 17741 | void __ovld __conv intel_sub_group_block_write_ui8( read_write image2d_t image, int2 byte_coord, uint8 data ); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17742 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17743 | |
| 17744 | void __ovld __conv intel_sub_group_block_write_ui( __global uint* p, uint data ); |
| 17745 | void __ovld __conv intel_sub_group_block_write_ui2( __global uint* p, uint2 data ); |
| 17746 | void __ovld __conv intel_sub_group_block_write_ui4( __global uint* p, uint4 data ); |
| 17747 | void __ovld __conv intel_sub_group_block_write_ui8( __global uint* p, uint8 data ); |
| 17748 | |
| 17749 | ushort __ovld __conv intel_sub_group_block_read_us( read_only image2d_t image, int2 coord ); |
| 17750 | ushort2 __ovld __conv intel_sub_group_block_read_us2( read_only image2d_t image, int2 coord ); |
| 17751 | ushort4 __ovld __conv intel_sub_group_block_read_us4( read_only image2d_t image, int2 coord ); |
| 17752 | ushort8 __ovld __conv intel_sub_group_block_read_us8( read_only image2d_t image, int2 coord ); |
| 17753 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17754 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17755 | ushort __ovld __conv intel_sub_group_block_read_us(read_write image2d_t image, int2 coord); |
| 17756 | ushort2 __ovld __conv intel_sub_group_block_read_us2(read_write image2d_t image, int2 coord); |
| 17757 | ushort4 __ovld __conv intel_sub_group_block_read_us4(read_write image2d_t image, int2 coord); |
| 17758 | ushort8 __ovld __conv intel_sub_group_block_read_us8(read_write image2d_t image, int2 coord); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17759 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17760 | |
| 17761 | ushort __ovld __conv intel_sub_group_block_read_us( const __global ushort* p ); |
| 17762 | ushort2 __ovld __conv intel_sub_group_block_read_us2( const __global ushort* p ); |
| 17763 | ushort4 __ovld __conv intel_sub_group_block_read_us4( const __global ushort* p ); |
| 17764 | ushort8 __ovld __conv intel_sub_group_block_read_us8( const __global ushort* p ); |
| 17765 | |
| 17766 | void __ovld __conv intel_sub_group_block_write_us(write_only image2d_t image, int2 coord, ushort data); |
| 17767 | void __ovld __conv intel_sub_group_block_write_us2(write_only image2d_t image, int2 coord, ushort2 data); |
| 17768 | void __ovld __conv intel_sub_group_block_write_us4(write_only image2d_t image, int2 coord, ushort4 data); |
| 17769 | void __ovld __conv intel_sub_group_block_write_us8(write_only image2d_t image, int2 coord, ushort8 data); |
| 17770 | |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17771 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17772 | void __ovld __conv intel_sub_group_block_write_us(read_write image2d_t image, int2 coord, ushort data); |
| 17773 | void __ovld __conv intel_sub_group_block_write_us2(read_write image2d_t image, int2 coord, ushort2 data); |
| 17774 | void __ovld __conv intel_sub_group_block_write_us4(read_write image2d_t image, int2 coord, ushort4 data); |
| 17775 | void __ovld __conv intel_sub_group_block_write_us8(read_write image2d_t image, int2 coord, ushort8 data); |
Logan Chien | bedbf4f | 2020-01-06 19:35:19 -0800 | [diff] [blame] | 17776 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 17777 | |
| 17778 | void __ovld __conv intel_sub_group_block_write_us( __global ushort* p, ushort data ); |
| 17779 | void __ovld __conv intel_sub_group_block_write_us2( __global ushort* p, ushort2 data ); |
| 17780 | void __ovld __conv intel_sub_group_block_write_us4( __global ushort* p, ushort4 data ); |
| 17781 | void __ovld __conv intel_sub_group_block_write_us8( __global ushort* p, ushort8 data ); |
| 17782 | #endif // cl_intel_subgroups_short |
| 17783 | |
Logan Chien | dbcf412 | 2019-03-21 10:50:25 +0800 | [diff] [blame] | 17784 | #ifdef cl_intel_device_side_avc_motion_estimation |
| 17785 | #pragma OPENCL EXTENSION cl_intel_device_side_avc_motion_estimation : begin |
| 17786 | |
Logan Chien | dbcf412 | 2019-03-21 10:50:25 +0800 | [diff] [blame] | 17787 | // MCE built-in functions |
| 17788 | uchar __ovld |
| 17789 | intel_sub_group_avc_mce_get_default_inter_base_multi_reference_penalty( |
| 17790 | uchar slice_type, uchar qp); |
| 17791 | ulong __ovld intel_sub_group_avc_mce_get_default_inter_shape_penalty( |
| 17792 | uchar slice_type, uchar qp); |
| 17793 | uchar __ovld intel_sub_group_avc_mce_get_default_inter_direction_penalty( |
| 17794 | uchar slice_type, uchar qp); |
| 17795 | uint __ovld intel_sub_group_avc_mce_get_default_intra_luma_shape_penalty( |
| 17796 | uchar slice_type, uchar qp); |
| 17797 | uint2 __ovld |
| 17798 | intel_sub_group_avc_mce_get_default_inter_motion_vector_cost_table( |
| 17799 | uchar slice_type, uchar qp); |
| 17800 | uchar __ovld intel_sub_group_avc_mce_get_default_intra_luma_mode_penalty( |
| 17801 | uchar slice_type, uchar qp); |
| 17802 | |
| 17803 | uint2 __ovld intel_sub_group_avc_mce_get_default_high_penalty_cost_table(); |
| 17804 | uint2 __ovld intel_sub_group_avc_mce_get_default_medium_penalty_cost_table(); |
| 17805 | uint2 __ovld intel_sub_group_avc_mce_get_default_low_penalty_cost_table(); |
| 17806 | uint __ovld intel_sub_group_avc_mce_get_default_non_dc_luma_intra_penalty(); |
| 17807 | uchar __ovld |
| 17808 | intel_sub_group_avc_mce_get_default_intra_chroma_mode_base_penalty(); |
| 17809 | |
| 17810 | intel_sub_group_avc_mce_payload_t __ovld |
| 17811 | intel_sub_group_avc_mce_set_inter_base_multi_reference_penalty( |
| 17812 | uchar reference_base_penalty, intel_sub_group_avc_mce_payload_t payload); |
| 17813 | intel_sub_group_avc_mce_payload_t __ovld |
| 17814 | intel_sub_group_avc_mce_set_inter_shape_penalty( |
| 17815 | ulong packed_shape_penalty, intel_sub_group_avc_mce_payload_t payload); |
| 17816 | intel_sub_group_avc_mce_payload_t __ovld |
| 17817 | intel_sub_group_avc_mce_set_inter_direction_penalty( |
| 17818 | uchar direction_cost, intel_sub_group_avc_mce_payload_t payload); |
| 17819 | intel_sub_group_avc_mce_payload_t __ovld |
| 17820 | intel_sub_group_avc_mce_set_motion_vector_cost_function( |
| 17821 | ulong packed_cost_center_delta, uint2 packed_cost_table, |
| 17822 | uchar cost_precision, intel_sub_group_avc_mce_payload_t payload); |
| 17823 | intel_sub_group_avc_mce_payload_t __ovld |
| 17824 | intel_sub_group_avc_mce_set_ac_only_haar( |
| 17825 | intel_sub_group_avc_mce_payload_t payload); |
| 17826 | intel_sub_group_avc_mce_payload_t __ovld |
| 17827 | intel_sub_group_avc_mce_set_source_interlaced_field_polarity( |
| 17828 | uchar src_field_polarity, intel_sub_group_avc_mce_payload_t payload); |
| 17829 | intel_sub_group_avc_mce_payload_t __ovld |
| 17830 | intel_sub_group_avc_mce_set_single_reference_interlaced_field_polarity( |
| 17831 | uchar ref_field_polarity, intel_sub_group_avc_mce_payload_t payload); |
| 17832 | intel_sub_group_avc_mce_payload_t __ovld |
| 17833 | intel_sub_group_avc_mce_set_dual_reference_interlaced_field_polarities( |
| 17834 | uchar fwd_ref_field_polarity, uchar bwd_ref_field_polarity, |
| 17835 | intel_sub_group_avc_mce_payload_t payload); |
| 17836 | |
| 17837 | ulong __ovld intel_sub_group_avc_mce_get_motion_vectors( |
| 17838 | intel_sub_group_avc_mce_result_t result); |
| 17839 | ushort __ovld intel_sub_group_avc_mce_get_inter_distortions( |
| 17840 | intel_sub_group_avc_mce_result_t result); |
| 17841 | ushort __ovld intel_sub_group_avc_mce_get_best_inter_distortion( |
| 17842 | intel_sub_group_avc_mce_result_t result); |
| 17843 | uchar __ovld intel_sub_group_avc_mce_get_inter_major_shape( |
| 17844 | intel_sub_group_avc_mce_result_t result); |
| 17845 | uchar __ovld intel_sub_group_avc_mce_get_inter_minor_shapes( |
| 17846 | intel_sub_group_avc_mce_result_t result); |
| 17847 | uchar __ovld intel_sub_group_avc_mce_get_inter_directions( |
| 17848 | intel_sub_group_avc_mce_result_t result); |
| 17849 | uchar __ovld intel_sub_group_avc_mce_get_inter_motion_vector_count( |
| 17850 | intel_sub_group_avc_mce_result_t result); |
| 17851 | uint __ovld intel_sub_group_avc_mce_get_inter_reference_ids( |
| 17852 | intel_sub_group_avc_mce_result_t result); |
| 17853 | uchar __ovld |
| 17854 | intel_sub_group_avc_mce_get_inter_reference_interlaced_field_polarities( |
| 17855 | uint packed_reference_ids, uint packed_reference_parameter_field_polarities, |
| 17856 | intel_sub_group_avc_mce_result_t result); |
| 17857 | |
| 17858 | // IME built-in functions |
| 17859 | intel_sub_group_avc_ime_payload_t __ovld |
| 17860 | intel_sub_group_avc_ime_initialize( |
| 17861 | ushort2 src_coord, uchar partition_mask, uchar sad_adjustment); |
| 17862 | intel_sub_group_avc_ime_payload_t __ovld |
| 17863 | intel_sub_group_avc_ime_set_single_reference( |
| 17864 | short2 ref_offset, uchar search_window_config, |
| 17865 | intel_sub_group_avc_ime_payload_t payload); |
| 17866 | intel_sub_group_avc_ime_payload_t __ovld |
| 17867 | intel_sub_group_avc_ime_set_dual_reference( |
| 17868 | short2 fwd_ref_offset, short2 bwd_ref_offset, uchar search_window_config, |
| 17869 | intel_sub_group_avc_ime_payload_t payload); |
| 17870 | intel_sub_group_avc_ime_payload_t __ovld |
| 17871 | intel_sub_group_avc_ime_set_max_motion_vector_count( |
| 17872 | uchar max_motion_vector_count, intel_sub_group_avc_ime_payload_t payload); |
| 17873 | intel_sub_group_avc_ime_payload_t __ovld |
| 17874 | intel_sub_group_avc_ime_set_unidirectional_mix_disable( |
| 17875 | intel_sub_group_avc_ime_payload_t payload); |
| 17876 | intel_sub_group_avc_ime_payload_t __ovld |
| 17877 | intel_sub_group_avc_ime_set_early_search_termination_threshold( |
| 17878 | uchar threshold, intel_sub_group_avc_ime_payload_t payload); |
| 17879 | intel_sub_group_avc_ime_payload_t __ovld |
| 17880 | intel_sub_group_avc_ime_set_weighted_sad( |
| 17881 | uint packed_sad_weights, intel_sub_group_avc_ime_payload_t payload); |
| 17882 | |
| 17883 | __attribute__((deprecated("If you use the latest Intel driver, please use " |
| 17884 | "intel_sub_group_avc_ime_ref_window_size instead", |
| 17885 | "intel_sub_group_avc_ime_ref_window_size"))) |
| 17886 | ushort2 __ovld |
| 17887 | intel_sub_group_ime_ref_window_size(uchar search_window_config, char dual_ref); |
| 17888 | ushort2 __ovld intel_sub_group_avc_ime_ref_window_size( |
| 17889 | uchar search_window_config, char dual_ref); |
| 17890 | short2 __ovld intel_sub_group_avc_ime_adjust_ref_offset( |
| 17891 | short2 ref_offset, ushort2 src_coord, ushort2 ref_window_size, |
| 17892 | ushort2 image_size); |
| 17893 | |
| 17894 | intel_sub_group_avc_ime_result_t __ovld |
| 17895 | intel_sub_group_avc_ime_evaluate_with_single_reference( |
| 17896 | read_only image2d_t src_image, read_only image2d_t ref_image, |
| 17897 | sampler_t vme_media_sampler, intel_sub_group_avc_ime_payload_t payload); |
| 17898 | intel_sub_group_avc_ime_result_t __ovld |
| 17899 | intel_sub_group_avc_ime_evaluate_with_dual_reference( |
| 17900 | read_only image2d_t src_image, read_only image2d_t fwd_ref_image, |
| 17901 | read_only image2d_t bwd_ref_image, sampler_t vme_media_sampler, |
| 17902 | intel_sub_group_avc_ime_payload_t payload); |
| 17903 | intel_sub_group_avc_ime_result_single_reference_streamout_t __ovld |
| 17904 | intel_sub_group_avc_ime_evaluate_with_single_reference_streamout( |
| 17905 | read_only image2d_t src_image, read_only image2d_t ref_image, |
| 17906 | sampler_t vme_media_sampler, intel_sub_group_avc_ime_payload_t payload); |
| 17907 | intel_sub_group_avc_ime_result_dual_reference_streamout_t __ovld |
| 17908 | intel_sub_group_avc_ime_evaluate_with_dual_reference_streamout( |
| 17909 | read_only image2d_t src_image, read_only image2d_t fwd_ref_image, |
| 17910 | read_only image2d_t bwd_ref_image, sampler_t vme_media_sampler, |
| 17911 | intel_sub_group_avc_ime_payload_t payload); |
| 17912 | intel_sub_group_avc_ime_result_t __ovld |
| 17913 | intel_sub_group_avc_ime_evaluate_with_single_reference_streamin( |
| 17914 | read_only image2d_t src_image, read_only image2d_t ref_image, |
| 17915 | sampler_t vme_media_sampler, intel_sub_group_avc_ime_payload_t payload, |
| 17916 | intel_sub_group_avc_ime_single_reference_streamin_t streamin_components); |
| 17917 | intel_sub_group_avc_ime_result_t __ovld |
| 17918 | intel_sub_group_avc_ime_evaluate_with_dual_reference_streamin( |
| 17919 | read_only image2d_t src_image, read_only image2d_t fwd_ref_image, |
| 17920 | read_only image2d_t bwd_ref_image, sampler_t vme_media_sampler, |
| 17921 | intel_sub_group_avc_ime_payload_t payload, |
| 17922 | intel_sub_group_avc_ime_dual_reference_streamin_t streamin_components); |
| 17923 | intel_sub_group_avc_ime_result_single_reference_streamout_t __ovld |
| 17924 | intel_sub_group_avc_ime_evaluate_with_single_reference_streaminout( |
| 17925 | read_only image2d_t src_image, read_only image2d_t ref_image, |
| 17926 | sampler_t vme_media_sampler, intel_sub_group_avc_ime_payload_t payload, |
| 17927 | intel_sub_group_avc_ime_single_reference_streamin_t streamin_components); |
| 17928 | intel_sub_group_avc_ime_result_dual_reference_streamout_t __ovld |
| 17929 | intel_sub_group_avc_ime_evaluate_with_dual_reference_streaminout( |
| 17930 | read_only image2d_t src_image, read_only image2d_t fwd_ref_image, |
| 17931 | read_only image2d_t bwd_ref_image, sampler_t vme_media_sampler, |
| 17932 | intel_sub_group_avc_ime_payload_t payload, |
| 17933 | intel_sub_group_avc_ime_dual_reference_streamin_t streamin_components); |
| 17934 | |
| 17935 | intel_sub_group_avc_ime_single_reference_streamin_t __ovld |
| 17936 | intel_sub_group_avc_ime_get_single_reference_streamin( |
| 17937 | intel_sub_group_avc_ime_result_single_reference_streamout_t result); |
| 17938 | intel_sub_group_avc_ime_dual_reference_streamin_t __ovld |
| 17939 | intel_sub_group_avc_ime_get_dual_reference_streamin( |
| 17940 | intel_sub_group_avc_ime_result_dual_reference_streamout_t result); |
| 17941 | intel_sub_group_avc_ime_result_t __ovld |
| 17942 | intel_sub_group_avc_ime_strip_single_reference_streamout( |
| 17943 | intel_sub_group_avc_ime_result_single_reference_streamout_t result); |
| 17944 | intel_sub_group_avc_ime_result_t __ovld |
| 17945 | intel_sub_group_avc_ime_strip_dual_reference_streamout( |
| 17946 | intel_sub_group_avc_ime_result_dual_reference_streamout_t result); |
| 17947 | |
| 17948 | uint __ovld intel_sub_group_avc_ime_get_streamout_major_shape_motion_vectors( |
| 17949 | intel_sub_group_avc_ime_result_single_reference_streamout_t result, |
| 17950 | uchar major_shape); |
| 17951 | ushort __ovld intel_sub_group_avc_ime_get_streamout_major_shape_distortions( |
| 17952 | intel_sub_group_avc_ime_result_single_reference_streamout_t result, |
| 17953 | uchar major_shape); |
| 17954 | uchar __ovld intel_sub_group_avc_ime_get_streamout_major_shape_reference_ids( |
| 17955 | intel_sub_group_avc_ime_result_single_reference_streamout_t result, |
| 17956 | uchar major_shape); |
| 17957 | uint __ovld intel_sub_group_avc_ime_get_streamout_major_shape_motion_vectors( |
| 17958 | intel_sub_group_avc_ime_result_dual_reference_streamout_t result, |
| 17959 | uchar major_shape, uchar direction); |
| 17960 | ushort __ovld intel_sub_group_avc_ime_get_streamout_major_shape_distortions( |
| 17961 | intel_sub_group_avc_ime_result_dual_reference_streamout_t result, |
| 17962 | uchar major_shape, uchar direction); |
| 17963 | uchar __ovld intel_sub_group_avc_ime_get_streamout_major_shape_reference_ids( |
| 17964 | intel_sub_group_avc_ime_result_dual_reference_streamout_t result, |
| 17965 | uchar major_shape, uchar direction); |
| 17966 | |
| 17967 | uchar __ovld intel_sub_group_avc_ime_get_border_reached( |
| 17968 | uchar image_select, intel_sub_group_avc_ime_result_t result); |
| 17969 | uchar __ovld intel_sub_group_avc_ime_get_truncated_search_indication( |
| 17970 | intel_sub_group_avc_ime_result_t result); |
| 17971 | uchar __ovld |
| 17972 | intel_sub_group_avc_ime_get_unidirectional_early_search_termination( |
| 17973 | intel_sub_group_avc_ime_result_t result); |
| 17974 | uint __ovld intel_sub_group_avc_ime_get_weighting_pattern_minimum_motion_vector( |
| 17975 | intel_sub_group_avc_ime_result_t result); |
| 17976 | ushort __ovld intel_sub_group_avc_ime_get_weighting_pattern_minimum_distortion( |
| 17977 | intel_sub_group_avc_ime_result_t result); |
| 17978 | |
| 17979 | // REF built-in functions |
| 17980 | intel_sub_group_avc_ref_payload_t __ovld |
| 17981 | intel_sub_group_avc_fme_initialize( |
| 17982 | ushort2 src_coord, ulong motion_vectors, uchar major_shapes, |
| 17983 | uchar minor_shapes, uchar directions, uchar pixel_resolution, |
| 17984 | uchar sad_adjustment); |
| 17985 | intel_sub_group_avc_ref_payload_t __ovld |
| 17986 | intel_sub_group_avc_bme_initialize( |
| 17987 | ushort2 src_coord, ulong motion_vectors, uchar major_shapes, |
| 17988 | uchar minor_shapes, uchar directions, uchar pixel_resolution, |
| 17989 | uchar bidirectional_weight, uchar sad_adjustment); |
| 17990 | |
| 17991 | intel_sub_group_avc_ref_payload_t __ovld |
| 17992 | intel_sub_group_avc_ref_set_bidirectional_mix_disable( |
| 17993 | intel_sub_group_avc_ref_payload_t payload); |
| 17994 | intel_sub_group_avc_ref_payload_t __ovld |
| 17995 | intel_sub_group_avc_ref_set_bilinear_filter_enable( |
| 17996 | intel_sub_group_avc_ref_payload_t payload); |
| 17997 | |
| 17998 | intel_sub_group_avc_ref_result_t __ovld |
| 17999 | intel_sub_group_avc_ref_evaluate_with_single_reference( |
| 18000 | read_only image2d_t src_image, read_only image2d_t ref_image, |
| 18001 | sampler_t vme_media_sampler, intel_sub_group_avc_ref_payload_t payload); |
| 18002 | intel_sub_group_avc_ref_result_t __ovld |
| 18003 | intel_sub_group_avc_ref_evaluate_with_dual_reference( |
| 18004 | read_only image2d_t src_image, read_only image2d_t fwd_ref_image, |
| 18005 | read_only image2d_t bwd_ref_image, sampler_t vme_media_sampler, |
| 18006 | intel_sub_group_avc_ref_payload_t payload); |
| 18007 | intel_sub_group_avc_ref_result_t __ovld |
| 18008 | intel_sub_group_avc_ref_evaluate_with_multi_reference( |
| 18009 | read_only image2d_t src_image, uint packed_reference_ids, |
| 18010 | sampler_t vme_media_sampler, intel_sub_group_avc_ref_payload_t payload); |
| 18011 | intel_sub_group_avc_ref_result_t __ovld |
| 18012 | intel_sub_group_avc_ref_evaluate_with_multi_reference( |
| 18013 | read_only image2d_t src_image, uint packed_reference_ids, |
| 18014 | uchar packed_reference_field_polarities, sampler_t vme_media_sampler, |
| 18015 | intel_sub_group_avc_ref_payload_t payload); |
| 18016 | |
| 18017 | // SIC built-in functions |
| 18018 | intel_sub_group_avc_sic_payload_t __ovld |
| 18019 | intel_sub_group_avc_sic_initialize( |
| 18020 | ushort2 src_coord); |
| 18021 | intel_sub_group_avc_sic_payload_t __ovld |
| 18022 | intel_sub_group_avc_sic_configure_skc( |
| 18023 | uint skip_block_partition_type, uint skip_motion_vector_mask, |
| 18024 | ulong motion_vectors, uchar bidirectional_weight, uchar skip_sad_adjustment, |
| 18025 | intel_sub_group_avc_sic_payload_t payload); |
| 18026 | intel_sub_group_avc_sic_payload_t __ovld |
| 18027 | intel_sub_group_avc_sic_configure_ipe( |
| 18028 | uchar luma_intra_partition_mask, uchar intra_neighbour_availabilty, |
| 18029 | uchar left_edge_luma_pixels, uchar upper_left_corner_luma_pixel, |
| 18030 | uchar upper_edge_luma_pixels, uchar upper_right_edge_luma_pixels, |
| 18031 | uchar intra_sad_adjustment, intel_sub_group_avc_sic_payload_t payload); |
| 18032 | intel_sub_group_avc_sic_payload_t __ovld |
| 18033 | intel_sub_group_avc_sic_configure_ipe( |
| 18034 | uchar luma_intra_partition_mask, uchar intra_neighbour_availabilty, |
| 18035 | uchar left_edge_luma_pixels, uchar upper_left_corner_luma_pixel, |
| 18036 | uchar upper_edge_luma_pixels, uchar upper_right_edge_luma_pixels, |
| 18037 | ushort left_edge_chroma_pixels, ushort upper_left_corner_chroma_pixel, |
| 18038 | ushort upper_edge_chroma_pixels, uchar intra_sad_adjustment, |
| 18039 | intel_sub_group_avc_sic_payload_t payload); |
| 18040 | uint __ovld |
| 18041 | intel_sub_group_avc_sic_get_motion_vector_mask( |
| 18042 | uint skip_block_partition_type, uchar direction); |
| 18043 | |
| 18044 | intel_sub_group_avc_sic_payload_t __ovld |
| 18045 | intel_sub_group_avc_sic_set_intra_luma_shape_penalty( |
| 18046 | uint packed_shape_cost, intel_sub_group_avc_sic_payload_t payload); |
| 18047 | intel_sub_group_avc_sic_payload_t __ovld |
| 18048 | intel_sub_group_avc_sic_set_intra_luma_mode_cost_function( |
| 18049 | uchar luma_mode_penalty, uint luma_packed_neighbor_modes, |
| 18050 | uint luma_packed_non_dc_penalty, intel_sub_group_avc_sic_payload_t payload); |
| 18051 | intel_sub_group_avc_sic_payload_t __ovld |
| 18052 | intel_sub_group_avc_sic_set_intra_chroma_mode_cost_function( |
| 18053 | uchar chroma_mode_penalty, intel_sub_group_avc_sic_payload_t payload); |
| 18054 | |
| 18055 | intel_sub_group_avc_sic_payload_t __ovld |
| 18056 | intel_sub_group_avc_sic_set_skc_bilinear_filter_enable( |
| 18057 | intel_sub_group_avc_sic_payload_t payload); |
| 18058 | intel_sub_group_avc_sic_payload_t __ovld |
| 18059 | intel_sub_group_avc_sic_set_skc_forward_transform_enable( |
| 18060 | ulong packed_sad_coefficients, intel_sub_group_avc_sic_payload_t payload); |
| 18061 | intel_sub_group_avc_sic_payload_t __ovld |
| 18062 | intel_sub_group_avc_sic_set_block_based_raw_skip_sad( |
| 18063 | uchar block_based_skip_type, |
| 18064 | intel_sub_group_avc_sic_payload_t payload); |
| 18065 | |
| 18066 | intel_sub_group_avc_sic_result_t __ovld |
| 18067 | intel_sub_group_avc_sic_evaluate_ipe( |
| 18068 | read_only image2d_t src_image, sampler_t vme_media_sampler, |
| 18069 | intel_sub_group_avc_sic_payload_t payload); |
| 18070 | intel_sub_group_avc_sic_result_t __ovld |
| 18071 | intel_sub_group_avc_sic_evaluate_with_single_reference( |
| 18072 | read_only image2d_t src_image, read_only image2d_t ref_image, |
| 18073 | sampler_t vme_media_sampler, intel_sub_group_avc_sic_payload_t payload); |
| 18074 | intel_sub_group_avc_sic_result_t __ovld |
| 18075 | intel_sub_group_avc_sic_evaluate_with_dual_reference( |
| 18076 | read_only image2d_t src_image, read_only image2d_t fwd_ref_image, |
| 18077 | read_only image2d_t bwd_ref_image, sampler_t vme_media_sampler, |
| 18078 | intel_sub_group_avc_sic_payload_t payload); |
| 18079 | intel_sub_group_avc_sic_result_t __ovld |
| 18080 | intel_sub_group_avc_sic_evaluate_with_multi_reference( |
| 18081 | read_only image2d_t src_image, uint packed_reference_ids, |
| 18082 | sampler_t vme_media_sampler, intel_sub_group_avc_sic_payload_t payload); |
| 18083 | intel_sub_group_avc_sic_result_t __ovld |
| 18084 | intel_sub_group_avc_sic_evaluate_with_multi_reference( |
| 18085 | read_only image2d_t src_image, uint packed_reference_ids, |
| 18086 | uchar packed_reference_field_polarities, sampler_t vme_media_sampler, |
| 18087 | intel_sub_group_avc_sic_payload_t payload); |
| 18088 | |
| 18089 | uchar __ovld intel_sub_group_avc_sic_get_ipe_luma_shape( |
| 18090 | intel_sub_group_avc_sic_result_t result); |
| 18091 | ushort __ovld intel_sub_group_avc_sic_get_best_ipe_luma_distortion( |
| 18092 | intel_sub_group_avc_sic_result_t result); |
| 18093 | ushort __ovld intel_sub_group_avc_sic_get_best_ipe_chroma_distortion( |
| 18094 | intel_sub_group_avc_sic_result_t result); |
| 18095 | ulong __ovld intel_sub_group_avc_sic_get_packed_ipe_luma_modes( |
| 18096 | intel_sub_group_avc_sic_result_t result); |
| 18097 | uchar __ovld intel_sub_group_avc_sic_get_ipe_chroma_mode( |
| 18098 | intel_sub_group_avc_sic_result_t result); |
| 18099 | uint __ovld intel_sub_group_avc_sic_get_packed_skc_luma_count_threshold( |
| 18100 | intel_sub_group_avc_sic_result_t result); |
| 18101 | ulong __ovld intel_sub_group_avc_sic_get_packed_skc_luma_sum_threshold( |
| 18102 | intel_sub_group_avc_sic_result_t result); |
| 18103 | ushort __ovld intel_sub_group_avc_sic_get_inter_raw_sads( |
| 18104 | intel_sub_group_avc_sic_result_t result); |
| 18105 | |
| 18106 | // Wrappers |
| 18107 | intel_sub_group_avc_ime_payload_t __ovld |
| 18108 | intel_sub_group_avc_ime_set_inter_base_multi_reference_penalty( |
| 18109 | uchar reference_base_penalty, intel_sub_group_avc_ime_payload_t payload); |
| 18110 | intel_sub_group_avc_ref_payload_t __ovld |
| 18111 | intel_sub_group_avc_ref_set_inter_base_multi_reference_penalty( |
| 18112 | uchar reference_base_penalty, intel_sub_group_avc_ref_payload_t payload); |
| 18113 | intel_sub_group_avc_sic_payload_t __ovld |
| 18114 | intel_sub_group_avc_sic_set_inter_base_multi_reference_penalty( |
| 18115 | uchar reference_base_penalty, intel_sub_group_avc_sic_payload_t payload); |
| 18116 | |
| 18117 | intel_sub_group_avc_ime_payload_t __ovld |
| 18118 | intel_sub_group_avc_ime_set_inter_shape_penalty( |
| 18119 | ulong packed_shape_cost, intel_sub_group_avc_ime_payload_t payload); |
| 18120 | intel_sub_group_avc_ref_payload_t __ovld |
| 18121 | intel_sub_group_avc_ref_set_inter_shape_penalty( |
| 18122 | ulong packed_shape_cost, intel_sub_group_avc_ref_payload_t payload); |
| 18123 | intel_sub_group_avc_sic_payload_t __ovld |
| 18124 | intel_sub_group_avc_sic_set_inter_shape_penalty( |
| 18125 | ulong packed_shape_cost, intel_sub_group_avc_sic_payload_t payload); |
| 18126 | |
| 18127 | intel_sub_group_avc_ime_payload_t __ovld |
| 18128 | intel_sub_group_avc_ime_set_inter_direction_penalty( |
| 18129 | uchar direction_cost, intel_sub_group_avc_ime_payload_t payload); |
| 18130 | intel_sub_group_avc_ref_payload_t __ovld |
| 18131 | intel_sub_group_avc_ref_set_inter_direction_penalty( |
| 18132 | uchar direction_cost, intel_sub_group_avc_ref_payload_t payload); |
| 18133 | intel_sub_group_avc_sic_payload_t __ovld |
| 18134 | intel_sub_group_avc_sic_set_inter_direction_penalty( |
| 18135 | uchar direction_cost, intel_sub_group_avc_sic_payload_t payload); |
| 18136 | |
| 18137 | intel_sub_group_avc_ime_payload_t __ovld |
| 18138 | intel_sub_group_avc_ime_set_motion_vector_cost_function( |
| 18139 | ulong packed_cost_center_delta, uint2 packed_cost_table, |
| 18140 | uchar cost_precision, intel_sub_group_avc_ime_payload_t payload); |
| 18141 | intel_sub_group_avc_ref_payload_t __ovld |
| 18142 | intel_sub_group_avc_ref_set_motion_vector_cost_function( |
| 18143 | ulong packed_cost_center_delta, uint2 packed_cost_table, |
| 18144 | uchar cost_precision, intel_sub_group_avc_ref_payload_t payload); |
| 18145 | intel_sub_group_avc_sic_payload_t __ovld |
| 18146 | intel_sub_group_avc_sic_set_motion_vector_cost_function( |
| 18147 | ulong packed_cost_center_delta, uint2 packed_cost_table, |
| 18148 | uchar cost_precision, intel_sub_group_avc_sic_payload_t payload); |
| 18149 | |
| 18150 | intel_sub_group_avc_ime_payload_t __ovld |
| 18151 | intel_sub_group_avc_ime_set_source_interlaced_field_polarity( |
| 18152 | uchar src_field_polarity, intel_sub_group_avc_ime_payload_t payload); |
| 18153 | intel_sub_group_avc_ref_payload_t __ovld |
| 18154 | intel_sub_group_avc_ref_set_source_interlaced_field_polarity( |
| 18155 | uchar src_field_polarity, intel_sub_group_avc_ref_payload_t payload); |
| 18156 | intel_sub_group_avc_sic_payload_t __ovld |
| 18157 | intel_sub_group_avc_sic_set_source_interlaced_field_polarity( |
| 18158 | uchar src_field_polarity, intel_sub_group_avc_sic_payload_t payload); |
| 18159 | |
| 18160 | intel_sub_group_avc_ime_payload_t __ovld |
| 18161 | intel_sub_group_avc_ime_set_single_reference_interlaced_field_polarity( |
| 18162 | uchar ref_field_polarity, intel_sub_group_avc_ime_payload_t payload); |
| 18163 | intel_sub_group_avc_ref_payload_t __ovld |
| 18164 | intel_sub_group_avc_ref_set_single_reference_interlaced_field_polarity( |
| 18165 | uchar ref_field_polarity, intel_sub_group_avc_ref_payload_t payload); |
| 18166 | intel_sub_group_avc_sic_payload_t __ovld |
| 18167 | intel_sub_group_avc_sic_set_single_reference_interlaced_field_polarity( |
| 18168 | uchar ref_field_polarity, intel_sub_group_avc_sic_payload_t payload); |
| 18169 | intel_sub_group_avc_ime_payload_t __ovld |
| 18170 | intel_sub_group_avc_ime_set_dual_reference_interlaced_field_polarities( |
| 18171 | uchar fwd_ref_field_polarity, uchar bwd_ref_field_polarity, |
| 18172 | intel_sub_group_avc_ime_payload_t payload); |
| 18173 | intel_sub_group_avc_ref_payload_t __ovld |
| 18174 | intel_sub_group_avc_ref_set_dual_reference_interlaced_field_polarities( |
| 18175 | uchar fwd_ref_field_polarity, uchar bwd_ref_field_polarity, |
| 18176 | intel_sub_group_avc_ref_payload_t payload); |
| 18177 | intel_sub_group_avc_sic_payload_t __ovld |
| 18178 | intel_sub_group_avc_sic_set_dual_reference_interlaced_field_polarities( |
| 18179 | uchar fwd_ref_field_polarity, uchar bwd_ref_field_polarity, |
| 18180 | intel_sub_group_avc_sic_payload_t payload); |
| 18181 | |
| 18182 | intel_sub_group_avc_ime_payload_t __ovld |
| 18183 | intel_sub_group_avc_ime_set_ac_only_haar( |
| 18184 | intel_sub_group_avc_ime_payload_t payload); |
| 18185 | intel_sub_group_avc_ref_payload_t __ovld |
| 18186 | intel_sub_group_avc_ref_set_ac_only_haar( |
| 18187 | intel_sub_group_avc_ref_payload_t payload); |
| 18188 | intel_sub_group_avc_sic_payload_t __ovld |
| 18189 | intel_sub_group_avc_sic_set_ac_only_haar( |
| 18190 | intel_sub_group_avc_sic_payload_t payload); |
| 18191 | |
| 18192 | ulong __ovld intel_sub_group_avc_ime_get_motion_vectors( |
| 18193 | intel_sub_group_avc_ime_result_t result); |
| 18194 | ulong __ovld intel_sub_group_avc_ref_get_motion_vectors( |
| 18195 | intel_sub_group_avc_ref_result_t result); |
| 18196 | |
| 18197 | ushort __ovld intel_sub_group_avc_ime_get_inter_distortions( |
| 18198 | intel_sub_group_avc_ime_result_t result); |
| 18199 | ushort __ovld intel_sub_group_avc_ref_get_inter_distortions( |
| 18200 | intel_sub_group_avc_ref_result_t result); |
| 18201 | ushort __ovld intel_sub_group_avc_sic_get_inter_distortions( |
| 18202 | intel_sub_group_avc_sic_result_t result); |
| 18203 | |
| 18204 | ushort __ovld intel_sub_group_avc_ime_get_best_inter_distortion( |
| 18205 | intel_sub_group_avc_ime_result_t result); |
| 18206 | ushort __ovld intel_sub_group_avc_ref_get_best_inter_distortion( |
| 18207 | intel_sub_group_avc_ref_result_t result); |
| 18208 | |
| 18209 | uchar __ovld intel_sub_group_avc_ime_get_inter_major_shape( |
| 18210 | intel_sub_group_avc_ime_result_t result); |
| 18211 | uchar __ovld intel_sub_group_avc_ref_get_inter_major_shape( |
| 18212 | intel_sub_group_avc_ref_result_t result); |
| 18213 | uchar __ovld intel_sub_group_avc_ime_get_inter_minor_shapes( |
| 18214 | intel_sub_group_avc_ime_result_t result); |
| 18215 | uchar __ovld intel_sub_group_avc_ref_get_inter_minor_shapes( |
| 18216 | intel_sub_group_avc_ref_result_t result); |
| 18217 | |
| 18218 | uchar __ovld intel_sub_group_avc_ime_get_inter_directions( |
| 18219 | intel_sub_group_avc_ime_result_t result); |
| 18220 | uchar __ovld intel_sub_group_avc_ref_get_inter_directions( |
| 18221 | intel_sub_group_avc_ref_result_t result); |
| 18222 | |
| 18223 | uchar __ovld intel_sub_group_avc_ime_get_inter_motion_vector_count( |
| 18224 | intel_sub_group_avc_ime_result_t result); |
| 18225 | uchar __ovld intel_sub_group_avc_ref_get_inter_motion_vector_count( |
| 18226 | intel_sub_group_avc_ref_result_t result); |
| 18227 | |
| 18228 | uint __ovld intel_sub_group_avc_ime_get_inter_reference_ids( |
| 18229 | intel_sub_group_avc_ime_result_t result); |
| 18230 | uint __ovld intel_sub_group_avc_ref_get_inter_reference_ids( |
| 18231 | intel_sub_group_avc_ref_result_t result); |
| 18232 | |
| 18233 | uchar __ovld |
| 18234 | intel_sub_group_avc_ime_get_inter_reference_interlaced_field_polarities( |
| 18235 | uint packed_reference_ids, uint packed_reference_parameter_field_polarities, |
| 18236 | intel_sub_group_avc_ime_result_t result); |
| 18237 | uchar __ovld |
| 18238 | intel_sub_group_avc_ref_get_inter_reference_interlaced_field_polarities( |
| 18239 | uint packed_reference_ids, uint packed_reference_parameter_field_polarities, |
| 18240 | intel_sub_group_avc_ref_result_t result); |
| 18241 | |
| 18242 | // Type conversion functions |
| 18243 | intel_sub_group_avc_mce_payload_t __ovld |
| 18244 | intel_sub_group_avc_ime_convert_to_mce_payload( |
| 18245 | intel_sub_group_avc_ime_payload_t payload); |
| 18246 | intel_sub_group_avc_ime_payload_t __ovld |
| 18247 | intel_sub_group_avc_mce_convert_to_ime_payload( |
| 18248 | intel_sub_group_avc_mce_payload_t payload); |
| 18249 | intel_sub_group_avc_mce_payload_t __ovld |
| 18250 | intel_sub_group_avc_ref_convert_to_mce_payload( |
| 18251 | intel_sub_group_avc_ref_payload_t payload); |
| 18252 | intel_sub_group_avc_ref_payload_t __ovld |
| 18253 | intel_sub_group_avc_mce_convert_to_ref_payload( |
| 18254 | intel_sub_group_avc_mce_payload_t payload); |
| 18255 | intel_sub_group_avc_mce_payload_t __ovld |
| 18256 | intel_sub_group_avc_sic_convert_to_mce_payload( |
| 18257 | intel_sub_group_avc_sic_payload_t payload); |
| 18258 | intel_sub_group_avc_sic_payload_t __ovld |
| 18259 | intel_sub_group_avc_mce_convert_to_sic_payload( |
| 18260 | intel_sub_group_avc_mce_payload_t payload); |
| 18261 | |
| 18262 | intel_sub_group_avc_mce_result_t __ovld |
| 18263 | intel_sub_group_avc_ime_convert_to_mce_result( |
| 18264 | intel_sub_group_avc_ime_result_t result); |
| 18265 | intel_sub_group_avc_ime_result_t __ovld |
| 18266 | intel_sub_group_avc_mce_convert_to_ime_result( |
| 18267 | intel_sub_group_avc_mce_result_t result); |
| 18268 | intel_sub_group_avc_mce_result_t __ovld |
| 18269 | intel_sub_group_avc_ref_convert_to_mce_result( |
| 18270 | intel_sub_group_avc_ref_result_t result); |
| 18271 | intel_sub_group_avc_ref_result_t __ovld |
| 18272 | intel_sub_group_avc_mce_convert_to_ref_result( |
| 18273 | intel_sub_group_avc_mce_result_t result); |
| 18274 | intel_sub_group_avc_mce_result_t __ovld |
| 18275 | intel_sub_group_avc_sic_convert_to_mce_result( |
| 18276 | intel_sub_group_avc_sic_result_t result); |
| 18277 | intel_sub_group_avc_sic_result_t __ovld |
| 18278 | intel_sub_group_avc_mce_convert_to_sic_result( |
| 18279 | intel_sub_group_avc_mce_result_t result); |
| 18280 | #pragma OPENCL EXTENSION cl_intel_device_side_avc_motion_estimation : end |
| 18281 | #endif // cl_intel_device_side_avc_motion_estimation |
| 18282 | |
Logan Chien | 55afb0a | 2018-10-15 10:42:14 +0800 | [diff] [blame] | 18283 | #ifdef cl_amd_media_ops |
| 18284 | uint __ovld amd_bitalign(uint a, uint b, uint c); |
| 18285 | uint2 __ovld amd_bitalign(uint2 a, uint2 b, uint2 c); |
| 18286 | uint3 __ovld amd_bitalign(uint3 a, uint3 b, uint3 c); |
| 18287 | uint4 __ovld amd_bitalign(uint4 a, uint4 b, uint4 c); |
| 18288 | uint8 __ovld amd_bitalign(uint8 a, uint8 b, uint8 c); |
| 18289 | uint16 __ovld amd_bitalign(uint16 a, uint16 b, uint16 c); |
| 18290 | |
| 18291 | uint __ovld amd_bytealign(uint a, uint b, uint c); |
| 18292 | uint2 __ovld amd_bytealign(uint2 a, uint2 b, uint2 c); |
| 18293 | uint3 __ovld amd_bytealign(uint3 a, uint3 b, uint3 c); |
| 18294 | uint4 __ovld amd_bytealign(uint4 a, uint4 b, uint4 c); |
| 18295 | uint8 __ovld amd_bytealign(uint8 a, uint8 b, uint8 c); |
| 18296 | uint16 __ovld amd_bytealign(uint16 a, uint16 b, uint16 c); |
| 18297 | |
| 18298 | uint __ovld amd_lerp(uint a, uint b, uint c); |
| 18299 | uint2 __ovld amd_lerp(uint2 a, uint2 b, uint2 c); |
| 18300 | uint3 __ovld amd_lerp(uint3 a, uint3 b, uint3 c); |
| 18301 | uint4 __ovld amd_lerp(uint4 a, uint4 b, uint4 c); |
| 18302 | uint8 __ovld amd_lerp(uint8 a, uint8 b, uint8 c); |
| 18303 | uint16 __ovld amd_lerp(uint16 a, uint16 b, uint16 c); |
| 18304 | |
| 18305 | uint __ovld amd_pack(float4 v); |
| 18306 | |
| 18307 | uint __ovld amd_sad4(uint4 x, uint4 y, uint z); |
| 18308 | |
| 18309 | uint __ovld amd_sadhi(uint a, uint b, uint c); |
| 18310 | uint2 __ovld amd_sadhi(uint2 a, uint2 b, uint2 c); |
| 18311 | uint3 __ovld amd_sadhi(uint3 a, uint3 b, uint3 c); |
| 18312 | uint4 __ovld amd_sadhi(uint4 a, uint4 b, uint4 c); |
| 18313 | uint8 __ovld amd_sadhi(uint8 a, uint8 b, uint8 c); |
| 18314 | uint16 __ovld amd_sadhi(uint16 a, uint16 b, uint16 c); |
| 18315 | |
| 18316 | uint __ovld amd_sad(uint a, uint b, uint c); |
| 18317 | uint2 __ovld amd_sad(uint2 a, uint2 b, uint2 c); |
| 18318 | uint3 __ovld amd_sad(uint3 a, uint3 b, uint3 c); |
| 18319 | uint4 __ovld amd_sad(uint4 a, uint4 b, uint4 c); |
| 18320 | uint8 __ovld amd_sad(uint8 a, uint8 b, uint8 c); |
| 18321 | uint16 __ovld amd_sad(uint16 a, uint16 b, uint16 c); |
| 18322 | |
| 18323 | float __ovld amd_unpack0(uint a); |
| 18324 | float2 __ovld amd_unpack0(uint2 a); |
| 18325 | float3 __ovld amd_unpack0(uint3 a); |
| 18326 | float4 __ovld amd_unpack0(uint4 a); |
| 18327 | float8 __ovld amd_unpack0(uint8 a); |
| 18328 | float16 __ovld amd_unpack0(uint16 a); |
| 18329 | |
| 18330 | float __ovld amd_unpack1(uint a); |
| 18331 | float2 __ovld amd_unpack1(uint2 a); |
| 18332 | float3 __ovld amd_unpack1(uint3 a); |
| 18333 | float4 __ovld amd_unpack1(uint4 a); |
| 18334 | float8 __ovld amd_unpack1(uint8 a); |
| 18335 | float16 __ovld amd_unpack1(uint16 a); |
| 18336 | |
| 18337 | float __ovld amd_unpack2(uint a); |
| 18338 | float2 __ovld amd_unpack2(uint2 a); |
| 18339 | float3 __ovld amd_unpack2(uint3 a); |
| 18340 | float4 __ovld amd_unpack2(uint4 a); |
| 18341 | float8 __ovld amd_unpack2(uint8 a); |
| 18342 | float16 __ovld amd_unpack2(uint16 a); |
| 18343 | |
| 18344 | float __ovld amd_unpack3(uint a); |
| 18345 | float2 __ovld amd_unpack3(uint2 a); |
| 18346 | float3 __ovld amd_unpack3(uint3 a); |
| 18347 | float4 __ovld amd_unpack3(uint4 a); |
| 18348 | float8 __ovld amd_unpack3(uint8 a); |
| 18349 | float16 __ovld amd_unpack3(uint16 a); |
| 18350 | #endif // cl_amd_media_ops |
| 18351 | |
| 18352 | #ifdef cl_amd_media_ops2 |
| 18353 | int __ovld amd_bfe(int src0, uint src1, uint src2); |
| 18354 | int2 __ovld amd_bfe(int2 src0, uint2 src1, uint2 src2); |
| 18355 | int3 __ovld amd_bfe(int3 src0, uint3 src1, uint3 src2); |
| 18356 | int4 __ovld amd_bfe(int4 src0, uint4 src1, uint4 src2); |
| 18357 | int8 __ovld amd_bfe(int8 src0, uint8 src1, uint8 src2); |
| 18358 | int16 __ovld amd_bfe(int16 src0, uint16 src1, uint16 src2); |
| 18359 | |
| 18360 | uint __ovld amd_bfe(uint src0, uint src1, uint src2); |
| 18361 | uint2 __ovld amd_bfe(uint2 src0, uint2 src1, uint2 src2); |
| 18362 | uint3 __ovld amd_bfe(uint3 src0, uint3 src1, uint3 src2); |
| 18363 | uint4 __ovld amd_bfe(uint4 src0, uint4 src1, uint4 src2); |
| 18364 | uint8 __ovld amd_bfe(uint8 src0, uint8 src1, uint8 src2); |
| 18365 | uint16 __ovld amd_bfe(uint16 src0, uint16 src1, uint16 src2); |
| 18366 | |
| 18367 | uint __ovld amd_bfm(uint src0, uint src1); |
| 18368 | uint2 __ovld amd_bfm(uint2 src0, uint2 src1); |
| 18369 | uint3 __ovld amd_bfm(uint3 src0, uint3 src1); |
| 18370 | uint4 __ovld amd_bfm(uint4 src0, uint4 src1); |
| 18371 | uint8 __ovld amd_bfm(uint8 src0, uint8 src1); |
| 18372 | uint16 __ovld amd_bfm(uint16 src0, uint16 src1); |
| 18373 | |
| 18374 | float __ovld amd_max3(float src0, float src1, float src2); |
| 18375 | float2 __ovld amd_max3(float2 src0, float2 src1, float2 src2); |
| 18376 | float3 __ovld amd_max3(float3 src0, float3 src1, float3 src2); |
| 18377 | float4 __ovld amd_max3(float4 src0, float4 src1, float4 src2); |
| 18378 | float8 __ovld amd_max3(float8 src0, float8 src1, float8 src2); |
| 18379 | float16 __ovld amd_max3(float16 src0, float16 src1, float16 src2); |
| 18380 | |
| 18381 | int __ovld amd_max3(int src0, int src1, int src2); |
| 18382 | int2 __ovld amd_max3(int2 src0, int2 src1, int2 src2); |
| 18383 | int3 __ovld amd_max3(int3 src0, int3 src1, int3 src2); |
| 18384 | int4 __ovld amd_max3(int4 src0, int4 src1, int4 src2); |
| 18385 | int8 __ovld amd_max3(int8 src0, int8 src1, int8 src2); |
| 18386 | int16 __ovld amd_max3(int16 src0, int16 src1, int16 src2); |
| 18387 | |
| 18388 | uint __ovld amd_max3(uint src0, uint src1, uint src2); |
| 18389 | uint2 __ovld amd_max3(uint2 src0, uint2 src1, uint2 src2); |
| 18390 | uint3 __ovld amd_max3(uint3 src0, uint3 src1, uint3 src2); |
| 18391 | uint4 __ovld amd_max3(uint4 src0, uint4 src1, uint4 src2); |
| 18392 | uint8 __ovld amd_max3(uint8 src0, uint8 src1, uint8 src2); |
| 18393 | uint16 __ovld amd_max3(uint16 src0, uint16 src1, uint16 src2); |
| 18394 | |
| 18395 | float __ovld amd_median3(float src0, float src1, float src2); |
| 18396 | float2 __ovld amd_median3(float2 src0, float2 src1, float2 src2); |
| 18397 | float3 __ovld amd_median3(float3 src0, float3 src1, float3 src2); |
| 18398 | float4 __ovld amd_median3(float4 src0, float4 src1, float4 src2); |
| 18399 | float8 __ovld amd_median3(float8 src0, float8 src1, float8 src2); |
| 18400 | float16 __ovld amd_median3(float16 src0, float16 src1, float16 src2); |
| 18401 | |
| 18402 | int __ovld amd_median3(int src0, int src1, int src2); |
| 18403 | int2 __ovld amd_median3(int2 src0, int2 src1, int2 src2); |
| 18404 | int3 __ovld amd_median3(int3 src0, int3 src1, int3 src2); |
| 18405 | int4 __ovld amd_median3(int4 src0, int4 src1, int4 src2); |
| 18406 | int8 __ovld amd_median3(int8 src0, int8 src1, int8 src2); |
| 18407 | int16 __ovld amd_median3(int16 src0, int16 src1, int16 src2); |
| 18408 | |
| 18409 | uint __ovld amd_median3(uint src0, uint src1, uint src2); |
| 18410 | uint2 __ovld amd_median3(uint2 src0, uint2 src1, uint2 src2); |
| 18411 | uint3 __ovld amd_median3(uint3 src0, uint3 src1, uint3 src2); |
| 18412 | uint4 __ovld amd_median3(uint4 src0, uint4 src1, uint4 src2); |
| 18413 | uint8 __ovld amd_median3(uint8 src0, uint8 src1, uint8 src2); |
| 18414 | uint16 __ovld amd_median3(uint16 src0, uint16 src1, uint16 src2); |
| 18415 | |
| 18416 | float __ovld amd_min3(float src0, float src1, float src); |
| 18417 | float2 __ovld amd_min3(float2 src0, float2 src1, float2 src); |
| 18418 | float3 __ovld amd_min3(float3 src0, float3 src1, float3 src); |
| 18419 | float4 __ovld amd_min3(float4 src0, float4 src1, float4 src); |
| 18420 | float8 __ovld amd_min3(float8 src0, float8 src1, float8 src); |
| 18421 | float16 __ovld amd_min3(float16 src0, float16 src1, float16 src); |
| 18422 | |
| 18423 | int __ovld amd_min3(int src0, int src1, int src2); |
| 18424 | int2 __ovld amd_min3(int2 src0, int2 src1, int2 src2); |
| 18425 | int3 __ovld amd_min3(int3 src0, int3 src1, int3 src2); |
| 18426 | int4 __ovld amd_min3(int4 src0, int4 src1, int4 src2); |
| 18427 | int8 __ovld amd_min3(int8 src0, int8 src1, int8 src2); |
| 18428 | int16 __ovld amd_min3(int16 src0, int16 src1, int16 src2); |
| 18429 | |
| 18430 | uint __ovld amd_min3(uint src0, uint src1, uint src2); |
| 18431 | uint2 __ovld amd_min3(uint2 src0, uint2 src1, uint2 src2); |
| 18432 | uint3 __ovld amd_min3(uint3 src0, uint3 src1, uint3 src2); |
| 18433 | uint4 __ovld amd_min3(uint4 src0, uint4 src1, uint4 src2); |
| 18434 | uint8 __ovld amd_min3(uint8 src0, uint8 src1, uint8 src2); |
| 18435 | uint16 __ovld amd_min3(uint16 src0, uint16 src1, uint16 src2); |
| 18436 | |
| 18437 | ulong __ovld amd_mqsad(ulong src0, uint src1, ulong src2); |
| 18438 | ulong2 __ovld amd_mqsad(ulong2 src0, uint2 src1, ulong2 src2); |
| 18439 | ulong3 __ovld amd_mqsad(ulong3 src0, uint3 src1, ulong3 src2); |
| 18440 | ulong4 __ovld amd_mqsad(ulong4 src0, uint4 src1, ulong4 src2); |
| 18441 | ulong8 __ovld amd_mqsad(ulong8 src0, uint8 src1, ulong8 src2); |
| 18442 | ulong16 __ovld amd_mqsad(ulong16 src0, uint16 src1, ulong16 src2); |
| 18443 | |
| 18444 | ulong __ovld amd_qsad(ulong src0, uint src1, ulong src2); |
| 18445 | ulong2 __ovld amd_qsad(ulong2 src0, uint2 src1, ulong2 src2); |
| 18446 | ulong3 __ovld amd_qsad(ulong3 src0, uint3 src1, ulong3 src2); |
| 18447 | ulong4 __ovld amd_qsad(ulong4 src0, uint4 src1, ulong4 src2); |
| 18448 | ulong8 __ovld amd_qsad(ulong8 src0, uint8 src1, ulong8 src2); |
| 18449 | ulong16 __ovld amd_qsad(ulong16 src0, uint16 src1, ulong16 src2); |
| 18450 | |
| 18451 | uint __ovld amd_msad(uint src0, uint src1, uint src2); |
| 18452 | uint2 __ovld amd_msad(uint2 src0, uint2 src1, uint2 src2); |
| 18453 | uint3 __ovld amd_msad(uint3 src0, uint3 src1, uint3 src2); |
| 18454 | uint4 __ovld amd_msad(uint4 src0, uint4 src1, uint4 src2); |
| 18455 | uint8 __ovld amd_msad(uint8 src0, uint8 src1, uint8 src2); |
| 18456 | uint16 __ovld amd_msad(uint16 src0, uint16 src1, uint16 src2); |
| 18457 | |
| 18458 | uint __ovld amd_sadd(uint src0, uint src1, uint src2); |
| 18459 | uint2 __ovld amd_sadd(uint2 src0, uint2 src1, uint2 src2); |
| 18460 | uint3 __ovld amd_sadd(uint3 src0, uint3 src1, uint3 src2); |
| 18461 | uint4 __ovld amd_sadd(uint4 src0, uint4 src1, uint4 src2); |
| 18462 | uint8 __ovld amd_sadd(uint8 src0, uint8 src1, uint8 src2); |
| 18463 | uint16 __ovld amd_sadd(uint16 src0, uint16 src1, uint16 src2); |
| 18464 | |
| 18465 | uint __ovld amd_sadw(uint src0, uint src1, uint src2); |
| 18466 | uint2 __ovld amd_sadw(uint2 src0, uint2 src1, uint2 src2); |
| 18467 | uint3 __ovld amd_sadw(uint3 src0, uint3 src1, uint3 src2); |
| 18468 | uint4 __ovld amd_sadw(uint4 src0, uint4 src1, uint4 src2); |
| 18469 | uint8 __ovld amd_sadw(uint8 src0, uint8 src1, uint8 src2); |
| 18470 | uint16 __ovld amd_sadw(uint16 src0, uint16 src1, uint16 src2); |
| 18471 | #endif // cl_amd_media_ops2 |
| 18472 | |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 18473 | #if defined(cl_arm_integer_dot_product_int8) |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 18474 | uint __ovld arm_dot(uchar4 a, uchar4 b); |
| 18475 | int __ovld arm_dot(char4 a, char4 b); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 18476 | #endif // defined(cl_arm_integer_dot_product_int8) |
| 18477 | |
| 18478 | #if defined(cl_arm_integer_dot_product_accumulate_int8) |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 18479 | uint __ovld arm_dot_acc(uchar4 a, uchar4 b, uint c); |
| 18480 | int __ovld arm_dot_acc(char4 a, char4 b, int c); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 18481 | #endif // defined(cl_arm_integer_dot_product_accumulate_int8) |
| 18482 | |
| 18483 | #if defined(cl_arm_integer_dot_product_accumulate_int16) |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 18484 | uint __ovld arm_dot_acc(ushort2 a, ushort2 b, uint c); |
| 18485 | int __ovld arm_dot_acc(short2 a, short2 b, int c); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 18486 | #endif // defined(cl_arm_integer_dot_product_accumulate_int16) |
| 18487 | |
| 18488 | #if defined(cl_arm_integer_dot_product_accumulate_saturate_int8) |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 18489 | uint __ovld arm_dot_acc_sat(uchar4 a, uchar4 b, uint c); |
| 18490 | int __ovld arm_dot_acc_sat(char4 a, char4 b, int c); |
Logan Chien | df4f766 | 2019-09-04 16:45:23 -0700 | [diff] [blame] | 18491 | #endif // defined(cl_arm_integer_dot_product_accumulate_saturate_int8) |
| 18492 | |
Logan Chien | 2833ffb | 2018-10-09 10:03:24 +0800 | [diff] [blame] | 18493 | // Disable any extensions we may have enabled previously. |
| 18494 | #pragma OPENCL EXTENSION all : disable |
| 18495 | |
| 18496 | #undef __cnfn |
| 18497 | #undef __ovld |
| 18498 | #endif //_OPENCL_H_ |