Change HIP_VERSION to __HIP__

Fixes https://github.com/boostorg/config/issues/392.
This commit is contained in:
jzmaddock
2022-06-05 12:45:43 +01:00
parent 26a8d38031
commit 424eb5f4ab

View File

@ -632,7 +632,7 @@ namespace std{ using ::type_info; }
// nvcc doesn't always parse __noinline__,
// see: https://svn.boost.org/trac/boost/ticket/9392
# define BOOST_NOINLINE __attribute__ ((noinline))
# elif defined(HIP_VERSION)
# elif defined(__HIP__)
// See https://github.com/boostorg/config/issues/392
# define BOOST_NOINLINE __attribute__ ((noinline))
# else