Skip to content

Commit 4157203

Browse files
authored
[SYCL][E2E] Remove RUNx lines (#16032)
This PR updates the tests containing RUNx lines. Some of them are turned back on. The rest is updated.
1 parent c001520 commit 4157203

File tree

8 files changed

+22
-16
lines changed

8 files changed

+22
-16
lines changed

sycl/test-e2e/Basic/fpga_tests/fpga_io_pipes.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// REQUIRES: accelerator
2-
// RUN: %{build} -o %t.out
3-
// RUNx: %{run} %t.out
1+
// RUN: %{build} -fsyntax-only -o %t.out
2+
// TODO: launch the test if the feature is supported.
43
//==------------ fpga_io_pipes.cpp - SYCL FPGA pipes test ------------------==//
54
//
65
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

sycl/test-e2e/Graph/Explicit/host_task_last.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
44
// RUN: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %}
55

6-
// Disabled due to https://github.com/intel/llvm/issues/14473
6+
// clang-format off
77
// Extra run to check for immediate-command-list in Level Zero
8-
// RUNx: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %}
8+
// TODO: enable the run-line below when the issue is fixed - https://github.com/intel/llvm/issues/14473
9+
// %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %}
10+
// clang-format on
911

1012
// REQUIRES: aspect-usm_shared_allocations
1113

sycl/test-e2e/Graph/RecordReplay/host_task_last.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
// Extra run to check for leaks in Level Zero using UR_L0_LEAKS_DEBUG
44
// RUN: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=0 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %}
55

6-
// Disabled due to https://github.com/intel/llvm/issues/14473
6+
// clang-format off
77
// Extra run to check for immediate-command-list in Level Zero
8-
// RUNx: %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %}
8+
// TODO: enable the run below when the issue is fixed - https://github.com/intel/llvm/issues/14473
9+
// %if level_zero %{env SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1 %{l0_leak_check} %{run} %t.out 2>&1 | FileCheck %s --implicit-check-not=LEAK %}
10+
// clang-format on
911

1012
// REQUIRES: aspect-usm_shared_allocations
1113

sycl/test-e2e/OptionalKernelFeatures/fp64-conv-emu.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// REQUIRES: ocloc, gpu, linux
1+
// REQUIRES: ocloc, gpu, linux, aspect-fp64
22
// UNSUPPORTED: cuda, hip
33

44
// RUN: %clangxx -fsycl -fsycl-targets=spir64_gen -Xsycl-target-backend "-device pvc" -fsycl-fp64-conv-emu -O0 %s -o %t_opt.out
5-
// TODO: Enable when GPU driver is updated.
6-
// RUNx: %{run} %t_opt.out
5+
// RUN: %{run} %t_opt.out
76

87
// Tests that aspect::fp64 is not emitted correctly when -fsycl-fp64-conv-emu
98
// flag is used.

sycl/test-e2e/Regression/isordered.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
// REQUIRES: aspect-fp64, aspect-fp16
12
// RUN: %{build} -o %t.out
2-
// RUNx: %{run} %t.out
3+
// RUN: %{run} %t.out
34

45
#include <sycl/detail/core.hpp>
56

sycl/test-e2e/Regression/mad_sat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// RUN: %{build} -Wno-error=integer-overflow -Wno-error=implicitly-unsigned-literal -o %t.out
2-
// RUNx: %{run} %t.out
2+
// RUN: %{run} %t.out
33

44
#include <sycl/detail/core.hpp>
55

sycl/test-e2e/SharedLib/use_with_dlopen.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@
1414
// RUN: %{run} %t3.out
1515

1616
// This causes SEG. FAULT.
17-
// RUNx: %{compile} -o %t4.out -DRUN_LAST
18-
// RUNx: %{run} %t4.out
17+
// Enable the lines below when the issue is fixed:
18+
// https://github.com/intel/llvm/issues/16031
19+
// %{compile} -o %t4.out -DRUN_LAST
20+
// %{run} %t4.out
1921

2022
#include <sycl/detail/core.hpp>
2123

sycl/test-e2e/SharedLib/use_with_dlopen_verify_cache.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515

1616
// clang-format off
1717
// This causes SEG. FAULT.
18-
// RUNx: %{compile} -DRUN_LAST
19-
// RUNx: env SYCL_UR_TRACE=2 %{run} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-LAST,CHECK --implicit-check-not=piProgramBuild
18+
// Enable the lines below when the issue is fixed - https://github.com/intel/llvm/issues/16031
19+
// %{compile} -DRUN_LAST
20+
// env SYCL_UR_TRACE=2 %{run} %t.out 2>&1 | FileCheck %s --check-prefixes=CHECK-LAST,CHECK --implicit-check-not=piProgramBuild
2021
// clang-format on
2122

2223
#include <sycl/detail/core.hpp>

0 commit comments

Comments
 (0)