File tree Expand file tree Collapse file tree 7 files changed +7
-14
lines changed Expand file tree Collapse file tree 7 files changed +7
-14
lines changed Original file line number Diff line number Diff line change 14
14
#include < sycl/detail/export.hpp> // for __SYCL_EXPORT
15
15
#include < sycl/detail/info_desc_helpers.hpp> // for is_context_info_desc
16
16
#include < sycl/detail/owner_less_base.hpp> // for OwnerLessBase
17
- #include < sycl/platform.hpp> // for platform
18
17
#include < sycl/property_list.hpp> // for property_list
19
18
#include < sycl/usm/usm_enums.hpp> // for usm::alloc
20
19
#include < ur_api.h> // for ur_native_handle_t
Original file line number Diff line number Diff line change 18
18
#include < sycl/ext/oneapi/weak_object.hpp> // for weak_object
19
19
#include < sycl/kernel.hpp> // for kernel
20
20
#include < sycl/kernel_bundle_enums.hpp> // for bundle_state
21
- #include < sycl/platform.hpp> // for platform
22
21
#include < sycl/properties/image_properties.hpp> // for sampled_i...
23
22
#include < sycl/queue.hpp> // for queue
24
23
#include < sycl/stream.hpp> // for stream
@@ -28,6 +27,7 @@ inline namespace _V1 {
28
27
class kernel_id ;
29
28
template <bundle_state State> class kernel_bundle ;
30
29
template <bundle_state State> class device_image ;
30
+ class platform ;
31
31
32
32
namespace ext ::oneapi {
33
33
Original file line number Diff line number Diff line change 16
16
#include < sycl/ext/oneapi/experimental/device_architecture.hpp>
17
17
#include < sycl/ext/oneapi/experimental/forward_progress.hpp>
18
18
#include < sycl/kernel_bundle.hpp>
19
+ #include < sycl/platform.hpp>
19
20
20
21
#include < memory>
21
22
#include < mutex>
25
26
namespace sycl {
26
27
inline namespace _V1 {
27
28
28
- // Forward declaration
29
- class platform ;
30
-
31
29
namespace detail {
32
30
33
31
// Note that UR's enums have weird *_FORCE_UINT32 values, we ignore them in the
Original file line number Diff line number Diff line change @@ -681,7 +681,7 @@ class kernel_bundle_impl {
681
681
bool empty () const noexcept { return MDeviceImages.empty (); }
682
682
683
683
backend get_backend () const noexcept {
684
- return MContext.get_platform (). get_backend ();
684
+ return MContext.get_backend ();
685
685
}
686
686
687
687
context get_context () const noexcept { return MContext; }
Original file line number Diff line number Diff line change 82
82
// CHECK-NEXT: info/ext_oneapi_device_traits.def
83
83
// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def
84
84
// CHECK-NEXT: info/sycl_backend_traits.def
85
- // CHECK-NEXT: platform.hpp
86
- // CHECK-NEXT: detail/string_view.hpp
87
- // CHECK-NEXT: detail/util.hpp
88
- // CHECK-NEXT: device_selector.hpp
89
85
// CHECK-NEXT: usm/usm_enums.hpp
90
86
// CHECK-NEXT: properties/buffer_properties.def
91
87
// CHECK-EMPTY:
Original file line number Diff line number Diff line change 83
83
// CHECK-NEXT: info/ext_oneapi_device_traits.def
84
84
// CHECK-NEXT: info/ext_oneapi_kernel_queue_specific_traits.def
85
85
// CHECK-NEXT: info/sycl_backend_traits.def
86
- // CHECK-NEXT: platform.hpp
87
- // CHECK-NEXT: detail/string_view.hpp
88
- // CHECK-NEXT: detail/util.hpp
89
- // CHECK-NEXT: device_selector.hpp
90
86
// CHECK-NEXT: usm/usm_enums.hpp
91
87
// CHECK-NEXT: properties/buffer_properties.def
92
88
// CHECK-NEXT: queue.hpp
104
100
// CHECK-NEXT: nd_range.hpp
105
101
// CHECK-NEXT: detail/optional.hpp
106
102
// CHECK-NEXT: device.hpp
103
+ // CHECK-NEXT: detail/string_view.hpp
104
+ // CHECK-NEXT: detail/util.hpp
105
+ // CHECK-NEXT: device_selector.hpp
107
106
// CHECK-NEXT: kernel_bundle_enums.hpp
108
107
// CHECK-NEXT: event.hpp
109
108
// CHECK-NEXT: exception_list.hpp
Original file line number Diff line number Diff line change 2
2
#include < iostream>
3
3
#include < sycl/detail/core.hpp>
4
4
#include < sycl/kernel_bundle.hpp>
5
+ #include < sycl/platform.hpp>
5
6
6
7
using namespace sycl ;
7
8
You can’t perform that action at this time.
0 commit comments