Skip to content

Commit 9f4faa3

Browse files
committed
Disallow builtin 128-bit integers on device
1 parent ac110be commit 9f4faa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/charconv/detail/config.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#endif
2121

2222
// Use 128-bit integers and suppress warnings for using extensions
23-
#if defined(BOOST_HAS_INT128)
23+
#if defined(BOOST_HAS_INT128) && !defined(__NVCC__)
2424
# define BOOST_CHARCONV_HAS_INT128
2525
# define BOOST_CHARCONV_INT128_MAX static_cast<boost::int128_type>((static_cast<boost::uint128_type>(1) << 127) - 1)
2626
# define BOOST_CHARCONV_INT128_MIN (-BOOST_CHARCONV_INT128_MAX - 1)

0 commit comments

Comments
 (0)