RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
include
RAJA
pattern
tensor
VectorRegister.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_policy_tensor_vectorregister_HPP
21
#define RAJA_policy_tensor_vectorregister_HPP
22
23
#include "RAJA/config.hpp"
24
25
namespace
RAJA
26
{
27
namespace
expt
28
{
29
// Convenience to describe VectorTensors
30
template
<
typename
T,
31
typename
REGISTER_POLICY =
default_register
,
32
camp::idx_t NUM_ELEM = Register<T, REGISTER_POLICY>::s_num_elem>
33
using
VectorRegister
=
34
TensorRegister<REGISTER_POLICY, T, VectorLayout, camp::idx_seq<NUM_ELEM>
>;
35
}
// namespace expt
36
37
}
// namespace RAJA
38
39
40
#endif
RAJA::expt::TensorRegister
Definition:
TensorRegister.hpp:46
RAJA::expt::default_register
RAJA_TENSOR_REGISTER_TYPE default_register
Definition:
arch.hpp:123
RAJA
Definition:
AlignedRangeIndexSetBuilders.cpp:35
Generated by
1.9.1