-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL][HIP] Rename the ROCm plugin to HIP #4418
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good stuff! Better get the renaming done sooner rather than later. Very minor comment that has little to do with these changes.
I am a bit on the fence about calling it "HIP AMD" and "HIP NVIDIA". Would "HIP ROCm" and "HIP CUDA" be more fitting?
I assume a similar patch is coming for https://github.com/intel/llvm-test-suite?
Ping @malixian |
I went for that because the HIP defines are And yeas I'll have a PR for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Just a couple of minor suggestions.
I also created a merge conflict by merging #4393, but it should be easy to resolve.
sycl/test/on-device/group_algorithms_sycl2020/permute_select.cpp
Outdated
Show resolved
Hide resolved
Matching PR in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks for fixing the tests in the test-suite as well.
I just fixed the backend name in the new test that showed up in the CI |
sycl/test/esimd/odr.cpp
Outdated
@@ -12,7 +12,7 @@ | |||
// UNSUPPORTED: cuda | |||
// | |||
// Linking issues with AMD: | |||
// XFAIL: rocm_amd | |||
// XFAIL: hip_amd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should rather be UNSUPPORTED: cuda,hip_amd, I believe, as esimd is only for Intel GPU.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I see, updated to UNSUPPORTED: cuda || hip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realized hip
is not a lit feature in this repo, it is in llvm-test-suite
though, changed to hip_amd
for now, the lit setup for this may require some refactoring in the future, it was a bit thrown off by the on-device
tests move.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sycl/test/esimd/odr.cpp LGTM
4e3df36
Rebased and fixed merge conflicts |
HIP is a better name in this case as it is the API the plugin is actually built on rather than ROCm which is more of a framework.
Co-authored-by: Alexey Bader <alexey.bader@intel.com>
Co-authored-by: Alexey Bader <alexey.bader@intel.com>
hip is not a lit feature in the main repo, hip_amd is
Rebased and conflicts resolved |
FYI: Jenkins/Precommit fails on SYCL :: FilterSelector/select.cpp.
intel/llvm-test-suite#426 should fix this error. |
- Change from intel/llvm#4418
HIP is a better name in this case as it is the API the plugin is
actually built on rather than ROCm which is more of a framework.
As discussed this patch renames the ROCm plugin to HIP, it is thus very large but doesn't have any functional changes.
I tested it on both AMD and NVIDIA with
check-sycl-hip
andcheck-sycl-hip-on-device
, and the results were the same than before this patch withcheck-sycl-rocm
andcheck-sycl-rocm-on-device
.