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 some missing _Float16 support #8174

Merged
merged 1 commit into from
Apr 4, 2024
Merged

Add some missing _Float16 support #8174

merged 1 commit into from
Apr 4, 2024

Conversation

steven-johnson
Copy link
Contributor

(Changes extracted from #8169, which may or may not land in its current form)

Some missing support for _Float16 that will likely be handy:

  • Allow _Float16 to be detected for Clang 15 (since my local XCode Clang 15 definitely supports it)
  • Expr(_Float16)
  • HALIDE_DECLARE_EXTERN_SIMPLE_TYPE(_Float16);
  • Add _Float16 to the convert matrix in halide_image_io.h

(Changes extracted from #8169, which may or may not land in its current form)

Some missing support for _Float16 that will likely be handy:
- Allow _Float16 to be detected for Clang 15 (since my local XCode Clang 15 definitely supports it)
- Expr(_Float16)
- HALIDE_DECLARE_EXTERN_SIMPLE_TYPE(_Float16);
- Add _Float16 to the convert matrix in halide_image_io.h
@steven-johnson steven-johnson marked this pull request as ready for review April 2, 2024 23:45
@steven-johnson steven-johnson merged commit 3b8a532 into main Apr 4, 2024
7 of 19 checks passed
@steven-johnson steven-johnson deleted the srj/f16 branch April 4, 2024 17:19
steven-johnson added a commit that referenced this pull request Apr 5, 2024
* Add conversion code for Float16 that was missed in #8174

* Don't sniff for _Float16 when building ASAN

* Update HalideRuntime.h
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