diff options
Diffstat (limited to 'src/lib/netlist/nl_config.h')
-rw-r--r-- | src/lib/netlist/nl_config.h | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/src/lib/netlist/nl_config.h b/src/lib/netlist/nl_config.h index daf5ebae427..1ef79af3c07 100644 --- a/src/lib/netlist/nl_config.h +++ b/src/lib/netlist/nl_config.h @@ -75,29 +75,9 @@ #endif //============================================================ -// General Macros +// Time resolution //============================================================ -#if defined(OPENMP) -#define HAS_OPENMP ( OPENMP >= 200805 ) -#elif defined(_OPENMP) -#define HAS_OPENMP ( _OPENMP >= 200805 ) -#else -#define HAS_OPENMP (0) -#endif - -//============================================================ -// General -//============================================================ - -/* The following adds about 10% to 20% performance for analog - * netlists like kidniki. - */ - -#if !defined(USE_OPENMP) -#define USE_OPENMP (0) -#endif // !defined(USE_OPENMP) - // Use nano-second resolution - Sufficient for now static constexpr const auto NETLIST_INTERNAL_RES = 1000000000; @@ -113,14 +93,4 @@ static constexpr const auto NETLIST_CLOCK = NETLIST_INTERNAL_RES; //#define nl_double float using nl_double = double; -//============================================================ -// WARNINGS -//============================================================ - -#if (USE_OPENMP) -#if (!(HAS_OPENMP)) -#error To use openmp compile and link with "-fopenmp" -#endif -#endif - #endif /* NLCONFIG_H_ */ |