Skip to content

[libclc] Move cross to CLC library; add missing half overloads #139713

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

Merged
merged 1 commit into from
May 13, 2025

Conversation

frasercrmck
Copy link
Contributor

The half overloads are trivially identical to the float and double ones.

It didn't seem worth using 'gentype' for the OpenCL layer or CLC declarations so they're just written out explicitly. It does help avoid less trivial repetition in the CLC implementation, though.

The half overloads are trivially identical to the float and double ones.

It didn't seem worth using 'gentype' for the OpenCL layer or CLC
declarations so they're just written out explicitly. It does help avoid
less trivial repetition in the CLC implementation, though.
@frasercrmck frasercrmck requested a review from arsenm May 13, 2025 11:33
@frasercrmck frasercrmck added the libclc libclc OpenCL library label May 13, 2025
@frasercrmck frasercrmck merged commit 7a4af40 into llvm:main May 13, 2025
11 checks passed
@frasercrmck frasercrmck deleted the libclc-clc-cross branch May 13, 2025 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libclc libclc OpenCL library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants