SWDEV-546137 - Don't rely on __cplusplus under hiprtc environment (#806)
[ROCm/clr commit: 111f12cbed]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b443903ad8
Коммит
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==(
|
||||
|
||||
Ссылка в новой задаче
Block a user