#if EIGEN_EXCEPTION -> #ifdef EIGEN_EXCEPTIONS.

This commit is contained in:
Luke Iwanski 2016-11-08 22:01:14 +00:00
parent 1b345b0895
commit 912cb3d660

View File

@ -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 {