Skip to content

Commit ac171d5

Browse files
authored
Auto pulldown and update tc files for xmain branch
Auto pulldown and update tc files for xmain branch on 20220818
2 parents 6aca0ac + b5d702a commit ac171d5

File tree

683 files changed

+4209
-3256
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

683 files changed

+4209
-3256
lines changed

External/SPEC/CINT2006/401.bzip2/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@ test_input(ref data/all/input/input.program 280 input.program.out)
2121
test_input(ref data/ref/input/text.html 280 text.html.out)
2222
test_input(ref data/all/input/input.combined 200 input.combined.out)
2323

24+
25+
list(APPEND CFLAGS -Wno-int-conversion)
2426
llvm_test_executable(401.bzip2 ${Source})
2527
llvm_test_data_spec_default(401.bzip2)

Fortran/UnitTests/fcvs21_f95/CMakeLists.txt

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,17 @@ llvm_test_prepare(rm -f %S/fort.*)
3535

3636
# Group 1:
3737
# Tests 905 and 907 use list-directed output, for which the standard allows some
38-
# flexibility, e.g., with regards to how many white space characters or
38+
# flexibility, e.g., with regards to how many white space characters or
3939
# floating point decimals to print. Treat them separately.
40+
# FIXME: Reenable these tests after moving the buildbots from using
41+
# flang-to-external-fc to using flang-new.
4042
set(SPECIAL_CASES "FM905.f" "FM907.f")
41-
set(Source ${SPECIAL_CASES})
42-
set(FP_IGNOREWHITESPACE ON)
43-
llvm_singlesource()
44-
set(Source)
43+
if (NOT CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang")
44+
set(Source ${SPECIAL_CASES})
45+
set(FP_IGNOREWHITESPACE ON)
46+
llvm_singlesource()
47+
set(Source)
48+
endif()
4549

4650
# Group 2:
4751
# Generic case. Make sure to exclude the special cases which have already been
@@ -61,6 +65,20 @@ else()
6165
list(FILTER Source EXCLUDE REGEX "FM509\.f$")
6266
endif()
6367

68+
# Skip some tests that currently fail with flang on AArch64 when using libpgmath.
69+
# FIXME: Reenable these tests after libpgmath is fixed or after we no longer
70+
# depend on it.
71+
if (CMAKE_Fortran_COMPILER_ID STREQUAL "LLVMFlang" AND ARCH STREQUAL "AArch64")
72+
# Regex because the GLOB returns the full path to each file
73+
list(FILTER Source EXCLUDE REGEX "FM813\.f$")
74+
list(FILTER Source EXCLUDE REGEX "FM815\.f$")
75+
list(FILTER Source EXCLUDE REGEX "FM817\.f$")
76+
list(FILTER Source EXCLUDE REGEX "FM820\.f$")
77+
list(FILTER Source EXCLUDE REGEX "FM828\.f$")
78+
list(FILTER Source EXCLUDE REGEX "FM831\.f$")
79+
list(FILTER Source EXCLUDE REGEX "FM833\.f$")
80+
endif()
81+
6482
set(FP_TOLERANCE 1.0e-11) # set by the most sensitive numerical test
6583
set(FP_IGNOREWHITESPACE OFF)
6684
llvm_singlesource()

MultiSource/Applications/Burg/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
list(APPEND CPPFLAGS -DDEBUG)
2-
list(APPEND CFLAGS -std=gnu89)
2+
list(APPEND CFLAGS -std=gnu89 -Wno-int-conversion)
33
set(RUN_OPTIONS < sample.gr)
44

55
include_directories(${CMAKE_CURRENT_BINARY_DIR})

MultiSource/Applications/Burg/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ LEVEL = ../../..
22

33
PROG = burg
44
CPPFLAGS = -DDEBUG
5-
CFLAGS += -std=gnu89
5+
CFLAGS += -std=gnu89 -Wno-int-conversion
66
LDFLAGS = -lstdc++
77

88
STDIN_FILENAME = $(PROJ_SRC_DIR)/sample.gr

MultiSource/Applications/siod/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
list(APPEND CPPFLAGS -D__USE_MISC -D__USE_GNU -D__USE_SVID -D__USE_XOPEN_EXTENDED -D__USE_XOPEN -Dunix)
2-
list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int)
2+
list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion)
33
list(APPEND LDFLAGS -lm)
44
set(RUN_OPTIONS -v1 test.scm)
55
llvm_multisource(siod)

MultiSource/Applications/siod/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
LEVEL = ../../..
22
PROG = siod
33
CPPFLAGS = -D__USE_MISC -D__USE_GNU -D__USE_SVID -D__USE_XOPEN_EXTENDED -D__USE_XOPEN -Dunix
4-
CFLAGS += -Wno-implicit-function-declaration -Wno-implicit-int
4+
CFLAGS += -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion
55
LDFLAGS = -lm $(TOOLLINKOPTS)
66

77
RUN_OPTIONS = -v1 $(PROJ_SRC_DIR)/test.scm
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
list(APPEND CFLAGS -Wno-int-conversion)
12
list(APPEND LDFLAGS -lm)
23
llvm_multisource(assembler)

MultiSource/Benchmarks/Prolangs-C/assembler/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ LEVEL = ../../../..
22

33
PROG = assembler
44
LDFLAGS = -lm
5+
CFLAGS += -Wno-int-conversion
56
include $(LEVEL)/MultiSource/Makefile.multisrc
67

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int)
1+
list(APPEND CFLAGS -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion)
22
set(RUN_OPTIONS parse.y.in -v)
33
llvm_multisource(mybison)
44
llvm_test_data(mybison parse.y.in)

MultiSource/Benchmarks/Prolangs-C/bison/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
LEVEL = ../../../..
22

3-
CFLAGS += -Wno-implicit-function-declaration -Wno-implicit-int
3+
CFLAGS += -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion
44

55
PROG = mybison
66
RUN_OPTIONS = $(PROJ_SRC_DIR)/parse.y.in -v
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
list(APPEND CFLAGS -Wno-int-conversion)
12
llvm_multisource(football)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
LEVEL = ../../../..
22

33
PROG = football
4+
CFLAGS += -Wno-int-conversion
45
include $(LEVEL)/MultiSource/Makefile.multisrc
56

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
list(APPEND CFLAGS -Wno-int-conversion)
12
set(RUN_OPTIONS -v ALL < main.c)
23
llvm_multisource(unix-smail)
34
llvm_test_data(unix-smail main.c)

MultiSource/Benchmarks/Prolangs-C/unix-smail/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
LEVEL = ../../../..
22

33
PROG = unix-smail
4+
CFLAGS += -Wno-int-conversion
45
RUN_OPTIONS = -v ALL
56
STDIN_FILENAME = $(PROJ_SRC_DIR)/main.c
67

MultiSource/Benchmarks/TSVC/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2+
# Expect exact numeric results. However, the libc printf implementation emits
3+
# 'E' in scientific notation, while the reference output contains 'e'.
4+
set(FP_ABSTOLERANCE 0.0)
5+
16
add_subdirectory(ControlFlow-dbl)
27
add_subdirectory(ControlFlow-flt)
38
add_subdirectory(ControlLoops-dbl)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
list(APPEND LDFLAGS -lm)
2-
list(APPEND CFLAGS -std=gnu99)
2+
list(APPEND CFLAGS -std=gnu99 -Wno-int-conversion)
33
set(RUN_OPTIONS 20000 5)
44
llvm_multisource(Recurrences-flt)

MultiSource/Benchmarks/TSVC/Recurrences-flt/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ LEVEL = ../../../..
22

33
PROG = Recurrences-flt
44
LDFLAGS = -lm
5-
CFLAGS += -std=gnu99
5+
CFLAGS += -std=gnu99 -Wno-int-conversion
66
RUN_OPTIONS = 20000 5
77
include $(LEVEL)/MultiSource/Makefile.multisrc
88

MultiSource/Benchmarks/VersaBench/beamformer/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
list(APPEND CFLAGS -Wno-int-conversion)
12
list(APPEND LDFLAGS -lm)
23
if(LARGE_PROBLEM_SIZE)
34
set(RUN_OPTIONS -i 400)

MultiSource/Benchmarks/VersaBench/beamformer/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
LEVEL = ../../../..
22
LDFLAGS += -lm
3-
CFLAGS += -DFP_ABSTOLERANCE=1e-5
3+
CFLAGS += -DFP_ABSTOLERANCE=1e-5 -Wno-int-conversion
44

55
PROG = beamformer
66
ifdef LARGE_PROBLEM_SIZE

SYCL/AOT/Inputs/aot.cpp

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,38 +11,37 @@
1111
#include <array>
1212
#include <iostream>
1313

