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

Этот коммит содержится в:
Assiouras, Ioannis authored and GitHub committed 2025-06-13 12:05:41 +05:30
1 родитель 0877d257e6
Коммит e88d9fabe0
1 file changed
+2
+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
{