diff --git a/src/shared/common/base_data_type.h b/src/shared/common/base_data_type.h index 9878ed45dd..add5599aa1 100644 --- a/src/shared/common/base_data_type.h +++ b/src/shared/common/base_data_type.h @@ -40,10 +40,10 @@ #include #include -#ifndef SPHINXSYS_USE_SYCL +#if SPHINXSYS_USE_SYCL // Eigen matrix and vector types degraded #include -#define SYCL_DEVICE_ONLY // Eigen matrix and vector types degraded -#endif // SPHINXSYS_USE_SYCL +#define SYCL_DEVICE_ONLY +#endif // SPHINXSYS_USE_SYCL #include #include