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__
|
2018-06-13 20:22:34 +01:00
|
|
|
#ifdef __CUDA_ARCH__
|
|
|
|
#define __CUDA_ARCH__REDEFINE__
|
2018-01-24 13:25:07 +00:00
|
|
|
#undef __CUDA_ARCH__
|
|
|
|
#endif
|
2018-06-13 20:22:34 +01:00
|
|
|
#endif
|
2018-01-24 13:25:07 +00:00
|
|
|
|
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__
|
2018-06-13 20:22:34 +01:00
|
|
|
|
|
|
|
#ifdef __CUDA_ARCH__REDEFINE__
|
2018-01-24 13:25:07 +00:00
|
|
|
#define __CUDA_ARCH__
|
|
|
|
#endif
|
2018-06-13 20:22:34 +01:00
|
|
|
#endif
|
2018-01-24 13:25:07 +00:00
|
|
|
|
2017-05-06 14:44:49 +01:00
|
|
|
#if defined __GNUC__
|
|
|
|
#pragma GCC diagnostic pop
|
|
|
|
#endif
|