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

[SYCL-PTX] Enable 16 bits float libclc builtins. #2024

Merged
merged 1 commit into from
Jul 8, 2020

Conversation

Naghasan
Copy link
Contributor

@Naghasan Naghasan commented Jul 1, 2020

This patch enables 16 bits float in the libclc.
It also provides a bindings between __fp16 (with native halfs) and _Float16,
it is safe as in libclc the configuration both lower to the same type.

NOTE: WIP for now as it depends on #2003 (this PR actually includes it for now) 8fa21c8 is the actual PR patch

I rebased the patch following the merge of #2003.

Signed-off-by: Victor Lomuller [email protected]

@bader bader added the libclc libclc project related issues label Jul 3, 2020
This patch enables 16 bits float in the libclc.
It also provides a bindings between __fp16 (with native halfs) and _Float16,
it is safe as in libclc the configuration both lower to the same type.

Signed-off-by: Victor Lomuller <[email protected]>
@Naghasan Naghasan force-pushed the victor/spirv-ptx-half branch from 8fa21c8 to 33d83f8 Compare July 8, 2020 12:04
@Naghasan Naghasan changed the title [WIP][SYCL-PTX] Enable 16 bits float libclc builtins. [SYCL-PTX] Enable 16 bits float libclc builtins. Jul 8, 2020
@Naghasan Naghasan marked this pull request as ready for review July 8, 2020 12:06
@Naghasan Naghasan requested a review from bader as a code owner July 8, 2020 12:06
@bader bader merged commit 8f39763 into intel:sycl Jul 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libclc libclc project related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants