• Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* Used with the ocl_types.cl test */
2 
3 // image1d_t
4 typedef image1d_t img1d_t;
5 
6 // image1d_array_t
7 typedef image1d_array_t img1darr_t;
8 
9 // image1d_buffer_t
10 typedef image1d_buffer_t img1dbuff_t;
11 
12 // image2d_t
13 typedef image2d_t img2d_t;
14 
15 // image2d_array_t
16 typedef image2d_array_t img2darr_t;
17 
18 // image3d_t
19 typedef image3d_t img3d_t;
20 
21 // sampler_t
22 typedef sampler_t smp_t;
23 
24 // event_t
25 typedef event_t evt_t;
26 
27 #if __OPENCL_VERSION__ >= 200
28 
29 // clk_event_t
30 typedef clk_event_t clkevt_t;
31 
32 // queue_t
33 typedef queue_t q_t;
34 
35 // ndrange_t
36 typedef ndrange_t range_t;
37 
38 // reserve_id_t
39 typedef reserve_id_t reserveid_t;
40 
41 // image2d_depth_t
42 typedef image2d_depth_t img2ddep_t;
43 
44 // image2d_array_depth_t
45 typedef image2d_array_depth_t img2darr_dep_t;
46 
47 #pragma OPENCL EXTENSION cl_khr_gl_msaa_sharing : enable
48 // image2d_msaa_t
49 typedef image2d_msaa_t img2dmsaa_t;
50 
51 // image2d_array_msaa_t
52 typedef image2d_array_msaa_t img2darrmsaa_t;
53 
54 // image2d_msaa_depth_t
55 typedef image2d_msaa_depth_t img2dmsaadep_t;
56 
57 // image2d_array_msaa_depth_t
58 typedef image2d_array_msaa_depth_t img2darrmsaadep_t;
59 
60 // pipe specifier
61 
62 typedef struct _person {
63   int id;
64   const char *name;
65 } Person;
66 
67 void int_pipe_function(pipe int);
68 
69 void person_pipe_function(pipe Person);
70 #endif
71