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

Generic half (fp16) support #885

Merged
merged 166 commits into from
Feb 25, 2023
Merged

Generic half (fp16) support #885

merged 166 commits into from
Feb 25, 2023

Conversation

illuhad
Copy link
Collaborator

@illuhad illuhad commented Dec 3, 2022

This WIP PR adds a generic sycl::half class that is supported on all backends/compilation flows, however, when native half support is unavailable, arithmetic operations may be carried out in fp32.

This PR only provides the class itself and basic arithmetic functionality, no math builtins. Also no tests yet :P

Depends on #862, because implementing this requires taking into account the SSCP future.

@illuhad illuhad changed the title WIP: Generic half (fp16) support Generic half (fp16) support Feb 22, 2023
@illuhad illuhad merged commit 8020359 into develop Feb 25, 2023
@illuhad illuhad deleted the feature/half-support branch February 25, 2023 15:14
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.

None yet

1 participant