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

On older GPU there are no hcos/hsin/hlog/hexp #887

Merged
merged 3 commits into from
Dec 2, 2023

Conversation

optman
Copy link
Contributor

@optman optman commented Nov 8, 2023

In cuda_fp16.h , hcos/hsin/hlog/hexp are only defined when __CUDA_ARCH__ >= 530.

Maybe we could fall back to the float version to let the code compiled.

@coreylowman coreylowman merged commit 2ff7b60 into coreylowman:main Dec 2, 2023
4 checks passed
@coreylowman
Copy link
Owner

Thanks for this PR! 🎉

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