@@ -86,17 +86,12 @@ namespace detail {
8686class queue_impl ;
8787
8888#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
89- using SubmitPostProcessF = std::function<void (bool , bool , event &)>;
90-
9189struct SubmissionInfoImpl ;
9290
9391class __SYCL_EXPORT SubmissionInfo {
9492public:
9593 SubmissionInfo ();
9694
97- sycl::detail::optional<SubmitPostProcessF> &PostProcessorFunc ();
98- const sycl::detail::optional<SubmitPostProcessF> &PostProcessorFunc () const ;
99-
10095 std::shared_ptr<detail::queue_impl> &SecondaryQueue ();
10196 const std::shared_ptr<detail::queue_impl> &SecondaryQueue () const ;
10297
@@ -131,13 +126,6 @@ class __SYCL_EXPORT SubmissionInfo {
131126 SubmissionInfo (const detail::SubmissionInfo &SI)
132127 : MSecondaryQueue(SI.SecondaryQueue()), MEventMode(SI.EventMode()) {}
133128
134- sycl::detail::optional<SubmitPostProcessF> &PostProcessorFunc () {
135- return MPostProcessorFunc;
136- }
137- const sycl::detail::optional<SubmitPostProcessF> &PostProcessorFunc () const {
138- return MPostProcessorFunc;
139- }
140-
141129 std::shared_ptr<detail::queue_impl> &SecondaryQueue () {
142130 return MSecondaryQueue;
143131 }
@@ -153,7 +141,6 @@ class __SYCL_EXPORT SubmissionInfo {
153141
154142private:
155143#ifndef __INTEL_PREVIEW_BREAKING_CHANGES
156- optional<detail::SubmitPostProcessF> MPostProcessorFunc = std::nullopt ;
157144 std::shared_ptr<detail::queue_impl> MSecondaryQueue = nullptr ;
158145#endif
159146 ext::oneapi::experimental::event_mode_enum MEventMode =
@@ -3856,22 +3843,6 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
38563843 void submit_without_event_impl (std::function<void (handler &)> CGH,
38573844 const detail::code_location &CodeLoc,
38583845 bool IsTopCodeLoc);
3859- event
3860- submit_impl_and_postprocess (std::function<void (handler &)> CGH,
3861- const detail::code_location &CodeLoc,
3862- const detail::SubmitPostProcessF &PostProcess);
3863- event submit_impl_and_postprocess (
3864- std::function<void (handler &)> CGH, const detail::code_location &CodeLoc,
3865- const detail::SubmitPostProcessF &PostProcess, bool IsTopCodeLoc);
3866- event
3867- submit_impl_and_postprocess (std::function<void (handler &)> CGH,
3868- queue secondQueue,
3869- const detail::code_location &CodeLoc,
3870- const detail::SubmitPostProcessF &PostProcess);
3871- event submit_impl_and_postprocess (
3872- std::function<void (handler &)> CGH, queue secondQueue,
3873- const detail::code_location &CodeLoc,
3874- const detail::SubmitPostProcessF &PostProcess, bool IsTopCodeLoc);
38753846
38763847 // Old version when `std::function` was used in place of
38773848 // `std::function<void(handler &)>`.
@@ -3925,9 +3896,6 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
39253896 // / \param CodeLoc is the code location of the submit call (default argument)
39263897 // / \return a SYCL event object for the submitted command group.
39273898 //
3928- // UseFallBackAssert as template param vs `#if` in function body is necessary
3929- // to prevent ODR-violation between TUs built with different fallback assert
3930- // modes.
39313899 template <typename PropertiesT>
39323900 event submit_with_event (PropertiesT Props,
39333901 const detail::type_erased_cgfo_ty &CGF,
@@ -3947,9 +3915,6 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
39473915 // / \param CGF is a function object containing command group.
39483916 // / \param CodeLoc is the code location of the submit call (default argument)
39493917 //
3950- // UseFallBackAssert as template param vs `#if` in function body is necessary
3951- // to prevent ODR-violation between TUs built with different fallback assert
3952- // modes.
39533918 template <typename PropertiesT>
39543919 void submit_without_event (PropertiesT Props,
39553920 const detail::type_erased_cgfo_ty &CGF,
0 commit comments