mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Disable eigen vectorisation on GPU because of Summit compile issues
This commit is contained in:
parent
2df4e422ad
commit
fdfb8a26a8
@ -30,6 +30,8 @@ directory
|
|||||||
#ifndef DISABLE_WARNINGS_H
|
#ifndef DISABLE_WARNINGS_H
|
||||||
#define DISABLE_WARNINGS_H
|
#define DISABLE_WARNINGS_H
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#if defined __GNUC__ && __GNUC__>=6
|
#if defined __GNUC__ && __GNUC__>=6
|
||||||
#pragma GCC diagnostic ignored "-Wignored-attributes"
|
#pragma GCC diagnostic ignored "-Wignored-attributes"
|
||||||
#endif
|
#endif
|
||||||
@ -39,13 +41,16 @@ directory
|
|||||||
|
|
||||||
#ifdef __NVCC__
|
#ifdef __NVCC__
|
||||||
//disables nvcc specific warning in json.hpp
|
//disables nvcc specific warning in json.hpp
|
||||||
|
#pragma clang diagnostic ignored "-Wdeprecated-register"
|
||||||
#pragma diag_suppress unsigned_compare_with_zero
|
#pragma diag_suppress unsigned_compare_with_zero
|
||||||
#pragma diag_suppress cast_to_qualified_type
|
#pragma diag_suppress cast_to_qualified_type
|
||||||
|
|
||||||
//disables nvcc specific warning in many files
|
//disables nvcc specific warning in many files
|
||||||
#pragma diag_suppress esa_on_defaulted_function_ignored
|
#pragma diag_suppress esa_on_defaulted_function_ignored
|
||||||
#pragma diag_suppress extra_semicolon
|
#pragma diag_suppress extra_semicolon
|
||||||
|
|
||||||
//Eigen only
|
//Eigen only
|
||||||
|
#define EIGEN_DONT_VECTORIZE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user