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

Add cuda::ptx::cp_reduce_async_bulk #1445

Merged
merged 3 commits into from
Mar 1, 2024

Conversation

ahendriksen
Copy link
Contributor

Description

closes #1444

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

1. Add the ifdef
2. Add min, max support for f16 and bf16 (I overlooked this initially)
}
#endif // __cccl_ptx_isa >= 800

#ifdef _LIBCUDACXX_HAS_NVF16
Copy link
Collaborator

Choose a reason for hiding this comment

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

Note, the PR that brings this in has not been merged, so that will currently always be off until we merge #1140

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay.. This issue probably caused the tests to fail, so I have guarded the tests on this macro as well.

I am okay with the __half and bfloat16 variants not being available immediately. I have tested the generated PTX offline, so I know it works.

@miscco miscco enabled auto-merge (squash) February 29, 2024 07:15
auto-merge was automatically disabled February 29, 2024 07:25

Pull Request is not mergeable

@miscco miscco merged commit 4495154 into NVIDIA:main Mar 1, 2024
562 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[FEA]: Add cuda::ptx::cp_reduce_async_bulk
2 participants