We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80fd665 commit 027afc7Copy full SHA for 027afc7
sycl/source/detail/graph_impl.hpp
@@ -1486,7 +1486,8 @@ class exec_graph_impl {
1486
class dynamic_parameter_impl {
1487
public:
1488
dynamic_parameter_impl(std::shared_ptr<graph_impl> GraphImpl)
1489
- : MGraph(GraphImpl) {}
+ : MGraph(GraphImpl),
1490
+ MID(NextAvailableID.fetch_add(1, std::memory_order_relaxed)) {}
1491
1492
dynamic_parameter_impl(std::shared_ptr<graph_impl> GraphImpl,
1493
size_t ParamSize, const void *Data)
0 commit comments