-
Notifications
You must be signed in to change notification settings - Fork 790
[SYCL][Fusion] Add HIP support #11003
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
The patch add support for HIP via the libamd_comgr: - Add build path in sycl-fusion - Add finalization routine inside hip adapter's build program Signed-off-by: Victor Lomuller <victor@codeplay.com>
3e27075
to
803ca51
Compare
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.
Mostly looks good, just a few nits and questions.
sycl/test-e2e/KernelFusion/abort_internalization_stored_ptr.cpp
Outdated
Show resolved
Hide resolved
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.
A few other nits outside of code changes:
- Should probably update https://github.com/intel/llvm/blob/sycl-mlir/sycl/doc/design/KernelFusionJIT.md
- So far, we have been using
[SYCL][Fusion]
for the tag in the commit message, so would be good to keep it consistent. - We could remove the mention of the draft status from the PR/commit description.
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 few minor nits in documentation text.
Co-authored-by: Lukas Sommer <lukas.sommer@codeplay.com>
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.
Sorry, only reviewed one of the commits previously.
Found a few more nits, but overall looks good.
ping @intel/dpcpp-l0-pi-reviewers @intel/llvm-reviewers-runtime |
@Naghasan now that oneapi-src/unified-runtime#940 is merged please pull in the latest diff --git a/sycl/plugins/unified_runtime/CMakeLists.txt b/sycl/plugins/unified_runtime/CMakeLists.txt
index 20aae8927f0b..88b328e8daab 100644
--- a/sycl/plugins/unified_runtime/CMakeLists.txt
+++ b/sycl/plugins/unified_runtime/CMakeLists.txt
@@ -54,13 +54,13 @@ if(SYCL_PI_UR_USE_FETCH_CONTENT)
include(FetchContent)
set(UNIFIED_RUNTIME_REPO "https://github.com/oneapi-src/unified-runtime.git")
- # commit 3a3aae387eaa8aa072ff310b94df83c9d1a33a0b
- # Merge: 614e6d0 b4425bc
+ # commit cf26de283a1233e6c93feb085acc10c566888b59
+ # Merge: 3a3aae38 2fd9dea2
# Author: Kenneth Benzie (Benie) <k.benzie@codeplay.com>
- # Date: Mon Oct 23 14:49:01 2023 +0100
- # Merge pull request #945 from npmiller/fix-priority
- # [CUDA] Fix queue creation with native handle
- set(UNIFIED_RUNTIME_TAG 3a3aae387eaa8aa072ff310b94df83c9d1a33a0b)
+ # Date: Wed Oct 25 10:36:48 2023 +0100
+ # Merge pull request #940 from Naghasan/victor/kernel-fusion-amd
+ # [UR][HIP] Enable kernel finalization using comgr
+ set(UNIFIED_RUNTIME_TAG cf26de283a1233e6c93feb085acc10c566888b59)
if(SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO)
set(UNIFIED_RUNTIME_REPO "${SYCL_PI_UR_OVERRIDE_FETCH_CONTENT_REPO}") |
thanks @kbenzie |
ping @intel/llvm-reviewers-runtime |
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.
Sorry for the delay. Runtime changes LGTM!
The patch add support for HIP via the libamd_comgr: