Skip to content

[SYCL] move usm_allocator to UR #7820

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

Merged
merged 1 commit into from
Dec 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sycl/plugins/level_zero/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,13 @@ add_sycl_plugin(level_zero
"../unified_runtime/pi2ur.cpp"
"../unified_runtime/ur/ur.hpp"
"../unified_runtime/ur/ur.cpp"
"../unified_runtime/ur/usm_allocator.cpp"
"../unified_runtime/ur/usm_allocator.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero.hpp"
"../unified_runtime/ur/adapters/level_zero/ur_level_zero.cpp"
# Following are the PI Level-Zero Plugin only codes.
"pi_level_zero.cpp"
"pi_level_zero.hpp"
"usm_allocator.cpp"
"usm_allocator.hpp"
"tracing.cpp"
${XPTI_PROXY_SRC}
INCLUDE_DIRS
Expand Down
1 change: 0 additions & 1 deletion sycl/plugins/level_zero/pi_level_zero.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <zet_api.h>

#include "ur_bindings.hpp"
#include "usm_allocator.hpp"

extern "C" {
// Forward declarartions.
Expand Down
3 changes: 1 addition & 2 deletions sycl/plugins/level_zero/pi_level_zero.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
// Share code between this PI L0 Plugin and UR L0 Adapter
#include <pi2ur.hpp>
#include <ur/adapters/level_zero/ur_level_zero.hpp>

#include "usm_allocator.hpp"
#include <ur/usm_allocator.hpp>

template <class To, class From> To pi_cast(From Value) {
// TODO: see if more sanity checks are possible.
Expand Down
2 changes: 2 additions & 0 deletions sycl/plugins/unified_runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ add_sycl_plugin(unified_runtime
"ur/ur.cpp"
"ur/adapters/level_zero/ur_level_zero.hpp"
"ur/adapters/level_zero/ur_level_zero.cpp"
"ur/usm_allocator.hpp"
"ur/usm_allocator.cpp"
# These below belong to Unified Runtime PI Plugin only
"pi_unified_runtime.hpp"
"pi_unified_runtime.cpp"
Expand Down