@@ -194,10 +194,11 @@ template <int TestNumber> int test_array_th_nb_pipe(sycl::queue Queue) {
194
194
195
195
sycl::host_accessor readHostBuffer (writeBuf, sycl::read_only);
196
196
for (size_t i = 0 ; i != N; ++i) {
197
- if (readHostBuffer[i] != i)
197
+ if (readHostBuffer[i] != i) {
198
198
std::cout << " Test: " << TestNumber << " \n Result mismatches "
199
199
<< readHostBuffer[i] << " Vs expected " << i << std::endl;
200
- return -1 ;
200
+ return -1 ;
201
+ }
201
202
}
202
203
203
204
return 0 ;
@@ -309,10 +310,11 @@ template <int TestNumber> int test_array_th_bl_pipe(sycl::queue Queue) {
309
310
310
311
sycl::host_accessor readHostBuffer (writeBuf, sycl::read_only);
311
312
for (size_t i = 0 ; i != N; ++i) {
312
- if (readHostBuffer[i] != i)
313
+ if (readHostBuffer[i] != i) {
313
314
std::cout << " Test: " << TestNumber << " \n Result mismatches "
314
315
<< readHostBuffer[i] << " Vs expected " << i << std::endl;
315
- return -1 ;
316
+ return -1 ;
317
+ }
316
318
}
317
319
318
320
return 0 ;
@@ -343,14 +345,8 @@ int main() {
343
345
Error |= test_simple_bl_pipe<forward_bl_pipe, /* test number*/ 8 >(Queue);
344
346
Error |= test_simple_bl_pipe<templ_bl_pipe<0 >, /* test number*/ 9 >(Queue);
345
347
Error |= test_multiple_bl_pipe</* test number*/ 10 >(Queue);
346
-
347
- // Test for an array data passing through a pipe
348
- // These two tests are failing in post-commit testing (
349
- // https://github.com/intel/llvm/issues/16693 ) disabling them, rather than
350
- // the entire test.
351
-
352
- // Error |= test_array_th_nb_pipe</*test number*/ 11>(Queue);
353
- // Error |= test_array_th_bl_pipe</*test number*/ 12>(Queue);
348
+ Error |= test_array_th_nb_pipe</* test number*/ 11 >(Queue);
349
+ Error |= test_array_th_bl_pipe</* test number*/ 12 >(Queue);
354
350
355
351
// TODO Remove when #14308 is closed
356
352
std::cerr << " DEBUG: Finished with result " << Error << std::endl;
0 commit comments