diff --git a/hc2/headers/functions/hsa_interfaces.hpp b/hc2/headers/functions/hsa_interfaces.hpp index bcc4b71081e..9eef5f6ee91 100644 --- a/hc2/headers/functions/hsa_interfaces.hpp +++ b/hc2/headers/functions/hsa_interfaces.hpp @@ -18,21 +18,23 @@ #include #include +static inline -bool operator==(const hsa_agent_t& x, const hsa_agent_t& y) +bool operator==(hsa_agent_t x, hsa_agent_t y) { return x.handle == y.handle; } +static inline -bool operator==(const hsa_isa_t& x, const hsa_isa_t& y) +bool operator==(hsa_isa_t x, hsa_isa_t y) { return x.handle == y.handle; } +static inline -bool operator==( - const hsa_executable_symbol_t& x, const hsa_executable_symbol_t& y) +bool operator==(hsa_executable_symbol_t x, hsa_executable_symbol_t y) { return x.handle == y.handle; }