diff options
-rw-r--r-- | test/parallel_api/numeric/numeric.ops/scan.pass.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/parallel_api/numeric/numeric.ops/scan.pass.cpp b/test/parallel_api/numeric/numeric.ops/scan.pass.cpp index 22a8acfa1a5d..3c302b07b4f4 100644 --- a/test/parallel_api/numeric/numeric.ops/scan.pass.cpp +++ b/test/parallel_api/numeric/numeric.ops/scan.pass.cpp @@ -159,7 +159,14 @@ test_with_plus(T init, T trash, Convert convert) } #if _ONEDPL_BACKEND_SYCL && !_ONEDPL_FPGA_DEVICE - unsigned long n = 100000000; + // testing of large number of items may take too much time in debug mode + unsigned long n = +#if PSTL_USE_DEBUG + 70000000; +#else + 100000000; +#endif + Sequence<T> in(n, convert); Sequence<T> expected(in); Sequence<T> out(n, [&](int32_t) { return trash; }); |