Skip to content
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

rocm: user HIP_ROOT for hipcc compiler in tests Makefile #35

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

gcongiu
Copy link
Contributor

@gcongiu gcongiu commented Jun 28, 2023

The rocm tests assume hipcc is located under the same root directory as the rest of rocm toolkit software. Spack installs rocm dependencies in separate directories however, which breaks this assumption. This patch introduces a HIP_ROOT variable that, if unset, is set automatically to PAPI_ROCM_ROOT/hip. Spack can use this variable to let the tests Makefile in the PAPI rocm component know where the hipcc compiler is located.

@gcongiu gcongiu force-pushed the 2023.06.28_rocm-tests-fix branch 2 times, most recently from b6af622 to e0cf3f3 Compare June 28, 2023 09:08
@gcongiu gcongiu requested a review from adanalis June 28, 2023 09:15
@gcongiu gcongiu force-pushed the 2023.06.28_rocm-tests-fix branch 2 times, most recently from 35950c4 to 8cef65e Compare July 3, 2023 15:22
The rocm tests assume hipcc is located under the same root directory as
the rest of rocm toolkit software. Spack installs rocm dependencies in
separate directories however, which breaks this assumption. This patch
introduces a HIP_PATH variable that, if unset, is set automatically to
PAPI_ROCM_ROOT. Spack can use this variable to let the tests Makefile in
the PAPI rocm component know where the hipcc compiler is located.
@gcongiu gcongiu force-pushed the 2023.06.28_rocm-tests-fix branch from 8cef65e to eb23fff Compare July 3, 2023 16:14
@gcongiu gcongiu merged commit a3f2514 into icl-utk-edu:master Jul 3, 2023
13 checks passed
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.

2 participants