@@ -214,13 +214,13 @@ event submit_with_event_impl(const queue &Q, PropertiesT Props,
214214
215215template <typename KernelName, typename PropertiesT, typename KernelType,
216216 int Dims>
217- void submit_direct_impl (const queue &Q, PropertiesT Props, nd_range<Dims> Range,
217+ void submit_kernel_direct_impl (const queue &Q, PropertiesT Props, nd_range<Dims> Range,
218218 const KernelType &KernelFunc,
219219 const sycl::detail::code_location &CodeLoc);
220220
221221template <typename KernelName, typename PropertiesT, typename KernelType,
222222 int Dims>
223- event submit_direct_with_event_impl (const queue &Q, PropertiesT Props,
223+ event submit_kernel_direct_with_event_impl (const queue &Q, PropertiesT Props,
224224 nd_range<Dims> Range,
225225 const KernelType &KernelFunc,
226226 const sycl::detail::code_location &CodeLoc);
@@ -2718,7 +2718,7 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
27182718 detail::tls_code_loc_t TlsCodeLocCapture (CodeLoc);
27192719
27202720#ifdef __DPCPP_ENABLE_UNFINISHED_NO_CGH_SUBMIT
2721- return submit_direct_with_event <detail::WrapAs::single_task, KernelName>(
2721+ return submit_kernel_direct_with_event <detail::WrapAs::single_task, KernelName>(
27222722 ext::oneapi::experimental::empty_properties_t {}, nd_range<1 >{1 , 1 },
27232723 KernelFunc);
27242724
@@ -3279,7 +3279,7 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
32793279 detail::tls_code_loc_t TlsCodeLocCapture (CodeLoc);
32803280#ifdef __DPCPP_ENABLE_UNFINISHED_NO_CGH_SUBMIT
32813281 if constexpr (sizeof ...(RestT) == 1 ) {
3282- return submit_direct_with_event <detail::WrapAs::parallel_for, KernelName,
3282+ return submit_kernel_direct_with_event <detail::WrapAs::parallel_for, KernelName,
32833283 sycl::nd_item<Dims>>(
32843284 ext::oneapi::experimental::empty_properties_t {}, Range, Rest...);
32853285 } else {
@@ -3674,13 +3674,13 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
36743674
36753675 template <typename KernelName, typename PropertiesT, typename KernelType,
36763676 int Dims>
3677- friend void ext::oneapi::experimental::detail::submit_direct_impl (
3677+ friend void ext::oneapi::experimental::detail::submit_kernel_direct_impl (
36783678 const queue &Q, PropertiesT Props, nd_range<Dims> Range,
36793679 const KernelType &KernelFunc, const sycl::detail::code_location &CodeLoc);
36803680
36813681 template <typename KernelName, typename PropertiesT, typename KernelType,
36823682 int Dims>
3683- friend event ext::oneapi::experimental::detail::submit_direct_with_event_impl (
3683+ friend event ext::oneapi::experimental::detail::submit_kernel_direct_with_event_impl (
36843684 const queue &Q, PropertiesT Props, nd_range<Dims> Range,
36853685 const KernelType &KernelFunc, const sycl::detail::code_location &CodeLoc);
36863686
@@ -3796,33 +3796,33 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
37963796 const detail::code_location &CodeLoc,
37973797 bool IsTopCodeLoc) const ;
37983798
3799- event submit_direct_with_event_impl (
3800- nd_range<1 > Range, const detail::v1::SubmissionInfo &SubmitInfo,
3799+ event submit_kernel_direct_with_event_impl (
3800+ nd_range<1 > Range,
38013801 const detail::v1::KernelRuntimeInfo &KRInfo,
38023802 const detail::code_location &CodeLoc, bool IsTopCodeLoc) const ;
38033803
3804- event submit_direct_with_event_impl (
3805- nd_range<2 > Range, const detail::v1::SubmissionInfo &SubmitInfo,
3804+ event submit_kernel_direct_with_event_impl (
3805+ nd_range<2 > Range,
38063806 const detail::v1::KernelRuntimeInfo &KRInfo,
38073807 const detail::code_location &CodeLoc, bool IsTopCodeLoc) const ;
38083808
3809- event submit_direct_with_event_impl (
3810- nd_range<3 > Range, const detail::v1::SubmissionInfo &SubmitInfo,
3809+ event submit_kernel_direct_with_event_impl (
3810+ nd_range<3 > Range,
38113811 const detail::v1::KernelRuntimeInfo &KRInfo,
38123812 const detail::code_location &CodeLoc, bool IsTopCodeLoc) const ;
38133813
3814- void submit_direct_without_event_impl (
3815- nd_range<1 > Range, const detail::v1::SubmissionInfo &SubmitInfo,
3814+ void submit_kernel_direct_without_event_impl (
3815+ nd_range<1 > Range,
38163816 const detail::v1::KernelRuntimeInfo &KRInfo,
38173817 const detail::code_location &CodeLoc, bool IsTopCodeLoc) const ;
38183818
3819- void submit_direct_without_event_impl (
3820- nd_range<2 > Range, const detail::v1::SubmissionInfo &SubmitInfo,
3819+ void submit_kernel_direct_without_event_impl (
3820+ nd_range<2 > Range,
38213821 const detail::v1::KernelRuntimeInfo &KRInfo,
38223822 const detail::code_location &CodeLoc, bool IsTopCodeLoc) const ;
38233823
3824- void submit_direct_without_event_impl (
3825- nd_range<3 > Range, const detail::v1::SubmissionInfo &SubmitInfo,
3824+ void submit_kernel_direct_without_event_impl (
3825+ nd_range<3 > Range,
38263826 const detail::v1::KernelRuntimeInfo &KRInfo,
38273827 const detail::code_location &CodeLoc, bool IsTopCodeLoc) const ;
38283828
@@ -3871,50 +3871,46 @@ class __SYCL_EXPORT queue : public detail::OwnerLessBase<queue> {
38713871 template <detail::WrapAs WrapAsVal, typename KernelName = detail::auto_name,
38723872 typename ElementType = void , typename PropertiesT,
38733873 typename KernelType, int Dims>
3874- event submit_direct_with_event (PropertiesT Props, nd_range<Dims> Range,
3874+ event submit_kernel_direct_with_event (PropertiesT Props, nd_range<Dims> Range,
38753875 const KernelType &KernelFunc,
38763876 const detail::code_location &CodeLoc =
38773877 detail::code_location::current ()) const {
38783878 detail::tls_code_loc_t TlsCodeLocCapture (CodeLoc);
3879- detail::v1::SubmissionInfo SI{};
38803879 detail::v1::KernelRuntimeInfo KRInfo{};
38813880
38823881 using NameT =
38833882 typename detail::get_kernel_name_t <KernelName, KernelType>::name;
38843883
3885- ProcessSubmitProperties (Props, SI);
38863884 ProcessKernelRuntimeInfo<NameT, KernelType, Dims, WrapAsVal>(KernelFunc,
38873885 KRInfo);
38883886
38893887 detail::KernelWrapper<WrapAsVal, NameT, KernelType, ElementType,
38903888 PropertiesT>::wrap (KernelFunc);
38913889
3892- return submit_direct_with_event_impl (Range, SI , KRInfo,
3890+ return submit_kernel_direct_with_event_impl (Range, KRInfo,
38933891 TlsCodeLocCapture.query (),
38943892 TlsCodeLocCapture.isToplevel ());
38953893 }
38963894
38973895 template <typename KernelName = detail::auto_name, typename PropertiesT,
38983896 typename KernelType, int Dims>
3899- void submit_direct_without_event (PropertiesT Props, nd_range<Dims> Range,
3897+ void submit_kernel_direct_without_event (PropertiesT Props, nd_range<Dims> Range,
39003898 const KernelType &KernelFunc,
39013899 const detail::code_location &CodeLoc =
39023900 detail::code_location::current ()) const {
39033901 detail::tls_code_loc_t TlsCodeLocCapture (CodeLoc);
3904- detail::v1::SubmissionInfo SI{};
39053902 detail::v1::KernelRuntimeInfo KRInfo{};
39063903
39073904 using NameT =
39083905 typename detail::get_kernel_name_t <KernelName, KernelType>::name;
39093906
3910- ProcessSubmitProperties (Props, SI);
39113907 ProcessKernelRuntimeInfo<NameT, KernelType, Dims,
39123908 detail::WrapAs::parallel_for>(KernelFunc, KRInfo);
39133909
39143910 detail::KernelWrapper<detail::WrapAs::parallel_for, NameT, KernelType,
39153911 sycl::nd_item<Dims>, PropertiesT>::wrap (KernelFunc);
39163912
3917- submit_direct_without_event_impl (Range, SI , KRInfo,
3913+ submit_kernel_direct_without_event_impl (Range, KRInfo,
39183914 TlsCodeLocCapture.query (),
39193915 TlsCodeLocCapture.isToplevel ());
39203916 }
0 commit comments