authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-08-20 19:16:06-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-08-20 19:16:06-04:00
logc0bd2eb3987698ee9b91f6b7ef6eb85526749ed4
treeb44defd52e2699f84f8abad9d51b6b2485089ec6
parent5f3d59f0ac78e01bd50419dab54d7fcbae15f17c
signaturelock-open Commit is signed but in an unrecognized format.

update C headers to clang 9.0.0-rc2

upstream commit 67a4a12d61bfb10b2410b53c5a43ef9b4a03de7d

3 files changed, 113 insertions(+), 120 deletions(-)

lib/include/emmintrin.h+3-3
...@@ -4029,7 +4029,7 @@ _mm_storeu_si128(__m128i_u *__p, __m128i __b)...@@ -4029,7 +4029,7 @@ _mm_storeu_si128(__m128i_u *__p, __m128i __b)
4029/// \param __b4029/// \param __b
4030/// A 128-bit integer vector containing the value to be stored.4030/// A 128-bit integer vector containing the value to be stored.
4031static __inline__ void __DEFAULT_FN_ATTRS4031static __inline__ void __DEFAULT_FN_ATTRS
4032_mm_storeu_si64(void const *__p, __m128i __b)4032_mm_storeu_si64(void *__p, __m128i __b)
4033{4033{
4034 struct __storeu_si64 {4034 struct __storeu_si64 {
4035 long long __v;4035 long long __v;
...@@ -4050,7 +4050,7 @@ _mm_storeu_si64(void const *__p, __m128i __b)...@@ -4050,7 +4050,7 @@ _mm_storeu_si64(void const *__p, __m128i __b)
4050/// \param __b4050/// \param __b
4051/// A 128-bit integer vector containing the value to be stored.4051/// A 128-bit integer vector containing the value to be stored.
4052static __inline__ void __DEFAULT_FN_ATTRS4052static __inline__ void __DEFAULT_FN_ATTRS
4053_mm_storeu_si32(void const *__p, __m128i __b)4053_mm_storeu_si32(void *__p, __m128i __b)
4054{4054{
4055 struct __storeu_si32 {4055 struct __storeu_si32 {
4056 int __v;4056 int __v;
...@@ -4071,7 +4071,7 @@ _mm_storeu_si32(void const *__p, __m128i __b)...@@ -4071,7 +4071,7 @@ _mm_storeu_si32(void const *__p, __m128i __b)
4071/// \param __b4071/// \param __b
4072/// A 128-bit integer vector containing the value to be stored.4072/// A 128-bit integer vector containing the value to be stored.
4073static __inline__ void __DEFAULT_FN_ATTRS4073static __inline__ void __DEFAULT_FN_ATTRS
4074_mm_storeu_si16(void const *__p, __m128i __b)4074_mm_storeu_si16(void *__p, __m128i __b)
4075{4075{
4076 struct __storeu_si16 {4076 struct __storeu_si16 {
4077 short __v;4077 short __v;
lib/include/opencl-c-base.h+5-12
...@@ -126,7 +126,7 @@ typedef double double8 __attribute__((ext_vector_type(8)));...@@ -126,7 +126,7 @@ typedef double double8 __attribute__((ext_vector_type(8)));
126typedef double double16 __attribute__((ext_vector_type(16)));126typedef double double16 __attribute__((ext_vector_type(16)));
127#endif127#endif
128128
129#if __OPENCL_C_VERSION__ >= CL_VERSION_2_0129#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
130#define NULL ((void*)0)130#define NULL ((void*)0)
131#endif131#endif
132132
...@@ -276,7 +276,7 @@ typedef uint cl_mem_fence_flags;...@@ -276,7 +276,7 @@ typedef uint cl_mem_fence_flags;
276 */276 */
277#define CLK_GLOBAL_MEM_FENCE 0x02277#define CLK_GLOBAL_MEM_FENCE 0x02
278278
279#if __OPENCL_C_VERSION__ >= CL_VERSION_2_0279#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
280280
281typedef enum memory_scope {281typedef enum memory_scope {
282 memory_scope_work_item = __OPENCL_MEMORY_SCOPE_WORK_ITEM,282 memory_scope_work_item = __OPENCL_MEMORY_SCOPE_WORK_ITEM,
...@@ -288,9 +288,6 @@ typedef enum memory_scope {...@@ -288,9 +288,6 @@ typedef enum memory_scope {
288#endif288#endif
289} memory_scope;289} memory_scope;
290290
291#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
292
293#if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
294/**291/**
295 * Queue a memory fence to ensure correct ordering of memory292 * Queue a memory fence to ensure correct ordering of memory
296 * operations between work-items of a work-group to293 * operations between work-items of a work-group to
...@@ -313,7 +310,7 @@ typedef enum memory_order...@@ -313,7 +310,7 @@ typedef enum memory_order
313 memory_order_seq_cst = __ATOMIC_SEQ_CST310 memory_order_seq_cst = __ATOMIC_SEQ_CST
314} memory_order;311} memory_order;
315312
316#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0313#endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
317314
318// OpenCL v1.1 s6.11.3, v1.2 s6.12.14, v2.0 s6.13.14 - Image Read and Write Functions315// OpenCL v1.1 s6.11.3, v1.2 s6.12.14, v2.0 s6.13.14 - Image Read and Write Functions
319316
...@@ -389,14 +386,10 @@ typedef enum memory_order...@@ -389,14 +386,10 @@ typedef enum memory_order
389#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0386#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
390387
391// OpenCL v2.0 s6.13.16 - Pipe Functions388// OpenCL v2.0 s6.13.16 - Pipe Functions
392#if __OPENCL_C_VERSION__ >= CL_VERSION_2_0389#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
393#define CLK_NULL_RESERVE_ID (__builtin_astype(((void*)(__SIZE_MAX__)), reserve_id_t))390#define CLK_NULL_RESERVE_ID (__builtin_astype(((void*)(__SIZE_MAX__)), reserve_id_t))
394#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0
395
396391
397// OpenCL v2.0 s6.13.17 - Enqueue Kernels392// OpenCL v2.0 s6.13.17 - Enqueue Kernels
398#if __OPENCL_C_VERSION__ >= CL_VERSION_2_0
399
400#define CL_COMPLETE 0x0393#define CL_COMPLETE 0x0
401#define CL_RUNNING 0x1394#define CL_RUNNING 0x1
402#define CL_SUBMITTED 0x2395#define CL_SUBMITTED 0x2
...@@ -435,7 +428,7 @@ typedef struct {...@@ -435,7 +428,7 @@ typedef struct {
435 size_t localWorkSize[MAX_WORK_DIM];428 size_t localWorkSize[MAX_WORK_DIM];
436} ndrange_t;429} ndrange_t;
437430
438#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_0431#endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
439432
440#ifdef cl_intel_device_side_avc_motion_estimation433#ifdef cl_intel_device_side_avc_motion_estimation
441#pragma OPENCL EXTENSION cl_intel_device_side_avc_motion_estimation : begin434#pragma OPENCL EXTENSION cl_intel_device_side_avc_motion_estimation : begin
lib/include/opencl-c.h+105-105
...@@ -11,11 +11,11 @@...@@ -11,11 +11,11 @@
1111
12#include "opencl-c-base.h"12#include "opencl-c-base.h"
1313
14#if __OPENCL_C_VERSION__ >= CL_VERSION_2_014#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15#ifndef cl_khr_depth_images15#ifndef cl_khr_depth_images
16#define cl_khr_depth_images16#define cl_khr_depth_images
17#endif //cl_khr_depth_images17#endif //cl_khr_depth_images
18#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_018#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1919
20#if __OPENCL_C_VERSION__ < CL_VERSION_2_020#if __OPENCL_C_VERSION__ < CL_VERSION_2_0
21#ifdef cl_khr_3d_image_writes21#ifdef cl_khr_3d_image_writes
...@@ -23,10 +23,10 @@...@@ -23,10 +23,10 @@
23#endif //cl_khr_3d_image_writes23#endif //cl_khr_3d_image_writes
24#endif //__OPENCL_C_VERSION__ < CL_VERSION_2_024#endif //__OPENCL_C_VERSION__ < CL_VERSION_2_0
2525
26#if __OPENCL_C_VERSION__ >= CL_VERSION_1_226#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
27#pragma OPENCL EXTENSION cl_intel_planar_yuv : begin27#pragma OPENCL EXTENSION cl_intel_planar_yuv : begin
28#pragma OPENCL EXTENSION cl_intel_planar_yuv : end28#pragma OPENCL EXTENSION cl_intel_planar_yuv : end
29#endif // __OPENCL_C_VERSION__ >= CL_VERSION_1_229#endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
3030
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 */
6518size_t __ovld __cnfn get_global_offset(uint dimindx);6518size_t __ovld __cnfn get_global_offset(uint dimindx);
65196519
6520#if __OPENCL_C_VERSION__ >= CL_VERSION_2_06520#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
6521size_t __ovld get_enqueued_local_size(uint dimindx);6521size_t __ovld get_enqueued_local_size(uint dimindx);
6522size_t __ovld get_global_linear_id(void);6522size_t __ovld get_global_linear_id(void);
6523size_t __ovld get_local_linear_id(void);6523size_t __ovld get_local_linear_id(void);
6524#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_06524#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
65256525
6526// OpenCL v1.1 s6.11.2, v1.2 s6.12.2, v2.0 s6.13.2 - Math functions6526// OpenCL v1.1 s6.11.2, v1.2 s6.12.2, v2.0 s6.13.2 - Math functions
65276527
...@@ -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_07355#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
7356float __ovld fract(float x, float *iptr);7356float __ovld fract(float x, float *iptr);
7357float2 __ovld fract(float2 x, float2 *iptr);7357float2 __ovld fract(float2 x, float2 *iptr);
7358float3 __ovld fract(float3 x, float3 *iptr);7358float3 __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);
7434half8 __ovld fract(half8 x, __private half8 *iptr);7434half8 __ovld fract(half8 x, __private half8 *iptr);
7435half16 __ovld fract(half16 x, __private half16 *iptr);7435half16 __ovld fract(half16 x, __private half16 *iptr);
7436#endif //cl_khr_fp167436#endif //cl_khr_fp16
7437#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_07437#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
74387438
7439/**7439/**
7440 * Extract mantissa and exponent from x. For each7440 * 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. Each7442 * 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_07445#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
7446float __ovld frexp(float x, int *exp);7446float __ovld frexp(float x, int *exp);
7447float2 __ovld frexp(float2 x, int2 *exp);7447float2 __ovld frexp(float2 x, int2 *exp);
7448float3 __ovld frexp(float3 x, int3 *exp);7448float3 __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);
7524half8 __ovld frexp(half8 x, __private int8 *exp);7524half8 __ovld frexp(half8 x, __private int8 *exp);
7525half16 __ovld frexp(half16 x, __private int16 *exp);7525half16 __ovld frexp(half16 x, __private int16 *exp);
7526#endif //cl_khr_fp167526#endif //cl_khr_fp16
7527#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_07527#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
75287528
7529/**7529/**
7530 * Compute the value of the square root of x^2 + y^27530 * 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);
7649half16 __ovld __cnfn lgamma(half16 x);7649half16 __ovld __cnfn lgamma(half16 x);
7650#endif //cl_khr_fp167650#endif //cl_khr_fp16
76517651
7652#if __OPENCL_C_VERSION__ >= CL_VERSION_2_07652#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
7653float __ovld lgamma_r(float x, int *signp);7653float __ovld lgamma_r(float x, int *signp);
7654float2 __ovld lgamma_r(float2 x, int2 *signp);7654float2 __ovld lgamma_r(float2 x, int2 *signp);
7655float3 __ovld lgamma_r(float3 x, int3 *signp);7655float3 __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);
7731half8 __ovld lgamma_r(half8 x, __private int8 *signp);7731half8 __ovld lgamma_r(half8 x, __private int8 *signp);
7732half16 __ovld lgamma_r(half16 x, __private int16 *signp);7732half16 __ovld lgamma_r(half16 x, __private int16 *signp);
7733#endif //cl_khr_fp167733#endif //cl_khr_fp16
7734#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_07734#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
77357735
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 object7955 * 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_07958#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
7959float __ovld modf(float x, float *iptr);7959float __ovld modf(float x, float *iptr);
7960float2 __ovld modf(float2 x, float2 *iptr);7960float2 __ovld modf(float2 x, float2 *iptr);
7961float3 __ovld modf(float3 x, float3 *iptr);7961float3 __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);
8037half8 __ovld modf(half8 x, __private half8 *iptr);8037half8 __ovld modf(half8 x, __private half8 *iptr);
8038half16 __ovld modf(half16 x, __private half16 *iptr);8038half16 __ovld modf(half16 x, __private half16 *iptr);
8039#endif //cl_khr_fp168039#endif //cl_khr_fp16
8040#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_08040#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
80418041
8042/**8042/**
8043 * Returns a quiet NaN. The nancode may be placed8043 * 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 object8215 * 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_08218#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
8219float __ovld remquo(float x, float y, int *quo);8219float __ovld remquo(float x, float y, int *quo);
8220float2 __ovld remquo(float2 x, float2 y, int2 *quo);8220float2 __ovld remquo(float2 x, float2 y, int2 *quo);
8221float3 __ovld remquo(float3 x, float3 y, int3 *quo);8221float3 __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);
8298half8 __ovld remquo(half8 x, half8 y, __private int8 *quo);8298half8 __ovld remquo(half8 x, half8 y, __private int8 *quo);
8299half16 __ovld remquo(half16 x, half16 y, __private int16 *quo);8299half16 __ovld remquo(half16 x, half16 y, __private int16 *quo);
8300#endif //cl_khr_fp168300#endif //cl_khr_fp16
8301#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_08301#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
8302/**8302/**
8303 * Round to integral value (using round to nearest8303 * 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 returned8439 * 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_08442#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
8443float __ovld sincos(float x, float *cosval);8443float __ovld sincos(float x, float *cosval);
8444float2 __ovld sincos(float2 x, float2 *cosval);8444float2 __ovld sincos(float2 x, float2 *cosval);
8445float3 __ovld sincos(float3 x, float3 *cosval);8445float3 __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);
8521half8 __ovld sincos(half8 x, __private half8 *cosval);8521half8 __ovld sincos(half8 x, __private half8 *cosval);
8522half16 __ovld sincos(half16 x, __private half16 *cosval);8522half16 __ovld sincos(half16 x, __private half16 *cosval);
8523#endif //cl_khr_fp168523#endif //cl_khr_fp16
8524#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_08524#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
85258525
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 or9446 * 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_09449#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
9450char __ovld ctz(char x);9450char __ovld ctz(char x);
9451uchar __ovld ctz(uchar x);9451uchar __ovld ctz(uchar x);
9452char2 __ovld ctz(char2 x);9452char2 __ovld ctz(char2 x);
...@@ -9495,7 +9495,7 @@ long8 __ovld ctz(long8 x);...@@ -9495,7 +9495,7 @@ long8 __ovld ctz(long8 x);
9495ulong8 __ovld ctz(ulong8 x);9495ulong8 __ovld ctz(ulong8 x);
9496long16 __ovld ctz(long16 x);9496long16 __ovld ctz(long16 x);
9497ulong16 __ovld ctz(ulong16 x);9497ulong16 __ovld ctz(ulong16 x);
9498#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_09498#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
94999499
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);
11340half16 __ovld vload16(size_t offset, const __constant half *p);11340half16 __ovld vload16(size_t offset, const __constant half *p);
11341#endif //cl_khr_fp1611341#endif //cl_khr_fp16
1134211342
11343#if __OPENCL_C_VERSION__ >= CL_VERSION_2_011343#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
11344char2 __ovld vload2(size_t offset, const char *p);11344char2 __ovld vload2(size_t offset, const char *p);
11345uchar2 __ovld vload2(size_t offset, const uchar *p);11345uchar2 __ovld vload2(size_t offset, const uchar *p);
11346short2 __ovld vload2(size_t offset, const short *p);11346short2 __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);
11578half8 __ovld vload8(size_t offset, const __private half *p);11578half8 __ovld vload8(size_t offset, const __private half *p);
11579half16 __ovld vload16(size_t offset, const __private half *p);11579half16 __ovld vload16(size_t offset, const __private half *p);
11580#endif //cl_khr_fp1611580#endif //cl_khr_fp16
11581#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_011581#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1158211582
11583#if __OPENCL_C_VERSION__ >= CL_VERSION_2_011583#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
11584void __ovld vstore2(char2 data, size_t offset, char *p);11584void __ovld vstore2(char2 data, size_t offset, char *p);
11585void __ovld vstore2(uchar2 data, size_t offset, uchar *p);11585void __ovld vstore2(uchar2 data, size_t offset, uchar *p);
11586void __ovld vstore2(short2 data, size_t offset, short *p);11586void __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);
11814void __ovld vstore8(half8 data, size_t offset, __private half *p);11814void __ovld vstore8(half8 data, size_t offset, __private half *p);
11815void __ovld vstore16(half16 data, size_t offset, __private half *p);11815void __ovld vstore16(half16 data, size_t offset, __private half *p);
11816#endif //cl_khr_fp1611816#endif //cl_khr_fp16
11817#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_011817#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1181811818
11819/**11819/**
11820 * Read sizeof (half) bytes of data from address11820 * 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 */
11827float __ovld vload_half(size_t offset, const __constant half *p);11827float __ovld vload_half(size_t offset, const __constant half *p);
11828#if __OPENCL_C_VERSION__ >= CL_VERSION_2_011828#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
11829float __ovld vload_half(size_t offset, const half *p);11829float __ovld vload_half(size_t offset, const half *p);
11830#else11830#else
11831float __ovld vload_half(size_t offset, const __global half *p);11831float __ovld vload_half(size_t offset, const __global half *p);
11832float __ovld vload_half(size_t offset, const __local half *p);11832float __ovld vload_half(size_t offset, const __local half *p);
11833float __ovld vload_half(size_t offset, const __private half *p);11833float __ovld vload_half(size_t offset, const __private half *p);
11834#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_011834#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1183511835
11836/**11836/**
11837 * Read sizeof (halfn) bytes of data from address11837 * 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);
11846float4 __ovld vload_half4(size_t offset, const __constant half *p);11846float4 __ovld vload_half4(size_t offset, const __constant half *p);
11847float8 __ovld vload_half8(size_t offset, const __constant half *p);11847float8 __ovld vload_half8(size_t offset, const __constant half *p);
11848float16 __ovld vload_half16(size_t offset, const __constant half *p);11848float16 __ovld vload_half16(size_t offset, const __constant half *p);
11849#if __OPENCL_C_VERSION__ >= CL_VERSION_2_011849#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
11850float2 __ovld vload_half2(size_t offset, const half *p);11850float2 __ovld vload_half2(size_t offset, const half *p);
11851float3 __ovld vload_half3(size_t offset, const half *p);11851float3 __ovld vload_half3(size_t offset, const half *p);
11852float4 __ovld vload_half4(size_t offset, const half *p);11852float4 __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);
11868float4 __ovld vload_half4(size_t offset, const __private half *p);11868float4 __ovld vload_half4(size_t offset, const __private half *p);
11869float8 __ovld vload_half8(size_t offset, const __private half *p);11869float8 __ovld vload_half8(size_t offset, const __private half *p);
11870float16 __ovld vload_half16(size_t offset, const __private half *p);11870float16 __ovld vload_half16(size_t offset, const __private half *p);
11871#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_011871#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1187211872
11873/**11873/**
11874 * The float value given by data is first11874 * 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 to11881 * The default current rounding mode is round to
11882 * nearest even.11882 * nearest even.
11883 */11883 */
11884#if __OPENCL_C_VERSION__ >= CL_VERSION_2_011884#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
11885void __ovld vstore_half(float data, size_t offset, half *p);11885void __ovld vstore_half(float data, size_t offset, half *p);
11886void __ovld vstore_half_rte(float data, size_t offset, half *p);11886void __ovld vstore_half_rte(float data, size_t offset, half *p);
11887void __ovld vstore_half_rtz(float data, size_t offset, half *p);11887void __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);
11927void __ovld vstore_half_rtp(double data, size_t offset, __private half *p);11927void __ovld vstore_half_rtp(double data, size_t offset, __private half *p);
11928void __ovld vstore_half_rtn(double data, size_t offset, __private half *p);11928void __ovld vstore_half_rtn(double data, size_t offset, __private half *p);
11929#endif //cl_khr_fp6411929#endif //cl_khr_fp64
11930#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_011930#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1193111931
11932/**11932/**
11933 * The floatn value given by data is converted to11933 * 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 to11940 * The default current rounding mode is round to
11941 * nearest even.11941 * nearest even.
11942 */11942 */
11943#if __OPENCL_C_VERSION__ >= CL_VERSION_2_011943#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
11944void __ovld vstore_half2(float2 data, size_t offset, half *p);11944void __ovld vstore_half2(float2 data, size_t offset, half *p);
11945void __ovld vstore_half3(float3 data, size_t offset, half *p);11945void __ovld vstore_half3(float3 data, size_t offset, half *p);
11946void __ovld vstore_half4(float4 data, size_t offset, half *p);11946void __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);
12146void __ovld vstore_half8_rtn(double8 data, size_t offset, __private half *p);12146void __ovld vstore_half8_rtn(double8 data, size_t offset, __private half *p);
12147void __ovld vstore_half16_rtn(double16 data, size_t offset, __private half *p);12147void __ovld vstore_half16_rtn(double16 data, size_t offset, __private half *p);
12148#endif //cl_khr_fp6412148#endif //cl_khr_fp64
12149#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_012149#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1215012150
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);
12167float4 __ovld vloada_half4(size_t offset, const __constant half *p);12167float4 __ovld vloada_half4(size_t offset, const __constant half *p);
12168float8 __ovld vloada_half8(size_t offset, const __constant half *p);12168float8 __ovld vloada_half8(size_t offset, const __constant half *p);
12169float16 __ovld vloada_half16(size_t offset, const __constant half *p);12169float16 __ovld vloada_half16(size_t offset, const __constant half *p);
12170#if __OPENCL_C_VERSION__ >= CL_VERSION_2_012170#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
12171float __ovld vloada_half(size_t offset, const half *p);12171float __ovld vloada_half(size_t offset, const half *p);
12172float2 __ovld vloada_half2(size_t offset, const half *p);12172float2 __ovld vloada_half2(size_t offset, const half *p);
12173float3 __ovld vloada_half3(size_t offset, const half *p);12173float3 __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);
12193float4 __ovld vloada_half4(size_t offset, const __private half *p);12193float4 __ovld vloada_half4(size_t offset, const __private half *p);
12194float8 __ovld vloada_half8(size_t offset, const __private half *p);12194float8 __ovld vloada_half8(size_t offset, const __private half *p);
12195float16 __ovld vloada_half16(size_t offset, const __private half *p);12195float16 __ovld vloada_half16(size_t offset, const __private half *p);
12196#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_012196#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1219712197
12198/**12198/**
12199 * The floatn value given by data is converted to12199 * 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 is12211 * 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_012214#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
12215void __ovld vstorea_half(float data, size_t offset, half *p);12215void __ovld vstorea_half(float data, size_t offset, half *p);
12216void __ovld vstorea_half2(float2 data, size_t offset, half *p);12216void __ovld vstorea_half2(float2 data, size_t offset, half *p);
12217void __ovld vstorea_half3(float3 data, size_t offset, half *p);12217void __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);
12496void __ovld vstorea_half8_rtn(double8 data,size_t offset, __private half *p);12496void __ovld vstorea_half8_rtn(double8 data,size_t offset, __private half *p);
12497void __ovld vstorea_half16_rtn(double16 data,size_t offset, __private half *p);12497void __ovld vstorea_half16_rtn(double16 data,size_t offset, __private half *p);
12498#endif //cl_khr_fp6412498#endif //cl_khr_fp64
12499#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_012499#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1250012500
12501// OpenCL v1.1 s6.11.8, v1.2 s6.12.8, v2.0 s6.13.8 - Synchronization Functions12501// OpenCL v1.1 s6.11.8, v1.2 s6.12.8, v2.0 s6.13.8 - Synchronization Functions
1250212502
...@@ -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);
1253212532
12533void __ovld __conv barrier(cl_mem_fence_flags flags);12533void __ovld __conv barrier(cl_mem_fence_flags flags);
1253412534
12535#if __OPENCL_C_VERSION__ >= CL_VERSION_2_012535#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
12536void __ovld __conv work_group_barrier(cl_mem_fence_flags flags, memory_scope scope);12536void __ovld __conv work_group_barrier(cl_mem_fence_flags flags, memory_scope scope);
12537void __ovld __conv work_group_barrier(cl_mem_fence_flags flags);12537void __ovld __conv work_group_barrier(cl_mem_fence_flags flags);
12538#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_012538#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1253912539
12540// OpenCL v1.1 s6.11.9, v1.2 s6.12.9 - Explicit Memory Fence Functions12540// OpenCL v1.1 s6.11.9, v1.2 s6.12.9 - Explicit Memory Fence Functions
1254112541
...@@ -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);
1258012580
12581// OpenCL v2.0 s6.13.9 - Address Space Qualifier Functions12581// OpenCL v2.0 s6.13.9 - Address Space Qualifier Functions
1258212582
12583#if __OPENCL_C_VERSION__ >= CL_VERSION_2_012583#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
12584cl_mem_fence_flags __ovld get_fence(const void *ptr);12584cl_mem_fence_flags __ovld get_fence(const void *ptr);
12585cl_mem_fence_flags __ovld get_fence(void *ptr);12585cl_mem_fence_flags __ovld get_fence(void *ptr);
1258612586
...@@ -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 */
1259312593
12594#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_012594#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1259512595
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 Prefetch12596// 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
1259712597
...@@ -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
1337113371
13372// OpenCL v2.0 s6.13.11 - Atomics Functions13372// OpenCL v2.0 s6.13.11 - Atomics Functions
1337313373
13374#if __OPENCL_C_VERSION__ >= CL_VERSION_2_013374#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1337513375
13376// double atomics support requires extensions cl_khr_int64_base_atomics and cl_khr_int64_extended_atomics13376// 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);
13692void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order);13692void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order);
13693void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order, memory_scope scope);13693void __ovld atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order, memory_scope scope);
1369413694
13695#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_013695#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1369613696
13697// OpenCL v1.1 s6.11.12, v1.2 s6.12.12, v2.0 s6.13.12 - Miscellaneous Vector Functions13697// OpenCL v1.1 s6.11.12, v1.2 s6.12.12, v2.0 s6.13.12 - Miscellaneous Vector Functions
1369813698
...@@ -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);
14186half16 __ovld __cnfn shuffle2(half16 x, half16 y, ushort16 mask);14186half16 __ovld __cnfn shuffle2(half16 x, half16 y, ushort16 mask);
14187#endif //cl_khr_fp1614187#endif //cl_khr_fp16
1418814188
14189#if __OPENCL_C_VERSION__ >= CL_VERSION_1_214189#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
14190// OpenCL v1.2 s6.12.13, v2.0 s6.13.13 - printf14190// OpenCL v1.2 s6.12.13, v2.0 s6.13.13 - printf
1419114191
14192int printf(__constant const char* st, ...) __attribute__((format(printf, 1, 2)));14192int 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
14307uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, int4 coord);14307uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, int4 coord);
14308uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord);14308uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord);
1430914309
14310#if __OPENCL_C_VERSION__ >= CL_VERSION_1_214310#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
14311float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, int4 coord);14311float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, int4 coord);
14312float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, float4 coord);14312float4 __purefn __ovld read_imagef(read_only image2d_array_t image_array, sampler_t sampler, float4 coord);
1431314313
...@@ -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_
14315int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, float4 coord);14315int4 __purefn __ovld read_imagei(read_only image2d_array_t image_array, sampler_t sampler, float4 coord);
14316uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, int4 coord);14316uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, int4 coord);
14317uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, float4 coord);14317uint4 __purefn __ovld read_imageui(read_only image2d_array_t image_array, sampler_t sampler, float4 coord);
14318#endif // __OPENCL_C_VERSION__ >= CL_VERSION_1_214318#endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
1431914319
14320float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, int coord);14320float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, int coord);
14321float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord);14321float4 __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
14325uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, int coord);14325uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, int coord);
14326uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, float coord);14326uint4 __purefn __ovld read_imageui(read_only image1d_t image, sampler_t sampler, float coord);
1432714327
14328#if __OPENCL_C_VERSION__ >= CL_VERSION_1_214328#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
14329float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, int2 coord);14329float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, int2 coord);
14330float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, float2 coord);14330float4 __purefn __ovld read_imagef(read_only image1d_array_t image_array, sampler_t sampler, float2 coord);
1433114331
...@@ -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_
14333int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, float2 coord);14333int4 __purefn __ovld read_imagei(read_only image1d_array_t image_array, sampler_t sampler, float2 coord);
14334uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, int2 coord);14334uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, int2 coord);
14335uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, float2 coord);14335uint4 __purefn __ovld read_imageui(read_only image1d_array_t image_array, sampler_t sampler, float2 coord);
14336#endif // __OPENCL_C_VERSION__ >= CL_VERSION_1_214336#endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
1433714337
14338#ifdef cl_khr_depth_images14338#ifdef cl_khr_depth_images
14339float __purefn __ovld read_imagef(read_only image2d_depth_t image, sampler_t sampler, float2 coord);14339float __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_sharing14358#endif //cl_khr_gl_msaa_sharing
1435914359
14360// OpenCL Extension v2.0 s9.18 - Mipmaps14360// OpenCL Extension v2.0 s9.18 - Mipmaps
14361#if __OPENCL_C_VERSION__ >= CL_VERSION_2_014361#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
14362#ifdef cl_khr_mipmap_image14362#ifdef cl_khr_mipmap_image
1436314363
14364float4 __purefn __ovld read_imagef(read_only image1d_t image, sampler_t sampler, float coord, float lod);14364float4 __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
14410uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY);14410uint4 __purefn __ovld read_imageui(read_only image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY);
1441114411
14412#endif //cl_khr_mipmap_image14412#endif //cl_khr_mipmap_image
14413#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_014413#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1441414414
14415#if __OPENCL_C_VERSION__ >= CL_VERSION_1_214415#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
1441614416
14417/**14417/**
14418* Sampler-less Image Access14418* 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);
14447int4 __purefn __ovld read_imagei(read_only image3d_t image, int4 coord);14447int4 __purefn __ovld read_imagei(read_only image3d_t image, int4 coord);
14448uint4 __purefn __ovld read_imageui(read_only image3d_t image, int4 coord);14448uint4 __purefn __ovld read_imageui(read_only image3d_t image, int4 coord);
1444914449
14450#endif // __OPENCL_C_VERSION__ >= CL_VERSION_1_214450#endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
1445114451
14452// Image read functions returning half4 type14452// Image read functions returning half4 type
14453#ifdef cl_khr_fp1614453#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,
14457half4 __purefn __ovld read_imageh(read_only image2d_t image, sampler_t sampler, float2 coord);14457half4 __purefn __ovld read_imageh(read_only image2d_t image, sampler_t sampler, float2 coord);
14458half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, int4 coord);14458half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, int4 coord);
14459half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, float4 coord);14459half4 __purefn __ovld read_imageh(read_only image3d_t image, sampler_t sampler, float4 coord);
14460#if __OPENCL_C_VERSION__ >= CL_VERSION_1_214460#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
14461half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, int2 coord);14461half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, int2 coord);
14462half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, float2 coord);14462half4 __purefn __ovld read_imageh(read_only image1d_array_t image, sampler_t sampler, float2 coord);
14463half4 __purefn __ovld read_imageh(read_only image2d_array_t image, sampler_t sampler, int4 coord);14463half4 __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);
14471half4 __purefn __ovld read_imageh(read_only image1d_array_t image, int2 coord);14471half4 __purefn __ovld read_imageh(read_only image1d_array_t image, int2 coord);
14472half4 __purefn __ovld read_imageh(read_only image2d_array_t image, int4 coord);14472half4 __purefn __ovld read_imageh(read_only image2d_array_t image, int4 coord);
14473half4 __purefn __ovld read_imageh(read_only image1d_buffer_t image, int coord);14473half4 __purefn __ovld read_imageh(read_only image1d_buffer_t image, int coord);
14474#endif // __OPENCL_C_VERSION__ >= CL_VERSION_1_214474#endif // defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
14475#endif //cl_khr_fp1614475#endif //cl_khr_fp16
1447614476
14477// Image read functions for read_write images14477// Image read functions for read_write images
14478#if __OPENCL_C_VERSION__ >= CL_VERSION_2_014478#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
14479float4 __purefn __ovld read_imagef(read_write image1d_t image, int coord);14479float4 __purefn __ovld read_imagef(read_write image1d_t image, int coord);
14480int4 __purefn __ovld read_imagei(read_write image1d_t image, int coord);14480int4 __purefn __ovld read_imagei(read_write image1d_t image, int coord);
14481uint4 __purefn __ovld read_imageui(read_write image1d_t image, int coord);14481uint4 __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
14518float __purefn __ovld read_imagef(read_write image2d_array_msaa_depth_t image, int4 coord, int sample);14518float __purefn __ovld read_imagef(read_write image2d_array_msaa_depth_t image, int4 coord, int sample);
14519#endif //cl_khr_gl_msaa_sharing14519#endif //cl_khr_gl_msaa_sharing
1452014520
14521#if __OPENCL_C_VERSION__ >= CL_VERSION_2_014521#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
14522#ifdef cl_khr_mipmap_image14522#ifdef cl_khr_mipmap_image
14523float4 __purefn __ovld read_imagef(read_write image1d_t image, sampler_t sampler, float coord, float lod);14523float4 __purefn __ovld read_imagef(read_write image1d_t image, sampler_t sampler, float coord, float lod);
14524int4 __purefn __ovld read_imagei(read_write image1d_t image, sampler_t sampler, float coord, float lod);14524int4 __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,
14569uint4 __purefn __ovld read_imageui(read_write image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY);14569uint4 __purefn __ovld read_imageui(read_write image3d_t image, sampler_t sampler, float4 coord, float4 gradientX, float4 gradientY);
1457014570
14571#endif //cl_khr_mipmap_image14571#endif //cl_khr_mipmap_image
14572#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_014572#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1457314573
14574// Image read functions returning half4 type14574// Image read functions returning half4 type
14575#ifdef cl_khr_fp1614575#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);
14580half4 __purefn __ovld read_imageh(read_write image2d_array_t image, int4 coord);14580half4 __purefn __ovld read_imageh(read_write image2d_array_t image, int4 coord);
14581half4 __purefn __ovld read_imageh(read_write image1d_buffer_t image, int coord);14581half4 __purefn __ovld read_imageh(read_write image1d_buffer_t image, int coord);
14582#endif //cl_khr_fp1614582#endif //cl_khr_fp16
14583#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_014583#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1458414584
14585/**14585/**
14586 * Write color value to location specified by coordinate14586 * 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_images14681#endif //cl_khr_depth_images
1468214682
14683// OpenCL Extension v2.0 s9.18 - Mipmaps14683// OpenCL Extension v2.0 s9.18 - Mipmaps
14684#if __OPENCL_C_VERSION__ >= CL_VERSION_2_014684#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
14685#ifdef cl_khr_mipmap_image14685#ifdef cl_khr_mipmap_image
14686void __ovld write_imagef(write_only image1d_t image, int coord, int lod, float4 color);14686void __ovld write_imagef(write_only image1d_t image, int coord, int lod, float4 color);
14687void __ovld write_imagei(write_only image1d_t image, int coord, int lod, int4 color);14687void __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
14708void __ovld write_imageui(write_only image3d_t image, int4 coord, int lod, uint4 color);14708void __ovld write_imageui(write_only image3d_t image, int4 coord, int lod, uint4 color);
14709#endif14709#endif
14710#endif //cl_khr_mipmap_image14710#endif //cl_khr_mipmap_image
14711#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_014711#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1471214712
14713// Image write functions for half4 type14713// Image write functions for half4 type
14714#ifdef cl_khr_fp1614714#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_fp1614723#endif //cl_khr_fp16
1472414724
14725// Image write functions for read_write images14725// Image write functions for read_write images
14726#if __OPENCL_C_VERSION__ >= CL_VERSION_2_014726#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
14727void __ovld write_imagef(read_write image2d_t image, int2 coord, float4 color);14727void __ovld write_imagef(read_write image2d_t image, int2 coord, float4 color);
14728void __ovld write_imagei(read_write image2d_t image, int2 coord, int4 color);14728void __ovld write_imagei(read_write image2d_t image, int2 coord, int4 color);
14729void __ovld write_imageui(read_write image2d_t image, int2 coord, uint4 color);14729void __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
14755void __ovld write_imagef(read_write image2d_array_depth_t image, int4 coord, float color);14755void __ovld write_imagef(read_write image2d_array_depth_t image, int4 coord, float color);
14756#endif //cl_khr_depth_images14756#endif //cl_khr_depth_images
1475714757
14758#if __OPENCL_C_VERSION__ >= CL_VERSION_2_014758#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
14759#ifdef cl_khr_mipmap_image14759#ifdef cl_khr_mipmap_image
14760void __ovld write_imagef(read_write image1d_t image, int coord, int lod, float4 color);14760void __ovld write_imagef(read_write image1d_t image, int coord, int lod, float4 color);
14761void __ovld write_imagei(read_write image1d_t image, int coord, int lod, int4 color);14761void __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
14782void __ovld write_imageui(read_write image3d_t image, int4 coord, int lod, uint4 color);14782void __ovld write_imageui(read_write image3d_t image, int4 coord, int lod, uint4 color);
14783#endif14783#endif
14784#endif //cl_khr_mipmap_image14784#endif //cl_khr_mipmap_image
14785#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_014785#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1478614786
14787// Image write functions for half4 type14787// Image write functions for half4 type
14788#ifdef cl_khr_fp1614788#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
14795void __ovld write_imageh(read_write image2d_array_t image, int4 coord, half4 color);14795void __ovld write_imageh(read_write image2d_array_t image, int4 coord, half4 color);
14796void __ovld write_imageh(read_write image1d_buffer_t image, int coord, half4 color);14796void __ovld write_imageh(read_write image1d_buffer_t image, int coord, half4 color);
14797#endif //cl_khr_fp1614797#endif //cl_khr_fp16
14798#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_014798#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1479914799
14800// Note: In OpenCL v1.0/1.1/1.2, image argument of image query builtin functions does not have14800// 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 builtin14801// 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);
14843int __ovld __cnfn get_image_width(write_only image2d_array_msaa_depth_t image);14843int __ovld __cnfn get_image_width(write_only image2d_array_msaa_depth_t image);
14844#endif //cl_khr_gl_msaa_sharing14844#endif //cl_khr_gl_msaa_sharing
1484514845
14846#if __OPENCL_C_VERSION__ >= CL_VERSION_2_014846#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
14847int __ovld __cnfn get_image_width(read_write image1d_t image);14847int __ovld __cnfn get_image_width(read_write image1d_t image);
14848int __ovld __cnfn get_image_width(read_write image1d_buffer_t image);14848int __ovld __cnfn get_image_width(read_write image1d_buffer_t image);
14849int __ovld __cnfn get_image_width(read_write image2d_t image);14849int __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);
14860int __ovld __cnfn get_image_width(read_write image2d_array_msaa_t image);14860int __ovld __cnfn get_image_width(read_write image2d_array_msaa_t image);
14861int __ovld __cnfn get_image_width(read_write image2d_array_msaa_depth_t image);14861int __ovld __cnfn get_image_width(read_write image2d_array_msaa_depth_t image);
14862#endif //cl_khr_gl_msaa_sharing14862#endif //cl_khr_gl_msaa_sharing
14863#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_014863#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1486414864
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);
14895int __ovld __cnfn get_image_height(write_only image2d_array_msaa_depth_t image);14895int __ovld __cnfn get_image_height(write_only image2d_array_msaa_depth_t image);
14896#endif //cl_khr_gl_msaa_sharing14896#endif //cl_khr_gl_msaa_sharing
1489714897
14898#if __OPENCL_C_VERSION__ >= CL_VERSION_2_014898#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
14899int __ovld __cnfn get_image_height(read_write image2d_t image);14899int __ovld __cnfn get_image_height(read_write image2d_t image);
14900int __ovld __cnfn get_image_height(read_write image3d_t image);14900int __ovld __cnfn get_image_height(read_write image3d_t image);
14901int __ovld __cnfn get_image_height(read_write image2d_array_t image);14901int __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);
14909int __ovld __cnfn get_image_height(read_write image2d_array_msaa_t image);14909int __ovld __cnfn get_image_height(read_write image2d_array_msaa_t image);
14910int __ovld __cnfn get_image_height(read_write image2d_array_msaa_depth_t image);14910int __ovld __cnfn get_image_height(read_write image2d_array_msaa_depth_t image);
14911#endif //cl_khr_gl_msaa_sharing14911#endif //cl_khr_gl_msaa_sharing
14912#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_014912#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1491314913
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);
14920int __ovld __cnfn get_image_depth(write_only image3d_t image);14920int __ovld __cnfn get_image_depth(write_only image3d_t image);
14921#endif14921#endif
1492214922
14923#if __OPENCL_C_VERSION__ >= CL_VERSION_2_014923#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
14924int __ovld __cnfn get_image_depth(read_write image3d_t image);14924int __ovld __cnfn get_image_depth(read_write image3d_t image);
14925#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_014925#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1492614926
14927// OpenCL Extension v2.0 s9.18 - Mipmaps14927// OpenCL Extension v2.0 s9.18 - Mipmaps
14928#if __OPENCL_C_VERSION__ >= CL_VERSION_2_014928#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
14929#ifdef cl_khr_mipmap_image14929#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);
14961int __ovld get_image_num_mip_levels(read_write image2d_depth_t image);14961int __ovld get_image_num_mip_levels(read_write image2d_depth_t image);
1496214962
14963#endif //cl_khr_mipmap_image14963#endif //cl_khr_mipmap_image
14964#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_014964#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1496514965
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
15018int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_msaa_depth_t image);15018int __ovld __cnfn get_image_channel_data_type(write_only image2d_array_msaa_depth_t image);
15019#endif //cl_khr_gl_msaa_sharing15019#endif //cl_khr_gl_msaa_sharing
1502015020
15021#if __OPENCL_C_VERSION__ >= CL_VERSION_2_015021#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15022int __ovld __cnfn get_image_channel_data_type(read_write image1d_t image);15022int __ovld __cnfn get_image_channel_data_type(read_write image1d_t image);
15023int __ovld __cnfn get_image_channel_data_type(read_write image1d_buffer_t image);15023int __ovld __cnfn get_image_channel_data_type(read_write image1d_buffer_t image);
15024int __ovld __cnfn get_image_channel_data_type(read_write image2d_t image);15024int __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
15035int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_t image);15035int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_t image);
15036int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_depth_t image);15036int __ovld __cnfn get_image_channel_data_type(read_write image2d_array_msaa_depth_t image);
15037#endif //cl_khr_gl_msaa_sharing15037#endif //cl_khr_gl_msaa_sharing
15038#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_015038#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1503915039
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)
15090int __ovld __cnfn get_image_channel_order(write_only image2d_array_msaa_depth_t image);15090int __ovld __cnfn get_image_channel_order(write_only image2d_array_msaa_depth_t image);
15091#endif //cl_khr_gl_msaa_sharing15091#endif //cl_khr_gl_msaa_sharing
1509215092
15093#if __OPENCL_C_VERSION__ >= CL_VERSION_2_015093#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15094int __ovld __cnfn get_image_channel_order(read_write image1d_t image);15094int __ovld __cnfn get_image_channel_order(read_write image1d_t image);
15095int __ovld __cnfn get_image_channel_order(read_write image1d_buffer_t image);15095int __ovld __cnfn get_image_channel_order(read_write image1d_buffer_t image);
15096int __ovld __cnfn get_image_channel_order(read_write image2d_t image);15096int __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)
15107int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_t image);15107int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_t image);
15108int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_depth_t image);15108int __ovld __cnfn get_image_channel_order(read_write image2d_array_msaa_depth_t image);
15109#endif //cl_khr_gl_msaa_sharing15109#endif //cl_khr_gl_msaa_sharing
15110#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_015110#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1511115111
15112/**15112/**
15113 * Return the 2D image width and height as an int215113 * 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);
15140int2 __ovld __cnfn get_image_dim(write_only image2d_array_msaa_depth_t image);15140int2 __ovld __cnfn get_image_dim(write_only image2d_array_msaa_depth_t image);
15141#endif //cl_khr_gl_msaa_sharing15141#endif //cl_khr_gl_msaa_sharing
1514215142
15143#if __OPENCL_C_VERSION__ >= CL_VERSION_2_015143#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15144int2 __ovld __cnfn get_image_dim(read_write image2d_t image);15144int2 __ovld __cnfn get_image_dim(read_write image2d_t image);
15145int2 __ovld __cnfn get_image_dim(read_write image2d_array_t image);15145int2 __ovld __cnfn get_image_dim(read_write image2d_array_t image);
15146#ifdef cl_khr_depth_images15146#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);
15153int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_t image);15153int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_t image);
15154int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_depth_t image);15154int2 __ovld __cnfn get_image_dim(read_write image2d_array_msaa_depth_t image);
15155#endif //cl_khr_gl_msaa_sharing15155#endif //cl_khr_gl_msaa_sharing
15156#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_015156#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1515715157
15158/**15158/**
15159 * Return the 3D image width, height, and depth as an15159 * 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_writes15165#ifdef cl_khr_3d_image_writes
15166int4 __ovld __cnfn get_image_dim(write_only image3d_t image);15166int4 __ovld __cnfn get_image_dim(write_only image3d_t image);
15167#endif15167#endif
15168#if __OPENCL_C_VERSION__ >= CL_VERSION_2_015168#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15169int4 __ovld __cnfn get_image_dim(read_write image3d_t image);15169int4 __ovld __cnfn get_image_dim(read_write image3d_t image);
15170#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_015170#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1517115171
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_
15193size_t __ovld __cnfn get_image_array_size(write_only image2d_array_msaa_depth_t image_array);15193size_t __ovld __cnfn get_image_array_size(write_only image2d_array_msaa_depth_t image_array);
15194#endif //cl_khr_gl_msaa_sharing15194#endif //cl_khr_gl_msaa_sharing
1519515195
15196#if __OPENCL_C_VERSION__ >= CL_VERSION_2_015196#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15197size_t __ovld __cnfn get_image_array_size(read_write image1d_array_t image_array);15197size_t __ovld __cnfn get_image_array_size(read_write image1d_array_t image_array);
15198size_t __ovld __cnfn get_image_array_size(read_write image2d_array_t image_array);15198size_t __ovld __cnfn get_image_array_size(read_write image2d_array_t image_array);
15199#ifdef cl_khr_depth_images15199#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
15203size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_t image_array);15203size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_t image_array);
15204size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_depth_t image_array);15204size_t __ovld __cnfn get_image_array_size(read_write image2d_array_msaa_depth_t image_array);
15205#endif //cl_khr_gl_msaa_sharing15205#endif //cl_khr_gl_msaa_sharing
15206#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_015206#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1520715207
15208/**15208/**
15209* Return the number of samples associated with image15209* 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);
15219int __ovld get_image_num_samples(write_only image2d_array_msaa_t image);15219int __ovld get_image_num_samples(write_only image2d_array_msaa_t image);
15220int __ovld get_image_num_samples(write_only image2d_array_msaa_depth_t image);15220int __ovld get_image_num_samples(write_only image2d_array_msaa_depth_t image);
1522115221
15222#if __OPENCL_C_VERSION__ >= CL_VERSION_2_015222#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15223int __ovld get_image_num_samples(read_write image2d_msaa_t image);15223int __ovld get_image_num_samples(read_write image2d_msaa_t image);
15224int __ovld get_image_num_samples(read_write image2d_msaa_depth_t image);15224int __ovld get_image_num_samples(read_write image2d_msaa_depth_t image);
15225int __ovld get_image_num_samples(read_write image2d_array_msaa_t image);15225int __ovld get_image_num_samples(read_write image2d_array_msaa_t image);
15226int __ovld get_image_num_samples(read_write image2d_array_msaa_depth_t image);15226int __ovld get_image_num_samples(read_write image2d_array_msaa_depth_t image);
15227#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_015227#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15228#endif15228#endif
1522915229
15230// OpenCL v2.0 s6.13.15 - Work-group Functions15230// OpenCL v2.0 s6.13.15 - Work-group Functions
1523115231
15232#if __OPENCL_C_VERSION__ >= CL_VERSION_2_015232#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15233int __ovld __conv work_group_all(int predicate);15233int __ovld __conv work_group_all(int predicate);
15234int __ovld __conv work_group_any(int predicate);15234int __ovld __conv work_group_any(int predicate);
1523515235
...@@ -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);
15327double __ovld __conv work_group_scan_inclusive_max(double x);15327double __ovld __conv work_group_scan_inclusive_max(double x);
15328#endif //cl_khr_fp6415328#endif //cl_khr_fp64
1532915329
15330#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_015330#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1533115331
15332// OpenCL v2.0 s6.13.16 - Pipe Functions15332// OpenCL v2.0 s6.13.16 - Pipe Functions
15333#if __OPENCL_C_VERSION__ >= CL_VERSION_2_015333#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15334bool __ovld is_valid_reserve_id(reserve_id_t reserve_id);15334bool __ovld is_valid_reserve_id(reserve_id_t reserve_id);
15335#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_015335#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1533615336
1533715337
15338// OpenCL v2.0 s6.13.17 - Enqueue Kernels15338// OpenCL v2.0 s6.13.17 - Enqueue Kernels
15339#if __OPENCL_C_VERSION__ >= CL_VERSION_2_015339#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1534015340
15341ndrange_t __ovld ndrange_1D(size_t);15341ndrange_t __ovld ndrange_1D(size_t);
15342ndrange_t __ovld ndrange_1D(size_t, size_t);15342ndrange_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);
15365void __ovld capture_event_profiling_info(clk_event_t, clk_profiling_info, __global void* value);15365void __ovld capture_event_profiling_info(clk_event_t, clk_profiling_info, __global void* value);
1536615366
15367queue_t __ovld get_default_queue(void);15367queue_t __ovld get_default_queue(void);
15368#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_015368#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1536915369
15370// OpenCL Extension v2.0 s9.17 - Sub-groups15370// OpenCL Extension v2.0 s9.17 - Sub-groups
1537115371
...@@ -15374,16 +15374,16 @@ queue_t __ovld get_default_queue(void);...@@ -15374,16 +15374,16 @@ queue_t __ovld get_default_queue(void);
15374uint __ovld get_sub_group_size(void);15374uint __ovld get_sub_group_size(void);
15375uint __ovld get_max_sub_group_size(void);15375uint __ovld get_max_sub_group_size(void);
15376uint __ovld get_num_sub_groups(void);15376uint __ovld get_num_sub_groups(void);
15377#if __OPENCL_C_VERSION__ >= CL_VERSION_2_015377#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15378uint __ovld get_enqueued_num_sub_groups(void);15378uint __ovld get_enqueued_num_sub_groups(void);
15379#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_015379#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15380uint __ovld get_sub_group_id(void);15380uint __ovld get_sub_group_id(void);
15381uint __ovld get_sub_group_local_id(void);15381uint __ovld get_sub_group_local_id(void);
1538215382
15383void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags);15383void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags);
15384#if __OPENCL_C_VERSION__ >= CL_VERSION_2_015384#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15385void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags, memory_scope scope);15385void __ovld __conv sub_group_barrier(cl_mem_fence_flags flags, memory_scope scope);
15386#endif //__OPENCL_C_VERSION__ >= CL_VERSION_2_015386#endif //defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
1538715387
15388int __ovld __conv sub_group_all(int predicate);15388int __ovld __conv sub_group_all(int predicate);
15389int __ovld __conv sub_group_any(int predicate);15389int __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
15573uint4 __ovld __conv intel_sub_group_block_read4( read_only image2d_t image, int2 coord );15573uint4 __ovld __conv intel_sub_group_block_read4( read_only image2d_t image, int2 coord );
15574uint8 __ovld __conv intel_sub_group_block_read8( read_only image2d_t image, int2 coord );15574uint8 __ovld __conv intel_sub_group_block_read8( read_only image2d_t image, int2 coord );
1557515575
15576#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)15576#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15577uint __ovld __conv intel_sub_group_block_read(read_write image2d_t image, int2 coord);15577uint __ovld __conv intel_sub_group_block_read(read_write image2d_t image, int2 coord);
15578uint2 __ovld __conv intel_sub_group_block_read2(read_write image2d_t image, int2 coord);15578uint2 __ovld __conv intel_sub_group_block_read2(read_write image2d_t image, int2 coord);
15579uint4 __ovld __conv intel_sub_group_block_read4(read_write image2d_t image, int2 coord);15579uint4 __ovld __conv intel_sub_group_block_read4(read_write image2d_t image, int2 coord);
15580uint8 __ovld __conv intel_sub_group_block_read8(read_write image2d_t image, int2 coord);15580uint8 __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)
1558215582
15583uint __ovld __conv intel_sub_group_block_read( const __global uint* p );15583uint __ovld __conv intel_sub_group_block_read( const __global uint* p );
15584uint2 __ovld __conv intel_sub_group_block_read2( const __global uint* p );15584uint2 __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
15590void __ovld __conv intel_sub_group_block_write4(write_only image2d_t image, int2 coord, uint4 data);15590void __ovld __conv intel_sub_group_block_write4(write_only image2d_t image, int2 coord, uint4 data);
15591void __ovld __conv intel_sub_group_block_write8(write_only image2d_t image, int2 coord, uint8 data);15591void __ovld __conv intel_sub_group_block_write8(write_only image2d_t image, int2 coord, uint8 data);
1559215592
15593#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)15593#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15594void __ovld __conv intel_sub_group_block_write(read_write image2d_t image, int2 coord, uint data);15594void __ovld __conv intel_sub_group_block_write(read_write image2d_t image, int2 coord, uint data);
15595void __ovld __conv intel_sub_group_block_write2(read_write image2d_t image, int2 coord, uint2 data);15595void __ovld __conv intel_sub_group_block_write2(read_write image2d_t image, int2 coord, uint2 data);
15596void __ovld __conv intel_sub_group_block_write4(read_write image2d_t image, int2 coord, uint4 data);15596void __ovld __conv intel_sub_group_block_write4(read_write image2d_t image, int2 coord, uint4 data);
15597void __ovld __conv intel_sub_group_block_write8(read_write image2d_t image, int2 coord, uint8 data);15597void __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)
1559915599
15600void __ovld __conv intel_sub_group_block_write( __global uint* p, uint data );15600void __ovld __conv intel_sub_group_block_write( __global uint* p, uint data );
15601void __ovld __conv intel_sub_group_block_write2( __global uint* p, uint2 data );15601void __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
15713uint4 __ovld __conv intel_sub_group_block_read_ui4( read_only image2d_t image, int2 byte_coord );15713uint4 __ovld __conv intel_sub_group_block_read_ui4( read_only image2d_t image, int2 byte_coord );
15714uint8 __ovld __conv intel_sub_group_block_read_ui8( read_only image2d_t image, int2 byte_coord );15714uint8 __ovld __conv intel_sub_group_block_read_ui8( read_only image2d_t image, int2 byte_coord );
1571515715
15716#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)15716#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15717uint __ovld __conv intel_sub_group_block_read_ui( read_write image2d_t image, int2 byte_coord );15717uint __ovld __conv intel_sub_group_block_read_ui( read_write image2d_t image, int2 byte_coord );
15718uint2 __ovld __conv intel_sub_group_block_read_ui2( read_write image2d_t image, int2 byte_coord );15718uint2 __ovld __conv intel_sub_group_block_read_ui2( read_write image2d_t image, int2 byte_coord );
15719uint4 __ovld __conv intel_sub_group_block_read_ui4( read_write image2d_t image, int2 byte_coord );15719uint4 __ovld __conv intel_sub_group_block_read_ui4( read_write image2d_t image, int2 byte_coord );
15720uint8 __ovld __conv intel_sub_group_block_read_ui8( read_write image2d_t image, int2 byte_coord );15720uint8 __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)
1572215722
15723uint __ovld __conv intel_sub_group_block_read_ui( const __global uint* p );15723uint __ovld __conv intel_sub_group_block_read_ui( const __global uint* p );
15724uint2 __ovld __conv intel_sub_group_block_read_ui2( const __global uint* p );15724uint2 __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
15730void __ovld __conv intel_sub_group_block_write_ui4( read_only image2d_t image, int2 byte_coord, uint4 data );15730void __ovld __conv intel_sub_group_block_write_ui4( read_only image2d_t image, int2 byte_coord, uint4 data );
15731void __ovld __conv intel_sub_group_block_write_ui8( read_only image2d_t image, int2 byte_coord, uint8 data );15731void __ovld __conv intel_sub_group_block_write_ui8( read_only image2d_t image, int2 byte_coord, uint8 data );
1573215732
15733#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)15733#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15734void __ovld __conv intel_sub_group_block_write_ui( read_write image2d_t image, int2 byte_coord, uint data );15734void __ovld __conv intel_sub_group_block_write_ui( read_write image2d_t image, int2 byte_coord, uint data );
15735void __ovld __conv intel_sub_group_block_write_ui2( read_write image2d_t image, int2 byte_coord, uint2 data );15735void __ovld __conv intel_sub_group_block_write_ui2( read_write image2d_t image, int2 byte_coord, uint2 data );
15736void __ovld __conv intel_sub_group_block_write_ui4( read_write image2d_t image, int2 byte_coord, uint4 data );15736void __ovld __conv intel_sub_group_block_write_ui4( read_write image2d_t image, int2 byte_coord, uint4 data );
15737void __ovld __conv intel_sub_group_block_write_ui8( read_write image2d_t image, int2 byte_coord, uint8 data );15737void __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)
1573915739
15740void __ovld __conv intel_sub_group_block_write_ui( __global uint* p, uint data );15740void __ovld __conv intel_sub_group_block_write_ui( __global uint* p, uint data );
15741void __ovld __conv intel_sub_group_block_write_ui2( __global uint* p, uint2 data );15741void __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
15747ushort4 __ovld __conv intel_sub_group_block_read_us4( read_only image2d_t image, int2 coord );15747ushort4 __ovld __conv intel_sub_group_block_read_us4( read_only image2d_t image, int2 coord );
15748ushort8 __ovld __conv intel_sub_group_block_read_us8( read_only image2d_t image, int2 coord );15748ushort8 __ovld __conv intel_sub_group_block_read_us8( read_only image2d_t image, int2 coord );
1574915749
15750#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)15750#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15751ushort __ovld __conv intel_sub_group_block_read_us(read_write image2d_t image, int2 coord);15751ushort __ovld __conv intel_sub_group_block_read_us(read_write image2d_t image, int2 coord);
15752ushort2 __ovld __conv intel_sub_group_block_read_us2(read_write image2d_t image, int2 coord);15752ushort2 __ovld __conv intel_sub_group_block_read_us2(read_write image2d_t image, int2 coord);
15753ushort4 __ovld __conv intel_sub_group_block_read_us4(read_write image2d_t image, int2 coord);15753ushort4 __ovld __conv intel_sub_group_block_read_us4(read_write image2d_t image, int2 coord);
15754ushort8 __ovld __conv intel_sub_group_block_read_us8(read_write image2d_t image, int2 coord);15754ushort8 __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)
1575615756
15757ushort __ovld __conv intel_sub_group_block_read_us( const __global ushort* p );15757ushort __ovld __conv intel_sub_group_block_read_us( const __global ushort* p );
15758ushort2 __ovld __conv intel_sub_group_block_read_us2( const __global ushort* p );15758ushort2 __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
15764void __ovld __conv intel_sub_group_block_write_us4(write_only image2d_t image, int2 coord, ushort4 data);15764void __ovld __conv intel_sub_group_block_write_us4(write_only image2d_t image, int2 coord, ushort4 data);
15765void __ovld __conv intel_sub_group_block_write_us8(write_only image2d_t image, int2 coord, ushort8 data);15765void __ovld __conv intel_sub_group_block_write_us8(write_only image2d_t image, int2 coord, ushort8 data);
1576615766
15767#if (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)15767#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
15768void __ovld __conv intel_sub_group_block_write_us(read_write image2d_t image, int2 coord, ushort data);15768void __ovld __conv intel_sub_group_block_write_us(read_write image2d_t image, int2 coord, ushort data);
15769void __ovld __conv intel_sub_group_block_write_us2(read_write image2d_t image, int2 coord, ushort2 data);15769void __ovld __conv intel_sub_group_block_write_us2(read_write image2d_t image, int2 coord, ushort2 data);
15770void __ovld __conv intel_sub_group_block_write_us4(read_write image2d_t image, int2 coord, ushort4 data);15770void __ovld __conv intel_sub_group_block_write_us4(read_write image2d_t image, int2 coord, ushort4 data);
15771void __ovld __conv intel_sub_group_block_write_us8(read_write image2d_t image, int2 coord, ushort8 data);15771void __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)
1577315773
15774void __ovld __conv intel_sub_group_block_write_us( __global ushort* p, ushort data );15774void __ovld __conv intel_sub_group_block_write_us( __global ushort* p, ushort data );
15775void __ovld __conv intel_sub_group_block_write_us2( __global ushort* p, ushort2 data );15775void __ovld __conv intel_sub_group_block_write_us2( __global ushort* p, ushort2 data );