[NFC][HIP] fix comments in __clang_hip_cmath.h

This commit is contained in:
Yaxun (Sam) Liu 2021-05-21 17:43:28 -04:00
parent f50b87e9ef
commit 91dfd68e90

View File

@ -583,8 +583,8 @@ _LIBCPP_BEGIN_NAMESPACE_STD
namespace std { namespace std {
#ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION #ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION
_GLIBCXX_BEGIN_NAMESPACE_VERSION _GLIBCXX_BEGIN_NAMESPACE_VERSION
#endif #endif // _GLIBCXX_BEGIN_NAMESPACE_VERSION
#endif // !defined(__HIPCC_RTC__) #endif // _LIBCPP_BEGIN_NAMESPACE_STD
// Pull the new overloads we defined above into namespace std. // Pull the new overloads we defined above into namespace std.
// using ::abs; - This may be considered for C++. // using ::abs; - This may be considered for C++.
@ -729,9 +729,9 @@ _LIBCPP_END_NAMESPACE_STD
#else #else
#ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION #ifdef _GLIBCXX_BEGIN_NAMESPACE_VERSION
_GLIBCXX_END_NAMESPACE_VERSION _GLIBCXX_END_NAMESPACE_VERSION
#endif #endif // _GLIBCXX_BEGIN_NAMESPACE_VERSION
} // namespace std } // namespace std
#endif #endif // _LIBCPP_END_NAMESPACE_STD
#endif // !defined(__HIPCC_RTC__) #endif // !defined(__HIPCC_RTC__)
// Define device-side math functions from <ymath.h> on MSVC. // Define device-side math functions from <ymath.h> on MSVC.