SWDEV-546137 - Don't rely on __cplusplus under hiprtc environment (#806)

[ROCm/clr commit: 111f12cbed]
This commit is contained in:
Brzak, Branislav
2025-08-04 21:33:26 +02:00
committato da GitHub
parent b443903ad8
commit d54e70063e
@@ -659,7 +659,7 @@ get_native_pointer(const HIP_vector_base<T, n>& base_vec) {
template<typename T, unsigned int n>
__HOST_DEVICE__
inline
#if __cplusplus >= 201402L
#if __cplusplus >= 201402L && !defined(__HIPCC_RTC__)
constexpr
#endif
bool operator==(