mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-03 17:24:11 +08:00
Reducing the warnings in Sycl backend.
This commit is contained in:
parent
ff53050034
commit
bc128f9f3b
@ -66,7 +66,7 @@ EigenConvolutionKernel1D(internal::IndexMapper<Index, InputDims, 1, Eigen::inter
|
||||
itemID.barrier(cl::sycl::access::fence_space::local_space);
|
||||
|
||||
// calculate the convolution
|
||||
const int first_output_start =itemID.get_group(0)*(itemID.get_local_range()[0]); // output start x
|
||||
const size_t first_output_start =itemID.get_group(0)*(itemID.get_local_range()[0]); // output start x
|
||||
if(itemID.get_global(0)< range_x && itemID.get_global(1)< range_y){
|
||||
CoeffReturnType result = static_cast<CoeffReturnType>(0);
|
||||
const size_t index = plane_kernel_offset+ itemID.get_local(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user