diff options
author | Mehdi Goli <mehdi.goli@codeplay.com> | 2017-01-19 17:06:21 +0000 |
---|---|---|
committer | Mehdi Goli <mehdi.goli@codeplay.com> | 2017-01-19 17:06:21 +0000 |
commit | 77cc4d06c746e7be2966bd0d09b55c2393e289d8 (patch) | |
tree | 009578cd2d88c4d211adaf1262d9e4b2d62161a1 /unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h | |
parent | 837fdbdcb27825204d00a1da954612b52fb851b6 (diff) |
Removing unused variables
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h index ae8a9f667..a30090714 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h @@ -386,7 +386,7 @@ struct SyclDevice { return 2;//sycl_queue().get_device(). template get_info<cl::sycl::info::device::max_work_group_size>(); // return stream_->deviceProperties().maxThreadsPerMultiProcessor; } - EIGEN_STRONG_INLINE int sharedMemPerBlock() const { + EIGEN_STRONG_INLINE size_t sharedMemPerBlock() const { return sycl_queue().get_device(). template get_info<cl::sycl::info::device::local_mem_size>(); // return stream_->deviceProperties().sharedMemPerBlock; } |