RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
include
RAJA
policy
sequential
region.hpp
Go to the documentation of this file.
1
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
2
// Copyright (c) Lawrence Livermore National Security, LLC and other
3
// RAJA Project Developers. See top-level LICENSE and COPYRIGHT
4
// files for dates and other details. No copyright assignment is required
5
// to contribute to RAJA.
6
//
7
// SPDX-License-Identifier: (BSD-3-Clause)
8
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
9
10
#ifndef RAJA_region_sequential_HPP
11
#define RAJA_region_sequential_HPP
12
13
namespace
RAJA
14
{
15
namespace
policy
16
{
17
namespace
sequential
18
{
19
39
template
<
typename
Func>
40
RAJA_INLINE
void
region_impl
(
const
seq_region
&, Func&&
body
)
41
{
42
body
();
43
}
44
45
}
// namespace sequential
46
47
}
// namespace policy
48
49
}
// namespace RAJA
50
51
#endif
// closing endif for header file include guard
RAJA::policy::sequential::region_impl
RAJA_INLINE void region_impl(const seq_region &, Func &&body)
RAJA::region implementation for sequential.
Definition:
region.hpp:40
RAJA
Definition:
AlignedRangeIndexSetBuilders.cpp:35
RAJA::Policy::sequential
@ sequential
RAJA::body
auto & body
Definition:
launch.hpp:177
RAJA::policy::sequential::seq_region
Definition:
policy.hpp:66
Generated by
1.9.1