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

Classes

class  get_start_scheduler
class  just
class  set_value_no_spurious_fence
class  set_stopped_no_spurious_fence
class  rethrows

Typedefs

typedef ::testing::internal::Templates< get_start_scheduler, just, set_value_no_spurious_fence, set_stopped_no_spurious_fence, rethrows > gtest_AllTests_

Variables

static bool gtest_get_start_scheduler_defined_ = gtest_typed_test_suite_p_state_SyncWaitTest_ .AddTestName( "/__w/kokkos-execution/kokkos-execution/tests/utils/check_sync_wait.hpp", 64, "SyncWaitTest" , "get_start_scheduler" )
static bool gtest_just_defined_ = gtest_typed_test_suite_p_state_SyncWaitTest_ .AddTestName( "/__w/kokkos-execution/kokkos-execution/tests/utils/check_sync_wait.hpp", 81, "SyncWaitTest" , "just" )
static bool gtest_set_value_no_spurious_fence_defined_ = gtest_typed_test_suite_p_state_SyncWaitTest_ .AddTestName( "/__w/kokkos-execution/kokkos-execution/tests/utils/check_sync_wait.hpp", 94, "SyncWaitTest" , "set_value_no_spurious_fence" )
static bool gtest_set_stopped_no_spurious_fence_defined_ = gtest_typed_test_suite_p_state_SyncWaitTest_ .AddTestName( "/__w/kokkos-execution/kokkos-execution/tests/utils/check_sync_wait.hpp", 108, "SyncWaitTest" , "set_stopped_no_spurious_fence" )
static bool gtest_rethrows_defined_ = gtest_typed_test_suite_p_state_SyncWaitTest_ .AddTestName( "/__w/kokkos-execution/kokkos-execution/tests/utils/check_sync_wait.hpp", 123, "SyncWaitTest" , "rethrows" )

Detailed Description

Test
Check that the start scheduler that stdexec::sync_wait sets in the receiver environment is a run_loop scheduler on the thread on which it starts the operation state.
Test
Check that the completion-scheduler query for inline work resolves to the receiver's start scheduler, and that the work runs on the calling thread.
Test
Check that calling stdexec::sync_wait on a sender that does not have any operation in it will not result in a spurious fence.
Test
Check that stdexec::sync_wait does not induce a fence when there is no outstanding operation.
Test
Check that stdexec::sync_wait properly rethrows if needed.

Typedef Documentation

◆ gtest_AllTests_

Variable Documentation

◆ gtest_get_start_scheduler_defined_

bool Tests::Utils::gtest_suite_SyncWaitTest_::gtest_get_start_scheduler_defined_ = gtest_typed_test_suite_p_state_SyncWaitTest_ .AddTestName( "/__w/kokkos-execution/kokkos-execution/tests/utils/check_sync_wait.hpp", 64, "SyncWaitTest" , "get_start_scheduler" )
static

Definition at line 64 of file check_sync_wait.hpp.

◆ gtest_just_defined_

bool Tests::Utils::gtest_suite_SyncWaitTest_::gtest_just_defined_ = gtest_typed_test_suite_p_state_SyncWaitTest_ .AddTestName( "/__w/kokkos-execution/kokkos-execution/tests/utils/check_sync_wait.hpp", 81, "SyncWaitTest" , "just" )
static

Definition at line 81 of file check_sync_wait.hpp.

◆ gtest_rethrows_defined_

bool Tests::Utils::gtest_suite_SyncWaitTest_::gtest_rethrows_defined_ = gtest_typed_test_suite_p_state_SyncWaitTest_ .AddTestName( "/__w/kokkos-execution/kokkos-execution/tests/utils/check_sync_wait.hpp", 123, "SyncWaitTest" , "rethrows" )
static

Definition at line 123 of file check_sync_wait.hpp.

◆ gtest_set_stopped_no_spurious_fence_defined_

bool Tests::Utils::gtest_suite_SyncWaitTest_::gtest_set_stopped_no_spurious_fence_defined_ = gtest_typed_test_suite_p_state_SyncWaitTest_ .AddTestName( "/__w/kokkos-execution/kokkos-execution/tests/utils/check_sync_wait.hpp", 108, "SyncWaitTest" , "set_stopped_no_spurious_fence" )
static

Definition at line 108 of file check_sync_wait.hpp.

◆ gtest_set_value_no_spurious_fence_defined_

bool Tests::Utils::gtest_suite_SyncWaitTest_::gtest_set_value_no_spurious_fence_defined_ = gtest_typed_test_suite_p_state_SyncWaitTest_ .AddTestName( "/__w/kokkos-execution/kokkos-execution/tests/utils/check_sync_wait.hpp", 94, "SyncWaitTest" , "set_value_no_spurious_fence" )
static

Definition at line 94 of file check_sync_wait.hpp.