Skip to content

Commit 8324bb2

Browse files
authored
[SYCL][E2E] Add InlineAsm/lit.local.cfg to clean up REQUIRES/UNSUPPORTED (#16311)
All test in this folder use `REQUIRES: gpu,linux` and `UNSUPPORTED: cuda, hip`. So using a lit.local.cfg file makes sense here.
1 parent f7fc46d commit 8324bb2

36 files changed

+54
-113
lines changed

sycl/test-e2e/InlineAsm/Negative/asm_bad_opcode.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// UNSUPPORTED: cuda || hip
2-
// REQUIRES: gpu,linux,sg-16
1+
// REQUIRES: sg-16
32
// RUN: %{build} -o %t.out
43
// RUN: %{run} %t.out
54

6-
#include "../include/asmhelper.h"
5+
#include "include/asmhelper.h"
76
#include <sycl/detail/core.hpp>
87

98
struct KernelFunctor {

sycl/test-e2e/InlineAsm/Negative/asm_bad_operand_syntax.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// UNSUPPORTED: cuda || hip
2-
// REQUIRES: gpu,linux,sg-16
1+
// REQUIRES: sg-16
32
// RUN: %{build} -o %t.out
43
// RUN: %{run} %t.out
54

6-
#include "../include/asmhelper.h"
5+
#include "include/asmhelper.h"
76
#include <sycl/detail/core.hpp>
87

98
struct KernelFunctor {

sycl/test-e2e/InlineAsm/Negative/asm_duplicate_label.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// UNSUPPORTED: cuda || hip
2-
// REQUIRES: gpu,linux,sg-16
1+
// REQUIRES: sg-16
32
// RUN: %{build} -o %t.out
43
// RUN: %{run} %t.out
54

6-
#include "../include/asmhelper.h"
5+
#include "include/asmhelper.h"
76
#include <sycl/detail/core.hpp>
87

98
struct KernelFunctor {

sycl/test-e2e/InlineAsm/Negative/asm_illegal_exec_size.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// UNSUPPORTED: cuda || hip
2-
// REQUIRES: gpu,linux,sg-16
1+
// REQUIRES: sg-16
32
// RUN: %{build} -o %t.out
43
// RUN: %{run} %t.out
54

6-
#include "../include/asmhelper.h"
5+
#include "include/asmhelper.h"
76
#include <sycl/detail/core.hpp>
87

98
struct KernelFunctor {

sycl/test-e2e/InlineAsm/Negative/asm_missing_label.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// UNSUPPORTED: cuda || hip
2-
// REQUIRES: gpu,linux,sg-16
1+
// REQUIRES: sg-16
32
// RUN: %{build} -o %t.out
43
// RUN: %{run} %t.out
54

6-
#include "../include/asmhelper.h"
5+
#include "include/asmhelper.h"
76
#include <sycl/detail/core.hpp>
87

98
struct KernelFunctor {

sycl/test-e2e/InlineAsm/Negative/asm_missing_region.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// UNSUPPORTED: cuda || hip
2-
// REQUIRES: gpu,linux,sg-16
1+
// REQUIRES: sg-16
32
// RUN: %{build} -o %t.out
43
// RUN: %{run} %t.out
54

6-
#include "../include/asmhelper.h"
5+
#include "include/asmhelper.h"
76
#include <sycl/detail/core.hpp>
87

98
struct KernelFunctor {

sycl/test-e2e/InlineAsm/Negative/asm_simple.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// UNSUPPORTED: cuda || hip
2-
// REQUIRES: gpu,linux,sg-16
1+
// REQUIRES: sg-16
32
// RUN: %{build} -o %t.out
43
// RUN: %{run} %t.out
54

6-
#include "../include/asmhelper.h"
5+
#include "include/asmhelper.h"
76
#include <sycl/detail/core.hpp>
87

98
struct KernelFunctor {

sycl/test-e2e/InlineAsm/Negative/asm_undefined_decl.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// UNSUPPORTED: cuda || hip
2-
// REQUIRES: gpu,linux,sg-16
1+
// REQUIRES: sg-16
32
// RUN: %{build} -o %t.out
43
// RUN: %{run} %t.out
54

6-
#include "../include/asmhelper.h"
5+
#include "include/asmhelper.h"
76
#include <sycl/detail/core.hpp>
87

98
struct KernelFunctor {

sycl/test-e2e/InlineAsm/Negative/asm_undefined_pred.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// UNSUPPORTED: cuda || hip
2-
// REQUIRES: gpu,linux,sg-16
1+
// REQUIRES: sg-16
32
// RUN: %{build} -o %t.out
43
// RUN: %{run} %t.out
54

6-
#include "../include/asmhelper.h"
5+
#include "include/asmhelper.h"
76
#include <sycl/detail/core.hpp>
87

98
struct KernelFunctor {

sycl/test-e2e/InlineAsm/Negative/asm_wrong_declare.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
// UNSUPPORTED: cuda || hip
2-
// REQUIRES: gpu,linux,sg-16
1+
// REQUIRES: sg-16
32
// RUN: %{build} -o %t.out
43
// RUN: %{run} %t.out
54

6-
#include "../include/asmhelper.h"
5+
#include "include/asmhelper.h"
76
#include <sycl/detail/core.hpp>
87

98
struct KernelFunctor {

0 commit comments

Comments
 (0)