Skip to content

Conversation

@al42and
Copy link
Contributor

@al42and al42and commented Sep 18, 2023

Useful when building without level_zero plugin.

Previously, only level_zero was adding unified_runtime, but now cuda,
hip, and native_cpu require it as well.
@al42and al42and requested a review from a team as a code owner September 18, 2023 22:20
@al42and al42and requested a review from bso-intel September 18, 2023 22:20
@al42and al42and requested a review from a team as a code owner September 18, 2023 22:35
Threads::Threads
UnifiedRuntimeLoader
UnifiedRuntime-Headers
LevelZeroLoader-Headers # we need for #include <ze_api.h> in common.h
Copy link
Contributor Author

Choose a reason for hiding this comment

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

No common.h in sight, and nothing in sycl/plugins/unified_runtime/ rely on level_zero except the corresponding adapter.

Copy link
Contributor

@smaslov-intel smaslov-intel left a comment

Choose a reason for hiding this comment

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

LGTM

Conflicts:
	sycl/plugins/CMakeLists.txt
	sycl/plugins/unified_runtime/CMakeLists.txt
@al42and
Copy link
Contributor Author

al42and commented Oct 22, 2023

Will wait for #11566 to be merged before resolving the conflicts here

@againull
Copy link
Contributor

al42and, #11566 got merged, could you please resolve conflicts so that we can merge this PR as well.

@al42and
Copy link
Contributor Author

al42and commented Oct 24, 2023

After the CMake changes associated with moving plugins to the external repo, this PR does not seem to be necessary anymore. At least in my tests, DCP++ builds just fine with OpenCL or HIP alone :)

@al42and al42and closed this Oct 24, 2023
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.

5 participants