Skip to content

Commit 5c58995

Browse files
committed
Make dynamic_parameter_base Proplist parameter have a default
1 parent 80c211f commit 5c58995

File tree

1 file changed

+3
-3
lines changed
  • sycl/include/sycl/ext/oneapi/experimental

1 file changed

+3
-3
lines changed

sycl/include/sycl/ext/oneapi/experimental/graph.hpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -450,12 +450,12 @@ class __SYCL_EXPORT dynamic_parameter_base {
450450
dynamic_parameter_base(
451451
sycl::ext::oneapi::experimental::command_graph<graph_state::modifiable>
452452
Graph,
453-
const property_list &PropList);
453+
const property_list &PropList = {});
454454

455455
dynamic_parameter_base(
456456
sycl::ext::oneapi::experimental::command_graph<graph_state::modifiable>
457457
Graph,
458-
size_t ParamSize, const void *Data, const property_list &PropList);
458+
size_t ParamSize, const void *Data, const property_list &PropList = {});
459459

460460
protected:
461461
void updateValue(const void *NewValue, size_t Size);
@@ -499,7 +499,7 @@ class dynamic_parameter : public detail::dynamic_parameter_base {
499499
/// @param Param A reference value for this parameter used for CTAD.
500500
dynamic_parameter(experimental::command_graph<graph_state::modifiable> Graph,
501501
const ValueT &Param)
502-
: detail::dynamic_parameter_base(Graph, sizeof(ValueT), &Param, {}) {}
502+
: detail::dynamic_parameter_base(Graph, sizeof(ValueT), &Param) {}
503503

504504
/// Updates this dynamic parameter and all registered nodes with a new value.
505505
/// @param NewValue The new value for the parameter.

0 commit comments

Comments
 (0)