kokkos-execution 0.0.1
Loading...
Searching...
No Matches
events.hpp File Reference

Go to the source code of this file.

Classes

struct  Tests::GraphImpl::GraphEventDiscardMatcher< Exec >
 Similar to EventDiscardMatcher, for graph-related events. More...

Namespaces

namespace  Tests
namespace  Tests::GraphImpl

Macros

#define MATCHER_FOR_GRAPH_CREATE(_device_handle_)
#define MATCHER_FOR_GRAPH_ADDNODE(_graph_create_event_variant_, _device_handle_, _predecessor_)
#define MATCHER_FOR_GRAPH_NODE_OF(_graph_add_node_event_)
#define MATCHER_FOR_GRAPH_INSTANTIATE(_graph_create_event_variant_)
#define MATCHER_FOR_GRAPH_SUBMIT(_exec_, _graph_create_event_variant_)

Macro Definition Documentation

◆ MATCHER_FOR_GRAPH_ADDNODE

#define MATCHER_FOR_GRAPH_ADDNODE ( _graph_create_event_variant_,
_device_handle_,
_predecessor_ )
Value:
AGraphAddNodeEvent( \
::testing::Field( \
::testing::Eq(Kokkos::Tools::Experimental::device_id(_device_handle_.m_exec))), \
::testing::Field( \
::testing::Eq( \
std::get<Kokkos::Execution::GraphImpl::GraphCreateEvent>(_graph_create_event_variant_).graph)), \
::testing::Field(&Kokkos::Execution::GraphImpl::GraphAddNodeEvent::predecessor, ::testing::Eq(_predecessor_)))

Definition at line 23 of file events.hpp.

◆ MATCHER_FOR_GRAPH_CREATE

#define MATCHER_FOR_GRAPH_CREATE ( _device_handle_)
Value:
AGraphCreateEvent( \
::testing::Field( \
::testing::Eq(Kokkos::Tools::Experimental::device_id(_device_handle_.m_exec))))

Definition at line 16 of file events.hpp.

◆ MATCHER_FOR_GRAPH_INSTANTIATE

#define MATCHER_FOR_GRAPH_INSTANTIATE ( _graph_create_event_variant_)
Value:
AGraphInstantiateEvent( \
::testing::Field( \
::testing::Eq( \
std::get<Kokkos::Execution::GraphImpl::GraphCreateEvent>(_graph_create_event_variant_).graph)))

Definition at line 39 of file events.hpp.

◆ MATCHER_FOR_GRAPH_NODE_OF

#define MATCHER_FOR_GRAPH_NODE_OF ( _graph_add_node_event_)
Value:
std::get<Kokkos::Execution::GraphImpl::GraphAddNodeEvent>(_graph_add_node_event_).node

Definition at line 35 of file events.hpp.

◆ MATCHER_FOR_GRAPH_SUBMIT

#define MATCHER_FOR_GRAPH_SUBMIT ( _exec_,
_graph_create_event_variant_ )
Value:
AGraphSubmitEvent( \
::testing::Field( \
::testing::Eq(Kokkos::Tools::Experimental::device_id(_exec_))), \
::testing::Field( \
::testing::Eq( \
std::get<Kokkos::Execution::GraphImpl::GraphCreateEvent>(_graph_create_event_variant_).graph)))

Definition at line 47 of file events.hpp.