14-
constexpr cl::sycl::access::mode sycl_read = cl::sycl::access::mode::read;
15-
constexpr cl::sycl::access::mode sycl_write = cl::sycl::access::mode::write;
14+
constexpr sycl::access::mode sycl_read = sycl::access::mode::read;
15+
constexpr sycl::access::mode sycl_write = sycl::access::mode::write;
1616

1717
template <typename T> class SimpleVadd;
1818

1919
template <typename T, size_t N>
2020
void simple_vadd(const std::array<T, N> &VA, const std::array<T, N> &VB,
2121
std::array<T, N> &VC) {
22-
cl::sycl::queue deviceQueue([](cl::sycl::exception_list ExceptionList) {
22+
sycl::queue deviceQueue([](sycl::exception_list ExceptionList) {
2323
for (std::exception_ptr ExceptionPtr : ExceptionList) {
2424
try {
2525
std::rethrow_exception(ExceptionPtr);
26-
} catch (cl::sycl::exception &E) {
26+
} catch (sycl::exception &E) {
2727
std::cerr << E.what();
2828
} catch (...) {
2929
std::cerr << "Unknown async exception was caught." << std::endl;
3030
}
3131
}
3232
});
3333

34-
cl::sycl::range<1> numOfItems{N};
35-
cl::sycl::buffer<T, 1> bufferA(VA.data(), numOfItems);
36-
cl::sycl::buffer<T, 1> bufferB(VB.data(), numOfItems);
37-
cl::sycl::buffer<T, 1> bufferC(VC.data(), numOfItems);
34+
sycl::range<1> numOfItems{N};
35+
sycl::buffer<T, 1> bufferA(VA.data(), numOfItems);
36+
sycl::buffer<T, 1> bufferB(VB.data(), numOfItems);
37+
sycl::buffer<T, 1> bufferC(VC.data(), numOfItems);
3838

39-
deviceQueue.submit([&](cl::sycl::handler &cgh) {
39+
deviceQueue.submit([&](sycl::handler &cgh) {
4040
auto accessorA = bufferA.template get_access<sycl_read>(cgh);
4141
auto accessorB = bufferB.template get_access<sycl_read>(cgh);
4242
auto accessorC = bufferC.template get_access<sycl_write>(cgh);
4343

44-
cgh.parallel_for<class SimpleVadd<T>>(numOfItems,
45-
[=](cl::sycl::id<1> wiID) {
44+
cgh.parallel_for<class SimpleVadd<T>>(numOfItems, [=](sycl::id<1> wiID) {
4645
accessorC[wiID] = accessorA[wiID] + accessorB[wiID];
4746
});
4847
});
@@ -52,10 +51,10 @@ void simple_vadd(const std::array<T, N> &VA, const std::array<T, N> &VB,
5251

5352
int main() {
5453
const size_t array_size = 4;
55-
std::array<cl::sycl::cl_int, array_size> A = {{1, 2, 3, 4}},
56-
B = {{1, 2, 3, 4}}, C;
57-
std::array<cl::sycl::cl_float, array_size> D = {{1.f, 2.f, 3.f, 4.f}},
58-
E = {{1.f, 2.f, 3.f, 4.f}}, F;
54+
std::array<sycl::cl_int, array_size> A = {{1, 2, 3, 4}}, B = {{1, 2, 3, 4}},
55+
C;
56+
std::array<sycl::cl_float, array_size> D = {{1.f, 2.f, 3.f, 4.f}},
57+
E = {{1.f, 2.f, 3.f, 4.f}}, F;
5958
simple_vadd(A, B, C);
6059
simple_vadd(D, E, F);
6160
for (unsigned int i = 0; i < array_size; i++) {

SYCL/Assert/Inputs/kernels_in_file2.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
#include <cassert>
1010

11-
using namespace cl::sycl;
12-
using namespace cl::sycl::access;
11+
using namespace sycl;
12+
using namespace sycl::access;
1313

1414
int calculus(int X) {
1515
assert(X && "this message from calculus");
@@ -21,25 +21,25 @@ void check_nil(int value) { assert(value && "this message from file2"); }
2121
static constexpr size_t BUFFER_SIZE = 4;
2222

2323
void enqueueKernel_1_fromFile2(queue *Q) {
24-
cl::sycl::range<1> numOfItems{BUFFER_SIZE};
25-
cl::sycl::buffer<int, 1> Buf(numOfItems);
24+
sycl::range<1> numOfItems{BUFFER_SIZE};
25+
sycl::buffer<int, 1> Buf(numOfItems);
2626

2727
Q->submit([&](handler &CGH) {
2828
auto Acc = Buf.template get_access<mode::read_write>(CGH);
2929

3030
CGH.parallel_for<class kernel1_from_separate_file>(
31-
numOfItems, [=](cl::sycl::id<1> wiID) { check_nil(Acc[wiID]); });
31+
numOfItems, [=](sycl::id<1> wiID) { check_nil(Acc[wiID]); });
3232
});
3333
}
3434

3535
void enqueueKernel_2_fromFile2(queue *Q) {
36-
cl::sycl::range<1> numOfItems{BUFFER_SIZE};
37-
cl::sycl::buffer<int, 1> Buf(numOfItems);
36+
sycl::range<1> numOfItems{BUFFER_SIZE};
37+
sycl::buffer<int, 1> Buf(numOfItems);
3838

3939
Q->submit([&](handler &CGH) {
4040
auto Acc = Buf.template get_access<mode::read_write>(CGH);
4141

4242
CGH.parallel_for<class kernel2_from_separate_file>(
43-
numOfItems, [=](cl::sycl::id<1> wiID) { check_nil(Acc[wiID]); });
43+
numOfItems, [=](sycl::id<1> wiID) { check_nil(Acc[wiID]); });
4444
});
4545
}

SYCL/Assert/assert_in_kernels.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// REQUIRES: linux
2-
// FIXME unsupported on HIP until fallback libdevice becomes available
3-
// UNSUPPORTED: hip
42
// RUN: %clangxx -DSYCL_FALLBACK_ASSERT=1 -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
53
// RUN: %CPU_RUN_PLACEHOLDER %t.out &> %t.txt || true
64
// RUN: %CPU_RUN_PLACEHOLDER FileCheck %s --input-file %t.txt
@@ -11,12 +9,12 @@
119
// RUN: %ACC_RUN_PLACEHOLDER FileCheck %s --check-prefix=CHECK-ACC --input-file %t.txt
1210
//
1311
// CHECK-NOT: One shouldn't see this message
14-
// CHECK: {{.*}}assert_in_kernels.hpp:26: void kernelFunc2(int *, int): {{.*}} [{{[0,2]}},0,0], {{.*}} [0,0,0]
12+
// CHECK: {{.*}}assert_in_kernels.hpp:25: void kernelFunc2(int *, int): {{.*}} [{{[0,2]}},0,0], {{.*}} [0,0,0]
1513
// CHECK-SAME: Assertion `Buf[wiID] == 0 && "from assert statement"` failed.
1614
// CHECK-NOT: test aborts earlier, one shouldn't see this message
1715
// CHECK-NOT: The test ended.
1816
//
19-
// CHECK-ACC-NOT: {{.*}}assert_in_kernels.hpp:26: void kernelFunc2(int *, int): {{.*}} [{{[0,2]}},0,0], {{.*}} [0,0,0]
17+
// CHECK-ACC-NOT: {{.*}}assert_in_kernels.hpp:25: void kernelFunc2(int *, int): {{.*}} [{{[0,2]}},0,0], {{.*}} [0,0,0]
2018
// CHECK-ACC: The test ended.
2119

2220
#include "assert_in_kernels.hpp"

SYCL/Assert/assert_in_kernels.hpp

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
#include <iostream>
33
#include <sycl/sycl.hpp>
44

5-
using namespace cl::sycl;
6-
using namespace cl::sycl::access;
5+
using namespace sycl;
6+
using namespace sycl::access;
77

88
void kernelFunc1(int *Buf, int wiID) {
99
Buf[wiID] = 9;
@@ -15,8 +15,7 @@ void assertTest1(queue &Q, buffer<int, 1> &Buf) {
1515
auto Acc = Buf.template get_access<mode::read_write>(CGH);
1616

1717
CGH.parallel_for<class Kernel_1>(
18-
Buf.get_range(),
19-
[=](cl::sycl::id<1> wiID) { kernelFunc1(&Acc[0], wiID); });
18+
Buf.get_range(), [=](sycl::id<1> wiID) { kernelFunc1(&Acc[0], wiID); });
2019
});
2120
}
2221

@@ -31,8 +30,7 @@ void assertTest2(queue &Q, buffer<int, 1> &Buf) {
3130
auto Acc = Buf.template get_access<mode::read_write>(CGH);
3231

3332
CGH.parallel_for<class Kernel_2>(
34-
Buf.get_range(),
35-
[=](cl::sycl::id<1> wiID) { kernelFunc2(&Acc[0], wiID); });
33+
Buf.get_range(), [=](sycl::id<1> wiID) { kernelFunc2(&Acc[0], wiID); });
3634
});
3735
}
3836

@@ -47,15 +45,14 @@ void assertTest3(queue &Q, buffer<int, 1> &Buf) {
4745
auto Acc = Buf.template get_access<mode::read_write>(CGH);
4846

4947
CGH.parallel_for<class Kernel_3>(
50-
Buf.get_range(),
51-
[=](cl::sycl::id<1> wiID) { kernelFunc3(&Acc[0], wiID); });
48+
Buf.get_range(), [=](sycl::id<1> wiID) { kernelFunc3(&Acc[0], wiID); });
5249
});
5350
}
5451

5552
int main(int Argc, const char *Argv[]) {
5653
std::array<int, 4> Vec = {1, 2, 3, 4};
57-
cl::sycl::range<1> numOfItems{Vec.size()};
58-
cl::sycl::buffer<int, 1> Buf(Vec.data(), numOfItems);
54+
sycl::range<1> numOfItems{Vec.size()};
55+
sycl::buffer<int, 1> Buf(Vec.data(), numOfItems);
5956

6057
queue Q;
6158
assertTest1(Q, Buf);

SYCL/Assert/assert_in_kernels_ndebug.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// FIXME unsupported on HIP until fallback libdevice becomes available
2-
// UNSUPPORTED: hip
31
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -DNDEBUG %S/assert_in_kernels.cpp -o %t.out
42
// RUN: %CPU_RUN_PLACEHOLDER %t.out %CPU_CHECK_PLACEHOLDER
53
// RUN: %GPU_RUN_PLACEHOLDER %t.out %GPU_CHECK_PLACEHOLDER

SYCL/Assert/assert_in_kernels_win.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
// REQUIRES: windows
2-
// UNSUPPORTED: hip
32
// RUN: %clangxx -DSYCL_FALLBACK_ASSERT=1 -fsycl -fsycl-targets=%sycl_triple %s -o %t.out
43
// RUN: %CPU_RUN_PLACEHOLDER %t.out &> %t.txt || true
54
// RUN: %CPU_RUN_PLACEHOLDER FileCheck %s --input-file %t.txt
@@ -12,12 +11,12 @@
1211
// CHECK-NOT: One shouldn't see this message
1312
// FIXME Windows version prints '(null)' instead of '<unknown func>' once in a
1413
// while for some insane reason.
15-
// CHECK: {{.*}}assert_in_kernels.hpp:26: {{<unknown func>|(null)}}: {{.*}} [{{[0,2]}},0,0], {{.*}} [0,0,0]
14+
// CHECK: {{.*}}assert_in_kernels.hpp:25: {{<unknown func>|(null)}}: {{.*}} [{{[0,2]}},0,0], {{.*}} [0,0,0]
1615
// CHECK-SAME: Assertion `Buf[wiID] == 0 && "from assert statement"` failed.
1716
// CHECK-NOT: test aborts earlier, one shouldn't see this message
1817
// CHECK-NOT: The test ended.
1918
//
20-
// CHECK-ACC-NOT: {{.*}}assert_in_kernels.hpp:26: {{<unknown func>|(null)}}: {{.*}} [{{[0,2]}},0,0], {{.*}} [0,0,0]
19+
// CHECK-ACC-NOT: {{.*}}assert_in_kernels.hpp:25: {{<unknown func>|(null)}}: {{.*}} [{{[0,2]}},0,0], {{.*}} [0,0,0]
2120
// CHECK-ACC: The test ended.
2221

2322
#include "assert_in_kernels.hpp"

SYCL/Assert/assert_in_multiple_tus.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// REQUIRES: linux
2-
// FIXME unsupported on HIP until fallback libdevice becomes available
3-
// UNSUPPORTED: hip
42
// RUN: %clangxx -DSYCL_FALLBACK_ASSERT=1 -fsycl -fsycl-targets=%sycl_triple -I %S/Inputs %s %S/Inputs/kernels_in_file2.cpp -o %t.out
53
// RUN: %CPU_RUN_PLACEHOLDER %t.out &> %t.txt || true
64
// RUN: %CPU_RUN_PLACEHOLDER FileCheck %s --input-file %t.txt

0 commit comments

Comments
 (0)