Skip to content

Conversation

@zvookin
Copy link
Member

@zvookin zvookin commented Dec 5, 2022

No description provided.

Z Stern added 4 commits December 5, 2022 19:22
supports the latter. Testing is done using clang specific logic and may
need to be extended for other compilers.

I chose not to add support for __fp16 and __bf16 right now as __fp16 is
less useful in being storage only and __bf16 also only supports a subset
of operations and was running into undefined symbols during compilation
that did not look promising.
@steven-johnson
Copy link
Contributor

LGTM but please fix the formatting and tidy errors.

@zvookin zvookin merged commit 59f5412 into main Dec 6, 2022
@zvookin zvookin deleted the clang_float16_types branch December 6, 2022 22:57
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
Add type bridging between Halide::float16_t and _Float16 if the compiler
supports the latter. Testing is done using clang specific logic and may
need to be extended for other compilers.

I chose not to add support for __fp16 and __bf16 right now as __fp16 is
less useful in being storage only and __bf16 also only supports a subset
of operations and was running into undefined symbols during compilation
that did not look promising.

Co-authored-by: Steven Johnson <[email protected]>
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.

3 participants