2018-01-24 13:25:07 +00:00
|
|
|
#include <Grid/GridCore.h>
|
2017-05-06 14:44:49 +01:00
|
|
|
#pragma once
|
|
|
|
#if defined __GNUC__
|
|
|
|
#pragma GCC diagnostic push
|
|
|
|
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
|
|
|
|
#endif
|
2018-01-24 13:25:07 +00:00
|
|
|
|
|
|
|
#ifdef GRID_NVCC
|
|
|
|
#pragma push
|
|
|
|
#pragma diag_suppress code_is_unreachable
|
|
|
|
#undef __NVCC__
|
|
|
|
#undef __CUDACC__
|
|
|
|
#undef __CUDA_ARCH__
|
|
|
|
#endif
|
|
|
|
|
2017-05-06 14:44:49 +01:00
|
|
|
#include <Grid/Eigen/Dense>
|
2018-01-24 13:25:07 +00:00
|
|
|
|
|
|
|
#ifdef GRID_NVCC
|
|
|
|
#pragma pop
|
|
|
|
#define __NVCC__
|
|
|
|
#define __CUDACC__
|
|
|
|
#define __CUDA_ARCH__
|
|
|
|
#endif
|
|
|
|
|
2017-05-06 14:44:49 +01:00
|
|
|
#if defined __GNUC__
|
|
|
|
#pragma GCC diagnostic pop
|
|
|
|
#endif
|