File tree Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Expand file tree Collapse file tree 5 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 99#pragma once
1010
1111#include < sycl/detail/defines_elementary.hpp> // for __SYCL_ALWAYS_INLINE
12+
13+ #ifndef __SYCL_DEVICE_ONLY__
1214#include < sycl/exception.hpp>
15+ #endif
1316
1417#include < stddef.h> // for size_t
1518#include < type_traits> // for enable_if_t
Original file line number Diff line number Diff line change 2929namespace sycl {
3030inline namespace _V1 {
3131
32+ class context ;
3233class device ;
3334class platform ;
3435class kernel_id ;
Original file line number Diff line number Diff line change 1111// CHECK-NEXT: backend_types.hpp
1212// CHECK-NEXT: stl_wrappers/cstdlib
1313// CHECK-NEXT: detail/array.hpp
14+ // CHECK-NEXT: detail/common.hpp
1415// CHECK-NEXT: exception.hpp
1516// CHECK-NEXT: detail/export.hpp
1617// CHECK-NEXT: detail/string.hpp
17- // CHECK-NEXT: detail/common.hpp
1818// CHECK-NEXT: stl_wrappers/cassert
1919// CHECK-NEXT: stl_wrappers/assert.h
2020// CHECK-NEXT: __spirv/spirv_vars.hpp
Original file line number Diff line number Diff line change 1010// CHECK-NEXT: backend_types.hpp
1111// CHECK-NEXT: stl_wrappers/cstdlib
1212// CHECK-NEXT: detail/array.hpp
13+ // CHECK-NEXT: detail/common.hpp
1314// CHECK-NEXT: exception.hpp
1415// CHECK-NEXT: detail/export.hpp
1516// CHECK-NEXT: detail/string.hpp
16- // CHECK-NEXT: detail/common.hpp
1717// CHECK-NEXT: stl_wrappers/cassert
1818// CHECK-NEXT: stl_wrappers/assert.h
1919// CHECK-NEXT: __spirv/spirv_vars.hpp
Original file line number Diff line number Diff line change 1212// CHECK-NEXT: backend_types.hpp
1313// CHECK-NEXT: stl_wrappers/cstdlib
1414// CHECK-NEXT: detail/array.hpp
15+ // CHECK-NEXT: detail/common.hpp
1516// CHECK-NEXT: exception.hpp
1617// CHECK-NEXT: detail/export.hpp
1718// CHECK-NEXT: detail/string.hpp
18- // CHECK-NEXT: detail/common.hpp
1919// CHECK-NEXT: stl_wrappers/cassert
2020// CHECK-NEXT: stl_wrappers/assert.h
2121// CHECK-NEXT: __spirv/spirv_vars.hpp
You can’t perform that action at this time.
0 commit comments