Commit d01b9738 authored by Allison Vacanti's avatar Allison Vacanti Committed by Robert Maynard
Browse files

Allow VTKM_SUPPRESS_EXEC_WARNINGS to be used inside macros.

parent 2f2ca937
...@@ -30,9 +30,9 @@ ...@@ -30,9 +30,9 @@
#define VTKM_EXEC __device__ __host__ #define VTKM_EXEC __device__ __host__
#define VTKM_EXEC_CONT __device__ __host__ #define VTKM_EXEC_CONT __device__ __host__
#if __CUDAVER__ >= 75000 #if __CUDAVER__ >= 75000
#define VTKM_SUPPRESS_EXEC_WARNINGS #pragma nv_exec_check_disable #define VTKM_SUPPRESS_EXEC_WARNINGS _Pragma("nv_exec_check_disable")
#else #else
#define VTKM_SUPPRESS_EXEC_WARNINGS #pragma hd_warning_disable #define VTKM_SUPPRESS_EXEC_WARNINGS _Pragma("hd_warning_disable")
#endif #endif
#else #else
#define VTKM_EXEC #define VTKM_EXEC
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment