Skip to content

[SYCL][hip] Fix HSA headers lookup #12234

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
Dec 22, 2023
Merged

[SYCL][hip] Fix HSA headers lookup #12234

merged 1 commit into from
Dec 22, 2023

Conversation

ldrumm
Copy link
Contributor

@ldrumm ldrumm commented Dec 21, 2023

ROCm installations prior to v6 don't respect the traditional installation layout and install the HSA headers to $PREFIX/hsa/include/hsa whereas in rocm6 it looks like they're putting it in the right place at $PREFIX/include/hsa.

That cleanup from AMD is good news, but it means that our workarounds now break and we need to check both places.

This is a companion to
oneapi-src/unified-runtime#1208

ROCm installations prior to v6 don't respect the traditional
installation layout and install the HSA headers to
`$PREFIX/hsa/include/hsa` whereas in rocm6 it looks like they're putting
it in the right place at `$PREFIX/include/hsa`.

That cleanup from AMD is good news, but it means that our workarounds
now break and we need to check both places.

This is a companion to
oneapi-src/unified-runtime#1208
@ldrumm ldrumm requested a review from GeorgeWeb December 21, 2023 18:10
@ldrumm ldrumm requested a review from a team as a code owner December 21, 2023 18:10
@ldrumm ldrumm requested review from jchlanda and a team December 21, 2023 18:10
@ldrumm
Copy link
Contributor Author

ldrumm commented Dec 21, 2023

FYI: I'm not really sure why this logic needs to be duplicated in both PI and UR. Is there a need for the HIP search logic to exist here now UR should handle plugings?

Copy link
Contributor

@GeorgeWeb GeorgeWeb left a comment

Choose a reason for hiding this comment

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

Changes look good to me.

@againull againull changed the title [hip] Fix HSA headers lookup [SYCL][hip] Fix HSA headers lookup Dec 22, 2023
@againull againull merged commit a6d3445 into intel:sycl Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants