@@ -98,7 +98,7 @@ void __SYCL_EXPORT submit_graph_direct_without_event_impl(
9898namespace detail {
9999class queue_impl ;
100100
101- namespace v1 {
101+ inline namespace _V1 {
102102
103103// This class is a part of the ABI, so it's moved to a separate namespace to
104104// simplify changes.
@@ -110,9 +110,6 @@ namespace v1 {
110110// overloaded with a new variant using v(N+1) namespace,
111111// * old namespace vN should be moved under #ifndef
112112// __INTEL_PREVIEW_BREAKING_CHANGES guard.
113- // TODO: inline namespace can be employed here after SubmissionInfo removed from
114- // the enclosing scope.
115-
116113class __SYCL_EXPORT SubmissionInfo {
117114public:
118115 SubmissionInfo () {}
@@ -123,14 +120,11 @@ class __SYCL_EXPORT SubmissionInfo {
123120 }
124121
125122private:
126- #ifndef __INTEL_PREVIEW_BREAKING_CHANGES
127- std::shared_ptr<detail::queue_impl> MSecondaryQueue = nullptr ;
128- #endif
129123 ext::oneapi::experimental::event_mode_enum MEventMode =
130124 ext::oneapi::experimental::event_mode_enum::none;
131125};
132126
133- } // namespace v1
127+ } // namespace _V1
134128
135129template <detail::WrapAs WrapAs, typename LambdaArgType,
136130 typename KernelName = detail::auto_name, bool EventNeeded = false ,
@@ -513,13 +507,6 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
513507 typename detail::is_backend_info_desc<Param>::return_type
514508 get_backend_info () const ;
515509
516- #ifndef __INTEL_PREVIEW_BREAKING_CHANGES
517- private:
518- // A shorthand for `get_device().has()' which is expected to be a bit quicker
519- // than the long version
520- bool device_has (aspect Aspect) const ;
521- #endif
522-
523510public:
524511 // / Submits a command group function object to the queue, in order to be
525512 // / scheduled for execution on the device.
@@ -3719,23 +3706,14 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
37193706 bool khr_empty () const ;
37203707#endif
37213708
3722- #ifndef __INTEL_PREVIEW_BREAKING_CHANGES
3723- // TODO: to be made private in the next ABI-breaking window
3724- __SYCL_DEPRECATED (
3725- " This is a non-standard method, use sycl::get_native instead" )
3726- ur_native_handle_t getNative(int32_t &NativeHandleDesc) const ;
3727- #endif
3728-
37293709 std::optional<event> ext_oneapi_get_last_event () const {
37303710 return static_cast <std::optional<event>>(ext_oneapi_get_last_event_impl ());
37313711 }
37323712
37333713 void ext_oneapi_set_external_event (const event &external_event);
37343714
37353715private:
3736- #ifdef __INTEL_PREVIEW_BREAKING_CHANGES
37373716 ur_native_handle_t getNative (int32_t &NativeHandleDesc) const ;
3738- #endif
37393717
37403718 std::shared_ptr<detail::queue_impl> impl;
37413719 queue (std::shared_ptr<detail::queue_impl> impl) : impl(impl) {}
@@ -3760,7 +3738,7 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
37603738
37613739 template <typename PropertiesT>
37623740 void ProcessSubmitProperties (PropertiesT Props,
3763- detail::v1:: SubmissionInfo &SI) const {
3741+ detail::SubmissionInfo &SI) const {
37643742 if constexpr (Props.template has_property <
37653743 ext::oneapi::experimental::event_mode_key>()) {
37663744 ext::oneapi::experimental::event_mode EventModeProp =
@@ -3773,13 +3751,13 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
37733751
37743752 // / A template-free version of submit as const member function.
37753753 event submit_with_event_impl (const detail::type_erased_cgfo_ty &CGH,
3776- const detail::v1:: SubmissionInfo &SubmitInfo,
3754+ const detail::SubmissionInfo &SubmitInfo,
37773755 const detail::code_location &CodeLoc,
37783756 bool IsTopCodeLoc) const ;
37793757
37803758 // / A template-free version of submit_without_event as const member function.
37813759 void submit_without_event_impl (const detail::type_erased_cgfo_ty &CGH,
3782- const detail::v1:: SubmissionInfo &SubmitInfo,
3760+ const detail::SubmissionInfo &SubmitInfo,
37833761 const detail::code_location &CodeLoc,
37843762 bool IsTopCodeLoc) const ;
37853763
@@ -3797,7 +3775,7 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
37973775 const detail::code_location &CodeLoc =
37983776 detail::code_location::current ()) const {
37993777 detail::tls_code_loc_t TlsCodeLocCapture (CodeLoc);
3800- detail::v1:: SubmissionInfo SI{};
3778+ detail::SubmissionInfo SI{};
38013779 ProcessSubmitProperties (Props, SI);
38023780 return submit_with_event_impl (CGF, SI, TlsCodeLocCapture.query (),
38033781 TlsCodeLocCapture.isToplevel ());
@@ -3815,7 +3793,7 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
38153793 const detail::type_erased_cgfo_ty &CGF,
38163794 const detail::code_location &CodeLoc) const {
38173795 detail::tls_code_loc_t TlsCodeLocCapture (CodeLoc);
3818- detail::v1:: SubmissionInfo SI{};
3796+ detail::SubmissionInfo SI{};
38193797 ProcessSubmitProperties (Props, SI);
38203798 submit_without_event_impl (CGF, SI, TlsCodeLocCapture.query (),
38213799 TlsCodeLocCapture.isToplevel ());
0 commit comments