Skip to content

Commit d2bd0ca

Browse files
authored
[SYCL] Fix reduce_sycl2020 e2e test (#8860)
Fixes changes made to `sycl_reduce2020.cpp` E2E test in #8786 - the output array passed to `test` in the `std::complex<double>` case was too small. Signed-off-by: Cai, Justin <justin.cai@intel.com>
1 parent 3bc0524 commit d2bd0ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/GroupAlgorithm/reduce_sycl2020.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ int main() {
111111

112112
if (q.get_device().has(aspect::fp64)) {
113113
std::array<std::complex<double>, N> input_cd;
114-
std::array<std::complex<double>, 4> output_cd;
114+
std::array<std::complex<double>, 6> output_cd;
115115
std::iota(input_cd.begin(), input_cd.end(), 0);
116116
std::fill(output_cd.begin(), output_cd.end(), 0);
117117
test<class KernelNamePlusComplexD>(q, input_cd, output_cd,

0 commit comments

Comments
 (0)