@@ -194,10 +194,11 @@ template <int TestNumber> int test_array_th_nb_pipe(sycl::queue Queue) {
194194
195195 sycl::host_accessor readHostBuffer (writeBuf, sycl::read_only);
196196 for (size_t i = 0 ; i != N; ++i) {
197- if (readHostBuffer[i] != i)
197+ if (readHostBuffer[i] != i) {
198198 std::cout << " Test: " << TestNumber << " \n Result mismatches "
199199 << readHostBuffer[i] << " Vs expected " << i << std::endl;
200- return -1 ;
200+ return -1 ;
201+ }
201202 }
202203
203204 return 0 ;
@@ -309,10 +310,11 @@ template <int TestNumber> int test_array_th_bl_pipe(sycl::queue Queue) {
309310
310311 sycl::host_accessor readHostBuffer (writeBuf, sycl::read_only);
311312 for (size_t i = 0 ; i != N; ++i) {
312- if (readHostBuffer[i] != i)
313+ if (readHostBuffer[i] != i) {
313314 std::cout << " Test: " << TestNumber << " \n Result mismatches "
314315 << readHostBuffer[i] << " Vs expected " << i << std::endl;
315- return -1 ;
316+ return -1 ;
317+ }
316318 }
317319
318320 return 0 ;
@@ -343,14 +345,8 @@ int main() {
343345 Error |= test_simple_bl_pipe<forward_bl_pipe, /* test number*/ 8 >(Queue);
344346 Error |= test_simple_bl_pipe<templ_bl_pipe<0 >, /* test number*/ 9 >(Queue);
345347 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);
354350
355351 // TODO Remove when #14308 is closed
356352 std::cerr << " DEBUG: Finished with result " << Error << std::endl;
0 commit comments