e957b86ca2
From llvm-project/pstl @ 0b2e0e80d96 libstdc++-v3/ChangeLog: * include/pstl/algorithm_impl.h: Update file. * include/pstl/execution_impl.h: Likewise. * include/pstl/glue_algorithm_impl.h: Likewise. * include/pstl/glue_memory_impl.h: Likewise. * include/pstl/glue_numeric_impl.h: Likewise. * include/pstl/memory_impl.h: Likewise. * include/pstl/numeric_impl.h: Likewise. * include/pstl/parallel_backend.h: Likewise. * include/pstl/parallel_backend_serial.h: Likewise. * include/pstl/parallel_backend_tbb.h: Likewise. * include/pstl/parallel_backend_utils.h: Likewise. * include/pstl/pstl_config.h: Likewise. * include/pstl/unseq_backend_simd.h: Likewise.
30 lines
845 B
C++
30 lines
845 B
C++
// -*- C++ -*-
|
|
//===-- parallel_backend.h ------------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef _PSTL_PARALLEL_BACKEND_H
|
|
#define _PSTL_PARALLEL_BACKEND_H
|
|
|
|
#if defined(_PSTL_PAR_BACKEND_SERIAL)
|
|
# include "parallel_backend_serial.h"
|
|
namespace __pstl
|
|
{
|
|
namespace __par_backend = __serial_backend;
|
|
}
|
|
#elif defined(_PSTL_PAR_BACKEND_TBB)
|
|
# include "parallel_backend_tbb.h"
|
|
namespace __pstl
|
|
{
|
|
namespace __par_backend = __tbb_backend;
|
|
}
|
|
#else
|
|
_PSTL_PRAGMA_MESSAGE("Parallel backend was not specified");
|
|
#endif
|
|
|
|
#endif /* _PSTL_PARALLEL_BACKEND_H */
|