Skip to content

Commit 909bf99

Browse files
[SYCL] Make include_deps tests more robust (#20480)
1 parent df025ac commit 909bf99

32 files changed

+1
-78
lines changed

sycl/test/include_deps/deps_known.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ function deps() {
1414
clang++ -fsycl -fsycl-device-only -include "$HEADER" -c -x c++ /dev/null -o /dev/null -MD -MF - \
1515
| sed 's@: /dev/null@: /dev/null\n@' \
1616
| grep 'include/sycl\|/dev/null\|CL/\|ur_\|:' \
17+
| grep -v 'stl_wrappers' \
1718
| sed 's@.*/include/sycl/@@' \
1819
| sed 's@.*/include/CL/@CL/@' \
1920
| sed 's@.*/include/ur_@ur_@' \

sycl/test/include_deps/sycl_accessor.hpp.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@
99
// CHECK-NEXT: detail/defines_elementary.hpp
1010
// CHECK-NEXT: buffer.hpp
1111
// CHECK-NEXT: backend_types.hpp
12-
// CHECK-NEXT: stl_wrappers/cstdlib
1312
// CHECK-NEXT: detail/array.hpp
1413
// CHECK-NEXT: detail/common.hpp
1514
// CHECK-NEXT: detail/export.hpp
16-
// CHECK-NEXT: stl_wrappers/cassert
17-
// CHECK-NEXT: stl_wrappers/assert.h
1815
// CHECK-NEXT: __spirv/spirv_vars.hpp
1916
// CHECK-NEXT: detail/fwd/accessor.hpp
2017
// CHECK-NEXT: detail/defines.hpp

sycl/test/include_deps/sycl_buffer.hpp.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@
88
// CHECK-NEXT: access/access.hpp
99
// CHECK-NEXT: detail/defines_elementary.hpp
1010
// CHECK-NEXT: backend_types.hpp
11-
// CHECK-NEXT: stl_wrappers/cstdlib
1211
// CHECK-NEXT: detail/array.hpp
1312
// CHECK-NEXT: detail/common.hpp
1413
// CHECK-NEXT: detail/export.hpp
15-
// CHECK-NEXT: stl_wrappers/cassert
16-
// CHECK-NEXT: stl_wrappers/assert.h
1714
// CHECK-NEXT: __spirv/spirv_vars.hpp
1815
// CHECK-NEXT: detail/fwd/accessor.hpp
1916
// CHECK-NEXT: detail/defines.hpp

sycl/test/include_deps/sycl_detail_core.hpp.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,9 @@
1010
// CHECK-NEXT: detail/defines_elementary.hpp
1111
// CHECK-NEXT: buffer.hpp
1212
// CHECK-NEXT: backend_types.hpp
13-
// CHECK-NEXT: stl_wrappers/cstdlib
1413
// CHECK-NEXT: detail/array.hpp
1514
// CHECK-NEXT: detail/common.hpp
1615
// CHECK-NEXT: detail/export.hpp
17-
// CHECK-NEXT: stl_wrappers/cassert
18-
// CHECK-NEXT: stl_wrappers/assert.h
1916
// CHECK-NEXT: __spirv/spirv_vars.hpp
2017
// CHECK-NEXT: detail/fwd/accessor.hpp
2118
// CHECK-NEXT: detail/defines.hpp

sycl/test/include_deps/sycl_khr_includes_accessor.hpp.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,9 @@
1212
// CHECK-NEXT: access/access.hpp
1313
// CHECK-NEXT: buffer.hpp
1414
// CHECK-NEXT: backend_types.hpp
15-
// CHECK-NEXT: stl_wrappers/cstdlib
1615
// CHECK-NEXT: detail/array.hpp
1716
// CHECK-NEXT: detail/common.hpp
1817
// CHECK-NEXT: detail/export.hpp
19-
// CHECK-NEXT: stl_wrappers/cassert
20-
// CHECK-NEXT: stl_wrappers/assert.h
2118
// CHECK-NEXT: __spirv/spirv_vars.hpp
2219
// CHECK-NEXT: detail/fwd/accessor.hpp
2320
// CHECK-NEXT: detail/defines.hpp

sycl/test/include_deps/sycl_khr_includes_atomic.hpp.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
// CHECK-NEXT: multi_ptr.hpp
3030
// CHECK-NEXT: detail/address_space_cast.hpp
3131
// CHECK-NEXT: detail/fwd/accessor.hpp
32-
// CHECK-NEXT: stl_wrappers/cstdlib
3332
// CHECK-NEXT: detail/memcpy.hpp
3433
// CHECK-NEXT: atomic_ref.hpp
3534
// CHECK-NEXT: aspects.hpp

sycl/test/include_deps/sycl_khr_includes_buffer.hpp.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@
1111
// CHECK-NEXT: buffer.hpp
1212
// CHECK-NEXT: access/access.hpp
1313
// CHECK-NEXT: backend_types.hpp
14-
// CHECK-NEXT: stl_wrappers/cstdlib
1514
// CHECK-NEXT: detail/array.hpp
1615
// CHECK-NEXT: detail/common.hpp
1716
// CHECK-NEXT: detail/export.hpp
18-
// CHECK-NEXT: stl_wrappers/cassert
19-
// CHECK-NEXT: stl_wrappers/assert.h
2017
// CHECK-NEXT: __spirv/spirv_vars.hpp
2118
// CHECK-NEXT: detail/fwd/accessor.hpp
2219
// CHECK-NEXT: detail/defines.hpp

sycl/test/include_deps/sycl_khr_includes_context.hpp.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// CHECK-NEXT: feature_test.hpp
1111
// CHECK-NEXT: context.hpp
1212
// CHECK-NEXT: async_handler.hpp
13-
// CHECK-NEXT: stl_wrappers/cstdlib
1413
// CHECK-NEXT: backend_types.hpp
1514
// CHECK-NEXT: detail/export.hpp
1615
// CHECK-NEXT: detail/info_desc_helpers.hpp
@@ -56,8 +55,6 @@
5655
// CHECK-NEXT: info/sycl_backend_traits.def
5756
// CHECK-NEXT: detail/owner_less_base.hpp
5857
// CHECK-NEXT: detail/impl_utils.hpp
59-
// CHECK-NEXT: stl_wrappers/cassert
60-
// CHECK-NEXT: stl_wrappers/assert.h
6158
// CHECK-NEXT: __spirv/spirv_vars.hpp
6259
// CHECK-NEXT: ext/oneapi/weak_object_base.hpp
6360
// CHECK-NEXT: property_list.hpp

sycl/test/include_deps/sycl_khr_includes_device.hpp.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
// CHECK-NEXT: info/aspects_deprecated.def
1515
// CHECK-NEXT: device.hpp
1616
// CHECK-NEXT: backend_types.hpp
17-
// CHECK-NEXT: stl_wrappers/cstdlib
1817
// CHECK-NEXT: detail/export.hpp
1918
// CHECK-NEXT: detail/info_desc_helpers.hpp
2019
// CHECK-NEXT: id.hpp
@@ -55,8 +54,6 @@
5554
// CHECK-NEXT: info/sycl_backend_traits.def
5655
// CHECK-NEXT: detail/owner_less_base.hpp
5756
// CHECK-NEXT: detail/impl_utils.hpp
58-
// CHECK-NEXT: stl_wrappers/cassert
59-
// CHECK-NEXT: stl_wrappers/assert.h
6057
// CHECK-NEXT: __spirv/spirv_vars.hpp
6158
// CHECK-NEXT: ext/oneapi/weak_object_base.hpp
6259
// CHECK-NEXT: detail/string.hpp

sycl/test/include_deps/sycl_khr_includes_event.hpp.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
// CHECK-NEXT: feature_test.hpp
1111
// CHECK-NEXT: event.hpp
1212
// CHECK-NEXT: backend_types.hpp
13-
// CHECK-NEXT: stl_wrappers/cstdlib
1413
// CHECK-NEXT: detail/export.hpp
1514
// CHECK-NEXT: detail/info_desc_helpers.hpp
1615
// CHECK-NEXT: aspects.hpp
@@ -55,8 +54,6 @@
5554
// CHECK-NEXT: info/sycl_backend_traits.def
5655
// CHECK-NEXT: detail/owner_less_base.hpp
5756
// CHECK-NEXT: detail/impl_utils.hpp
58-
// CHECK-NEXT: stl_wrappers/cassert
59-
// CHECK-NEXT: stl_wrappers/assert.h
6057
// CHECK-NEXT: __spirv/spirv_vars.hpp
6158
// CHECK-NEXT: ext/oneapi/weak_object_base.hpp
6259
// CHECK-EMPTY:

0 commit comments

Comments
 (0)