|
1 | 1 | // RUN: mkdir %T/check_header_files |
2 | 2 | // RUN: dpct --out-root %T/check_header_files/out --gen-helper-function --cuda-include-path="%cuda-path/include" || true |
3 | 3 |
|
4 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
5 | 4 | // RUN: diff %T/check_header_files/out/include/dpct/atomic.hpp %S/../../runtime/dpct-rt/include/dpct/atomic.hpp >> %T/check_header_files/diff_res.txt |
6 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
7 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
8 | 5 |
|
9 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
10 | 6 | // RUN: diff %T/check_header_files/out/include/dpct/blas_utils.hpp %S/../../runtime/dpct-rt/include/dpct/blas_utils.hpp >> %T/check_header_files/diff_res.txt |
11 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
12 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
13 | 7 |
|
14 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
15 | 8 | // RUN: diff %T/check_header_files/out/include/dpct/device.hpp %S/../../runtime/dpct-rt/include/dpct/device.hpp >> %T/check_header_files/diff_res.txt |
16 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
17 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
18 | 9 |
|
19 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
20 | 10 | // RUN: diff %T/check_header_files/out/include/dpct/dpct.hpp %S/../../runtime/dpct-rt/include/dpct/dpct.hpp >> %T/check_header_files/diff_res.txt |
21 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
22 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
23 | 11 |
|
24 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
25 | 12 | // RUN: diff %T/check_header_files/out/include/dpct/dpl_utils.hpp %S/../../runtime/dpct-rt/include/dpct/dpl_utils.hpp >> %T/check_header_files/diff_res.txt |
26 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
27 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
28 | 13 |
|
29 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
30 | 14 | // RUN: diff %T/check_header_files/out/include/dpct/image.hpp %S/../../runtime/dpct-rt/include/dpct/image.hpp >> %T/check_header_files/diff_res.txt |
31 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
32 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
33 | 15 |
|
34 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
35 | 16 | // RUN: diff %T/check_header_files/out/include/dpct/kernel.hpp %S/../../runtime/dpct-rt/include/dpct/kernel.hpp >> %T/check_header_files/diff_res.txt |
36 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
37 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
38 | 17 |
|
39 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
40 | 18 | // RUN: diff %T/check_header_files/out/include/dpct/memory.hpp %S/../../runtime/dpct-rt/include/dpct/memory.hpp >> %T/check_header_files/diff_res.txt |
41 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
42 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
43 | 19 |
|
44 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
45 | 20 | // RUN: diff %T/check_header_files/out/include/dpct/util.hpp %S/../../runtime/dpct-rt/include/dpct/util.hpp >> %T/check_header_files/diff_res.txt |
46 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
47 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
48 | 21 |
|
49 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
50 | 22 | // RUN: diff %T/check_header_files/out/include/dpct/rng_utils.hpp %S/../../runtime/dpct-rt/include/dpct/rng_utils.hpp >> %T/check_header_files/diff_res.txt |
51 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
52 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
53 | 23 |
|
54 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
55 | 24 | // RUN: diff %T/check_header_files/out/include/dpct/lib_common_utils.hpp %S/../../runtime/dpct-rt/include/dpct/lib_common_utils.hpp >> %T/check_header_files/diff_res.txt |
56 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
57 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
58 | 25 |
|
59 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
60 | 26 | // RUN: diff %T/check_header_files/out/include/dpct/ccl_utils.hpp %S/../../runtime/dpct-rt/include/dpct/ccl_utils.hpp >> %T/check_header_files/diff_res.txt |
61 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
62 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
63 | 27 |
|
64 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
65 | 28 | // RUN: diff %T/check_header_files/out/include/dpct/dnnl_utils.hpp %S/../../runtime/dpct-rt/include/dpct/dnnl_utils.hpp >> %T/check_header_files/diff_res.txt |
66 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
67 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
68 | 29 |
|
69 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
70 | 30 | // RUN: diff %T/check_header_files/out/include/dpct/sparse_utils.hpp %S/../../runtime/dpct-rt/include/dpct/sparse_utils.hpp >> %T/check_header_files/diff_res.txt |
71 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
72 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
73 | 31 |
|
74 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
75 | 32 | // RUN: diff %T/check_header_files/out/include/dpct/fft_utils.hpp %S/../../runtime/dpct-rt/include/dpct/fft_utils.hpp >> %T/check_header_files/diff_res.txt |
76 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
77 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
78 | 33 |
|
79 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
80 | 34 | // RUN: diff %T/check_header_files/out/include/dpct/lapack_utils.hpp %S/../../runtime/dpct-rt/include/dpct/lapack_utils.hpp >> %T/check_header_files/diff_res.txt |
81 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
82 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
83 | 35 |
|
84 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
85 | 36 | // RUN: diff %T/check_header_files/out/include/dpct/group_utils.hpp %S/../../runtime/dpct-rt/include/dpct/group_utils.hpp >> %T/check_header_files/diff_res.txt |
86 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
87 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
88 | 37 |
|
89 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
90 | 38 | // RUN: diff %T/check_header_files/out/include/dpct/blas_gemm_utils.hpp %S/../../runtime/dpct-rt/include/dpct/blas_gemm_utils.hpp >> %T/check_header_files/diff_res.txt |
91 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
92 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
93 | 39 |
|
94 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
95 | 40 | // RUN: diff %T/check_header_files/out/include/dpct/compat_service.hpp %S/../../runtime/dpct-rt/include/dpct/compat_service.hpp >> %T/check_header_files/diff_res.txt |
96 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
97 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
98 | 41 |
|
99 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
100 | 42 | // RUN: diff %T/check_header_files/out/include/dpct/dpl_extras/algorithm.h %S/../../runtime/dpct-rt/include/dpct/dpl_extras/algorithm.h >> %T/check_header_files/diff_res.txt |
101 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
102 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
103 | 43 |
|
104 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
105 | 44 | // RUN: diff %T/check_header_files/out/include/dpct/dpl_extras/functional.h %S/../../runtime/dpct-rt/include/dpct/dpl_extras/functional.h >> %T/check_header_files/diff_res.txt |
106 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
107 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
108 | 45 |
|
109 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
110 | 46 | // RUN: diff %T/check_header_files/out/include/dpct/dpl_extras/iterators.h %S/../../runtime/dpct-rt/include/dpct/dpl_extras/iterators.h >> %T/check_header_files/diff_res.txt |
111 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
112 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
113 | 47 |
|
114 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
115 | 48 | // RUN: diff %T/check_header_files/out/include/dpct/dpl_extras/iterator_adaptor.h %S/../../runtime/dpct-rt/include/dpct/dpl_extras/iterator_adaptor.h >> %T/check_header_files/diff_res.txt |
116 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
117 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
118 | 49 |
|
119 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
120 | 50 | // RUN: diff %T/check_header_files/out/include/dpct/dpl_extras/memory.h %S/../../runtime/dpct-rt/include/dpct/dpl_extras/memory.h >> %T/check_header_files/diff_res.txt |
121 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
122 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
123 | 51 |
|
124 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
125 | 52 | // RUN: diff %T/check_header_files/out/include/dpct/dpl_extras/numeric.h %S/../../runtime/dpct-rt/include/dpct/dpl_extras/numeric.h >> %T/check_header_files/diff_res.txt |
126 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
127 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
128 | 53 |
|
129 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
130 | 54 | // RUN: diff %T/check_header_files/out/include/dpct/dpl_extras/vector.h %S/../../runtime/dpct-rt/include/dpct/dpl_extras/vector.h >> %T/check_header_files/diff_res.txt |
131 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
132 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
133 | 55 |
|
134 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
135 | 56 | // RUN: diff %T/check_header_files/out/include/dpct/dpl_extras/dpcpp_extensions.h %S/../../runtime/dpct-rt/include/dpct/dpl_extras/dpcpp_extensions.h >> %T/check_header_files/diff_res.txt |
136 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
137 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
138 | 57 |
|
139 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
140 | 58 | // RUN: diff %T/check_header_files/out/include/dpct/dpl_extras/iterator_adaptor.h %S/../../runtime/dpct-rt/include/dpct/dpl_extras/iterator_adaptor.h >> %T/check_header_files/diff_res.txt |
141 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
142 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
143 | 59 |
|
144 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
145 | 60 | // RUN: diff %T/check_header_files/out/include/dpct/detail/group_utils_detail.hpp %S/../../runtime/dpct-rt/include/dpct/detail/group_utils_detail.hpp >> %T/check_header_files/diff_res.txt |
146 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
147 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
148 | 61 |
|
149 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
150 | 62 | // RUN: diff %T/check_header_files/out/include/dpct/detail/math_detail.hpp %S/../../runtime/dpct-rt/include/dpct/detail/math_detail.hpp >> %T/check_header_files/diff_res.txt |
151 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
152 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
153 | 63 |
|
154 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
155 | 64 | // RUN: diff %T/check_header_files/out/include/dpct/detail/memory_detail.hpp %S/../../runtime/dpct-rt/include/dpct/detail/memory_detail.hpp >> %T/check_header_files/diff_res.txt |
156 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
157 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
158 | 65 |
|
159 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
160 | 66 | // RUN: diff %T/check_header_files/out/include/dpct/detail/lib_common_utils_detail.hpp %S/../../runtime/dpct-rt/include/dpct/detail/lib_common_utils_detail.hpp >> %T/check_header_files/diff_res.txt |
161 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
162 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
163 | 67 |
|
164 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
165 | 68 | // RUN: diff %T/check_header_files/out/include/dpct/detail/blas_utils_detail.hpp %S/../../runtime/dpct-rt/include/dpct/detail/blas_utils_detail.hpp >> %T/check_header_files/diff_res.txt |
166 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
167 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
168 | 69 |
|
169 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
170 | 70 | // RUN: diff %T/check_header_files/out/include/dpct/detail/lapack_utils_detail.hpp %S/../../runtime/dpct-rt/include/dpct/detail/lapack_utils_detail.hpp >> %T/check_header_files/diff_res.txt |
171 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
172 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
173 | 71 |
|
174 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
175 | 72 | // RUN: diff %T/check_header_files/out/include/dpct/detail/rng_utils_detail.hpp %S/../../runtime/dpct-rt/include/dpct/detail/rng_utils_detail.hpp >> %T/check_header_files/diff_res.txt |
176 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
177 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
178 | 73 |
|
179 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
180 | 74 | // RUN: diff %T/check_header_files/out/include/dpct/detail/sparse_utils_detail.hpp %S/../../runtime/dpct-rt/include/dpct/detail/sparse_utils_detail.hpp >> %T/check_header_files/diff_res.txt |
181 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
182 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
183 | 75 |
|
184 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
185 | 76 | // RUN: diff %T/check_header_files/out/include/dpct/detail/dnnl_utils_detail.hpp %S/../../runtime/dpct-rt/include/dpct/detail/dnnl_utils_detail.hpp >> %T/check_header_files/diff_res.txt |
186 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
187 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
188 | 77 |
|
189 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
190 | 78 | // RUN: diff %T/check_header_files/out/include/dpct/detail/blas_gemm_utils_detail.hpp %S/../../runtime/dpct-rt/include/dpct/detail/blas_gemm_utils_detail.hpp >> %T/check_header_files/diff_res.txt |
191 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
192 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
193 | 79 |
|
194 | | -// RUN: echo "begin" > %T/check_header_files/diff_res.txt |
195 | 80 | // RUN: diff %T/check_header_files/out/include/dpct/detail/ccl_utils_detail.hpp %S/../../runtime/dpct-rt/include/dpct/detail/ccl_utils_detail.hpp >> %T/check_header_files/diff_res.txt |
196 | | -// RUN: echo "end" >> %T/check_header_files/diff_res.txt |
197 | | -// RUN: FileCheck %s --match-full-lines --input-file %T/check_header_files/diff_res.txt |
198 | 81 |
|
199 | 82 | // RUN: rm -rf %T/check_header_files |
200 | | - |
201 | | -// CHECK: begin |
202 | | -// CHECK-NEXT: end |
203 | | - |
0 commit comments