-
Notifications
You must be signed in to change notification settings - Fork 798
[SYCL] Add ext_oneapi_unified_runtime SYCL backend #7765
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
Signed-off-by: Sergey V Maslov <[email protected]>
* Fix issues on level_zero build based on FetchContent * Remove installation of level_zero loader into the toolchain * Fix dependencies At this point there are undefined references at unified runtime link as .so library. WIP.
* Keep global CMAKE_INCLUDE_CURRENT_DIR=ON like llvm sets it. Instead turning it OFF for level_zero build * adding ze_loader to unified runtime deps
Signed-off-by: Sergey V Maslov <[email protected]>
Signed-off-by: Sergey V Maslov <[email protected]>
Now build is successful
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]>
Signed-off-by: Sergey V Maslov <[email protected]>
Co-authored-by: Steffen Larsen <[email protected]>
Co-authored-by: Steffen Larsen <[email protected]>
…ero.cpp Co-authored-by: Steffen Larsen <[email protected]>
…ero.hpp Co-authored-by: Steffen Larsen <[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]>
@againull : @sergey-semenov : please review fac63e9 |
if (!Platform.get_devices(info::device_type::all).empty()) | ||
Platforms.push_back(Platform); | ||
// if (!Platform.get_devices(info::device_type::all).empty()) | ||
Platforms.push_back(Platform); |
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.
As far as I understand unified runtime doesn't expose any devices yet and probably that's why this change was made for testing. Should we uncomment it for now? Or do we actually want to include platforms without devices?
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.
That's right, no devices. And I couldn't find in SYCL spec that platforms without devices should not be exposed.
Just minor comments, other than that fac63e9 looks good to me. |
moved to #7816 |
This PR adds new backend to SYCL: ext_oneapi_unified_runtime
E2E test: intel/llvm-test-suite#1450
NOTE: only review changes since fac63e9
The backend is being implemented by the plugin in #7521
Plugin is still gated by #7730