Skip to content

Commit 025c5bf

Browse files
committed
Do not create placeholder queue with exec graph.
1 parent dcd4720 commit 025c5bf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

sycl/source/detail/graph/graph_impl.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -870,11 +870,7 @@ void exec_graph_impl::createCommandBuffers(
870870
exec_graph_impl::exec_graph_impl(sycl::context Context,
871871
const std::shared_ptr<graph_impl> &GraphImpl,
872872
const property_list &PropList)
873-
: MSchedule(), MGraphImpl(GraphImpl), MSyncPoints(),
874-
MQueueImpl(sycl::detail::queue_impl::create(
875-
*sycl::detail::getSyclObjImpl(GraphImpl->getDevice()),
876-
*sycl::detail::getSyclObjImpl(Context), sycl::async_handler{},
877-
sycl::property_list{})),
873+
: MSchedule(), MGraphImpl(GraphImpl), MSyncPoints(), MQueueImpl(),
878874
MDevice(GraphImpl->getDevice()), MContext(Context), MRequirements(),
879875
MSchedulerDependencies(),
880876
MIsUpdatable(PropList.has_property<property::graph::updatable>()),

0 commit comments

Comments
 (0)