| ... | @@ -11,11 +11,11 @@ | ... | @@ -11,11 +11,11 @@ |
| 11 | | 11 | |
| 12 | #include "opencl-c-base.h" | 12 | #include "opencl-c-base.h" |
| 13 | | 13 | |
| 14 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15 | #ifndef cl_khr_depth_images | 15 | #ifndef cl_khr_depth_images |
| 16 | #define cl_khr_depth_images | 16 | #define cl_khr_depth_images |
| 17 | #endif //cl_khr_depth_images | 17 | #endif //cl_khr_depth_images |
| 18 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 18 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 19 | | 19 | |
| 20 | #if __OPENCL_C_VERSION__ < CL_VERSION_2_0 | 20 | #if __OPENCL_C_VERSION__ < CL_VERSION_2_0 |
| 21 | #ifdef cl_khr_3d_image_writes | 21 | #ifdef cl_khr_3d_image_writes |
| ... | @@ -23,10 +23,10 @@ | ... | @@ -23,10 +23,10 @@ |
| 23 | #endif //cl_khr_3d_image_writes | 23 | #endif //cl_khr_3d_image_writes |
| 24 | #endif //__OPENCL_C_VERSION__ < CL_VERSION_2_0 | 24 | #endif //__OPENCL_C_VERSION__ < CL_VERSION_2_0 |
| 25 | | 25 | |
| 26 | #if __OPENCL_C_VERSION__ >= CL_VERSION_1_2 | 26 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
| 27 | #pragma OPENCL EXTENSION cl_intel_planar_yuv : begin | 27 | #pragma OPENCL EXTENSION cl_intel_planar_yuv : begin |
| 28 | #pragma OPENCL EXTENSION cl_intel_planar_yuv : end | 28 | #pragma OPENCL EXTENSION cl_intel_planar_yuv : end |
| 29 | #endif // __OPENCL_C_VERSION__ >= CL_VERSION_1_2 | 29 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
| 30 | | 30 | |
| 31 | #define __ovld __attribute__((overloadable)) | 31 | #define __ovld __attribute__((overloadable)) |
| 32 | #define __conv __attribute__((convergent)) | 32 | #define __conv __attribute__((convergent)) |
| ... | @@ -6517,11 +6517,11 @@ size_t __ovld __cnfn get_group_id(uint dimindx); | ... | @@ -6517,11 +6517,11 @@ size_t __ovld __cnfn get_group_id(uint dimindx); |
| 6517 | */ | 6517 | */ |
| 6518 | size_t __ovld __cnfn get_global_offset(uint dimindx); | 6518 | size_t __ovld __cnfn get_global_offset(uint dimindx); |
| 6519 | | 6519 | |
| 6520 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 6520 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 6521 | size_t __ovld get_enqueued_local_size(uint dimindx); | 6521 | size_t __ovld get_enqueued_local_size(uint dimindx); |
| 6522 | size_t __ovld get_global_linear_id(void); | 6522 | size_t __ovld get_global_linear_id(void); |
| 6523 | size_t __ovld get_local_linear_id(void); | 6523 | size_t __ovld get_local_linear_id(void); |
| 6524 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 6524 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 6525 | | 6525 | |
| 6526 | // OpenCL v1.1 s6.11.2, v1.2 s6.12.2, v2.0 s6.13.2 - Math functions | 6526 | // OpenCL v1.1 s6.11.2, v1.2 s6.12.2, v2.0 s6.13.2 - Math functions |
| 6527 | | 6527 | |
| ... | @@ -7352,7 +7352,7 @@ half16 __ovld __cnfn fmod(half16 x, half16 y); | ... | @@ -7352,7 +7352,7 @@ half16 __ovld __cnfn fmod(half16 x, half16 y); |
| 7352 | * Returns fmin(x - floor (x), 0x1.fffffep-1f ). | 7352 | * Returns fmin(x - floor (x), 0x1.fffffep-1f ). |
| 7353 | * floor(x) is returned in iptr. | 7353 | * floor(x) is returned in iptr. |
| 7354 | */ | 7354 | */ |
| 7355 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 7355 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 7356 | float __ovld fract(float x, float *iptr); | 7356 | float __ovld fract(float x, float *iptr); |
| 7357 | float2 __ovld fract(float2 x, float2 *iptr); | 7357 | float2 __ovld fract(float2 x, float2 *iptr); |
| 7358 | float3 __ovld fract(float3 x, float3 *iptr); | 7358 | float3 __ovld fract(float3 x, float3 *iptr); |
| ... | @@ -7434,7 +7434,7 @@ half4 __ovld fract(half4 x, __private half4 *iptr); | ... | @@ -7434,7 +7434,7 @@ half4 __ovld fract(half4 x, __private half4 *iptr); |
| 7434 | half8 __ovld fract(half8 x, __private half8 *iptr); | 7434 | half8 __ovld fract(half8 x, __private half8 *iptr); |
| 7435 | half16 __ovld fract(half16 x, __private half16 *iptr); | 7435 | half16 __ovld fract(half16 x, __private half16 *iptr); |
| 7436 | #endif //cl_khr_fp16 | 7436 | #endif //cl_khr_fp16 |
| 7437 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 7437 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 7438 | | 7438 | |
| 7439 | /** | 7439 | /** |
| 7440 | * Extract mantissa and exponent from x. For each | 7440 | * Extract mantissa and exponent from x. For each |
| ... | @@ -7442,7 +7442,7 @@ half16 __ovld fract(half16 x, __private half16 *iptr); | ... | @@ -7442,7 +7442,7 @@ half16 __ovld fract(half16 x, __private half16 *iptr); |
| 7442 | * magnitude in the interval [1/2, 1) or 0. Each | 7442 | * magnitude in the interval [1/2, 1) or 0. Each |
| 7443 | * component of x equals mantissa returned * 2^exp. | 7443 | * component of x equals mantissa returned * 2^exp. |
| 7444 | */ | 7444 | */ |
| 7445 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 7445 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 7446 | float __ovld frexp(float x, int *exp); | 7446 | float __ovld frexp(float x, int *exp); |
| 7447 | float2 __ovld frexp(float2 x, int2 *exp); | 7447 | float2 __ovld frexp(float2 x, int2 *exp); |
| 7448 | float3 __ovld frexp(float3 x, int3 *exp); | 7448 | float3 __ovld frexp(float3 x, int3 *exp); |
| ... | @@ -7524,7 +7524,7 @@ half4 __ovld frexp(half4 x, __private int4 *exp); | ... | @@ -7524,7 +7524,7 @@ half4 __ovld frexp(half4 x, __private int4 *exp); |
| 7524 | half8 __ovld frexp(half8 x, __private int8 *exp); | 7524 | half8 __ovld frexp(half8 x, __private int8 *exp); |
| 7525 | half16 __ovld frexp(half16 x, __private int16 *exp); | 7525 | half16 __ovld frexp(half16 x, __private int16 *exp); |
| 7526 | #endif //cl_khr_fp16 | 7526 | #endif //cl_khr_fp16 |
| 7527 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 7527 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 7528 | | 7528 | |
| 7529 | /** | 7529 | /** |
| 7530 | * Compute the value of the square root of x^2 + y^2 | 7530 | * Compute the value of the square root of x^2 + y^2 |
| ... | @@ -7649,7 +7649,7 @@ half8 __ovld __cnfn lgamma(half8 x); | ... | @@ -7649,7 +7649,7 @@ half8 __ovld __cnfn lgamma(half8 x); |
| 7649 | half16 __ovld __cnfn lgamma(half16 x); | 7649 | half16 __ovld __cnfn lgamma(half16 x); |
| 7650 | #endif //cl_khr_fp16 | 7650 | #endif //cl_khr_fp16 |
| 7651 | | 7651 | |
| 7652 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 7652 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 7653 | float __ovld lgamma_r(float x, int *signp); | 7653 | float __ovld lgamma_r(float x, int *signp); |
| 7654 | float2 __ovld lgamma_r(float2 x, int2 *signp); | 7654 | float2 __ovld lgamma_r(float2 x, int2 *signp); |
| 7655 | float3 __ovld lgamma_r(float3 x, int3 *signp); | 7655 | float3 __ovld lgamma_r(float3 x, int3 *signp); |
| ... | @@ -7731,7 +7731,7 @@ half4 __ovld lgamma_r(half4 x, __private int4 *signp); | ... | @@ -7731,7 +7731,7 @@ half4 __ovld lgamma_r(half4 x, __private int4 *signp); |
| 7731 | half8 __ovld lgamma_r(half8 x, __private int8 *signp); | 7731 | half8 __ovld lgamma_r(half8 x, __private int8 *signp); |
| 7732 | half16 __ovld lgamma_r(half16 x, __private int16 *signp); | 7732 | half16 __ovld lgamma_r(half16 x, __private int16 *signp); |
| 7733 | #endif //cl_khr_fp16 | 7733 | #endif //cl_khr_fp16 |
| 7734 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 7734 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 7735 | | 7735 | |
| 7736 | /** | 7736 | /** |
| 7737 | * Compute natural logarithm. | 7737 | * Compute natural logarithm. |
| ... | @@ -7955,7 +7955,7 @@ half16 __ovld __cnfn minmag(half16 x, half16 y); | ... | @@ -7955,7 +7955,7 @@ half16 __ovld __cnfn minmag(half16 x, half16 y); |
| 7955 | * the argument. It stores the integral part in the object | 7955 | * the argument. It stores the integral part in the object |
| 7956 | * pointed to by iptr. | 7956 | * pointed to by iptr. |
| 7957 | */ | 7957 | */ |
| 7958 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 7958 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 7959 | float __ovld modf(float x, float *iptr); | 7959 | float __ovld modf(float x, float *iptr); |
| 7960 | float2 __ovld modf(float2 x, float2 *iptr); | 7960 | float2 __ovld modf(float2 x, float2 *iptr); |
| 7961 | float3 __ovld modf(float3 x, float3 *iptr); | 7961 | float3 __ovld modf(float3 x, float3 *iptr); |
| ... | @@ -8037,7 +8037,7 @@ half4 __ovld modf(half4 x, __private half4 *iptr); | ... | @@ -8037,7 +8037,7 @@ half4 __ovld modf(half4 x, __private half4 *iptr); |
| 8037 | half8 __ovld modf(half8 x, __private half8 *iptr); | 8037 | half8 __ovld modf(half8 x, __private half8 *iptr); |
| 8038 | half16 __ovld modf(half16 x, __private half16 *iptr); | 8038 | half16 __ovld modf(half16 x, __private half16 *iptr); |
| 8039 | #endif //cl_khr_fp16 | 8039 | #endif //cl_khr_fp16 |
| 8040 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 8040 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 8041 | | 8041 | |
| 8042 | /** | 8042 | /** |
| 8043 | * Returns a quiet NaN. The nancode may be placed | 8043 | * Returns a quiet NaN. The nancode may be placed |
| ... | @@ -8215,7 +8215,7 @@ half16 __ovld __cnfn remainder(half16 x, half16 y); | ... | @@ -8215,7 +8215,7 @@ half16 __ovld __cnfn remainder(half16 x, half16 y); |
| 8215 | * sign as x/y. It stores this signed value in the object | 8215 | * sign as x/y. It stores this signed value in the object |
| 8216 | * pointed to by quo. | 8216 | * pointed to by quo. |
| 8217 | */ | 8217 | */ |
| 8218 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 8218 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 8219 | float __ovld remquo(float x, float y, int *quo); | 8219 | float __ovld remquo(float x, float y, int *quo); |
| 8220 | float2 __ovld remquo(float2 x, float2 y, int2 *quo); | 8220 | float2 __ovld remquo(float2 x, float2 y, int2 *quo); |
| 8221 | float3 __ovld remquo(float3 x, float3 y, int3 *quo); | 8221 | float3 __ovld remquo(float3 x, float3 y, int3 *quo); |
| ... | @@ -8298,7 +8298,7 @@ half4 __ovld remquo(half4 x, half4 y, __private int4 *quo); | ... | @@ -8298,7 +8298,7 @@ half4 __ovld remquo(half4 x, half4 y, __private int4 *quo); |
| 8298 | half8 __ovld remquo(half8 x, half8 y, __private int8 *quo); | 8298 | half8 __ovld remquo(half8 x, half8 y, __private int8 *quo); |
| 8299 | half16 __ovld remquo(half16 x, half16 y, __private int16 *quo); | 8299 | half16 __ovld remquo(half16 x, half16 y, __private int16 *quo); |
| 8300 | #endif //cl_khr_fp16 | 8300 | #endif //cl_khr_fp16 |
| 8301 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 8301 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 8302 | /** | 8302 | /** |
| 8303 | * Round to integral value (using round to nearest | 8303 | * Round to integral value (using round to nearest |
| 8304 | * even rounding mode) in floating-point format. | 8304 | * even rounding mode) in floating-point format. |
| ... | @@ -8439,7 +8439,7 @@ half16 __ovld __cnfn sin(half16); | ... | @@ -8439,7 +8439,7 @@ half16 __ovld __cnfn sin(half16); |
| 8439 | * is the return value and computed cosine is returned | 8439 | * is the return value and computed cosine is returned |
| 8440 | * in cosval. | 8440 | * in cosval. |
| 8441 | */ | 8441 | */ |
| 8442 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 8442 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 8443 | float __ovld sincos(float x, float *cosval); | 8443 | float __ovld sincos(float x, float *cosval); |
| 8444 | float2 __ovld sincos(float2 x, float2 *cosval); | 8444 | float2 __ovld sincos(float2 x, float2 *cosval); |
| 8445 | float3 __ovld sincos(float3 x, float3 *cosval); | 8445 | float3 __ovld sincos(float3 x, float3 *cosval); |
| ... | @@ -8521,7 +8521,7 @@ half4 __ovld sincos(half4 x, __private half4 *cosval); | ... | @@ -8521,7 +8521,7 @@ half4 __ovld sincos(half4 x, __private half4 *cosval); |
| 8521 | half8 __ovld sincos(half8 x, __private half8 *cosval); | 8521 | half8 __ovld sincos(half8 x, __private half8 *cosval); |
| 8522 | half16 __ovld sincos(half16 x, __private half16 *cosval); | 8522 | half16 __ovld sincos(half16 x, __private half16 *cosval); |
| 8523 | #endif //cl_khr_fp16 | 8523 | #endif //cl_khr_fp16 |
| 8524 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 8524 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 8525 | | 8525 | |
| 8526 | /** | 8526 | /** |
| 8527 | * Compute hyperbolic sine. | 8527 | * Compute hyperbolic sine. |
| ... | @@ -9446,7 +9446,7 @@ ulong16 __ovld __cnfn clz(ulong16 x); | ... | @@ -9446,7 +9446,7 @@ ulong16 __ovld __cnfn clz(ulong16 x); |
| 9446 | * returns the size in bits of the type of x or | 9446 | * returns the size in bits of the type of x or |
| 9447 | * component type of x, if x is a vector. | 9447 | * component type of x, if x is a vector. |
| 9448 | */ | 9448 | */ |
| 9449 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 9449 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 9450 | char __ovld ctz(char x); | 9450 | char __ovld ctz(char x); |
| 9451 | uchar __ovld ctz(uchar x); | 9451 | uchar __ovld ctz(uchar x); |
| 9452 | char2 __ovld ctz(char2 x); | 9452 | char2 __ovld ctz(char2 x); |
| ... | @@ -9495,7 +9495,7 @@ long8 __ovld ctz(long8 x); | ... | @@ -9495,7 +9495,7 @@ long8 __ovld ctz(long8 x); |
| 9495 | ulong8 __ovld ctz(ulong8 x); | 9495 | ulong8 __ovld ctz(ulong8 x); |
| 9496 | long16 __ovld ctz(long16 x); | 9496 | long16 __ovld ctz(long16 x); |
| 9497 | ulong16 __ovld ctz(ulong16 x); | 9497 | ulong16 __ovld ctz(ulong16 x); |
| 9498 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 9498 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 9499 | | 9499 | |
| 9500 | /** | 9500 | /** |
| 9501 | * Returns mul_hi(a, b) + c. | 9501 | * Returns mul_hi(a, b) + c. |
| ... | @@ -11340,7 +11340,7 @@ half8 __ovld vload8(size_t offset, const __constant half *p); | ... | @@ -11340,7 +11340,7 @@ half8 __ovld vload8(size_t offset, const __constant half *p); |
| 11340 | half16 __ovld vload16(size_t offset, const __constant half *p); | 11340 | half16 __ovld vload16(size_t offset, const __constant half *p); |
| 11341 | #endif //cl_khr_fp16 | 11341 | #endif //cl_khr_fp16 |
| 11342 | | 11342 | |
| 11343 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 11343 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 11344 | char2 __ovld vload2(size_t offset, const char *p); | 11344 | char2 __ovld vload2(size_t offset, const char *p); |
| 11345 | uchar2 __ovld vload2(size_t offset, const uchar *p); | 11345 | uchar2 __ovld vload2(size_t offset, const uchar *p); |
| 11346 | short2 __ovld vload2(size_t offset, const short *p); | 11346 | short2 __ovld vload2(size_t offset, const short *p); |
| ... | @@ -11578,9 +11578,9 @@ half4 __ovld vload4(size_t offset, const __private half *p); | ... | @@ -11578,9 +11578,9 @@ half4 __ovld vload4(size_t offset, const __private half *p); |
| 11578 | half8 __ovld vload8(size_t offset, const __private half *p); | 11578 | half8 __ovld vload8(size_t offset, const __private half *p); |
| 11579 | half16 __ovld vload16(size_t offset, const __private half *p); | 11579 | half16 __ovld vload16(size_t offset, const __private half *p); |
| 11580 | #endif //cl_khr_fp16 | 11580 | #endif //cl_khr_fp16 |
| 11581 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 11581 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 11582 | | 11582 | |
| 11583 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 11583 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 11584 | void __ovld vstore2(char2 data, size_t offset, char *p); | 11584 | void __ovld vstore2(char2 data, size_t offset, char *p); |
| 11585 | void __ovld vstore2(uchar2 data, size_t offset, uchar *p); | 11585 | void __ovld vstore2(uchar2 data, size_t offset, uchar *p); |
| 11586 | void __ovld vstore2(short2 data, size_t offset, short *p); | 11586 | void __ovld vstore2(short2 data, size_t offset, short *p); |
| ... | @@ -11814,7 +11814,7 @@ void __ovld vstore4(half4 data, size_t offset, __private half *p); | ... | @@ -11814,7 +11814,7 @@ void __ovld vstore4(half4 data, size_t offset, __private half *p); |
| 11814 | void __ovld vstore8(half8 data, size_t offset, __private half *p); | 11814 | void __ovld vstore8(half8 data, size_t offset, __private half *p); |
| 11815 | void __ovld vstore16(half16 data, size_t offset, __private half *p); | 11815 | void __ovld vstore16(half16 data, size_t offset, __private half *p); |
| 11816 | #endif //cl_khr_fp16 | 11816 | #endif //cl_khr_fp16 |
| 11817 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 11817 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 11818 | | 11818 | |
| 11819 | /** | 11819 | /** |
| 11820 | * Read sizeof (half) bytes of data from address | 11820 | * Read sizeof (half) bytes of data from address |
| ... | @@ -11825,13 +11825,13 @@ void __ovld vstore16(half16 data, size_t offset, __private half *p); | ... | @@ -11825,13 +11825,13 @@ void __ovld vstore16(half16 data, size_t offset, __private half *p); |
| 11825 | * must be 16-bit aligned. | 11825 | * must be 16-bit aligned. |
| 11826 | */ | 11826 | */ |
| 11827 | float __ovld vload_half(size_t offset, const __constant half *p); | 11827 | float __ovld vload_half(size_t offset, const __constant half *p); |
| 11828 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 11828 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 11829 | float __ovld vload_half(size_t offset, const half *p); | 11829 | float __ovld vload_half(size_t offset, const half *p); |
| 11830 | #else | 11830 | #else |
| 11831 | float __ovld vload_half(size_t offset, const __global half *p); | 11831 | float __ovld vload_half(size_t offset, const __global half *p); |
| 11832 | float __ovld vload_half(size_t offset, const __local half *p); | 11832 | float __ovld vload_half(size_t offset, const __local half *p); |
| 11833 | float __ovld vload_half(size_t offset, const __private half *p); | 11833 | float __ovld vload_half(size_t offset, const __private half *p); |
| 11834 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 11834 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 11835 | | 11835 | |
| 11836 | /** | 11836 | /** |
| 11837 | * Read sizeof (halfn) bytes of data from address | 11837 | * Read sizeof (halfn) bytes of data from address |
| ... | @@ -11846,7 +11846,7 @@ float3 __ovld vload_half3(size_t offset, const __constant half *p); | ... | @@ -11846,7 +11846,7 @@ float3 __ovld vload_half3(size_t offset, const __constant half *p); |
| 11846 | float4 __ovld vload_half4(size_t offset, const __constant half *p); | 11846 | float4 __ovld vload_half4(size_t offset, const __constant half *p); |
| 11847 | float8 __ovld vload_half8(size_t offset, const __constant half *p); | 11847 | float8 __ovld vload_half8(size_t offset, const __constant half *p); |
| 11848 | float16 __ovld vload_half16(size_t offset, const __constant half *p); | 11848 | float16 __ovld vload_half16(size_t offset, const __constant half *p); |
| 11849 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 11849 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 11850 | float2 __ovld vload_half2(size_t offset, const half *p); | 11850 | float2 __ovld vload_half2(size_t offset, const half *p); |
| 11851 | float3 __ovld vload_half3(size_t offset, const half *p); | 11851 | float3 __ovld vload_half3(size_t offset, const half *p); |
| 11852 | float4 __ovld vload_half4(size_t offset, const half *p); | 11852 | float4 __ovld vload_half4(size_t offset, const half *p); |
| ... | @@ -11868,7 +11868,7 @@ float3 __ovld vload_half3(size_t offset, const __private half *p); | ... | @@ -11868,7 +11868,7 @@ float3 __ovld vload_half3(size_t offset, const __private half *p); |
| 11868 | float4 __ovld vload_half4(size_t offset, const __private half *p); | 11868 | float4 __ovld vload_half4(size_t offset, const __private half *p); |
| 11869 | float8 __ovld vload_half8(size_t offset, const __private half *p); | 11869 | float8 __ovld vload_half8(size_t offset, const __private half *p); |
| 11870 | float16 __ovld vload_half16(size_t offset, const __private half *p); | 11870 | float16 __ovld vload_half16(size_t offset, const __private half *p); |
| 11871 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 11871 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 11872 | | 11872 | |
| 11873 | /** | 11873 | /** |
| 11874 | * The float value given by data is first | 11874 | * The float value given by data is first |
| ... | @@ -11881,7 +11881,7 @@ float16 __ovld vload_half16(size_t offset, const __private half *p); | ... | @@ -11881,7 +11881,7 @@ float16 __ovld vload_half16(size_t offset, const __private half *p); |
| 11881 | * The default current rounding mode is round to | 11881 | * The default current rounding mode is round to |
| 11882 | * nearest even. | 11882 | * nearest even. |
| 11883 | */ | 11883 | */ |
| 11884 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 11884 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 11885 | void __ovld vstore_half(float data, size_t offset, half *p); | 11885 | void __ovld vstore_half(float data, size_t offset, half *p); |
| 11886 | void __ovld vstore_half_rte(float data, size_t offset, half *p); | 11886 | void __ovld vstore_half_rte(float data, size_t offset, half *p); |
| 11887 | void __ovld vstore_half_rtz(float data, size_t offset, half *p); | 11887 | void __ovld vstore_half_rtz(float data, size_t offset, half *p); |
| ... | @@ -11927,7 +11927,7 @@ void __ovld vstore_half_rtz(double data, size_t offset, __private half *p); | ... | @@ -11927,7 +11927,7 @@ void __ovld vstore_half_rtz(double data, size_t offset, __private half *p); |
| 11927 | void __ovld vstore_half_rtp(double data, size_t offset, __private half *p); | 11927 | void __ovld vstore_half_rtp(double data, size_t offset, __private half *p); |
| 11928 | void __ovld vstore_half_rtn(double data, size_t offset, __private half *p); | 11928 | void __ovld vstore_half_rtn(double data, size_t offset, __private half *p); |
| 11929 | #endif //cl_khr_fp64 | 11929 | #endif //cl_khr_fp64 |
| 11930 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 11930 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 11931 | | 11931 | |
| 11932 | /** | 11932 | /** |
| 11933 | * The floatn value given by data is converted to | 11933 | * The floatn value given by data is converted to |
| ... | @@ -11940,7 +11940,7 @@ void __ovld vstore_half_rtn(double data, size_t offset, __private half *p); | ... | @@ -11940,7 +11940,7 @@ void __ovld vstore_half_rtn(double data, size_t offset, __private half *p); |
| 11940 | * The default current rounding mode is round to | 11940 | * The default current rounding mode is round to |
| 11941 | * nearest even. | 11941 | * nearest even. |
| 11942 | */ | 11942 | */ |
| 11943 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 11943 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 11944 | void __ovld vstore_half2(float2 data, size_t offset, half *p); | 11944 | void __ovld vstore_half2(float2 data, size_t offset, half *p); |
| 11945 | void __ovld vstore_half3(float3 data, size_t offset, half *p); | 11945 | void __ovld vstore_half3(float3 data, size_t offset, half *p); |
| 11946 | void __ovld vstore_half4(float4 data, size_t offset, half *p); | 11946 | void __ovld vstore_half4(float4 data, size_t offset, half *p); |
| ... | @@ -12146,7 +12146,7 @@ void __ovld vstore_half4_rtn(double4 data, size_t offset, __private half *p); | ... | @@ -12146,7 +12146,7 @@ void __ovld vstore_half4_rtn(double4 data, size_t offset, __private half *p); |
| 12146 | void __ovld vstore_half8_rtn(double8 data, size_t offset, __private half *p); | 12146 | void __ovld vstore_half8_rtn(double8 data, size_t offset, __private half *p); |
| 12147 | void __ovld vstore_half16_rtn(double16 data, size_t offset, __private half *p); | 12147 | void __ovld vstore_half16_rtn(double16 data, size_t offset, __private half *p); |
| 12148 | #endif //cl_khr_fp64 | 12148 | #endif //cl_khr_fp64 |
| 12149 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 12149 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 12150 | | 12150 | |
| 12151 | /** | 12151 | /** |
| 12152 | * For n = 1, 2, 4, 8 and 16 read sizeof (halfn) | 12152 | * For n = 1, 2, 4, 8 and 16 read sizeof (halfn) |
| ... | @@ -12167,7 +12167,7 @@ float3 __ovld vloada_half3(size_t offset, const __constant half *p); | ... | @@ -12167,7 +12167,7 @@ float3 __ovld vloada_half3(size_t offset, const __constant half *p); |
| 12167 | float4 __ovld vloada_half4(size_t offset, const __constant half *p); | 12167 | float4 __ovld vloada_half4(size_t offset, const __constant half *p); |
| 12168 | float8 __ovld vloada_half8(size_t offset, const __constant half *p); | 12168 | float8 __ovld vloada_half8(size_t offset, const __constant half *p); |
| 12169 | float16 __ovld vloada_half16(size_t offset, const __constant half *p); | 12169 | float16 __ovld vloada_half16(size_t offset, const __constant half *p); |
| 12170 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 12170 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 12171 | float __ovld vloada_half(size_t offset, const half *p); | 12171 | float __ovld vloada_half(size_t offset, const half *p); |
| 12172 | float2 __ovld vloada_half2(size_t offset, const half *p); | 12172 | float2 __ovld vloada_half2(size_t offset, const half *p); |
| 12173 | float3 __ovld vloada_half3(size_t offset, const half *p); | 12173 | float3 __ovld vloada_half3(size_t offset, const half *p); |
| ... | @@ -12193,7 +12193,7 @@ float3 __ovld vloada_half3(size_t offset, const __private half *p); | ... | @@ -12193,7 +12193,7 @@ float3 __ovld vloada_half3(size_t offset, const __private half *p); |
| 12193 | float4 __ovld vloada_half4(size_t offset, const __private half *p); | 12193 | float4 __ovld vloada_half4(size_t offset, const __private half *p); |
| 12194 | float8 __ovld vloada_half8(size_t offset, const __private half *p); | 12194 | float8 __ovld vloada_half8(size_t offset, const __private half *p); |
| 12195 | float16 __ovld vloada_half16(size_t offset, const __private half *p); | 12195 | float16 __ovld vloada_half16(size_t offset, const __private half *p); |
| 12196 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 12196 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 12197 | | 12197 | |
| 12198 | /** | 12198 | /** |
| 12199 | * The floatn value given by data is converted to | 12199 | * The floatn value given by data is converted to |
| ... | @@ -12211,7 +12211,7 @@ float16 __ovld vloada_half16(size_t offset, const __private half *p); | ... | @@ -12211,7 +12211,7 @@ float16 __ovld vloada_half16(size_t offset, const __private half *p); |
| 12211 | * mode. The default current rounding mode is | 12211 | * mode. The default current rounding mode is |
| 12212 | * round to nearest even. | 12212 | * round to nearest even. |
| 12213 | */ | 12213 | */ |
| 12214 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 12214 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 12215 | void __ovld vstorea_half(float data, size_t offset, half *p); | 12215 | void __ovld vstorea_half(float data, size_t offset, half *p); |
| 12216 | void __ovld vstorea_half2(float2 data, size_t offset, half *p); | 12216 | void __ovld vstorea_half2(float2 data, size_t offset, half *p); |
| 12217 | void __ovld vstorea_half3(float3 data, size_t offset, half *p); | 12217 | void __ovld vstorea_half3(float3 data, size_t offset, half *p); |
| ... | @@ -12496,7 +12496,7 @@ void __ovld vstorea_half4_rtn(double4 data,size_t offset, __private half *p); | ... | @@ -12496,7 +12496,7 @@ void __ovld vstorea_half4_rtn(double4 data,size_t offset, __private half *p); |
| 12496 | void __ovld vstorea_half8_rtn(double8 data,size_t offset, __private half *p); | 12496 | void __ovld vstorea_half8_rtn(double8 data,size_t offset, __private half *p); |
| 12497 | void __ovld vstorea_half16_rtn(double16 data,size_t offset, __private half *p); | 12497 | void __ovld vstorea_half16_rtn(double16 data,size_t offset, __private half *p); |
| 12498 | #endif //cl_khr_fp64 | 12498 | #endif //cl_khr_fp64 |
| 12499 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 12499 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 12500 | | 12500 | |
| 12501 | // OpenCL v1.1 s6.11.8, v1.2 s6.12.8, v2.0 s6.13.8 - Synchronization Functions | 12501 | // OpenCL v1.1 s6.11.8, v1.2 s6.12.8, v2.0 s6.13.8 - Synchronization Functions |
| 12502 | | 12502 | |
| ... | @@ -12532,10 +12532,10 @@ void __ovld vstorea_half16_rtn(double16 data,size_t offset, __private half *p); | ... | @@ -12532,10 +12532,10 @@ void __ovld vstorea_half16_rtn(double16 data,size_t offset, __private half *p); |
| 12532 | | 12532 | |
| 12533 | void __ovld __conv barrier(cl_mem_fence_flags flags); | 12533 | void __ovld __conv barrier(cl_mem_fence_flags flags); |
| 12534 | | 12534 | |
| 12535 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 12535 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 12536 | void __ovld __conv work_group_barrier(cl_mem_fence_flags flags, memory_scope scope); | 12536 | void __ovld __conv work_group_barrier(cl_mem_fence_flags flags, memory_scope scope); |
| 12537 | void __ovld __conv work_group_barrier(cl_mem_fence_flags flags); | 12537 | void __ovld __conv work_group_barrier(cl_mem_fence_flags flags); |
| 12538 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 12538 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 12539 | | 12539 | |
| 12540 | // OpenCL v1.1 s6.11.9, v1.2 s6.12.9 - Explicit Memory Fence Functions | 12540 | // OpenCL v1.1 s6.11.9, v1.2 s6.12.9 - Explicit Memory Fence Functions |
| 12541 | | 12541 | |
| ... | @@ -12580,7 +12580,7 @@ void __ovld write_mem_fence(cl_mem_fence_flags flags); | ... | @@ -12580,7 +12580,7 @@ void __ovld write_mem_fence(cl_mem_fence_flags flags); |
| 12580 | | 12580 | |
| 12581 | // OpenCL v2.0 s6.13.9 - Address Space Qualifier Functions | 12581 | // OpenCL v2.0 s6.13.9 - Address Space Qualifier Functions |
| 12582 | | 12582 | |
| 12583 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 12583 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 12584 | cl_mem_fence_flags __ovld get_fence(const void *ptr); | 12584 | cl_mem_fence_flags __ovld get_fence(const void *ptr); |
| 12585 | cl_mem_fence_flags __ovld get_fence(void *ptr); | 12585 | cl_mem_fence_flags __ovld get_fence(void *ptr); |
| 12586 | | 12586 | |
| ... | @@ -12591,7 +12591,7 @@ cl_mem_fence_flags __ovld get_fence(void *ptr); | ... | @@ -12591,7 +12591,7 @@ cl_mem_fence_flags __ovld get_fence(void *ptr); |
| 12591 | * where gentype is builtin type or user defined type. | 12591 | * where gentype is builtin type or user defined type. |
| 12592 | */ | 12592 | */ |
| 12593 | | 12593 | |
| 12594 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 12594 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 12595 | | 12595 | |
| 12596 | // 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 | 12596 | // 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 |
| 12597 | | 12597 | |
| ... | @@ -13371,7 +13371,7 @@ unsigned long __ovld atom_xor(volatile __local unsigned long *p, unsigned long v | ... | @@ -13371,7 +13371,7 @@ unsigned long __ovld atom_xor(volatile __local unsigned long *p, unsigned long v |
| 13371 | | 13371 | |
| 13372 | // OpenCL v2.0 s6.13.11 - Atomics Functions | 13372 | // OpenCL v2.0 s6.13.11 - Atomics Functions |
| 13373 | | 13373 | |
| 13374 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 13374 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 13375 | | 13375 | |
| 13376 | // double atomics support requires extensions cl_khr_int64_base_atomics and cl_khr_int64_extended_atomics | 13376 | // double atomics support requires extensions cl_khr_int64_base_atomics and cl_khr_int64_extended_atomics |
| 13377 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) | 13377 | #if defined(cl_khr_int64_base_atomics) && defined(cl_khr_int64_extended_atomics) |
| ... | @@ -13692,7 +13692,7 @@ void __ovld atomic_flag_clear(volatile atomic_flag *object); | ... | @@ -13692,7 +13692,7 @@ void __ovld atomic_flag_clear(volatile atomic_flag *object); |
| 13692 | void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order); | 13692 | void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order); |
| 13693 | void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order, memory_scope scope); | 13693 | void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order, memory_scope scope); |
| 13694 | | 13694 | |
| 13695 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 13695 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 13696 | | 13696 | |
| 13697 | // OpenCL v1.1 s6.11.12, v1.2 s6.12.12, v2.0 s6.13.12 - Miscellaneous Vector Functions | 13697 | // OpenCL v1.1 s6.11.12, v1.2 s6.12.12, v2.0 s6.13.12 - Miscellaneous Vector Functions |
| 13698 | | 13698 | |
| ... | @@ -14186,7 +14186,7 @@ half16 __ovld __cnfn shuffle2(half8 x, half8 y, ushort16 mask); | ... | @@ -14186,7 +14186,7 @@ half16 __ovld __cnfn shuffle2(half8 x, half8 y, ushort16 mask); |
| 14186 | half16 __ovld __cnfn shuffle2(half16 x, half16 y, ushort16 mask); | 14186 | half16 __ovld __cnfn shuffle2(half16 x, half16 y, ushort16 mask); |
| 14187 | #endif //cl_khr_fp16 | 14187 | #endif //cl_khr_fp16 |
| 14188 | | 14188 | |
| 14189 | #if __OPENCL_C_VERSION__ >= CL_VERSION_1_2 | 14189 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
| 14190 | // OpenCL v1.2 s6.12.13, v2.0 s6.13.13 - printf | 14190 | // OpenCL v1.2 s6.12.13, v2.0 s6.13.13 - printf |
| 14191 | | 14191 | |
| 14192 | int printf(__constant const char* st, ...) __attribute__((format(printf, 1, 2))); | 14192 | int printf(__constant const char* st, ...) __attribute__((format(printf, 1, 2))); |
| ... | @@ -14307,7 +14307,7 @@ int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, f | ... | @@ -14307,7 +14307,7 @@ int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, f |
| 14307 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, int4 coord); | 14307 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, int4 coord); |
| 14308 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord); | 14308 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord); |
| 14309 | | 14309 | |
| 14310 | #if __OPENCL_C_VERSION__ >= CL_VERSION_1_2 | 14310 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
| 14311 | float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, int4 coord); | 14311 | float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, int4 coord); |
| 14312 | float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, float4 coord); | 14312 | float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, float4 coord); |
| 14313 | | 14313 | |
| ... | @@ -14315,7 +14315,7 @@ int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_ | ... | @@ -14315,7 +14315,7 @@ int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_ |
| 14315 | int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, float4 coord); | 14315 | int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, float4 coord); |
| 14316 | uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, int4 coord); | 14316 | uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, int4 coord); |
| 14317 | uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, float4 coord); | 14317 | uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, float4 coord); |
| 14318 | #endif // __OPENCL_C_VERSION__ >= CL_VERSION_1_2 | 14318 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
| 14319 | | 14319 | |
| 14320 | float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, int coord); | 14320 | float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, int coord); |
| 14321 | float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord); | 14321 | float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord); |
| ... | @@ -14325,7 +14325,7 @@ int4 __purefn __ovld read_imagei(read_only image1d_t image, sampler_t sampler, f | ... | @@ -14325,7 +14325,7 @@ int4 __purefn __ovld read_imagei(read_only image1d_t image, sampler_t sampler, f |
| 14325 | uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, int coord); | 14325 | uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, int coord); |
| 14326 | uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, float coord); | 14326 | uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, float coord); |
| 14327 | | 14327 | |
| 14328 | #if __OPENCL_C_VERSION__ >= CL_VERSION_1_2 | 14328 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
| 14329 | float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, int2 coord); | 14329 | float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, int2 coord); |
| 14330 | float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, float2 coord); | 14330 | float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, float2 coord); |
| 14331 | | 14331 | |
| ... | @@ -14333,7 +14333,7 @@ int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_ | ... | @@ -14333,7 +14333,7 @@ int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_ |
| 14333 | int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, float2 coord); | 14333 | int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, float2 coord); |
| 14334 | uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, int2 coord); | 14334 | uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, int2 coord); |
| 14335 | uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, float2 coord); | 14335 | uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, float2 coord); |
| 14336 | #endif // __OPENCL_C_VERSION__ >= CL_VERSION_1_2 | 14336 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
| 14337 | | 14337 | |
| 14338 | #ifdef cl_khr_depth_images | 14338 | #ifdef cl_khr_depth_images |
| 14339 | float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, float2 coord); | 14339 | float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, float2 coord); |
| ... | @@ -14358,7 +14358,7 @@ float __purefn __ovld read_imagef(read_only image2d_array_msaa_depth_t image, in | ... | @@ -14358,7 +14358,7 @@ float __purefn __ovld read_imagef(read_only image2d_array_msaa_depth_t image, in |
| 14358 | #endif //cl_khr_gl_msaa_sharing | 14358 | #endif //cl_khr_gl_msaa_sharing |
| 14359 | | 14359 | |
| 14360 | // OpenCL Extension v2.0 s9.18 - Mipmaps | 14360 | // OpenCL Extension v2.0 s9.18 - Mipmaps |
| 14361 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14361 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14362 | #ifdef cl_khr_mipmap_image | 14362 | #ifdef cl_khr_mipmap_image |
| 14363 | | 14363 | |
| 14364 | float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord, float lod); | 14364 | float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord, float lod); |
| ... | @@ -14410,9 +14410,9 @@ int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, f | ... | @@ -14410,9 +14410,9 @@ int4 __purefn __ovld read_imagei(read_only image3d_t image, sampler_t sampler, f |
| 14410 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY); | 14410 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY); |
| 14411 | | 14411 | |
| 14412 | #endif //cl_khr_mipmap_image | 14412 | #endif //cl_khr_mipmap_image |
| 14413 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14413 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14414 | | 14414 | |
| 14415 | #if __OPENCL_C_VERSION__ >= CL_VERSION_1_2 | 14415 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
| 14416 | | 14416 | |
| 14417 | /** | 14417 | /** |
| 14418 | * Sampler-less Image Access | 14418 | * Sampler-less Image Access |
| ... | @@ -14447,7 +14447,7 @@ float4 __purefn __ovld read_imagef(read_only image3d_t image, int4 coord); | ... | @@ -14447,7 +14447,7 @@ float4 __purefn __ovld read_imagef(read_only image3d_t image, int4 coord); |
| 14447 | int4 __purefn __ovld read_imagei(read_only image3d_t image, int4 coord); | 14447 | int4 __purefn __ovld read_imagei(read_only image3d_t image, int4 coord); |
| 14448 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, int4 coord); | 14448 | uint4 __purefn __ovld read_imageui(read_only image3d_t image, int4 coord); |
| 14449 | | 14449 | |
| 14450 | #endif // __OPENCL_C_VERSION__ >= CL_VERSION_1_2 | 14450 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
| 14451 | | 14451 | |
| 14452 | // Image read functions returning half4 type | 14452 | // Image read functions returning half4 type |
| 14453 | #ifdef cl_khr_fp16 | 14453 | #ifdef cl_khr_fp16 |
| ... | @@ -14457,7 +14457,7 @@ half4 __purefn __ovld read_imageh(read_only image2d_t image, sampler_t sampler, | ... | @@ -14457,7 +14457,7 @@ half4 __purefn __ovld read_imageh(read_only image2d_t image, sampler_t sampler, |
| 14457 | half4 __purefn __ovld read_imageh(read_only image2d_t image, sampler_t sampler, float2 coord); | 14457 | half4 __purefn __ovld read_imageh(read_only image2d_t image, sampler_t sampler, float2 coord); |
| 14458 | half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, int4 coord); | 14458 | half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, int4 coord); |
| 14459 | half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, float4 coord); | 14459 | half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, float4 coord); |
| 14460 | #if __OPENCL_C_VERSION__ >= CL_VERSION_1_2 | 14460 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
| 14461 | half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, int2 coord); | 14461 | half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, int2 coord); |
| 14462 | half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, float2 coord); | 14462 | half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, float2 coord); |
| 14463 | half4 __purefn __ovld read_imageh(read_only image2d_array_t image, sampler_t sampler, int4 coord); | 14463 | half4 __purefn __ovld read_imageh(read_only image2d_array_t image, sampler_t sampler, int4 coord); |
| ... | @@ -14471,11 +14471,11 @@ half4 __purefn __ovld read_imageh(read_only image3d_t image, int4 coord); | ... | @@ -14471,11 +14471,11 @@ half4 __purefn __ovld read_imageh(read_only image3d_t image, int4 coord); |
| 14471 | half4 __purefn __ovld read_imageh(read_only image1d_array_t image, int2 coord); | 14471 | half4 __purefn __ovld read_imageh(read_only image1d_array_t image, int2 coord); |
| 14472 | half4 __purefn __ovld read_imageh(read_only image2d_array_t image, int4 coord); | 14472 | half4 __purefn __ovld read_imageh(read_only image2d_array_t image, int4 coord); |
| 14473 | half4 __purefn __ovld read_imageh(read_only image1d_buffer_t image, int coord); | 14473 | half4 __purefn __ovld read_imageh(read_only image1d_buffer_t image, int coord); |
| 14474 | #endif // __OPENCL_C_VERSION__ >= CL_VERSION_1_2 | 14474 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2) |
| 14475 | #endif //cl_khr_fp16 | 14475 | #endif //cl_khr_fp16 |
| 14476 | | 14476 | |
| 14477 | // Image read functions for read_write images | 14477 | // Image read functions for read_write images |
| 14478 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14478 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14479 | float4 __purefn __ovld read_imagef(read_write image1d_t image, int coord); | 14479 | float4 __purefn __ovld read_imagef(read_write image1d_t image, int coord); |
| 14480 | int4 __purefn __ovld read_imagei(read_write image1d_t image, int coord); | 14480 | int4 __purefn __ovld read_imagei(read_write image1d_t image, int coord); |
| 14481 | uint4 __purefn __ovld read_imageui(read_write image1d_t image, int coord); | 14481 | uint4 __purefn __ovld read_imageui(read_write image1d_t image, int coord); |
| ... | @@ -14518,7 +14518,7 @@ float __purefn __ovld read_imagef(read_write image2d_msaa_depth_t image, int2 co | ... | @@ -14518,7 +14518,7 @@ float __purefn __ovld read_imagef(read_write image2d_msaa_depth_t image, int2 co |
| 14518 | float __purefn __ovld read_imagef(read_write image2d_array_msaa_depth_t image, int4 coord, int sample); | 14518 | float __purefn __ovld read_imagef(read_write image2d_array_msaa_depth_t image, int4 coord, int sample); |
| 14519 | #endif //cl_khr_gl_msaa_sharing | 14519 | #endif //cl_khr_gl_msaa_sharing |
| 14520 | | 14520 | |
| 14521 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14521 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14522 | #ifdef cl_khr_mipmap_image | 14522 | #ifdef cl_khr_mipmap_image |
| 14523 | float4 __purefn __ovld read_imagef(read_write image1d_t image, sampler_t sampler, float coord, float lod); | 14523 | float4 __purefn __ovld read_imagef(read_write image1d_t image, sampler_t sampler, float coord, float lod); |
| 14524 | int4 __purefn __ovld read_imagei(read_write image1d_t image, sampler_t sampler, float coord, float lod); | 14524 | int4 __purefn __ovld read_imagei(read_write image1d_t image, sampler_t sampler, float coord, float lod); |
| ... | @@ -14569,7 +14569,7 @@ int4 __purefn __ovld read_imagei(read_write image3d_t image, sampler_t sampler, | ... | @@ -14569,7 +14569,7 @@ int4 __purefn __ovld read_imagei(read_write image3d_t image, sampler_t sampler, |
| 14569 | uint4 __purefn __ovld read_imageui(read_write image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY); | 14569 | uint4 __purefn __ovld read_imageui(read_write image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY); |
| 14570 | | 14570 | |
| 14571 | #endif //cl_khr_mipmap_image | 14571 | #endif //cl_khr_mipmap_image |
| 14572 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14572 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14573 | | 14573 | |
| 14574 | // Image read functions returning half4 type | 14574 | // Image read functions returning half4 type |
| 14575 | #ifdef cl_khr_fp16 | 14575 | #ifdef cl_khr_fp16 |
| ... | @@ -14580,7 +14580,7 @@ half4 __purefn __ovld read_imageh(read_write image1d_array_t image, int2 coord); | ... | @@ -14580,7 +14580,7 @@ half4 __purefn __ovld read_imageh(read_write image1d_array_t image, int2 coord); |
| 14580 | half4 __purefn __ovld read_imageh(read_write image2d_array_t image, int4 coord); | 14580 | half4 __purefn __ovld read_imageh(read_write image2d_array_t image, int4 coord); |
| 14581 | half4 __purefn __ovld read_imageh(read_write image1d_buffer_t image, int coord); | 14581 | half4 __purefn __ovld read_imageh(read_write image1d_buffer_t image, int coord); |
| 14582 | #endif //cl_khr_fp16 | 14582 | #endif //cl_khr_fp16 |
| 14583 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14583 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14584 | | 14584 | |
| 14585 | /** | 14585 | /** |
| 14586 | * Write color value to location specified by coordinate | 14586 | * Write color value to location specified by coordinate |
| ... | @@ -14681,7 +14681,7 @@ void __ovld write_imagef(write_only image2d_array_depth_t image, int4 coord, flo | ... | @@ -14681,7 +14681,7 @@ void __ovld write_imagef(write_only image2d_array_depth_t image, int4 coord, flo |
| 14681 | #endif //cl_khr_depth_images | 14681 | #endif //cl_khr_depth_images |
| 14682 | | 14682 | |
| 14683 | // OpenCL Extension v2.0 s9.18 - Mipmaps | 14683 | // OpenCL Extension v2.0 s9.18 - Mipmaps |
| 14684 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14684 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14685 | #ifdef cl_khr_mipmap_image | 14685 | #ifdef cl_khr_mipmap_image |
| 14686 | void __ovld write_imagef(write_only image1d_t image, int coord, int lod, float4 color); | 14686 | void __ovld write_imagef(write_only image1d_t image, int coord, int lod, float4 color); |
| 14687 | void __ovld write_imagei(write_only image1d_t image, int coord, int lod, int4 color); | 14687 | void __ovld write_imagei(write_only image1d_t image, int coord, int lod, int4 color); |
| ... | @@ -14708,7 +14708,7 @@ void __ovld write_imagei(write_only image3d_t image, int4 coord, int lod, int4 c | ... | @@ -14708,7 +14708,7 @@ void __ovld write_imagei(write_only image3d_t image, int4 coord, int lod, int4 c |
| 14708 | void __ovld write_imageui(write_only image3d_t image, int4 coord, int lod, uint4 color); | 14708 | void __ovld write_imageui(write_only image3d_t image, int4 coord, int lod, uint4 color); |
| 14709 | #endif | 14709 | #endif |
| 14710 | #endif //cl_khr_mipmap_image | 14710 | #endif //cl_khr_mipmap_image |
| 14711 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14711 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14712 | | 14712 | |
| 14713 | // Image write functions for half4 type | 14713 | // Image write functions for half4 type |
| 14714 | #ifdef cl_khr_fp16 | 14714 | #ifdef cl_khr_fp16 |
| ... | @@ -14723,7 +14723,7 @@ void __ovld write_imageh(write_only image1d_buffer_t image, int coord, half4 col | ... | @@ -14723,7 +14723,7 @@ void __ovld write_imageh(write_only image1d_buffer_t image, int coord, half4 col |
| 14723 | #endif //cl_khr_fp16 | 14723 | #endif //cl_khr_fp16 |
| 14724 | | 14724 | |
| 14725 | // Image write functions for read_write images | 14725 | // Image write functions for read_write images |
| 14726 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14726 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14727 | void __ovld write_imagef(read_write image2d_t image, int2 coord, float4 color); | 14727 | void __ovld write_imagef(read_write image2d_t image, int2 coord, float4 color); |
| 14728 | void __ovld write_imagei(read_write image2d_t image, int2 coord, int4 color); | 14728 | void __ovld write_imagei(read_write image2d_t image, int2 coord, int4 color); |
| 14729 | void __ovld write_imageui(read_write image2d_t image, int2 coord, uint4 color); | 14729 | void __ovld write_imageui(read_write image2d_t image, int2 coord, uint4 color); |
| ... | @@ -14755,7 +14755,7 @@ void __ovld write_imagef(read_write image2d_depth_t image, int2 coord, float col | ... | @@ -14755,7 +14755,7 @@ void __ovld write_imagef(read_write image2d_depth_t image, int2 coord, float col |
| 14755 | void __ovld write_imagef(read_write image2d_array_depth_t image, int4 coord, float color); | 14755 | void __ovld write_imagef(read_write image2d_array_depth_t image, int4 coord, float color); |
| 14756 | #endif //cl_khr_depth_images | 14756 | #endif //cl_khr_depth_images |
| 14757 | | 14757 | |
| 14758 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14758 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14759 | #ifdef cl_khr_mipmap_image | 14759 | #ifdef cl_khr_mipmap_image |
| 14760 | void __ovld write_imagef(read_write image1d_t image, int coord, int lod, float4 color); | 14760 | void __ovld write_imagef(read_write image1d_t image, int coord, int lod, float4 color); |
| 14761 | void __ovld write_imagei(read_write image1d_t image, int coord, int lod, int4 color); | 14761 | void __ovld write_imagei(read_write image1d_t image, int coord, int lod, int4 color); |
| ... | @@ -14782,7 +14782,7 @@ void __ovld write_imagei(read_write image3d_t image, int4 coord, int lod, int4 c | ... | @@ -14782,7 +14782,7 @@ void __ovld write_imagei(read_write image3d_t image, int4 coord, int lod, int4 c |
| 14782 | void __ovld write_imageui(read_write image3d_t image, int4 coord, int lod, uint4 color); | 14782 | void __ovld write_imageui(read_write image3d_t image, int4 coord, int lod, uint4 color); |
| 14783 | #endif | 14783 | #endif |
| 14784 | #endif //cl_khr_mipmap_image | 14784 | #endif //cl_khr_mipmap_image |
| 14785 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14785 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14786 | | 14786 | |
| 14787 | // Image write functions for half4 type | 14787 | // Image write functions for half4 type |
| 14788 | #ifdef cl_khr_fp16 | 14788 | #ifdef cl_khr_fp16 |
| ... | @@ -14795,7 +14795,7 @@ void __ovld write_imageh(read_write image1d_array_t image, int2 coord, half4 col | ... | @@ -14795,7 +14795,7 @@ void __ovld write_imageh(read_write image1d_array_t image, int2 coord, half4 col |
| 14795 | void __ovld write_imageh(read_write image2d_array_t image, int4 coord, half4 color); | 14795 | void __ovld write_imageh(read_write image2d_array_t image, int4 coord, half4 color); |
| 14796 | void __ovld write_imageh(read_write image1d_buffer_t image, int coord, half4 color); | 14796 | void __ovld write_imageh(read_write image1d_buffer_t image, int coord, half4 color); |
| 14797 | #endif //cl_khr_fp16 | 14797 | #endif //cl_khr_fp16 |
| 14798 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14798 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14799 | | 14799 | |
| 14800 | // Note: In OpenCL v1.0/1.1/1.2, image argument of image query builtin functions does not have | 14800 | // Note: In OpenCL v1.0/1.1/1.2, image argument of image query builtin functions does not have |
| 14801 | // access qualifier, which by default assume read_only access qualifier. Image query builtin | 14801 | // access qualifier, which by default assume read_only access qualifier. Image query builtin |
| ... | @@ -14843,7 +14843,7 @@ int __ovld __cnfn get_image_width(write_only image2d_array_msaa_t image); | ... | @@ -14843,7 +14843,7 @@ int __ovld __cnfn get_image_width(write_only image2d_array_msaa_t image); |
| 14843 | int __ovld __cnfn get_image_width(write_only image2d_array_msaa_depth_t image); | 14843 | int __ovld __cnfn get_image_width(write_only image2d_array_msaa_depth_t image); |
| 14844 | #endif //cl_khr_gl_msaa_sharing | 14844 | #endif //cl_khr_gl_msaa_sharing |
| 14845 | | 14845 | |
| 14846 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14846 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14847 | int __ovld __cnfn get_image_width(read_write image1d_t image); | 14847 | int __ovld __cnfn get_image_width(read_write image1d_t image); |
| 14848 | int __ovld __cnfn get_image_width(read_write image1d_buffer_t image); | 14848 | int __ovld __cnfn get_image_width(read_write image1d_buffer_t image); |
| 14849 | int __ovld __cnfn get_image_width(read_write image2d_t image); | 14849 | int __ovld __cnfn get_image_width(read_write image2d_t image); |
| ... | @@ -14860,7 +14860,7 @@ int __ovld __cnfn get_image_width(read_write image2d_msaa_depth_t image); | ... | @@ -14860,7 +14860,7 @@ int __ovld __cnfn get_image_width(read_write image2d_msaa_depth_t image); |
| 14860 | int __ovld __cnfn get_image_width(read_write image2d_array_msaa_t image); | 14860 | int __ovld __cnfn get_image_width(read_write image2d_array_msaa_t image); |
| 14861 | int __ovld __cnfn get_image_width(read_write image2d_array_msaa_depth_t image); | 14861 | int __ovld __cnfn get_image_width(read_write image2d_array_msaa_depth_t image); |
| 14862 | #endif //cl_khr_gl_msaa_sharing | 14862 | #endif //cl_khr_gl_msaa_sharing |
| 14863 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14863 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14864 | | 14864 | |
| 14865 | /** | 14865 | /** |
| 14866 | * Return the image height in pixels. | 14866 | * Return the image height in pixels. |
| ... | @@ -14895,7 +14895,7 @@ int __ovld __cnfn get_image_height(write_only image2d_array_msaa_t image); | ... | @@ -14895,7 +14895,7 @@ int __ovld __cnfn get_image_height(write_only image2d_array_msaa_t image); |
| 14895 | int __ovld __cnfn get_image_height(write_only image2d_array_msaa_depth_t image); | 14895 | int __ovld __cnfn get_image_height(write_only image2d_array_msaa_depth_t image); |
| 14896 | #endif //cl_khr_gl_msaa_sharing | 14896 | #endif //cl_khr_gl_msaa_sharing |
| 14897 | | 14897 | |
| 14898 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14898 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14899 | int __ovld __cnfn get_image_height(read_write image2d_t image); | 14899 | int __ovld __cnfn get_image_height(read_write image2d_t image); |
| 14900 | int __ovld __cnfn get_image_height(read_write image3d_t image); | 14900 | int __ovld __cnfn get_image_height(read_write image3d_t image); |
| 14901 | int __ovld __cnfn get_image_height(read_write image2d_array_t image); | 14901 | int __ovld __cnfn get_image_height(read_write image2d_array_t image); |
| ... | @@ -14909,7 +14909,7 @@ int __ovld __cnfn get_image_height(read_write image2d_msaa_depth_t image); | ... | @@ -14909,7 +14909,7 @@ int __ovld __cnfn get_image_height(read_write image2d_msaa_depth_t image); |
| 14909 | int __ovld __cnfn get_image_height(read_write image2d_array_msaa_t image); | 14909 | int __ovld __cnfn get_image_height(read_write image2d_array_msaa_t image); |
| 14910 | int __ovld __cnfn get_image_height(read_write image2d_array_msaa_depth_t image); | 14910 | int __ovld __cnfn get_image_height(read_write image2d_array_msaa_depth_t image); |
| 14911 | #endif //cl_khr_gl_msaa_sharing | 14911 | #endif //cl_khr_gl_msaa_sharing |
| 14912 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14912 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14913 | | 14913 | |
| 14914 | /** | 14914 | /** |
| 14915 | * Return the image depth in pixels. | 14915 | * Return the image depth in pixels. |
| ... | @@ -14920,12 +14920,12 @@ int __ovld __cnfn get_image_depth(read_only image3d_t image); | ... | @@ -14920,12 +14920,12 @@ int __ovld __cnfn get_image_depth(read_only image3d_t image); |
| 14920 | int __ovld __cnfn get_image_depth(write_only image3d_t image); | 14920 | int __ovld __cnfn get_image_depth(write_only image3d_t image); |
| 14921 | #endif | 14921 | #endif |
| 14922 | | 14922 | |
| 14923 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14923 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14924 | int __ovld __cnfn get_image_depth(read_write image3d_t image); | 14924 | int __ovld __cnfn get_image_depth(read_write image3d_t image); |
| 14925 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14925 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14926 | | 14926 | |
| 14927 | // OpenCL Extension v2.0 s9.18 - Mipmaps | 14927 | // OpenCL Extension v2.0 s9.18 - Mipmaps |
| 14928 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14928 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14929 | #ifdef cl_khr_mipmap_image | 14929 | #ifdef cl_khr_mipmap_image |
| 14930 | /** | 14930 | /** |
| 14931 | * Return the image miplevels. | 14931 | * Return the image miplevels. |
| ... | @@ -14961,7 +14961,7 @@ int __ovld get_image_num_mip_levels(read_write image2d_array_depth_t image); | ... | @@ -14961,7 +14961,7 @@ int __ovld get_image_num_mip_levels(read_write image2d_array_depth_t image); |
| 14961 | int __ovld get_image_num_mip_levels(read_write image2d_depth_t image); | 14961 | int __ovld get_image_num_mip_levels(read_write image2d_depth_t image); |
| 14962 | | 14962 | |
| 14963 | #endif //cl_khr_mipmap_image | 14963 | #endif //cl_khr_mipmap_image |
| 14964 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 14964 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 14965 | | 14965 | |
| 14966 | /** | 14966 | /** |
| 14967 | * Return the channel data type. Valid values are: | 14967 | * Return the channel data type. Valid values are: |
| ... | @@ -15018,7 +15018,7 @@ int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_msaa_t im | ... | @@ -15018,7 +15018,7 @@ int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_msaa_t im |
| 15018 | int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_msaa_depth_t image); | 15018 | int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_msaa_depth_t image); |
| 15019 | #endif //cl_khr_gl_msaa_sharing | 15019 | #endif //cl_khr_gl_msaa_sharing |
| 15020 | | 15020 | |
| 15021 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15021 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15022 | int __ovld __cnfn get_image_channel_data_type(read_write image1d_t image); | 15022 | int __ovld __cnfn get_image_channel_data_type(read_write image1d_t image); |
| 15023 | int __ovld __cnfn get_image_channel_data_type(read_write image1d_buffer_t image); | 15023 | int __ovld __cnfn get_image_channel_data_type(read_write image1d_buffer_t image); |
| 15024 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_t image); | 15024 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_t image); |
| ... | @@ -15035,7 +15035,7 @@ int __ovld __cnfn get_image_channel_data_type(read_write image2d_msaa_depth_t im | ... | @@ -15035,7 +15035,7 @@ int __ovld __cnfn get_image_channel_data_type(read_write image2d_msaa_depth_t im |
| 15035 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_t image); | 15035 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_t image); |
| 15036 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_depth_t image); | 15036 | int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_depth_t image); |
| 15037 | #endif //cl_khr_gl_msaa_sharing | 15037 | #endif //cl_khr_gl_msaa_sharing |
| 15038 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15038 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15039 | | 15039 | |
| 15040 | /** | 15040 | /** |
| 15041 | * Return the image channel order. Valid values are: | 15041 | * Return the image channel order. Valid values are: |
| ... | @@ -15090,7 +15090,7 @@ int __ovld __cnfn get_image_channel_order(write_only image2d_array_msaa_t image) | ... | @@ -15090,7 +15090,7 @@ int __ovld __cnfn get_image_channel_order(write_only image2d_array_msaa_t image) |
| 15090 | int __ovld __cnfn get_image_channel_order(write_only image2d_array_msaa_depth_t image); | 15090 | int __ovld __cnfn get_image_channel_order(write_only image2d_array_msaa_depth_t image); |
| 15091 | #endif //cl_khr_gl_msaa_sharing | 15091 | #endif //cl_khr_gl_msaa_sharing |
| 15092 | | 15092 | |
| 15093 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15093 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15094 | int __ovld __cnfn get_image_channel_order(read_write image1d_t image); | 15094 | int __ovld __cnfn get_image_channel_order(read_write image1d_t image); |
| 15095 | int __ovld __cnfn get_image_channel_order(read_write image1d_buffer_t image); | 15095 | int __ovld __cnfn get_image_channel_order(read_write image1d_buffer_t image); |
| 15096 | int __ovld __cnfn get_image_channel_order(read_write image2d_t image); | 15096 | int __ovld __cnfn get_image_channel_order(read_write image2d_t image); |
| ... | @@ -15107,7 +15107,7 @@ int __ovld __cnfn get_image_channel_order(read_write image2d_msaa_depth_t image) | ... | @@ -15107,7 +15107,7 @@ int __ovld __cnfn get_image_channel_order(read_write image2d_msaa_depth_t image) |
| 15107 | int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_t image); | 15107 | int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_t image); |
| 15108 | int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_depth_t image); | 15108 | int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_depth_t image); |
| 15109 | #endif //cl_khr_gl_msaa_sharing | 15109 | #endif //cl_khr_gl_msaa_sharing |
| 15110 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15110 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15111 | | 15111 | |
| 15112 | /** | 15112 | /** |
| 15113 | * Return the 2D image width and height as an int2 | 15113 | * Return the 2D image width and height as an int2 |
| ... | @@ -15140,7 +15140,7 @@ int2 __ovld __cnfn get_image_dim(write_only image2d_array_msaa_t image); | ... | @@ -15140,7 +15140,7 @@ int2 __ovld __cnfn get_image_dim(write_only image2d_array_msaa_t image); |
| 15140 | int2 __ovld __cnfn get_image_dim(write_only image2d_array_msaa_depth_t image); | 15140 | int2 __ovld __cnfn get_image_dim(write_only image2d_array_msaa_depth_t image); |
| 15141 | #endif //cl_khr_gl_msaa_sharing | 15141 | #endif //cl_khr_gl_msaa_sharing |
| 15142 | | 15142 | |
| 15143 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15143 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15144 | int2 __ovld __cnfn get_image_dim(read_write image2d_t image); | 15144 | int2 __ovld __cnfn get_image_dim(read_write image2d_t image); |
| 15145 | int2 __ovld __cnfn get_image_dim(read_write image2d_array_t image); | 15145 | int2 __ovld __cnfn get_image_dim(read_write image2d_array_t image); |
| 15146 | #ifdef cl_khr_depth_images | 15146 | #ifdef cl_khr_depth_images |
| ... | @@ -15153,7 +15153,7 @@ int2 __ovld __cnfn get_image_dim(read_write image2d_msaa_depth_t image); | ... | @@ -15153,7 +15153,7 @@ int2 __ovld __cnfn get_image_dim(read_write image2d_msaa_depth_t image); |
| 15153 | int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_t image); | 15153 | int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_t image); |
| 15154 | int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_depth_t image); | 15154 | int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_depth_t image); |
| 15155 | #endif //cl_khr_gl_msaa_sharing | 15155 | #endif //cl_khr_gl_msaa_sharing |
| 15156 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15156 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15157 | | 15157 | |
| 15158 | /** | 15158 | /** |
| 15159 | * Return the 3D image width, height, and depth as an | 15159 | * Return the 3D image width, height, and depth as an |
| ... | @@ -15165,9 +15165,9 @@ int4 __ovld __cnfn get_image_dim(read_only image3d_t image); | ... | @@ -15165,9 +15165,9 @@ int4 __ovld __cnfn get_image_dim(read_only image3d_t image); |
| 15165 | #ifdef cl_khr_3d_image_writes | 15165 | #ifdef cl_khr_3d_image_writes |
| 15166 | int4 __ovld __cnfn get_image_dim(write_only image3d_t image); | 15166 | int4 __ovld __cnfn get_image_dim(write_only image3d_t image); |
| 15167 | #endif | 15167 | #endif |
| 15168 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15168 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15169 | int4 __ovld __cnfn get_image_dim(read_write image3d_t image); | 15169 | int4 __ovld __cnfn get_image_dim(read_write image3d_t image); |
| 15170 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15170 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15171 | | 15171 | |
| 15172 | /** | 15172 | /** |
| 15173 | * Return the image array size. | 15173 | * Return the image array size. |
| ... | @@ -15193,7 +15193,7 @@ size_t __ovld __cnfn get_image_array_size(write_only image2d_array_msaa_t image_ | ... | @@ -15193,7 +15193,7 @@ size_t __ovld __cnfn get_image_array_size(write_only image2d_array_msaa_t image_ |
| 15193 | size_t __ovld __cnfn get_image_array_size(write_only image2d_array_msaa_depth_t image_array); | 15193 | size_t __ovld __cnfn get_image_array_size(write_only image2d_array_msaa_depth_t image_array); |
| 15194 | #endif //cl_khr_gl_msaa_sharing | 15194 | #endif //cl_khr_gl_msaa_sharing |
| 15195 | | 15195 | |
| 15196 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15196 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15197 | size_t __ovld __cnfn get_image_array_size(read_write image1d_array_t image_array); | 15197 | size_t __ovld __cnfn get_image_array_size(read_write image1d_array_t image_array); |
| 15198 | size_t __ovld __cnfn get_image_array_size(read_write image2d_array_t image_array); | 15198 | size_t __ovld __cnfn get_image_array_size(read_write image2d_array_t image_array); |
| 15199 | #ifdef cl_khr_depth_images | 15199 | #ifdef cl_khr_depth_images |
| ... | @@ -15203,7 +15203,7 @@ size_t __ovld __cnfn get_image_array_size(read_write image2d_array_depth_t image | ... | @@ -15203,7 +15203,7 @@ size_t __ovld __cnfn get_image_array_size(read_write image2d_array_depth_t image |
| 15203 | size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_t image_array); | 15203 | size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_t image_array); |
| 15204 | size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_depth_t image_array); | 15204 | size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_depth_t image_array); |
| 15205 | #endif //cl_khr_gl_msaa_sharing | 15205 | #endif //cl_khr_gl_msaa_sharing |
| 15206 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15206 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15207 | | 15207 | |
| 15208 | /** | 15208 | /** |
| 15209 | * Return the number of samples associated with image | 15209 | * Return the number of samples associated with image |
| ... | @@ -15219,17 +15219,17 @@ int __ovld get_image_num_samples(write_only image2d_msaa_depth_t image); | ... | @@ -15219,17 +15219,17 @@ int __ovld get_image_num_samples(write_only image2d_msaa_depth_t image); |
| 15219 | int __ovld get_image_num_samples(write_only image2d_array_msaa_t image); | 15219 | int __ovld get_image_num_samples(write_only image2d_array_msaa_t image); |
| 15220 | int __ovld get_image_num_samples(write_only image2d_array_msaa_depth_t image); | 15220 | int __ovld get_image_num_samples(write_only image2d_array_msaa_depth_t image); |
| 15221 | | 15221 | |
| 15222 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15222 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15223 | int __ovld get_image_num_samples(read_write image2d_msaa_t image); | 15223 | int __ovld get_image_num_samples(read_write image2d_msaa_t image); |
| 15224 | int __ovld get_image_num_samples(read_write image2d_msaa_depth_t image); | 15224 | int __ovld get_image_num_samples(read_write image2d_msaa_depth_t image); |
| 15225 | int __ovld get_image_num_samples(read_write image2d_array_msaa_t image); | 15225 | int __ovld get_image_num_samples(read_write image2d_array_msaa_t image); |
| 15226 | int __ovld get_image_num_samples(read_write image2d_array_msaa_depth_t image); | 15226 | int __ovld get_image_num_samples(read_write image2d_array_msaa_depth_t image); |
| 15227 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15227 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15228 | #endif | 15228 | #endif |
| 15229 | | 15229 | |
| 15230 | // OpenCL v2.0 s6.13.15 - Work-group Functions | 15230 | // OpenCL v2.0 s6.13.15 - Work-group Functions |
| 15231 | | 15231 | |
| 15232 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15232 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15233 | int __ovld __conv work_group_all(int predicate); | 15233 | int __ovld __conv work_group_all(int predicate); |
| 15234 | int __ovld __conv work_group_any(int predicate); | 15234 | int __ovld __conv work_group_any(int predicate); |
| 15235 | | 15235 | |
| ... | @@ -15327,16 +15327,16 @@ double __ovld __conv work_group_scan_inclusive_min(double x); | ... | @@ -15327,16 +15327,16 @@ double __ovld __conv work_group_scan_inclusive_min(double x); |
| 15327 | double __ovld __conv work_group_scan_inclusive_max(double x); | 15327 | double __ovld __conv work_group_scan_inclusive_max(double x); |
| 15328 | #endif //cl_khr_fp64 | 15328 | #endif //cl_khr_fp64 |
| 15329 | | 15329 | |
| 15330 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15330 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15331 | | 15331 | |
| 15332 | // OpenCL v2.0 s6.13.16 - Pipe Functions | 15332 | // OpenCL v2.0 s6.13.16 - Pipe Functions |
| 15333 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15333 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15334 | bool __ovld is_valid_reserve_id(reserve_id_t reserve_id); | 15334 | bool __ovld is_valid_reserve_id(reserve_id_t reserve_id); |
| 15335 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15335 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15336 | | 15336 | |
| 15337 | | 15337 | |
| 15338 | // OpenCL v2.0 s6.13.17 - Enqueue Kernels | 15338 | // OpenCL v2.0 s6.13.17 - Enqueue Kernels |
| 15339 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15339 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15340 | | 15340 | |
| 15341 | ndrange_t __ovld ndrange_1D(size_t); | 15341 | ndrange_t __ovld ndrange_1D(size_t); |
| 15342 | ndrange_t __ovld ndrange_1D(size_t, size_t); | 15342 | ndrange_t __ovld ndrange_1D(size_t, size_t); |
| ... | @@ -15365,7 +15365,7 @@ bool __ovld is_valid_event (clk_event_t event); | ... | @@ -15365,7 +15365,7 @@ bool __ovld is_valid_event (clk_event_t event); |
| 15365 | void __ovld capture_event_profiling_info(clk_event_t, clk_profiling_info, __global void* value); | 15365 | void __ovld capture_event_profiling_info(clk_event_t, clk_profiling_info, __global void* value); |
| 15366 | | 15366 | |
| 15367 | queue_t __ovld get_default_queue(void); | 15367 | queue_t __ovld get_default_queue(void); |
| 15368 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15368 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15369 | | 15369 | |
| 15370 | // OpenCL Extension v2.0 s9.17 - Sub-groups | 15370 | // OpenCL Extension v2.0 s9.17 - Sub-groups |
| 15371 | | 15371 | |
| ... | @@ -15374,16 +15374,16 @@ queue_t __ovld get_default_queue(void); | ... | @@ -15374,16 +15374,16 @@ queue_t __ovld get_default_queue(void); |
| 15374 | uint __ovld get_sub_group_size(void); | 15374 | uint __ovld get_sub_group_size(void); |
| 15375 | uint __ovld get_max_sub_group_size(void); | 15375 | uint __ovld get_max_sub_group_size(void); |
| 15376 | uint __ovld get_num_sub_groups(void); | 15376 | uint __ovld get_num_sub_groups(void); |
| 15377 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15377 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15378 | uint __ovld get_enqueued_num_sub_groups(void); | 15378 | uint __ovld get_enqueued_num_sub_groups(void); |
| 15379 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15379 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15380 | uint __ovld get_sub_group_id(void); | 15380 | uint __ovld get_sub_group_id(void); |
| 15381 | uint __ovld get_sub_group_local_id(void); | 15381 | uint __ovld get_sub_group_local_id(void); |
| 15382 | | 15382 | |
| 15383 | void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags); | 15383 | void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags); |
| 15384 | #if __OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15384 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15385 | void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags, memory_scope scope); | 15385 | void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags, memory_scope scope); |
| 15386 | #endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0 | 15386 | #endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15387 | | 15387 | |
| 15388 | int __ovld __conv sub_group_all(int predicate); | 15388 | int __ovld __conv sub_group_all(int predicate); |
| 15389 | int __ovld __conv sub_group_any(int predicate); | 15389 | int __ovld __conv sub_group_any(int predicate); |
| ... | @@ -15573,12 +15573,12 @@ uint2 __ovld __conv intel_sub_group_block_read2( read_only image2d_t image, in | ... | @@ -15573,12 +15573,12 @@ uint2 __ovld __conv intel_sub_group_block_read2( read_only image2d_t image, in |
| 15573 | uint4 __ovld __conv intel_sub_group_block_read4( read_only image2d_t image, int2 coord ); | 15573 | uint4 __ovld __conv intel_sub_group_block_read4( read_only image2d_t image, int2 coord ); |
| 15574 | uint8 __ovld __conv intel_sub_group_block_read8( read_only image2d_t image, int2 coord ); | 15574 | uint8 __ovld __conv intel_sub_group_block_read8( read_only image2d_t image, int2 coord ); |
| 15575 | | 15575 | |
| 15576 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15576 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15577 | uint __ovld __conv intel_sub_group_block_read(read_write image2d_t image, int2 coord); | 15577 | uint __ovld __conv intel_sub_group_block_read(read_write image2d_t image, int2 coord); |
| 15578 | uint2 __ovld __conv intel_sub_group_block_read2(read_write image2d_t image, int2 coord); | 15578 | uint2 __ovld __conv intel_sub_group_block_read2(read_write image2d_t image, int2 coord); |
| 15579 | uint4 __ovld __conv intel_sub_group_block_read4(read_write image2d_t image, int2 coord); | 15579 | uint4 __ovld __conv intel_sub_group_block_read4(read_write image2d_t image, int2 coord); |
| 15580 | uint8 __ovld __conv intel_sub_group_block_read8(read_write image2d_t image, int2 coord); | 15580 | uint8 __ovld __conv intel_sub_group_block_read8(read_write image2d_t image, int2 coord); |
| 15581 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15581 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15582 | | 15582 | |
| 15583 | uint __ovld __conv intel_sub_group_block_read( const __global uint* p ); | 15583 | uint __ovld __conv intel_sub_group_block_read( const __global uint* p ); |
| 15584 | uint2 __ovld __conv intel_sub_group_block_read2( const __global uint* p ); | 15584 | uint2 __ovld __conv intel_sub_group_block_read2( const __global uint* p ); |
| ... | @@ -15590,12 +15590,12 @@ void __ovld __conv intel_sub_group_block_write2(write_only image2d_t image, i | ... | @@ -15590,12 +15590,12 @@ void __ovld __conv intel_sub_group_block_write2(write_only image2d_t image, i |
| 15590 | void __ovld __conv intel_sub_group_block_write4(write_only image2d_t image, int2 coord, uint4 data); | 15590 | void __ovld __conv intel_sub_group_block_write4(write_only image2d_t image, int2 coord, uint4 data); |
| 15591 | void __ovld __conv intel_sub_group_block_write8(write_only image2d_t image, int2 coord, uint8 data); | 15591 | void __ovld __conv intel_sub_group_block_write8(write_only image2d_t image, int2 coord, uint8 data); |
| 15592 | | 15592 | |
| 15593 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15593 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15594 | void __ovld __conv intel_sub_group_block_write(read_write image2d_t image, int2 coord, uint data); | 15594 | void __ovld __conv intel_sub_group_block_write(read_write image2d_t image, int2 coord, uint data); |
| 15595 | void __ovld __conv intel_sub_group_block_write2(read_write image2d_t image, int2 coord, uint2 data); | 15595 | void __ovld __conv intel_sub_group_block_write2(read_write image2d_t image, int2 coord, uint2 data); |
| 15596 | void __ovld __conv intel_sub_group_block_write4(read_write image2d_t image, int2 coord, uint4 data); | 15596 | void __ovld __conv intel_sub_group_block_write4(read_write image2d_t image, int2 coord, uint4 data); |
| 15597 | void __ovld __conv intel_sub_group_block_write8(read_write image2d_t image, int2 coord, uint8 data); | 15597 | void __ovld __conv intel_sub_group_block_write8(read_write image2d_t image, int2 coord, uint8 data); |
| 15598 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15598 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15599 | | 15599 | |
| 15600 | void __ovld __conv intel_sub_group_block_write( __global uint* p, uint data ); | 15600 | void __ovld __conv intel_sub_group_block_write( __global uint* p, uint data ); |
| 15601 | void __ovld __conv intel_sub_group_block_write2( __global uint* p, uint2 data ); | 15601 | void __ovld __conv intel_sub_group_block_write2( __global uint* p, uint2 data ); |
| ... | @@ -15713,12 +15713,12 @@ uint2 __ovld __conv intel_sub_group_block_read_ui2( read_only image2d_t ima | ... | @@ -15713,12 +15713,12 @@ uint2 __ovld __conv intel_sub_group_block_read_ui2( read_only image2d_t ima |
| 15713 | uint4 __ovld __conv intel_sub_group_block_read_ui4( read_only image2d_t image, int2 byte_coord ); | 15713 | uint4 __ovld __conv intel_sub_group_block_read_ui4( read_only image2d_t image, int2 byte_coord ); |
| 15714 | uint8 __ovld __conv intel_sub_group_block_read_ui8( read_only image2d_t image, int2 byte_coord ); | 15714 | uint8 __ovld __conv intel_sub_group_block_read_ui8( read_only image2d_t image, int2 byte_coord ); |
| 15715 | | 15715 | |
| 15716 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15716 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15717 | uint __ovld __conv intel_sub_group_block_read_ui( read_write image2d_t image, int2 byte_coord ); | 15717 | uint __ovld __conv intel_sub_group_block_read_ui( read_write image2d_t image, int2 byte_coord ); |
| 15718 | uint2 __ovld __conv intel_sub_group_block_read_ui2( read_write image2d_t image, int2 byte_coord ); | 15718 | uint2 __ovld __conv intel_sub_group_block_read_ui2( read_write image2d_t image, int2 byte_coord ); |
| 15719 | uint4 __ovld __conv intel_sub_group_block_read_ui4( read_write image2d_t image, int2 byte_coord ); | 15719 | uint4 __ovld __conv intel_sub_group_block_read_ui4( read_write image2d_t image, int2 byte_coord ); |
| 15720 | uint8 __ovld __conv intel_sub_group_block_read_ui8( read_write image2d_t image, int2 byte_coord ); | 15720 | uint8 __ovld __conv intel_sub_group_block_read_ui8( read_write image2d_t image, int2 byte_coord ); |
| 15721 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15721 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15722 | | 15722 | |
| 15723 | uint __ovld __conv intel_sub_group_block_read_ui( const __global uint* p ); | 15723 | uint __ovld __conv intel_sub_group_block_read_ui( const __global uint* p ); |
| 15724 | uint2 __ovld __conv intel_sub_group_block_read_ui2( const __global uint* p ); | 15724 | uint2 __ovld __conv intel_sub_group_block_read_ui2( const __global uint* p ); |
| ... | @@ -15730,12 +15730,12 @@ void __ovld __conv intel_sub_group_block_write_ui2( read_only image2d_t im | ... | @@ -15730,12 +15730,12 @@ void __ovld __conv intel_sub_group_block_write_ui2( read_only image2d_t im |
| 15730 | void __ovld __conv intel_sub_group_block_write_ui4( read_only image2d_t image, int2 byte_coord, uint4 data ); | 15730 | void __ovld __conv intel_sub_group_block_write_ui4( read_only image2d_t image, int2 byte_coord, uint4 data ); |
| 15731 | void __ovld __conv intel_sub_group_block_write_ui8( read_only image2d_t image, int2 byte_coord, uint8 data ); | 15731 | void __ovld __conv intel_sub_group_block_write_ui8( read_only image2d_t image, int2 byte_coord, uint8 data ); |
| 15732 | | 15732 | |
| 15733 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15733 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15734 | void __ovld __conv intel_sub_group_block_write_ui( read_write image2d_t image, int2 byte_coord, uint data ); | 15734 | void __ovld __conv intel_sub_group_block_write_ui( read_write image2d_t image, int2 byte_coord, uint data ); |
| 15735 | void __ovld __conv intel_sub_group_block_write_ui2( read_write image2d_t image, int2 byte_coord, uint2 data ); | 15735 | void __ovld __conv intel_sub_group_block_write_ui2( read_write image2d_t image, int2 byte_coord, uint2 data ); |
| 15736 | void __ovld __conv intel_sub_group_block_write_ui4( read_write image2d_t image, int2 byte_coord, uint4 data ); | 15736 | void __ovld __conv intel_sub_group_block_write_ui4( read_write image2d_t image, int2 byte_coord, uint4 data ); |
| 15737 | void __ovld __conv intel_sub_group_block_write_ui8( read_write image2d_t image, int2 byte_coord, uint8 data ); | 15737 | void __ovld __conv intel_sub_group_block_write_ui8( read_write image2d_t image, int2 byte_coord, uint8 data ); |
| 15738 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15738 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15739 | | 15739 | |
| 15740 | void __ovld __conv intel_sub_group_block_write_ui( __global uint* p, uint data ); | 15740 | void __ovld __conv intel_sub_group_block_write_ui( __global uint* p, uint data ); |
| 15741 | void __ovld __conv intel_sub_group_block_write_ui2( __global uint* p, uint2 data ); | 15741 | void __ovld __conv intel_sub_group_block_write_ui2( __global uint* p, uint2 data ); |
| ... | @@ -15747,12 +15747,12 @@ ushort2 __ovld __conv intel_sub_group_block_read_us2( read_only image2d_t im | ... | @@ -15747,12 +15747,12 @@ ushort2 __ovld __conv intel_sub_group_block_read_us2( read_only image2d_t im |
| 15747 | ushort4 __ovld __conv intel_sub_group_block_read_us4( read_only image2d_t image, int2 coord ); | 15747 | ushort4 __ovld __conv intel_sub_group_block_read_us4( read_only image2d_t image, int2 coord ); |
| 15748 | ushort8 __ovld __conv intel_sub_group_block_read_us8( read_only image2d_t image, int2 coord ); | 15748 | ushort8 __ovld __conv intel_sub_group_block_read_us8( read_only image2d_t image, int2 coord ); |
| 15749 | | 15749 | |
| 15750 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15750 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15751 | ushort __ovld __conv intel_sub_group_block_read_us(read_write image2d_t image, int2 coord); | 15751 | ushort __ovld __conv intel_sub_group_block_read_us(read_write image2d_t image, int2 coord); |
| 15752 | ushort2 __ovld __conv intel_sub_group_block_read_us2(read_write image2d_t image, int2 coord); | 15752 | ushort2 __ovld __conv intel_sub_group_block_read_us2(read_write image2d_t image, int2 coord); |
| 15753 | ushort4 __ovld __conv intel_sub_group_block_read_us4(read_write image2d_t image, int2 coord); | 15753 | ushort4 __ovld __conv intel_sub_group_block_read_us4(read_write image2d_t image, int2 coord); |
| 15754 | ushort8 __ovld __conv intel_sub_group_block_read_us8(read_write image2d_t image, int2 coord); | 15754 | ushort8 __ovld __conv intel_sub_group_block_read_us8(read_write image2d_t image, int2 coord); |
| 15755 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15755 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15756 | | 15756 | |
| 15757 | ushort __ovld __conv intel_sub_group_block_read_us( const __global ushort* p ); | 15757 | ushort __ovld __conv intel_sub_group_block_read_us( const __global ushort* p ); |
| 15758 | ushort2 __ovld __conv intel_sub_group_block_read_us2( const __global ushort* p ); | 15758 | ushort2 __ovld __conv intel_sub_group_block_read_us2( const __global ushort* p ); |
| ... | @@ -15764,12 +15764,12 @@ void __ovld __conv intel_sub_group_block_write_us2(write_only image2d_t i | ... | @@ -15764,12 +15764,12 @@ void __ovld __conv intel_sub_group_block_write_us2(write_only image2d_t i |
| 15764 | void __ovld __conv intel_sub_group_block_write_us4(write_only image2d_t image, int2 coord, ushort4 data); | 15764 | void __ovld __conv intel_sub_group_block_write_us4(write_only image2d_t image, int2 coord, ushort4 data); |
| 15765 | void __ovld __conv intel_sub_group_block_write_us8(write_only image2d_t image, int2 coord, ushort8 data); | 15765 | void __ovld __conv intel_sub_group_block_write_us8(write_only image2d_t image, int2 coord, ushort8 data); |
| 15766 | | 15766 | |
| 15767 | #if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15767 | #if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15768 | void __ovld __conv intel_sub_group_block_write_us(read_write image2d_t image, int2 coord, ushort data); | 15768 | void __ovld __conv intel_sub_group_block_write_us(read_write image2d_t image, int2 coord, ushort data); |
| 15769 | void __ovld __conv intel_sub_group_block_write_us2(read_write image2d_t image, int2 coord, ushort2 data); | 15769 | void __ovld __conv intel_sub_group_block_write_us2(read_write image2d_t image, int2 coord, ushort2 data); |
| 15770 | void __ovld __conv intel_sub_group_block_write_us4(read_write image2d_t image, int2 coord, ushort4 data); | 15770 | void __ovld __conv intel_sub_group_block_write_us4(read_write image2d_t image, int2 coord, ushort4 data); |
| 15771 | void __ovld __conv intel_sub_group_block_write_us8(read_write image2d_t image, int2 coord, ushort8 data); | 15771 | void __ovld __conv intel_sub_group_block_write_us8(read_write image2d_t image, int2 coord, ushort8 data); |
| 15772 | #endif // (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) | 15772 | #endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0) |
| 15773 | | 15773 | |
| 15774 | void __ovld __conv intel_sub_group_block_write_us( __global ushort* p, ushort data ); | 15774 | void __ovld __conv intel_sub_group_block_write_us( __global ushort* p, ushort data ); |
| 15775 | void __ovld __conv intel_sub_group_block_write_us2( __global ushort* p, ushort2 data ); | 15775 | void __ovld __conv intel_sub_group_block_write_us2( __global ushort* p, ushort2 data ); |