From 87a38e949df2894a7d25ef8782dd96e3978f31ff Mon Sep 17 00:00:00 2001 From: Tom Lin Date: Tue, 5 Sep 2023 03:35:05 +0100 Subject: [PATCH] Fix SYCL2020 accessors typo --- src/sycl2020-acc/SYCLStream2020.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sycl2020-acc/SYCLStream2020.cpp b/src/sycl2020-acc/SYCLStream2020.cpp index f88cbbb..0de24bb 100644 --- a/src/sycl2020-acc/SYCLStream2020.cpp +++ b/src/sycl2020-acc/SYCLStream2020.cpp @@ -169,7 +169,7 @@ T SYCLStream::dot() #if defined(__HIPSYCL__) || defined(__OPENSYCL__) sycl::reduction(d_sum. template get_access(cgh), sycl::plus()), #else - sycl::reduction(d_sum, cgh sycl::plus()), + sycl::reduction(d_sum, cgh, sycl::plus(), sycl::property::reduction::initialize_to_identity{}), #endif [=](sycl::id<1> idx, auto& sum) {