kokkos-execution
0.0.1
Toggle main menu visibility
Loading...
Searching...
No Matches
properties.hpp
Go to the documentation of this file.
1
#ifndef KOKKOS_EXECUTION_TESTS_UTILS_PROPERTIES_HPP
2
#define KOKKOS_EXECUTION_TESTS_UTILS_PROPERTIES_HPP
3
4
#include "Kokkos_Macros.hpp"
5
#ifdef KOKKOS_ENABLE_EXPERIMENTAL_CXX20_MODULES
6
import
kokkos.core;
7
#else
8
# include "Kokkos_Core.hpp"
9
#endif
10
11
#include "
kokkos-execution/impl/label.hpp
"
12
13
namespace
Tests::Utils
{
14
15
struct
MyPropA
{
16
std::string
m_value
{};
17
};
18
19
struct
MyPropB
{
20
double
m_value
= 42;
21
};
22
23
template
<
typename
T>
24
struct
LabeledData
:
Kokkos::Execution::Impl::Label
<T> { };
25
26
template
<
typename
T>
27
struct
MultiPropData
28
:
Kokkos::Execution::Impl::Label
<T>
29
,
MyPropA
30
,
MyPropB
{ };
31
32
}
// namespace Tests::Utils
33
34
#endif
// KOKKOS_EXECUTION_TESTS_UTILS_PROPERTIES_HPP
label.hpp
Tests::Utils
Definition
test_sync_wait.cpp:20
Kokkos::Execution::Impl::Label
Label property.
Definition
label.hpp:44
Tests::Utils::LabeledData
Definition
properties.hpp:24
Tests::Utils::MultiPropData
Definition
properties.hpp:30
Tests::Utils::MyPropA
Definition
properties.hpp:15
Tests::Utils::MyPropA::m_value
std::string m_value
Definition
properties.hpp:16
Tests::Utils::MyPropB
Definition
properties.hpp:19
Tests::Utils::MyPropB::m_value
double m_value
Definition
properties.hpp:20
tests
utils
properties.hpp
Generated on
for kokkos-execution by
1.18.0