1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-21 01:25:48 +01:00
Grid/lib/Grid_Eigen_Dense.h
2018-06-13 20:22:34 +01:00

34 lines
569 B
C

#include <Grid/GridCore.h>
#pragma once
#if defined __GNUC__
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
#endif
#ifdef GRID_NVCC
#pragma push
#pragma diag_suppress code_is_unreachable
#undef __NVCC__
#undef __CUDACC__
#ifdef __CUDA_ARCH__
#define __CUDA_ARCH__REDEFINE__
#undef __CUDA_ARCH__
#endif
#endif
#include <Grid/Eigen/Dense>
#ifdef GRID_NVCC
#pragma pop
#define __NVCC__
#define __CUDACC__
#ifdef __CUDA_ARCH__REDEFINE__
#define __CUDA_ARCH__
#endif
#endif
#if defined __GNUC__
#pragma GCC diagnostic pop
#endif