Fix SYCL2020 accessors typo
This commit is contained in:
parent
3f7bb631e1
commit
87a38e949d
@ -169,7 +169,7 @@ T SYCLStream<T>::dot()
|
|||||||
#if defined(__HIPSYCL__) || defined(__OPENSYCL__)
|
#if defined(__HIPSYCL__) || defined(__OPENSYCL__)
|
||||||
sycl::reduction(d_sum. template get_access<sycl::access_mode::read_write>(cgh), sycl::plus<T>()),
|
sycl::reduction(d_sum. template get_access<sycl::access_mode::read_write>(cgh), sycl::plus<T>()),
|
||||||
#else
|
#else
|
||||||
sycl::reduction(d_sum, cgh sycl::plus<T>()),
|
sycl::reduction(d_sum, cgh, sycl::plus<T>(), sycl::property::reduction::initialize_to_identity{}),
|
||||||
#endif
|
#endif
|
||||||
[=](sycl::id<1> idx, auto& sum)
|
[=](sycl::id<1> idx, auto& sum)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user