Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL][Level Zero] Don't expect ZE_MEMORY_ADVICE_SET_READ_MOSTLY for read-only USM #1426

Merged
merged 2 commits into from
Dec 2, 2022
Merged
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
2 changes: 1 addition & 1 deletion SYCL/USM/shared_read_only.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ int main() {
auto *p2 = sycl::malloc_shared<float>(42, q);

// CHECK: zeMemAllocShared
// CHECK: {{zeCommandListAppendMemAdvise.*ZE_MEMORY_ADVICE_SET_READ_MOSTLY}}
// TODO: Level Zero doesn't have API to communicate read-only guarantee yet.
// CHECK: {{zeCommandListAppendMemAdvise.*ZE_MEMORY_ADVICE_SET_PREFERRED_LOCATION*}}
// CHECK: zeMemAllocShared
// CHECK-NOT: MemAdvise
Expand Down