We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 276cc80 commit 56129d1Copy full SHA for 56129d1
sycl/include/sycl/ext/oneapi/experimental/enqueue_functions.hpp
@@ -108,7 +108,7 @@ template <typename CommandGroupFunc>
108
void submit(queue Q, CommandGroupFunc &&CGF,
109
const sycl::detail::code_location &CodeLoc =
110
sycl::detail::code_location::current()) {
111
- submit(Q, empty_properties_t{}, CGF, CodeLoc);
+ submit(Q, empty_properties_t{}, std::forward<CommandGroupFunc>(CGF), CodeLoc);
112
}
113
114
template <typename CommandGroupFunc, typename PropertiesT>
@@ -123,8 +123,8 @@ template <typename CommandGroupFunc>
123
event submit_with_event(queue Q, CommandGroupFunc &&CGF,
124
125
126
- return submit_with_event(Q, std::forward<CommandGroupFunc>(CGF),
127
- empty_properties_t{}, CodeLoc);
+ return submit_with_event(Q, empty_properties_t{},
+ std::forward<CommandGroupFunc>(CGF), CodeLoc);
128
129
130
template <typename KernelName = sycl::detail::auto_name, typename KernelType>
0 commit comments