RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
include
RAJA
policy
openmp
synchronize.hpp
Go to the documentation of this file.
1
11
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
12
// Copyright (c) Lawrence Livermore National Security, LLC and other
13
// RAJA Project Developers. See top-level LICENSE and COPYRIGHT
14
// files for dates and other details. No copyright assignment is required
15
// to contribute to RAJA.
16
//
17
// SPDX-License-Identifier: (BSD-3-Clause)
18
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
19
20
#ifndef RAJA_synchronize_openmp_HPP
21
#define RAJA_synchronize_openmp_HPP
22
23
namespace
RAJA
24
{
25
26
namespace
policy
27
{
28
29
namespace
omp
30
{
31
35
RAJA_INLINE
36
void
synchronize_impl
(
const
omp_synchronize
&)
37
{
38
#pragma omp barrier
39
}
40
41
42
}
// end of namespace omp
43
}
// namespace policy
44
}
// end of namespace RAJA
45
46
#endif
// RAJA_synchronize_openmp_HPP
RAJA::policy::omp::synchronize_impl
RAJA_INLINE void synchronize_impl(const omp_synchronize &)
Synchronize all OpenMP threads and tasks.
Definition:
synchronize.hpp:36
RAJA
Definition:
AlignedRangeIndexSetBuilders.cpp:35
RAJA::policy::omp::omp_synchronize
Definition:
policy.hpp:333
Generated by
1.9.1