mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 15:55:37 +00:00
69327db9a9
compilation
28 lines
470 B
C
28 lines
470 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__
|
|
#undef __CUDA_ARCH__
|
|
#endif
|
|
|
|
#include <Grid/Eigen/Dense>
|
|
|
|
#ifdef GRID_NVCC
|
|
#pragma pop
|
|
#define __NVCC__
|
|
#define __CUDACC__
|
|
#define __CUDA_ARCH__
|
|
#endif
|
|
|
|
#if defined __GNUC__
|
|
#pragma GCC diagnostic pop
|
|
#endif
|