[SYCL-2020] fix semicolon typo
This commit is contained in:
parent
707bc5d0bf
commit
c9247cd27f
@ -138,7 +138,7 @@ T SYCLStream<T>::dot()
|
|||||||
|
|
||||||
cgh.parallel_for(sycl::range<1>{array_size},
|
cgh.parallel_for(sycl::range<1>{array_size},
|
||||||
// Reduction object, to perform summation - initialises the result to zero
|
// Reduction object, to perform summation - initialises the result to zero
|
||||||
sycl::reduction(d_sum, cgh, std::plus<T>(), sycl::property::reduction::initialize_to_identity);
|
sycl::reduction(d_sum, cgh, std::plus<T>(), sycl::property::reduction::initialize_to_identity),
|
||||||
[=](sycl::id<1> idx, auto& sum)
|
[=](sycl::id<1> idx, auto& sum)
|
||||||
{
|
{
|
||||||
sum += ka[idx] * kb[idx];
|
sum += ka[idx] * kb[idx];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user