impl_selector.h
Go to the documentation of this file.
1 #ifndef TTG_IMPL_SELECTOR_H
2 #define TTG_IMPL_SELECTOR_H
3 
9 /* Error if >1 or 0 backends were selected */
10 #if (defined(TTG_USE_MADNESS) && defined(TTG_USE_PARSEC)) || !(defined(TTG_USE_MADNESS) || defined(TTG_USE_PARSEC))
11 #error \
12  "One default implementation must be selected! "\
13  "Please select either the PaRSEC backend (TTG_USE_PARSEC) or the MADNESS backend (TTG_USE_MADNESS)"
14 #endif
15 
16 #if defined(TTG_USE_PARSEC)
17 #include "parsec/import.h"
18 #elif defined(TTG_USE_MADNESS)
19 #include "madness/import.h"
20 #endif // TTG_USE_PARSEC|MADNESS
21 
22 #endif // TTG_IMPL_SELECTOR_H