Skip to content

Commit 66c9071

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

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)