File tree Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Expand file tree Collapse file tree 3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -939,9 +939,7 @@ struct _pi_queue : _pi_object {
939939 // Map of all command lists used in this queue.
940940 pi_command_list_map_t CommandListMap;
941941 // TODO: Assign Graph related command lists to command_graph object
942- #if SYCL_EXT_ONEAPI_GRAPH
943942 pi_command_list_map_t LazyCommandListMap;
944- #endif
945943
946944 // Helper data structure to hold all variables related to batching
947945 typedef struct CommandBatch {
Original file line number Diff line number Diff line change @@ -42,11 +42,11 @@ void graph_impl::exec_and_wait(
4242 MFirst = false ;
4343 }
4444#else
45- exec (q );
45+ exec (Queue );
4646#endif
47- if (!isSubGraph ) {
48- q ->setIsGraphSubmitting (false );
49- q ->wait ();
47+ if (!IsSubGraph ) {
48+ Queue ->setIsGraphSubmitting (false );
49+ Queue ->wait ();
5050 }
5151}
5252
Original file line number Diff line number Diff line change @@ -170,11 +170,7 @@ struct graph_impl {
170170 const std::vector<sycl::detail::ArgDesc> &Args,
171171 const std::vector<std::shared_ptr<node_impl>> &Dep = {});
172172
173- #if SYCL_EXT_ONEAPI_GRAPH
174173 graph_impl () : MFirst(true ) {}
175- #else
176- graph_impl () {}
177- #endif
178174
179175 // / Add a queue to the set of queues which are currently recording to this
180176 // / graph.
You can’t perform that action at this time.
0 commit comments