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

Commit 94b6509

Browse files
[SYCL][Level Zero] Don't expect ZE_MEMORY_ADVICE_SET_READ_MOSTLY for read-only USM (#1426)
There are issues in the underlying Level Zero RT causing stability problems. This partially reverts #1409 and is needed for intel/llvm#7601.
1 parent c873dbc commit 94b6509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCL/USM/shared_read_only.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ int main() {
1111
auto *p2 = sycl::malloc_shared<float>(42, q);
1212

1313
// CHECK: zeMemAllocShared
14-
// CHECK: {{zeCommandListAppendMemAdvise.*ZE_MEMORY_ADVICE_SET_READ_MOSTLY}}
14+
// TODO: Level Zero doesn't have API to communicate read-only guarantee yet.
1515
// CHECK: {{zeCommandListAppendMemAdvise.*ZE_MEMORY_ADVICE_SET_PREFERRED_LOCATION*}}
1616
// CHECK: zeMemAllocShared
1717
// CHECK-NOT: MemAdvise

0 commit comments

Comments
 (0)