Skip to content

Commit

Permalink
bug on macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiangyu-Hu committed Aug 1, 2024
1 parent 119e31e commit 071861c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shared/common/base_data_type.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@
#include <typeinfo>
#include <vector>

#ifndef SPHINXSYS_USE_SYCL
#if SPHINXSYS_USE_SYCL // Eigen matrix and vector types degraded
#include <CL/sycl.hpp>
#define SYCL_DEVICE_ONLY // Eigen matrix and vector types degraded
#endif // SPHINXSYS_USE_SYCL
#define SYCL_DEVICE_ONLY
#endif // SPHINXSYS_USE_SYCL

#include <Eigen/Cholesky>
#include <Eigen/Core>
Expand Down

0 comments on commit 071861c

Please sign in to comment.