kokkos-execution 0.0.1
Loading...
Searching...
No Matches
test_event.cpp File Reference

Go to the source code of this file.

Classes

class  Tests::Impl::EventTestNoCallback
 Fixture that does not set any Kokkos::utils::callbacks::Manager callback. More...
class  Tests::Impl::EventTest
 Fixture that enables callbacks with Kokkos::utils::tests::scoped::callbacks::Manager. More...
class  Tests::Impl::EventTest_record_and_wait_Test
class  Tests::Impl::EventTest_record_but_dont_wait_Test
class  Tests::Impl::EventTest_record_and_wait_many_times_Test
class  Tests::Impl::EventTest_record_and_wait_and_record_and_wait_Test
class  Tests::Impl::EventTestNoCallback_record_and_wait_no_check_Test
class  Tests::Impl::EventTest_uniqueness_Test
class  Tests::Impl::EventTest_default_instance_Test

Namespaces

namespace  Tests
namespace  Tests::Impl

Macros

#define KOKKOS_EXECUTION_TESTS_IMPL_EVENT(_fixture_, _name_, _statement_)

Functions

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

Macro Definition Documentation

◆ KOKKOS_EXECUTION_TESTS_IMPL_EVENT

#define KOKKOS_EXECUTION_TESTS_IMPL_EVENT ( _fixture_,
_name_,
_statement_ )
Value:
TEST_F(_fixture_, _name_) { \
if constexpr (EventTest::has_support<TEST_EXECUTION_SPACE>) { \
test_event_##_name_ _statement_; \
} else { \
GTEST_SKIP() << Kokkos::Impl::TypeInfo<TEST_EXECUTION_SPACE>::name() << " does not support events."; \
} \
}

Definition at line 92 of file test_event.cpp.