File tree Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Expand file tree Collapse file tree 2 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -1085,18 +1085,22 @@ class __SYCL_EXPORT queue {
1085
1085
1086
1086
public:
1087
1087
// / Places the queue into command_graph recording mode.
1088
- // / Returns true if the queue was not already in recording mode.
1089
- bool begin_recording (
1090
- sycl::ext::oneapi::experimental::command_graph<
1091
- sycl::ext::oneapi::experimental::graph_state::modifiable> &graph);
1088
+ // /
1089
+ // / \return true if the queue was not already in recording mode.
1090
+ bool
1091
+ begin_recording (ext::oneapi::experimental::command_graph<
1092
+ ext::oneapi::experimental::graph_state::modifiable> &graph);
1092
1093
1093
1094
// / Ends recording mode on the queue and returns to the normal state.
1094
- // / Returns true if the queue was already in recording mode.
1095
+ // /
1096
+ // / \return true if the queue was already in recording mode.
1095
1097
bool end_recording ();
1096
1098
1097
1099
// / Submits an executable command_graph for execution on this queue
1098
- event submit (sycl::ext::oneapi::experimental::command_graph<
1099
- sycl::ext::oneapi::experimental::graph_state::executable>
1100
+ // /
1101
+ // / \return an event representing the execution of the command_graph
1102
+ event submit (ext::oneapi::experimental::command_graph<
1103
+ ext::oneapi::experimental::graph_state::executable>
1100
1104
graph);
1101
1105
1102
1106
private:
Original file line number Diff line number Diff line change @@ -216,8 +216,8 @@ bool queue::device_has(aspect Aspect) const {
216
216
}
217
217
218
218
bool begin_recording (
219
- sycl:: ext::oneapi::experimental::command_graph<
220
- sycl:: ext::oneapi::experimental::graph_state::modifiable> &graph) {
219
+ ext::oneapi::experimental::command_graph<
220
+ ext::oneapi::experimental::graph_state::modifiable> &graph) {
221
221
// Empty Implementation
222
222
return true ;
223
223
}
@@ -227,10 +227,11 @@ bool end_recording() {
227
227
return true ;
228
228
}
229
229
230
- event submit (sycl:: ext::oneapi::experimental::command_graph<
231
- sycl:: ext::oneapi::experimental::graph_state::executable>
230
+ event submit (ext::oneapi::experimental::command_graph<
231
+ ext::oneapi::experimental::graph_state::executable>
232
232
graph) {
233
- return sycl::event{};
233
+ // Empty implementation
234
+ return {};
234
235
}
235
236
} // __SYCL_INLINE_VER_NAMESPACE(_V1)
236
237
} // namespace sycl
You can’t perform that action at this time.
0 commit comments