xref: /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/pstl/parallel_backend.h (revision 4c3eb207d36f67d31994830c0a694161fc1ca39b)
1627f7eb2Smrg // -*- C++ -*-
2627f7eb2Smrg //===-- parallel_backend.h ------------------------------------------------===//
3627f7eb2Smrg //
4627f7eb2Smrg // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5627f7eb2Smrg // See https://llvm.org/LICENSE.txt for license information.
6627f7eb2Smrg // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7627f7eb2Smrg //
8627f7eb2Smrg //===----------------------------------------------------------------------===//
9627f7eb2Smrg 
10*4c3eb207Smrg #ifndef _PSTL_PARALLEL_BACKEND_H
11*4c3eb207Smrg #define _PSTL_PARALLEL_BACKEND_H
12627f7eb2Smrg 
13*4c3eb207Smrg #if defined(_PSTL_PAR_BACKEND_SERIAL)
14*4c3eb207Smrg #    include "parallel_backend_serial.h"
15*4c3eb207Smrg #elif defined(_PSTL_PAR_BACKEND_TBB)
16627f7eb2Smrg #    include "parallel_backend_tbb.h"
17627f7eb2Smrg #else
18*4c3eb207Smrg _PSTL_PRAGMA_MESSAGE("Parallel backend was not specified");
19627f7eb2Smrg #endif
20627f7eb2Smrg 
21*4c3eb207Smrg #endif /* _PSTL_PARALLEL_BACKEND_H */
22