kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Tests::Impl Namespace Reference

Classes

struct  PropA
struct  PropB
struct  FwdPropC
struct  FwdPropD
class  forwarding_queryable_Test
class  upsert_set_prop_in_empty_env_Test
class  upsert_replace_prop_in_single_prop_Test
class  upsert_replace_prop_in_env_with_single_prop_Test
class  upsert_add_prop_to_another_prop_Test
class  upsert_replace_prop_in_env_with_two_props_Test
class  upsert_replace_prop_in_forwarding_env_with_two_props_Test
class  upsert_add_prop_to_env_with_multiple_props_Test
class  upsert_add_fwd_prop_to_forwarding_env_Test
class  upsert_upsert_with_move_only_Test
class  upsert_chain_multiple_upserts_Test
class  upsert_ref_join_upsert_Test
class  EventTestNoCallback
 Fixture that does not set any Kokkos::utils::callbacks::Manager callback. More...
class  EventTest
 Fixture that enables callbacks with Kokkos::utils::tests::scoped::callbacks::Manager. More...
class  EventTest_record_and_wait_Test
class  EventTest_record_but_dont_wait_Test
class  EventTest_record_and_wait_many_times_Test
class  EventTest_record_and_wait_and_record_and_wait_Test
class  EventTestNoCallback_record_and_wait_no_check_Test
class  EventTest_uniqueness_Test
class  EventTest_default_instance_Test

Functions

template<Kokkos::ExecutionSpace Exec>
consteval bool test_models_event ()
template<Kokkos::ExecutionSpace Exec>
consteval bool test_support_events ()
template<Kokkos::ExecutionSpace Exec>
void test_event_record_and_wait (const Exec &exec)
template<Kokkos::ExecutionSpace Exec>
void test_event_record_but_dont_wait (const Exec &exec)
template<Kokkos::ExecutionSpace Exec>
void test_event_record_and_wait_many_times (const Exec &exec)
template<Kokkos::ExecutionSpace Exec>
void test_event_record_and_wait_and_record_and_wait (const Exec &exec)
template<Kokkos::ExecutionSpace Exec>
void test_event_record_and_wait_no_check (const Exec &exec)
template<Kokkos::ExecutionSpace Exec>
void test_event_uniqueness (const Exec &exec)
template<Kokkos::ExecutionSpace Exec>
void test_event_default_instance ()

Variables

Tests::Impl::PropA prop_a
Tests::Impl::PropB prop_b
Tests::Impl::FwdPropC fwd_prop_c
Tests::Impl::FwdPropD fwd_prop_d

Function Documentation

◆ test_event_default_instance()

template<Kokkos::ExecutionSpace Exec>
void Tests::Impl::test_event_default_instance ( )
Test
Check that event record/wait works for the default instance.

Definition at line 218 of file test_event.cpp.

References MATCHER_FOR_RECORD_EVENT, and MATCHER_FOR_WAIT_EVENT.

◆ test_event_record_and_wait()

template<Kokkos::ExecutionSpace Exec>
void Tests::Impl::test_event_record_and_wait ( const Exec & exec)
Test
Record an event and wait for it. Check that it marks both steps.

Definition at line 103 of file test_event.cpp.

References MATCHER_FOR_RECORD_EVENT, and MATCHER_FOR_WAIT_EVENT.

◆ test_event_record_and_wait_and_record_and_wait()

template<Kokkos::ExecutionSpace Exec>
void Tests::Impl::test_event_record_and_wait_and_record_and_wait ( const Exec & exec)
Test
Record an event and wait for it. Repeat the record/wait steps but reusing the same instance.

Definition at line 160 of file test_event.cpp.

References MATCHER_FOR_RECORD_EVENT, and MATCHER_FOR_WAIT_EVENT.

◆ test_event_record_and_wait_many_times()

template<Kokkos::ExecutionSpace Exec>
void Tests::Impl::test_event_record_and_wait_many_times ( const Exec & exec)
Test
Record an event and wait for it many times. It marks all wait events.

Definition at line 136 of file test_event.cpp.

References MATCHER_FOR_RECORD_EVENT, and MATCHER_FOR_WAIT_EVENT.

◆ test_event_record_and_wait_no_check()

template<Kokkos::ExecutionSpace Exec>
void Tests::Impl::test_event_record_and_wait_no_check ( const Exec & exec)
Test
Similar to test_event_record_and_wait but does not use any event listener.

Definition at line 182 of file test_event.cpp.

References Kokkos::utils::callbacks::Manager::is_initialized().

◆ test_event_record_but_dont_wait()

template<Kokkos::ExecutionSpace Exec>
void Tests::Impl::test_event_record_but_dont_wait ( const Exec & exec)
Test
Record an event but don't wait for it.

Definition at line 119 of file test_event.cpp.

References MATCHER_FOR_RECORD_EVENT.

◆ test_event_uniqueness()

template<Kokkos::ExecutionSpace Exec>
void Tests::Impl::test_event_uniqueness ( const Exec & exec)
Test
Events created before or after a work dispatch have distinct identifiers.

Definition at line 194 of file test_event.cpp.

References MATCHER_FOR_RECORD_EVENT.

◆ test_models_event()

template<Kokkos::ExecutionSpace Exec>
bool Tests::Impl::test_models_event ( )
consteval
Test
Check that the specialization of Kokkos::Execution::Impl::Event satisfies Kokkos::Execution::Impl::event.

Definition at line 77 of file test_event.cpp.

References Tests::Impl::EventTestNoCallback::has_support.

◆ test_support_events()

template<Kokkos::ExecutionSpace Exec>
bool Tests::Impl::test_support_events ( )
consteval

Variable Documentation

◆ fwd_prop_c

Tests::Impl::FwdPropC Tests::Impl::fwd_prop_c

◆ fwd_prop_d

Tests::Impl::FwdPropD Tests::Impl::fwd_prop_d

◆ prop_a

Tests::Impl::PropA Tests::Impl::prop_a

◆ prop_b

Tests::Impl::PropB Tests::Impl::prop_b