Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix max_align_t for __int128 #3088

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion libcudacxx/include/cuda/std/detail/libcxx/include/cstddef
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,10 @@ using ::size_t;
|| defined(__NetBS)
// Re-use the compiler's <stddef.h> max_align_t where possible.
using ::max_align_t;
#elif !defined(_LIBCUDACXX_HAS_NO_INT128)
using max_align_t = __int128;
#else
typedef long double max_align_t;
using max_align_t = long double;
#endif

_LIBCUDACXX_END_NAMESPACE_STD
Expand Down
Loading