From 912cb3d660ce73c32c1a93aef3644946a49163f4 Mon Sep 17 00:00:00 2001 From: Luke Iwanski Date: Tue, 8 Nov 2016 22:01:14 +0000 Subject: [PATCH] #if EIGEN_EXCEPTION -> #ifdef EIGEN_EXCEPTIONS. --- unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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 {