mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-24 14:45:14 +08:00
#if EIGEN_EXCEPTION -> #ifdef EIGEN_EXCEPTIONS.
This commit is contained in:
parent
1b345b0895
commit
912cb3d660
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user