Skip to content

Commit 66429d5

Browse files
authored
[SYCL] Add sycl-jit e2e feature (#19724)
The project may be built with --disable-jit. Updating the tests that fail without this feature.
1 parent 04ed90f commit 66429d5

13 files changed

+26
-11
lines changed

sycl/test-e2e/KernelCompiler/sycl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: aspect-usm_device_allocations
9+
// REQUIRES: sycl-jit, aspect-usm_device_allocations
1010

1111
// RUN: %{build} -o %t.out
1212
// RUN: %if hip %{ env SYCL_JIT_AMDGCN_PTX_TARGET_CPU=%{amd_arch} %} %{l0_leak_check} %{run} %t.out

sycl/test-e2e/KernelCompiler/sycl_basic.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: aspect-usm_device_allocations
9+
// REQUIRES: sycl-jit, aspect-usm_device_allocations
1010

1111
// RUN: %{build} -o %t.out
1212
// RUN: %if hip %{ env SYCL_JIT_AMDGCN_PTX_TARGET_CPU=%{amd_arch} %} %{l0_leak_check} %{run} %t.out

sycl/test-e2e/KernelCompiler/sycl_cache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// target. Don't run eviction check for CUDA/HIP, so that we don't have to find
1313
// a magic number that works for all binaries (and by definition is flaky).
1414

15-
// REQUIRES: aspect-usm_device_allocations
15+
// REQUIRES: sycl-jit, aspect-usm_device_allocations
1616

1717
// DEFINE: %{cache_vars} = env SYCL_CACHE_PERSISTENT=1 SYCL_CACHE_TRACE=7 SYCL_CACHE_DIR=%t/cache_dir
1818
// DEFINE: %{max_cache_size} = SYCL_CACHE_MAX_SIZE=30000

sycl/test-e2e/KernelCompiler/sycl_cache_pm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
// REQUIRES: (opencl || level_zero)
10-
// REQUIRES: aspect-usm_device_allocations
10+
// REQUIRES: sycl-jit, aspect-usm_device_allocations
1111

1212
// -- Test the kernel_compiler with SYCL source.
1313
// RUN: %{build} -o %t.out

sycl/test-e2e/KernelCompiler/sycl_device_globals.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: aspect-usm_device_allocations
9+
// REQUIRES: sycl-jit, aspect-usm_device_allocations
1010

1111
// UNSUPPORTED: opencl && gpu
1212
// UNSUPPORTED-TRACKER: GSD-4287

sycl/test-e2e/KernelCompiler/sycl_imf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: aspect-usm_device_allocations
9+
// REQUIRES: sycl-jit, aspect-usm_device_allocations
1010
// REQUIRES: (opencl || level_zero)
1111

1212
// UNSUPPORTED: accelerator

sycl/test-e2e/KernelCompiler/sycl_include_paths.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: aspect-usm_device_allocations
9+
// REQUIRES: sycl-jit, aspect-usm_device_allocations
1010

1111
// RUN: %{build} -o %t.out
1212
// RUN: %if hip %{ env SYCL_JIT_AMDGCN_PTX_TARGET_CPU=%{amd_arch} %} %{run} %t.out %S | FileCheck %s --check-prefixes=CHECK,CHECK-NOCWD

sycl/test-e2e/KernelCompiler/sycl_join.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: aspect-usm_shared_allocations
9+
// REQUIRES: sycl-jit, aspect-usm_shared_allocations
1010

1111
// RUN: %{build} -o %t.out
1212
// RUN: %if hip %{ env SYCL_JIT_AMDGCN_PTX_TARGET_CPU=%{amd_arch} %} %{run} %t.out

sycl/test-e2e/KernelCompiler/sycl_lifetimes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: aspect-usm_device_allocations
9+
// REQUIRES: sycl-jit, aspect-usm_device_allocations
1010

1111
// RUN: %{build} -o %t.out
1212
// RUN: %if hip %{ env SYCL_JIT_AMDGCN_PTX_TARGET_CPU=%{amd_arch} %} env SYCL_UR_TRACE=-1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s

sycl/test-e2e/KernelCompiler/sycl_namespaces.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
// REQUIRES: aspect-usm_device_allocations
9+
// REQUIRES: sycl-jit, aspect-usm_device_allocations
1010

1111
// RUN: %{build} -o %t.out
1212
// RUN: %if hip %{ env SYCL_JIT_AMDGCN_PTX_TARGET_CPU=%{amd_arch} %} %{l0_leak_check} %{run} %t.out

0 commit comments

Comments
 (0)