From 424eb5f4ab034ff6c39e241b75db484019df52c7 Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Sun, 5 Jun 2022 12:45:43 +0100 Subject: [PATCH] Change HIP_VERSION to __HIP__ Fixes https://github.com/boostorg/config/issues/392. --- include/boost/config/detail/suffix.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/config/detail/suffix.hpp b/include/boost/config/detail/suffix.hpp index 2423c35d..633dd3b3 100644 --- a/include/boost/config/detail/suffix.hpp +++ b/include/boost/config/detail/suffix.hpp @@ -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