From fdfb8a26a88c6a16cc4efd675348f43759bec165 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Mon, 19 Mar 2018 07:07:30 -0400 Subject: [PATCH] Disable eigen vectorisation on GPU because of Summit compile issues --- lib/DisableWarnings.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/DisableWarnings.h b/lib/DisableWarnings.h index 8a9de4b0..aec564eb 100644 --- a/lib/DisableWarnings.h +++ b/lib/DisableWarnings.h @@ -30,6 +30,8 @@ directory #ifndef DISABLE_WARNINGS_H #define DISABLE_WARNINGS_H + + #if defined __GNUC__ && __GNUC__>=6 #pragma GCC diagnostic ignored "-Wignored-attributes" #endif @@ -39,13 +41,16 @@ directory #ifdef __NVCC__ //disables nvcc specific warning in json.hpp +#pragma clang diagnostic ignored "-Wdeprecated-register" #pragma diag_suppress unsigned_compare_with_zero #pragma diag_suppress cast_to_qualified_type //disables nvcc specific warning in many files #pragma diag_suppress esa_on_defaulted_function_ignored #pragma diag_suppress extra_semicolon + //Eigen only +#define EIGEN_DONT_VECTORIZE #endif #endif