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

This commit is contained in:
Assiouras, Ioannis authored and GitHub committed 2025-06-13 12:05:41 +05:30
1 parent 0877d257e6
commit e88d9fabe0
1 file changed
+2
@@ -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
{