kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Tests::ExecutionSpaceImpl::WhenAllTest_nested_with_inner_followed_by_other_Test Class Reference
Inheritance diagram for Tests::ExecutionSpaceImpl::WhenAllTest_nested_with_inner_followed_by_other_Test:
Tests::ExecutionSpaceImpl::WhenAllTest Tests::Utils::ExecutionSpaceContextTest< TEST_EXECUTION_SPACE > Kokkos::utils::tests::scoped::callbacks::Manager Tests::Utils::ContextTest< Kokkos::Execution::ExecutionSpaceContext, Exec > Kokkos::utils::tests::scoped::ExecutionSpace< Exec >

Public Member Functions

 WhenAllTest_nested_with_inner_followed_by_other_Test ()=default
 ~WhenAllTest_nested_with_inner_followed_by_other_Test () override=default
 WhenAllTest_nested_with_inner_followed_by_other_Test (const WhenAllTest_nested_with_inner_followed_by_other_Test &)=delete
WhenAllTest_nested_with_inner_followed_by_other_Testoperator= (const WhenAllTest_nested_with_inner_followed_by_other_Test &)=delete
 WhenAllTest_nested_with_inner_followed_by_other_Test (WhenAllTest_nested_with_inner_followed_by_other_Test &&) noexcept=delete
WhenAllTest_nested_with_inner_followed_by_other_Testoperator= (WhenAllTest_nested_with_inner_followed_by_other_Test &&) noexcept=delete
Public Member Functions inherited from Kokkos::utils::tests::scoped::ExecutionSpace< Exec >
 ExecutionSpace ()
ExecutionSpaceoperator= (const ExecutionSpace &)=delete
Public Member Functions inherited from Kokkos::utils::tests::scoped::callbacks::Manager
 Manager ()
 ~Manager ()
 Manager (const Manager &)=delete
Manageroperator= (const Manager &)=delete

Additional Inherited Members

Public Types inherited from Tests::ExecutionSpaceImpl::WhenAllTest
using recorder_listener_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

Detailed Description

Test
A nested stdexec::when_all. There are two branches. The first branch is on Kokkos::Execution::ExecutionSpaceContext. The second branch is itself a stdexec::when_all with a single branch with a segment on the same Kokkos::Execution::ExecutionSpaceContext instance, followed by work on another context.
Todo
There is a missing fence. Our stdexec::continues_on puts the execution space instance in the environment because its preceding stdexec::when_all has at least one branch on Kokkos::Execution::ExecutionSpaceContext.
* schedule(esc) | then_atomic -------------------------------------------------- \
*                                                                                 when_all --> continues_on(esc) | then
* schedule(esc) | then_atomic -- when_all --> continues_on(stc) | then_atomic -- /
* 

Definition at line 423 of file test_when_all.cpp.

Constructor & Destructor Documentation

◆ WhenAllTest_nested_with_inner_followed_by_other_Test() [1/3]

Tests::ExecutionSpaceImpl::WhenAllTest_nested_with_inner_followed_by_other_Test::WhenAllTest_nested_with_inner_followed_by_other_Test ( )
default

◆ ~WhenAllTest_nested_with_inner_followed_by_other_Test()

Tests::ExecutionSpaceImpl::WhenAllTest_nested_with_inner_followed_by_other_Test::~WhenAllTest_nested_with_inner_followed_by_other_Test ( )
overridedefault

◆ WhenAllTest_nested_with_inner_followed_by_other_Test() [2/3]

Tests::ExecutionSpaceImpl::WhenAllTest_nested_with_inner_followed_by_other_Test::WhenAllTest_nested_with_inner_followed_by_other_Test ( const WhenAllTest_nested_with_inner_followed_by_other_Test & )
delete

◆ WhenAllTest_nested_with_inner_followed_by_other_Test() [3/3]

Tests::ExecutionSpaceImpl::WhenAllTest_nested_with_inner_followed_by_other_Test::WhenAllTest_nested_with_inner_followed_by_other_Test ( WhenAllTest_nested_with_inner_followed_by_other_Test && )
deletenoexcept

Member Function Documentation

◆ operator=() [1/2]

◆ operator=() [2/2]

WhenAllTest_nested_with_inner_followed_by_other_Test & Tests::ExecutionSpaceImpl::WhenAllTest_nested_with_inner_followed_by_other_Test::operator= ( WhenAllTest_nested_with_inner_followed_by_other_Test && )
deletenoexcept

The documentation for this class was generated from the following file: