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

Work-around for nvcc #1521

Merged
merged 1 commit into from
Jan 15, 2020
Merged

Work-around for nvcc #1521

merged 1 commit into from
Jan 15, 2020

Conversation

gsjaardema
Copy link
Contributor

The nvcc compiler (at least up to 9.2) defines __SIZEOF_INT128__, but doesn't support 128-bit integers on device code:

error: "fmt::v6::format_arg_store<fmt::v6::basic_format_context<std::back_insert_iterator<fmt::v6::internal::buffer<char>>, char>, const char *, int, const char *>" contains a 128-bit integer, which is not supported in device code

I agree that my contributions are licensed under the {fmt} license, and agree to future changes to the licensing.

The nvcc compiler (at least up to 9.2) defines `__SIZEOF_INT128__`, but doesn't support 128-bit integers on device code:
```
error: "fmt::v6::format_arg_store<fmt::v6::basic_format_context<std::back_insert_iterator<fmt::v6::internal::buffer<char>>, char>, const char *, int, const char *>" contains a 128-bit integer, which is not supported in device code
```
@vitaut vitaut merged commit 4bbe57c into fmtlib:master Jan 15, 2020
@vitaut
Copy link
Contributor

vitaut commented Jan 15, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants