pgi.hpp 770 B

123456789101112131415161718192021222324
  1. // (C) Copyright Noel Belcourt 2007.
  2. // Copyright 2017, NVIDIA CORPORATION.
  3. // Use, modification and distribution are subject to the
  4. // Boost Software License, Version 1.0. (See accompanying file
  5. // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  6. // See http://www.boost.org for most recent version.
  7. // PGI C++ compiler setup:
  8. #define BOOST_COMPILER_VERSION __PGIC__##__PGIC_MINOR__
  9. #define BOOST_COMPILER "PGI compiler version " BOOST_STRINGIZE(BOOST_COMPILER_VERSION)
  10. // PGI is mostly GNU compatible. So start with that.
  11. #include <boost/config/compiler/gcc.hpp>
  12. // Now adjust for things that are different.
  13. // __float128 is a typedef, not a distinct type.
  14. #undef BOOST_HAS_FLOAT128
  15. // __int128 is not supported.
  16. #undef BOOST_HAS_INT128