Skip to content

Commit

Permalink
Make dynamic_parameter_base Proplist parameter have a default
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomestre committed Jan 15, 2025
1 parent d6964ff commit f13c1ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sycl/include/sycl/ext/oneapi/experimental/graph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,12 +450,12 @@ class __SYCL_EXPORT dynamic_parameter_base {
dynamic_parameter_base(
sycl::ext::oneapi::experimental::command_graph<graph_state::modifiable>
Graph,
const property_list &PropList);
const property_list &PropList = {});

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

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

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

0 comments on commit f13c1ec

Please sign in to comment.