Skip to content

Commit 1df72bf

Browse files
committed
fix test
1 parent 8598f5b commit 1df72bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sycl/unittests/Extensions/CommandGraph/Regressions.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ TEST_F(CommandGraphTest, LastRecordedQueueAfterCleanup) {
123123
// to set up the executable graph's queue. Before the fix, this could fail
124124
// if getLastRecordedQueue() returned nullptr.
125125
auto GraphExec = Graph.finalize();
126-
auto ExecGraphImpl = *getSyclObjImpl(GraphExec);
126+
experimental::detail::exec_graph_impl &ExecGraphImpl =
127+
*getSyclObjImpl(GraphExec);
127128

128129
// The executable graph should have the queue from recording
129130
auto ExecQueueImpl = GraphImplTest::GetQueueImpl(ExecGraphImpl);

0 commit comments

Comments
 (0)