diff options
author | Luke Iwanski <luke@codeplay.com> | 2016-11-30 16:55:22 +0000 |
---|---|---|
committer | Luke Iwanski <luke@codeplay.com> | 2016-11-30 16:55:22 +0000 |
commit | 26fff1c5b16f4eae7935635f267b48daa3164a3b (patch) | |
tree | e5bedf19bdd66ec86b237bd0e4f81f38b89bbe98 /unsupported/Eigen/CXX11 | |
parent | 577ce78085d2e09675abb5976ab3026235de8eec (diff) |
Added EIGEN_STRONG_INLINE to get_sycl_supported_device().
Diffstat (limited to 'unsupported/Eigen/CXX11')
-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 bcaf542e2..61eaeab5d 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h @@ -17,7 +17,7 @@ namespace Eigen { -auto get_sycl_supported_devices()->decltype(cl::sycl::device::get_devices()){ +EIGEN_STRONG_INLINE auto get_sycl_supported_devices()->decltype(cl::sycl::device::get_devices()){ auto devices = cl::sycl::device::get_devices(); std::vector<cl::sycl::device>::iterator it =devices.begin(); while(it!=devices.end()) { |