|
kokkos-execution 0.0.1
|
Public Member Functions | |
| ThenTest_then_lifetime_Test ()=default | |
| ~ThenTest_then_lifetime_Test () override=default | |
| ThenTest_then_lifetime_Test (const ThenTest_then_lifetime_Test &)=delete | |
| ThenTest_then_lifetime_Test & | operator= (const ThenTest_then_lifetime_Test &)=delete |
| ThenTest_then_lifetime_Test (ThenTest_then_lifetime_Test &&) noexcept=delete | |
| ThenTest_then_lifetime_Test & | operator= (ThenTest_then_lifetime_Test &&) noexcept=delete |
| Public Member Functions inherited from Kokkos::utils::tests::scoped::ExecutionSpace< Exec > | |
| ExecutionSpace () | |
| ExecutionSpace & | operator= (const ExecutionSpace &)=delete |
| Public Member Functions inherited from Kokkos::utils::tests::scoped::callbacks::Manager | |
| Manager () | |
| ~Manager () | |
| Manager (const Manager &)=delete | |
| Manager & | operator= (const Manager &)=delete |
Private Member Functions | |
| void | TestBody () override |
Static Private Attributes | |
| static ::testing::TestInfo *const | test_info_ = ::testing::internal::MakeAndRegisterTestInfo( "ThenTest", "then_lifetime", nullptr, nullptr, ::testing::internal::CodeLocation(__FILE__, __LINE__), (::testing::internal::GetTypeId<ThenTest>()), ::testing::internal::SuiteApiResolver< ThenTest>::GetSetUpCaseOrSuite(__FILE__, __LINE__), ::testing::internal::SuiteApiResolver< ThenTest>::GetTearDownCaseOrSuite(__FILE__, __LINE__), new ::testing::internal::TestFactoryImpl< ThenTest_then_lifetime_Test >) |
Additional Inherited Members | |
| Public Types inherited from Tests::ExecutionSpaceImpl::ThenTest | |
| using | recorder_listener_t |
| using | variant_t = typename recorder_listener_t::event_variant_t |
| Public Types inherited from Tests::Utils::ContextTest< Kokkos::Execution::ExecutionSpaceContext, Exec > | |
| using | context_t |
| using | scheduler_t |
| using | schedule_sender_t |
| using | value_t |
| using | view_s_t |
| Public Attributes inherited from Kokkos::utils::tests::scoped::ExecutionSpace< Exec > | |
| Exec | exec |
| Static Public Attributes inherited from Tests::Utils::ContextTest< Kokkos::Execution::ExecutionSpaceContext, Exec > | |
| static constexpr bool | on_device |
Kokkos::View is captured in a chain of work.This test ensures that the deallocation happens after the kernels are finished.
Definition at line 224 of file test_then.cpp.
|
default |
|
overridedefault |
|
delete |
|
deletenoexcept |
|
delete |
References Kokkos::utils::callbacks::AAllocateDataEvent(), Kokkos::utils::callbacks::ADeallocateDataEvent(), Kokkos::utils::callbacks::AllocateDataEvent::alloc, Kokkos::utils::callbacks::DeallocateDataEvent::alloc, Kokkos::utils::callbacks::ContainsInOrder(), dispatch_label(), Kokkos::utils::tests::scoped::ExecutionSpace< Exec >::exec, Kokkos::Execution::ExecutionSpaceContext< Exec >::get_scheduler(), MATCHER_FOR_BEGIN_FENCE, MATCHER_FOR_BEGIN_PFOR, Kokkos::utils::callbacks::AllocDescriptor::name, and THEN_INCREMENT.
|
deletenoexcept |
|
overrideprivate |
The context must be kept alive until the chain has completed.
Create the chain in a scope.
Run the whole test in a lambda.
The chain environment advertises the default domain, and completes on the Kokkos::Execution::ExecutionSpaceImpl::Domain domain.
It has a completion scheduler for the value channel.
Definition at line 224 of file test_then.cpp.
|
staticprivate |
Definition at line 224 of file test_then.cpp.