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

Specialize is_floating_point for half and bfloat #3379

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bernhardmgruber
Copy link
Contributor

No description provided.

@davebayer
Copy link
Contributor

Maybe it would be worth it go through the code and replace all uses of __is_extended_floating_point_v<T> in is_floating_point_v<T> && __is_extended_floating_point_v<T>

Copy link
Collaborator

@miscco miscco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unfortunately that is currently nothing we intend to do yet

We are quite strict with what we allow for cuda::std and it being strictly standard compliant

Changing that type trait would definitely break standard behavior, so we can only enable this in the context of adding support for C++26 extended floating point types

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

Successfully merging this pull request may close these issues.

3 participants