Skip to content

[libclc] Move ceil/fabs/floor/rint/trunc to CLC library #114774

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
Nov 4, 2024

Conversation

frasercrmck
Copy link
Contributor

These functions are all mapped to LLVM intrinsics.

The clspv and spirv targets don't declare or define any of these CLC functions, and instead map these to their corresponding OpenCL symbols.

@frasercrmck frasercrmck requested a review from arsenm November 4, 2024 11:12
Copy link

github-actions bot commented Nov 4, 2024

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

These functions are all mapped to LLVM intrinsics.

The clspv and spirv targets don't declare or define any of these CLC
functions, and instead map these to their corresponding OpenCL symbols.
@arsenm arsenm added the libclc libclc OpenCL library label Nov 4, 2024
@frasercrmck frasercrmck merged commit 293c78b into llvm:main Nov 4, 2024
9 checks passed
@frasercrmck frasercrmck deleted the libclc-clc-intrins branch November 4, 2024 16:35
PhilippRados pushed a commit to PhilippRados/llvm-project that referenced this pull request Nov 6, 2024
These functions are all mapped to LLVM intrinsics.

The clspv and spirv targets don't declare or define any of these CLC
functions, and instead map these to their corresponding OpenCL symbols.
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