Skip to content

Commit 63d1345

Browse files
committed
Rename submit_generic_direct to submit_direct
1 parent 01e0f9f commit 63d1345

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

sycl/source/detail/queue_impl.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,12 +490,12 @@ detail::EventImplPtr queue_impl::submit_kernel_direct_impl(
490490
return EventImpl;
491491
};
492492

493-
return submit_generic_direct(CallerNeedsEvent, SubmitKernelFunc);
493+
return submit_direct(CallerNeedsEvent, SubmitKernelFunc);
494494
}
495495

496496
detail::EventImplPtr
497-
queue_impl::submit_generic_direct(bool CallerNeedsEvent,
498-
SubmitCommandFuncType &SubmitCommandFunc) {
497+
queue_impl::submit_direct(bool CallerNeedsEvent,
498+
SubmitCommandFuncType &SubmitCommandFunc) {
499499
detail::CG::StorageInitHelper CGData;
500500
std::unique_lock<std::mutex> Lock(MMutex);
501501

sycl/source/detail/queue_impl.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -961,9 +961,8 @@ class queue_impl : public std::enable_shared_from_this<queue_impl> {
961961
using SubmitCommandFuncType =
962962
std::function<EventImplPtr(detail::CG::StorageInitHelper &CGData)>;
963963

964-
detail::EventImplPtr
965-
submit_generic_direct(bool CallerNeedsEvent,
966-
SubmitCommandFuncType &SubmitCommandFunc);
964+
detail::EventImplPtr submit_direct(bool CallerNeedsEvent,
965+
SubmitCommandFuncType &SubmitCommandFunc);
967966

968967
/// Helper function for submitting a memory operation with a handler.
969968
/// \param DepEvents is a vector of dependencies of the operation.

0 commit comments

Comments
 (0)