Skip to content

Commit 00f1bbf

Browse files
committed
Fix issues
1 parent dcbeecd commit 00f1bbf

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

sycl/source/detail/graph_impl.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -2032,7 +2032,6 @@ void dynamic_parameter_base::updateAccessor(
20322032
}
20332033

20342034
dynamic_work_group_memory_base::dynamic_work_group_memory_base(
2035-
experimental::command_graph<graph_state::modifiable> Graph,
20362035
size_t BufferSizeInBytes)
20372036
: dynamic_parameter_base(
20382037
std::make_shared<dynamic_work_group_memory_impl>(BufferSizeInBytes)) {

sycl/unittests/Extensions/CommandGraph/Update.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ TEST_F(CommandGraphTest, UpdatableException) {
2929
TEST_F(CommandGraphTest, DynamicObjRegister) {
3030
// Check that registering a dynamic object with a node from a graph that was
3131
// not passed to its constructor throws.
32+
experimental::dynamic_parameter DynamicParam(Graph, int{});
33+
3234
auto CheckRegisterWrongGraph = [&](auto &DynObj) {
3335
auto OtherGraph =
3436
experimental::command_graph(Queue.get_context(), Queue.get_device());

0 commit comments

Comments
 (0)