diff options
author | Mehdi Goli <mehdi.goli@codeplay.com> | 2017-02-02 10:43:47 +0000 |
---|---|---|
committer | Mehdi Goli <mehdi.goli@codeplay.com> | 2017-02-02 10:43:47 +0000 |
commit | bc128f9f3beff5a2a3225f03ec2e5eb111a15b87 (patch) | |
tree | bc161ecdb7a97dc4555e082c77466683a9bd442c | |
parent | ff530500344e63d4db39090d268a24852bffdea4 (diff) |
Reducing the warnings in Sycl backend.
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h index c3e095b8a..4247c1c4a 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorConvolutionSycl.h @@ -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); |