From d7803db15dc5cfd231ee0ee11d7d339e0dff7cf7 Mon Sep 17 00:00:00 2001 From: Lorenc Bushi Date: Fri, 9 Feb 2024 15:50:57 -0800 Subject: [PATCH] Rewrite tests using malloc_device and fix casing --- sycl/test-e2e/KernelAndProgram/disable-caching.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sycl/test-e2e/KernelAndProgram/disable-caching.cpp b/sycl/test-e2e/KernelAndProgram/disable-caching.cpp index cd937a5adf207..c50e23b1c17c4 100644 --- a/sycl/test-e2e/KernelAndProgram/disable-caching.cpp +++ b/sycl/test-e2e/KernelAndProgram/disable-caching.cpp @@ -6,7 +6,6 @@ // RUN: | FileCheck %s // RUN: env ZE_DEBUG=-6 SYCL_PI_TRACE=-1 %{run} %t.out \ // RUN: | FileCheck %s --check-prefixes=CHECK-CACHE -// REQUIRES: aspect-usm_shared_allocations #include using namespace sycl; @@ -75,7 +74,7 @@ int main() { // CHECK-CACHE: piKernelRelease // CHECK-CACHE: piProgramRelease // CHECK-CACHE: piEventsWait - auto *p = malloc_shared(1, q); + auto *p = malloc_device(1, q); for (int i = 0; i < 2; ++i) q.submit([&](handler &cgh) { cgh.set_specialization_constant(i);