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

[EPIC] Extended Floating-Point Support #31

Open
11 tasks
jrhemstad opened this issue Apr 20, 2023 · 1 comment
Open
11 tasks

[EPIC] Extended Floating-Point Support #31

jrhemstad opened this issue Apr 20, 2023 · 1 comment
Assignees
Labels
feature request New feature or request. libcu++ For all items related to libcu++

Comments

@jrhemstad
Copy link
Collaborator

jrhemstad commented Apr 20, 2023

We want to better support users in using extended floating-point types like __half and bfloat16 in our libraries.

One of the major projects would be adding new extended floating-point library types to libcu++ for things like __half and bfloat16. The main goals would be:

  • Works in host/device code
  • Seamlessly uses equivalent core language type if/when the compiler supports it
  • Conversion to/from existing cudart types
  • Eventually supersede the cudart types

CUTLASS already has implementations of these types we could use as a starting point.

Tasks for new types

Tasks for existing __half/bfloat types

Tasks for extended floating-point vector types

  • Provide extended floating-point vector types (e.g., half2)
  • Provide cmath for extended floating-point vector types
@jrhemstad jrhemstad added this to CCCL Apr 20, 2023
@jrhemstad jrhemstad converted this from a draft issue Apr 20, 2023
@miscco miscco added feature request New feature or request. libcu++ For all items related to libcu++ labels Jul 12, 2023
@cmpfeil
Copy link

cmpfeil commented Sep 22, 2023

Would be eager to see this; in particular also specializations complex<__half> and complex<bfloat16>.
Are there any plans on whether or when this might be available?

@jrhemstad jrhemstad changed the title [EPIC] Extended Floating-Point Support in libcu++ [EPIC] Extended Floating-Point Support Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request. libcu++ For all items related to libcu++
Projects
Status: No status
Development

No branches or pull requests

4 participants