1 #ifndef INCLUDED 2 #define INCLUDED 3 4 #pragma OPENCL EXTENSION all : begin 5 #pragma OPENCL EXTENSION all : end 6 7 #pragma OPENCL EXTENSION my_ext : begin 8 9 struct A { 10 int a; 11 }; 12 13 typedef struct A TypedefOfA; 14 typedef const __private TypedefOfA* PointerOfA; 15 16 void f(void); 17 18 __attribute__((overloadable)) void g(long x); 19 20 #pragma OPENCL EXTENSION my_ext : end 21 #pragma OPENCL EXTENSION my_ext : end 22 23 __attribute__((overloadable)) void g(void); 24 25 #endif // INCLUDED 26 27