ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
impl_selector.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2#ifndef TTG_IMPL_SELECTOR_H
3#define TTG_IMPL_SELECTOR_H
4
10/* Error if >1 or 0 backends were selected */
11#if (defined(TTG_USE_MADNESS) && defined(TTG_USE_PARSEC)) || !(defined(TTG_USE_MADNESS) || defined(TTG_USE_PARSEC))
12#error \
13 "One default implementation must be selected! "\
14 "Please select either the PaRSEC backend (TTG_USE_PARSEC) or the MADNESS backend (TTG_USE_MADNESS)"
15#endif
16
17#if defined(TTG_USE_PARSEC)
18#include "parsec/import.h"
19#elif defined(TTG_USE_MADNESS)
20#include "madness/import.h"
21#endif // TTG_USE_PARSEC|MADNESS
22
23#endif // TTG_IMPL_SELECTOR_H