-
Notifications
You must be signed in to change notification settings - Fork 802
[SYCL][Bindless] Add interop memory mapping to USM. #14701
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][Bindless] Add interop memory mapping to USM. #14701
Conversation
This patch introduces `map_external_linear_memory` to enable mapping interop memory to linear USM, returning a `void *`. The PI function `piextMemMapExternalLinearMemory` has been added to enable this in the PI layer. A Vulkan test case has been added to test this functionality.
|
Associated UR PR |
| size_t dim0 = it.get_global_id(0); | ||
| size_t dim1 = it.get_global_id(1); | ||
|
|
||
| // Normalize coordinates -- +0.5 to look towards centre of pixel |
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.
thanks for the comment!
|
Friendly ping @intel/dpcpp-nativecpu-pi-reviewers |
uwedolinsky
left a comment
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.
NativeCPU 👍
|
@intel/llvm-gatekeepers Should be ok to merge? Does not touch HIP. Bindless images is not supported on AMD yet. |
|
Merging while HIP CI is stuck, as bindless images are not supported on HIP backend. |
|
@intel/bindless-images-reviewers Could this postcommit fail be related? |
|
I can only imagine it maybe came from oneapi-src/unified-runtime#1880 ? |
|
@intel/unified-runtime-reviewers Can someone please assess the above postcommit fail and see if it could be related to the UR bump added in this PR? Thanks |
we have reason to suspect that #14873 will fix this, if that merges and post-commit is still failing we will revert the bump and investigate further |
|
Seems build passes now, but there are some other postcommit failures. Will post in that PR. Thanks. |
|
@przemektmalon @sarnex this patch (UR TAG update) broke sycl-cts/test_event on linux L0: https://github.com/intel/llvm/actions/runs/10224788809/job/28293133692 Do you know possible reasons? |
|
Adding @intel/bindless-images-reviewers (see above) Can someone please investigate the CTS issue? If we can't fix it quickly probably we should revert this patch. Thanks |
|
@sarnex @KornevNikita I tried that locally and it comes from this PR: oneapi-src/unified-runtime#1880 . I will ping the team for that to see. if there is not a quick fix, will revert that and include the reverted PR in this bump: #14944 |
|
Thanks Omar! |
This patch introduces `map_external_linear_memory` to enable mapping interop memory to linear USM, returning a `void *`. The PI function `piextMemMapExternalLinearMemory` has been added to enable this in the PI layer. A Vulkan test case has been added to test this functionality. --------- Co-authored-by: Duncan Brawley <duncan.brawley@codeplay.com>
This patch introduces
map_external_linear_memoryto enable mapping interop memory to linear USM, returning avoid *.The PI function
piextMemMapExternalLinearMemoryhas been added to enable this in the PI layer.A Vulkan test case has been added to test this functionality.