Skip to content

Conversation

smaslov-intel
Copy link
Contributor

@smaslov-intel smaslov-intel commented Dec 13, 2022

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

smaslov-intel and others added 28 commits December 1, 2022 20:33
* 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]>
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]>
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]>
@smaslov-intel smaslov-intel requested review from a team as code owners December 13, 2022 19:54
@smaslov-intel
Copy link
Contributor Author

@againull : @sergey-semenov : please review fac63e9

Comment on lines -129 to +130
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);
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@againull
Copy link
Contributor

Just minor comments, other than that fac63e9 looks good to me.

@smaslov-intel
Copy link
Contributor Author

moved to #7816

@bader bader deleted the ur_backend branch December 23, 2022 01:13
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.

2 participants