14#if defined(__opencl_c_images)
15#ifndef cl_khr_depth_images
16#define cl_khr_depth_images
20#if __OPENCL_C_VERSION__ < CL_VERSION_2_0
21#ifdef cl_khr_3d_image_writes
22#pragma OPENCL EXTENSION cl_khr_3d_image_writes : enable
26#if (defined(__OPENCL_CPP_VERSION__) || \
27 (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)) && \
28 (defined(__SPIR__) || defined(__SPIRV__))
29#pragma OPENCL EXTENSION cl_intel_planar_yuv : begin
30#pragma OPENCL EXTENSION cl_intel_planar_yuv : end
35#define __ovld __attribute__((overloadable))
36#define __conv __attribute__((convergent))
39#define __purefn __attribute__((pure))
40#define __cnfn __attribute__((const))
4640#pragma OPENCL EXTENSION cl_khr_fp64 : enable
5463#pragma OPENCL EXTENSION cl_khr_fp16 : enable
6430#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
7265#if defined(__opencl_c_generic_address_space)
7290#if defined(__opencl_c_named_address_space_builtins)
7315double16
__ovld fract(double16, __global double16 *);
7321double16
__ovld fract(double16, __local double16 *);
7323double2
__ovld fract(double2, __private double2 *);
7324double3
__ovld fract(double3, __private double3 *);
7325double4
__ovld fract(double4, __private double4 *);
7326double8
__ovld fract(double8, __private double8 *);
7327double16
__ovld fract(double16, __private double16 *);
7357#if defined(__opencl_c_generic_address_space)
7382#if defined(__opencl_c_named_address_space_builtins)
7419double16
__ovld frexp(double16, __private int16 *);
7566#if defined(__opencl_c_generic_address_space)
7591#if defined(__opencl_c_named_address_space_builtins)
7874#if defined(__opencl_c_generic_address_space)
7899#if defined(__opencl_c_named_address_space_builtins)
7919double __ovld modf(
double, __global
double *);
7920double2
__ovld modf(double2, __global double2 *);
7921double3
__ovld modf(double3, __global double3 *);
7922double4
__ovld modf(double4, __global double4 *);
7923double8
__ovld modf(double8, __global double8 *);
7924double16
__ovld modf(double16, __global double16 *);
7926double2
__ovld modf(double2, __local double2 *);
7927double3
__ovld modf(double3, __local double3 *);
7928double4
__ovld modf(double4, __local double4 *);
7929double8
__ovld modf(double8, __local double8 *);
7930double16
__ovld modf(double16, __local double16 *);
7931double __ovld modf(
double, __private
double *);
7932double2
__ovld modf(double2, __private double2 *);
7933double3
__ovld modf(double3, __private double3 *);
7934double4
__ovld modf(double4, __private double4 *);
7935double8
__ovld modf(double8, __private double8 *);
7936double16
__ovld modf(double16, __private double16 *);
7944half16
__ovld modf(half16, __global half16 *);
7956half16
__ovld modf(half16, __private half16 *);
8136#if defined(__opencl_c_generic_address_space)
8161#if defined(__opencl_c_named_address_space_builtins)
8182double2
__ovld remquo(double2, double2, __global int2 *);
8183double3
__ovld remquo(double3, double3, __global int3 *);
8184double4
__ovld remquo(double4, double4, __global int4 *);
8185double8
__ovld remquo(double8, double8, __global int8 *);
8186double16
__ovld remquo(double16, double16, __global int16 *);
8188double2
__ovld remquo(double2, double2, __local int2 *);
8189double3
__ovld remquo(double3, double3, __local int3 *);
8190double4
__ovld remquo(double4, double4, __local int4 *);
8191double8
__ovld remquo(double8, double8, __local int8 *);
8192double16
__ovld remquo(double16, double16, __local int16 *);
8194double2
__ovld remquo(double2, double2, __private int2 *);
8195double3
__ovld remquo(double3, double3, __private int3 *);
8196double4
__ovld remquo(double4, double4, __private int4 *);
8197double8
__ovld remquo(double8, double8, __private int8 *);
8198double16
__ovld remquo(double16, double16, __private int16 *);
8218half16
__ovld remquo(half16, half16, __private int16 *);
8361#if defined(__opencl_c_generic_address_space)
8386#if defined(__opencl_c_named_address_space_builtins)
9370#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
9924#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_1_2)
11247#if defined(__opencl_c_generic_address_space)
11311#if defined(__opencl_c_named_address_space_builtins)
11485#if defined(__opencl_c_generic_address_space)
11547#if defined(__opencl_c_named_address_space_builtins)
11728#if defined(__opencl_c_generic_address_space)
11732#if defined(__opencl_c_named_address_space_builtins)
11751#if defined(__opencl_c_generic_address_space)
11759#if defined(__opencl_c_named_address_space_builtins)
11788#if defined(__opencl_c_generic_address_space)
11803#if defined(__opencl_c_named_address_space_builtins)
11849#if defined(__opencl_c_generic_address_space)
11904#if defined(__opencl_c_named_address_space_builtins)
12077#if defined(__opencl_c_generic_address_space)
12085#if defined(__opencl_c_named_address_space_builtins)
12119#if defined(__opencl_c_generic_address_space)
12183#if defined(__opencl_c_named_address_space_builtins)
12401#if defined(__OPENCL_CPP_VERSION__) || (__OPENCL_C_VERSION__ >= CL_VERSION_2_0)
12449#if defined(__opencl_c_generic_address_space)