Skip to content

Commit 19880a5

Browse files
authored
[SYCL][E2E] Temporarily re-enable Basic/fpga_tests/fpga_pipes.cpp (#14627)
I am unable to recreate #14308, and there is not enough information about when this case flakes. To collect this information, I have: - Re-enabled fpga_pipes.cpp - Added debug prints Which would provide more insight when the test fails.
1 parent 0119d48 commit 19880a5

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

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

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// REQUIRES: accelerator
22
// https://github.com/intel/llvm/issues/14308
3-
// UNSUPPORTED: accelerator
3+
// Temporarily re-enabled for testing purposes.
4+
// If you are facing issues with this test, please leave a comment in:
5+
// https://github.com/intel/llvm/pull/14627
46
// RUN: %{build} -o %t.out
57
// RUN: %{run} %t.out
68

@@ -60,6 +62,9 @@ template <int TestNumber, int KernelNumber = 0> class reader;
6062
// Test for simple non-blocking pipes
6163
template <typename PipeName, int TestNumber>
6264
int test_simple_nb_pipe(sycl::queue Queue) {
65+
// TODO Remove when #14308 is closed
66+
std::cerr << "DEBUG: executing test " << TestNumber << std::endl;
67+
6368
int data[] = {0};
6469

6570
using Pipe = sycl::ext::intel::pipe<PipeName, int>;
@@ -101,6 +106,9 @@ int test_simple_nb_pipe(sycl::queue Queue) {
101106

102107
// Test for multiple non-blocking pipes
103108
template <int TestNumber> int test_multiple_nb_pipe(sycl::queue Queue) {
109+
// TODO Remove when #14308 is closed
110+
std::cerr << "DEBUG: executing test " << TestNumber << std::endl;
111+
104112
int data[] = {0};
105113

106114
Queue.submit([&](sycl::handler &cgh) {
@@ -152,6 +160,9 @@ template <int TestNumber> int test_multiple_nb_pipe(sycl::queue Queue) {
152160

153161
// Test for array passing through a non-blocking pipe
154162
template <int TestNumber> int test_array_th_nb_pipe(sycl::queue Queue) {
163+
// TODO Remove when #14308 is closed
164+
std::cerr << "DEBUG: executing test " << TestNumber << std::endl;
165+
155166
int data[N] = {0};
156167
using AnotherNbPipe = sycl::ext::intel::pipe<class another_nb_pipe, int>;
157168
static_assert(std::is_same_v<typename AnotherNbPipe::value_type, int>);
@@ -195,6 +206,9 @@ template <int TestNumber> int test_array_th_nb_pipe(sycl::queue Queue) {
195206
// Test for simple blocking pipes
196207
template <typename PipeName, int TestNumber>
197208
int test_simple_bl_pipe(sycl::queue Queue) {
209+
// TODO Remove when #14308 is closed
210+
std::cerr << "DEBUG: executing test " << TestNumber << std::endl;
211+
198212
int data[] = {0};
199213

200214
using Pipe = sycl::ext::intel::pipe<PipeName, int>;
@@ -230,6 +244,9 @@ int test_simple_bl_pipe(sycl::queue Queue) {
230244

231245
// Test for multiple blocking pipes
232246
template <int TestNumber> int test_multiple_bl_pipe(sycl::queue Queue) {
247+
// TODO Remove when #14308 is closed
248+
std::cerr << "DEBUG: executing test " << TestNumber << std::endl;
249+
233250
int data[] = {0};
234251

235252
Queue.submit([&](sycl::handler &cgh) {
@@ -266,6 +283,9 @@ template <int TestNumber> int test_multiple_bl_pipe(sycl::queue Queue) {
266283

267284
// Test for array passing through a blocking pipe
268285
template <int TestNumber> int test_array_th_bl_pipe(sycl::queue Queue) {
286+
// TODO Remove when #14308 is closed
287+
std::cerr << "DEBUG: executing test " << TestNumber << std::endl;
288+
269289
int data[N] = {0};
270290
using AnotherBlPipe = sycl::ext::intel::pipe<class another_bl_pipe, int>;
271291
static_assert(std::is_same_v<typename AnotherBlPipe::value_type, int>);
@@ -328,5 +348,7 @@ int main() {
328348
Result &= test_array_th_nb_pipe</*test number*/ 11>(Queue);
329349
Result &= test_array_th_bl_pipe</*test number*/ 12>(Queue);
330350

351+
// TODO Remove when #14308 is closed
352+
std::cerr << "DEBUG: Finished with result " << Result << std::endl;
331353
return Result;
332354
}

0 commit comments

Comments
 (0)