diff options
author | Luke Iwanski <luke@codeplay.com> | 2016-11-08 22:01:14 +0000 |
---|---|---|
committer | Luke Iwanski <luke@codeplay.com> | 2016-11-08 22:01:14 +0000 |
commit | 912cb3d660ce73c32c1a93aef3644946a49163f4 (patch) | |
tree | a4265d7e9cc668bf847d24a9a0cd3b93cf732d89 /unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h | |
parent | 1b345b08959429f4905eee4dfbe0d5bd1bb95a4e (diff) |
#if EIGEN_EXCEPTION -> #ifdef EIGEN_EXCEPTIONS.
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 84dede904..7c039890e 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h @@ -27,7 +27,7 @@ struct SyclDevice { /// creating device by using selector template<typename dev_Selector> SyclDevice(dev_Selector s) : -#if EXCEPTIONS_ENABLED +#ifdef EIGEN_EXCEPTIONS m_queue(cl::sycl::queue(s, [=](cl::sycl::exception_list l) { for (const auto& e : l) { try { |