Skip to content

Conversation

@frasercrmck
Copy link
Contributor

This completes the set of maths builtins.

No attempt to vectorize or optimize this code. The implementation is licensed to SunPro so will probably need to be replaced at some point in the future anyway. Calls to other builtins have been replaced with the CLC equivalents, and some bit-hacking was replaced with the fabs builtin.

This completes the set of maths builtins.

No attempt to vectorize or optimize this code. The implementation is
licensed to SunPro so will probably need to be replaced at some point in
the future anyway. Calls to other builtins have been replaced with the
CLC equivalents, and some bit-hacking was replaced with the fabs
builtin.
@frasercrmck frasercrmck requested a review from arsenm May 19, 2025 10:18
@frasercrmck frasercrmck added the libclc libclc OpenCL library label May 19, 2025
@github-actions
Copy link

github-actions bot commented May 19, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@frasercrmck frasercrmck merged commit c27e10f into llvm:main May 19, 2025
9 checks passed
@frasercrmck frasercrmck deleted the libclc-clc-erf-erfc branch May 19, 2025 10:32
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