Skip to content

Conversation

@arsenm
Copy link
Contributor

@arsenm arsenm commented Dec 8, 2025

It makes no sense to check the compiler or language. Currently this is relying on a declaration leaked out of the clang builtin headers, which should not be exporting ockl functions.

It makes no sense to check the compiler or language. Currently
this is relying on a declaration leaked out of the clang builtin
headers, which should not be exporting ockl functions.
@arsenm arsenm requested review from a team as code owners December 8, 2025 22:26
Copilot AI review requested due to automatic review settings December 8, 2025 22:26
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes unnecessary preprocessor guards around the __ockl_fdot2 function declaration. The change ensures this OCKL (Open Compute Kernel Library) function is always declared, eliminating the previous dependency on leaked declarations from Clang's builtin headers.

Key Changes:

  • Removed conditional compilation checks (__clang__ and __HIP__) around __ockl_fdot2 declaration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@arsenm
Copy link
Contributor Author

arsenm commented Dec 8, 2025

This is trying to fix the build break with ROCm/llvm-project#793

@arsenm arsenm merged commit a495d11 into develop Dec 11, 2025
23 of 24 checks passed
@arsenm arsenm deleted the arsenm/swdev548892/add-missing-declaration-ockl-fdot2 branch December 11, 2025 10:53
systems-assistant bot pushed a commit to ROCm/clr that referenced this pull request Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants