|
Kokkos Core Kernels Package
Version of the Day
|
Execution space supported by Qthread. More...
#include <Kokkos_Qthread.hpp>
Public Types | |
Type declarations that all Kokkos devices must provide. | |
| typedef Impl::ExecutionSpaceTag | kokkos_tag |
| The tag (what type of kokkos_object is this). | |
| typedef Qthread | device_type |
| typedef Qthread | execution_space |
| typedef Kokkos::HostSpace | memory_space |
| typedef Qthread | scratch_memory_space |
| typedef memory_space::size_type | size_type |
| typedef Kokkos::LayoutRight | array_layout |
| typedef Kokkos::Qthread | host_mirror_device_type |
Public Member Functions | |
| bool | sleep () |
| Set the execution space to a "sleep" state. | |
Static Public Member Functions | |
| static Qthread & | instance (int=0) |
| Initialization will construct one or more instances. | |
| static bool | wake () |
| Wake from the sleep state. | |
| static void | fence () |
| Wait until all dispatched functions to complete. | |
| static void | print_configuration (std::ostream &, const bool detail=false) |
| Print configuration information to the given output stream. | |
Execution space supported by Qthread.
Definition at line 69 of file Kokkos_Qthread.hpp.
| typedef Impl::ExecutionSpaceTag Kokkos::Qthread::kokkos_tag |
The tag (what type of kokkos_object is this).
Definition at line 74 of file Kokkos_Qthread.hpp.
| static Qthread& Kokkos::Qthread::instance | ( | int | = 0 | ) | [static] |
Initialization will construct one or more instances.
| bool Kokkos::Qthread::sleep | ( | ) |
Set the execution space to a "sleep" state.
This function sets the "sleep" state in which it is not ready for work. This may consume less resources than in an "ready" state, but it may also take time to transition to the "ready" state.
| static bool Kokkos::Qthread::wake | ( | ) | [static] |
Wake from the sleep state.
| static void Kokkos::Qthread::fence | ( | ) | [static] |
Wait until all dispatched functions to complete.
The parallel_for or parallel_reduce dispatch of a functor may return asynchronously, before the functor completes. This method does not return until all dispatched functors on this device have completed.
| static void Kokkos::Qthread::print_configuration | ( | std::ostream & | , |
| const bool | detail = false |
||
| ) | [static] |
Print configuration information to the given output stream.
1.7.6.1