Skip to content

Commit

Permalink
Rewrite tests using malloc_device and fix casing
Browse files Browse the repository at this point in the history
  • Loading branch information
lbushi25 committed Feb 9, 2024
1 parent 971e875 commit d7803db
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sycl/test-e2e/KernelAndProgram/disable-caching.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <sycl/sycl.hpp>

using namespace sycl;
Expand Down Expand Up @@ -75,7 +74,7 @@ int main() {
// CHECK-CACHE: piKernelRelease
// CHECK-CACHE: piProgramRelease
// CHECK-CACHE: piEventsWait
auto *p = malloc_shared<int>(1, q);
auto *p = malloc_device<int>(1, q);
for (int i = 0; i < 2; ++i)
q.submit([&](handler &cgh) {
cgh.set_specialization_constant<spec_id>(i);
Expand Down

0 comments on commit d7803db

Please sign in to comment.