mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-02-05 17:50:26 +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
|
/// creating device by using selector
|
||||||
template<typename dev_Selector> SyclDevice(dev_Selector s)
|
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) {
|
m_queue(cl::sycl::queue(s, [=](cl::sycl::exception_list l) {
|
||||||
for (const auto& e : l) {
|
for (const auto& e : l) {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user