|
kokkos-execution 0.0.1
|
Public Types | |
| using | base_t = Kokkos::utils::tests::scoped::ExecutionSpace<Exec> |
| using | view_t = Kokkos::View<char[pattern.size() + 1], Exec> |
| One extra slot, zero-initialized, so the result is always null-terminated. | |
Public Member Functions | |
| Hydra () | |
| void | check () const |
| void | run () const |
| Public Member Functions inherited from Kokkos::utils::tests::scoped::ExecutionSpace< Exec > | |
| ExecutionSpace () | |
| ExecutionSpace & | operator= (const ExecutionSpace &)=delete |
| ExecutionSpace (const ExecutionSpace &)=delete | |
Static Public Attributes | |
| static constexpr std::string_view | pattern = "SORRY HERACLES" |
| One branch (head) per character. To grow another head, extend the string. | |
Protected Attributes | |
| view_t | data |
Additional Inherited Members | |
| Public Attributes inherited from Kokkos::utils::tests::scoped::ExecutionSpace< Exec > | |
| Exec | exec |
Definition at line 32 of file example_hydra.cpp.
| using Examples::Graph::Hydra< Exec >::base_t = Kokkos::utils::tests::scoped::ExecutionSpace<Exec> |
Definition at line 34 of file example_hydra.cpp.
| using Examples::Graph::Hydra< Exec >::view_t = Kokkos::View<char[pattern.size() + 1], Exec> |
One extra slot, zero-initialized, so the result is always null-terminated.
Definition at line 40 of file example_hydra.cpp.
|
inline |
Definition at line 43 of file example_hydra.cpp.
References data, and Kokkos::utils::tests::scoped::ExecutionSpace< Exec >::exec.
|
inline |
Definition at line 48 of file example_hydra.cpp.
|
inline |
Wait for data to be ready, as the underlying Kokkos::Experimental::Graph will be submitted on the default execution space instance.
Definition at line 69 of file example_hydra.cpp.
References check(), Kokkos::utils::tests::scoped::ExecutionSpace< Exec >::exec, Kokkos::Execution::GraphContext< Exec >::get_scheduler(), and pattern.
|
protected |
Definition at line 87 of file example_hydra.cpp.
|
staticconstexpr |
One branch (head) per character. To grow another head, extend the string.
Definition at line 37 of file example_hydra.cpp.