RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
PluginOptions.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_Plugin_Options_HPP
11 #define RAJA_Plugin_Options_HPP
12 
13 #include <string>
14 
15 namespace RAJA
16 {
17 namespace util
18 {
19 
21 {
22  PluginOptions(const std::string& newstr) : str(newstr) {};
23 
24  std::string str;
25 };
26 
27 inline PluginOptions make_options(const std::string& newstr)
28 {
29  return PluginOptions {newstr};
30 }
31 
32 } // namespace util
33 } // namespace RAJA
34 
35 #endif
PluginOptions make_options(const std::string &newstr)
Definition: PluginOptions.hpp:27
Definition: AlignedRangeIndexSetBuilders.cpp:35
Definition: PluginOptions.hpp:21
std::string str
Definition: PluginOptions.hpp:22
PluginOptions(const std::string &newstr)
Definition: PluginOptions.hpp:22