-
Notifications
You must be signed in to change notification settings - Fork 791
[SYCL][L0] POC for code re-use between PI L0 Plugin and UR L0 Adapter #7293
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
sycl/plugins/unified_runtime/adapters/level_zero/ur_level_zero.hpp
Outdated
Show resolved
Hide resolved
Looks like IP scan is failing. From http://icl-jenkins.sc.intel.com:8080/blue/organizations/jenkins/SYCL_CI%2Fintel%2FProtexIP/detail/ProtexIP/13180/pipeline/95
@bmyates : any idea how to fix this? (I don't even see what it doesn't like) |
sycl/plugins/unified_runtime/adapters/level_zero/ur_level_zero.hpp
Outdated
Show resolved
Hide resolved
sycl/plugins/unified_runtime/adapters/level_zero/ur_level_zero.hpp
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.
LGTM
Hi @smaslov-intel, Thanks for making a start with this, it's good to see some Unified Runtime code being written 😁 I've taken a look at the PR and it looks good, I just wanted to check my understanding on a couple of things (I'm new to the PI architecture as it currently exists, so I may have gotten the wrong end of the stick here). This PR aims to re-use code between the PI L0 plugin and the UR L0 Adapter. To that end you've moved the The MR also starts implementing the PI API on top of the UR API by implementing Does the above sound roughly correct, or have I got this totally wrong. Cheers, Jack. |
sycl/plugins/unified_runtime/adapters/level_zero/ur_level_zero.hpp
Outdated
Show resolved
Hide resolved
We are intending to change the prefix used for Unified Runtime from |
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
That's about right! There is currently no UR L0 Adapter, and this is my next step: move (most of) the code from "piPlatformsGet" of L0 PI plugin to "zerPlatformGet" of UR L0 adapter, and share it meanwhile with the L0 PI path via the "_ur_level_zero_platform". |
Signed-off-by: Sergey V Maslov <[email protected]>
Can this be merged now? My immediate next step is to introduce true "unified_runtime" backend (not yet working due to very limited functionality in it yet) |
I don't want to block progress on this, and you've addressed my comments, so from my perspective I'm happy for this to merged. Probably worth baring in mind though that this is likely to break as we iterate on the UR spec as Benie said. |
Thanks to @pvchupin we have a better build now. |
Co-authored-by: Pavel Chupin <[email protected]>
Corresponding fix was merged
#7330 for barrier_order.cpp fail |
Moved (with slightest changes) the minimal viable amount of L0 Plugin code to form a future Unified Runtime and Unified Runtime L0 Adapter. The same code is used for L0 Plugin and UR. The immediate next step would be to enable build/use of PI UR as a new backend of SYCL RT.
Signed-off-by: Sergey V Maslov [email protected]