SWDEV-537656 - Added c++11 include guard for constexpr HIP_vector_type operator== (#517)

This commit is contained in:
Assiouras, Ioannis
2025-06-13 07:35:41 +01:00
committed by GitHub
parent 0877d257e6
commit e88d9fabe0
@@ -659,7 +659,9 @@ get_native_pointer(const HIP_vector_base<T, n>& base_vec) {
template<typename T, unsigned int n>
__HOST_DEVICE__
inline
#if __cplusplus >= 201402L
constexpr
#endif
bool operator==(
const HIP_vector_type<T, n>& x, const HIP_vector_type<T, n>& y) noexcept
{