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

[SYCL][HIP][CUDA] Use new version of piMemGetNativeHandle and add test #12297

Merged
merged 9 commits into from
Feb 1, 2024

Conversation

hdelan
Copy link
Contributor

@hdelan hdelan commented Jan 4, 2024

We want to change the signature of piMemGetNativeHandle for reasons explained here oneapi-src/unified-runtime#1199

Corresponding UR PR: oneapi-src/unified-runtime#1226

A previous PR added a new entry point #12199 but it was decided that it is better to modify the existing entry point

@hdelan hdelan requested review from a team as code owners January 4, 2024 16:12
@hdelan
Copy link
Contributor Author

hdelan commented Jan 5, 2024

Lint failing because of #12199 (comment)

@steffenlarsen steffenlarsen marked this pull request as draft January 5, 2024 10:58
@steffenlarsen
Copy link
Contributor

Converting to draft while UR changes are still in flight.

@muhammad-tanvir-1211
Copy link

This PR is blocking the following two PRs on oneMKL as all the buffer tests (with accessor interop) are failing for the rocblas backend with PI_ERROR_INVALID_OPERATION.
oneapi-src/oneMKL#428
oneapi-src/oneMKL#425

Logs:
PR_425.txt
PR_428.txt

@hdelan
Copy link
Contributor Author

hdelan commented Jan 23, 2024

Friendly ping @intel/dpcpp-nativecpu-pi-reviewers @intel/unified-runtime-reviewers

@kbenzie
Copy link
Contributor

kbenzie commented Jan 23, 2024

oneapi-src/unified-runtime#1226 needs to merged and the UR tag updated before the UR changes can be approved.

@hdelan
Copy link
Contributor Author

hdelan commented Jan 23, 2024

OK sure. I will add the ready-to-merge tag in the UR PR

Copy link
Contributor

@PietroGhg PietroGhg left a comment

Choose a reason for hiding this comment

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

Native CPU lgtm, thank you

@hdelan
Copy link
Contributor Author

hdelan commented Jan 23, 2024

@kbenzie is it not worth reviewing this before oneapi-src/unified-runtime#1226 is merged? oneapi-src/unified-runtime#1226 is an ABI breaking change so once it is merged, this should be merged immediately.

@kbenzie
Copy link
Contributor

kbenzie commented Jan 31, 2024

@intel/llvm-reviewers-cuda @intel/llvm-reviewers-runtime please review

sycl/source/detail/buffer_impl.cpp Outdated Show resolved Hide resolved
sycl/source/detail/memory_manager.cpp Outdated Show resolved Hide resolved
sycl/source/detail/memory_manager.cpp Outdated Show resolved Hide resolved
sycl/test-e2e/HostInteropTask/interop-task-hip.cpp Outdated Show resolved Hide resolved
sycl/test-e2e/HostInteropTask/interop-task-hip.cpp Outdated Show resolved Hide resolved
sycl/test-e2e/HostInteropTask/interop-task-hip.cpp Outdated Show resolved Hide resolved
Co-authored-by: ldrumm <ldrumm@rtps.co>
Copy link
Contributor

github-actions bot commented Jan 31, 2024

✅ With the latest revision this PR passed the C/C++ code formatter.

Add a comment describing what test4 does and change assert(0) to exit(1) in
check helper and also fix clang-format
Remove some redundant parts of test and add descriptive names
@hdelan
Copy link
Contributor Author

hdelan commented Feb 1, 2024

@ldrumm do these changes address your concerns?

Copy link
Contributor

@ldrumm ldrumm left a comment

Choose a reason for hiding this comment

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

@ldrumm do these changes address your concerns?

Looks like github auto-resolved some of my comments but I don't see that material changes have been made. Other than them it looks ready

Co-authored-by: ldrumm <ldrumm@rtps.co>
@hdelan
Copy link
Contributor Author

hdelan commented Feb 1, 2024

@ldrumm I actually had forgotten to push to the remote last night before finishing. I have just done so and your changes should all have been made. Let me know what you think

@kbenzie
Copy link
Contributor

kbenzie commented Feb 1, 2024

@intel/llvm-reviewers-runtime would really appriciate getting this reviewed ASAP as this is holding up other UR changes.

@ldrumm
Copy link
Contributor

ldrumm commented Feb 1, 2024

@ldrumm I actually had forgotten to push to the remote last night before finishing. I have just done so and your changes should all have been made. Let me know what you think

Thanks. This looks good.

@kbenzie
Copy link
Contributor

kbenzie commented Feb 1, 2024

@intel/llvm-gatekeepers please merge

@ldrumm ldrumm merged commit 8427bd2 into intel:sycl Feb 1, 2024
11 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.

8 participants