Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fabiomestre committed Jan 31, 2025
1 parent a5bfd9a commit 20aff4a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions sycl/include/sycl/ext/oneapi/experimental/graph.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class __SYCL_EXPORT node {
return LHS.impl == RHS.impl;
}
friend bool operator!=(const node &LHS, const node &RHS) {
return LHS.impl != RHS.impl;
return !operator==(LHS, RHS);
}

private:
Expand Down Expand Up @@ -196,7 +196,7 @@ class __SYCL_EXPORT dynamic_command_group {
}
friend bool operator!=(const dynamic_command_group &LHS,
const dynamic_command_group &RHS) {
return LHS.impl != RHS.impl;
return !operator==(LHS, RHS);
}

private:
Expand Down Expand Up @@ -332,7 +332,7 @@ class __SYCL_EXPORT modifiable_command_graph
}
friend bool operator!=(const modifiable_command_graph &LHS,
const modifiable_command_graph &RHS) {
return LHS.impl != RHS.impl;
return !operator==(LHS, RHS);
}

protected:
Expand Down Expand Up @@ -421,7 +421,7 @@ class __SYCL_EXPORT executable_command_graph
}
friend bool operator!=(const executable_command_graph &LHS,
const executable_command_graph &RHS) {
return LHS.impl != RHS.impl;
return !operator==(LHS, RHS);
}

protected:
Expand Down Expand Up @@ -497,7 +497,7 @@ class __SYCL_EXPORT dynamic_parameter_base {
}
friend bool operator!=(const dynamic_parameter_base &LHS,
const dynamic_parameter_base &RHS) {
return LHS.impl != RHS.impl;
return !operator==(LHS, RHS);
}

protected:
Expand Down

0 comments on commit 20aff4a

Please sign in to comment.