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

Namespaces

namespace  gtest_suite_ParallelReduceManagedAndUnManagedTest_

Classes

class  AnySenderTest
class  AnySenderTest_then_Test
class  BulkTest
class  BulkTest_bulk_Test
class  BulkTest_forwarding_env_Test
class  BulkTest_no_spurious_copy_on_connect_Test
class  ContinuesOnTest
class  ContinuesOnTest_queryable_get_exec_Test
class  ContinuesOnTest_then_sync_wait_Test
class  ContinuesOnTest_transition_to_another_execution_space_instance_and_back_different_type_Test
class  ContinuesOnTest_transition_to_another_execution_space_instance_and_back_same_type_Test
class  ContinuesOnTest_transition_to_same_execution_space_instance_Test
class  DomainTest
class  DomainTest_has_apply_sender_for_sync_wait_Test
class  DomainTest_has_transform_sender_for_bulk_Test
class  DomainTest_has_transform_sender_for_then_Test
class  DomainTest_not_default_domain_like_bulk_Test
class  DomainTest_not_default_domain_like_then_Test
class  EnsureStartedTest
class  EnsureStartedTest_then_Test
class  ForkJoinTest
class  ForkJoinTest_continues_on_bulk_Test
class  ForkJoinTest_continues_on_Test
class  ForkJoinTest_diamond_Test
class  InterOpTest
class  InterOpTest_transition_from_inline_scheduler_and_back_Test
class  InterOpTest_transition_from_inline_scheduler_Test
class  InterOpTest_transition_from_static_thread_pool_and_back_Test
class  InterOpTest_transition_from_static_thread_pool_Test
class  InterOpTest_transition_to_inline_scheduler_Test
class  InterOpTest_transition_to_static_thread_pool_and_back_Test
class  InterOpTest_transition_to_static_thread_pool_Test
class  LetValueTest
class  LetValueTest_scoped_allocation_Test
class  OnTest
class  OnTest_many_execution_space_instances_of_different_type_Test
class  OnTest_on_another_execution_space_instance_same_type_Test
class  OnTest_on_same_execution_space_instance_Test
class  OpStateTest
class  OpStateTest_construct_query_and_start_Test
class  ParallelForTest
class  ParallelForTest_closure_object_creation_overloads_Test
class  ParallelForTest_forwarding_env_Test
class  ParallelForTest_perfect_forwarding_connect_Test
class  ParallelForTest_starts_on_parallel_region_Test
class  ParallelForTest_team_policy_Test
class  ParallelForTest_two_parallel_regions_Test
struct  ParallelReduceManagedAndUnManagedTest
class  ParallelReduceTest
class  ParallelReduceTest_closure_object_creation_overloads_Test
class  ParallelReduceTest_forwarding_env_Test
class  ParallelReduceTest_range_policy_maxloc_reducer_Test
class  ParallelReduceTest_starts_on_parallel_region_Test
class  ParallelReduceTest_team_policy_Test
class  ParallelReduceTest_two_parallel_regions_Test
class  RepeatEffectUntilTest
class  RepeatEffectUntilTest_works_Test
class  Scheduler_round_trip_property_Test
class  ScopedRegionTest
class  ScopedRegionTest_many_Test
class  SplitTest
class  SplitTest_split_and_sync_wait_Test
class  SplitTest_within_Test
class  SyncWaitTest
class  ThenTest
class  ThenTest_error_propagates_Test
class  ThenTest_forwarding_env_Test
class  ThenTest_set_stopped_will_not_dispatch_operation_Test
class  ThenTest_then_lifetime_Test
class  ThenTest_then_schedule_Test
class  ThenTest_then_starts_on_Test
class  WhenAllTest
class  WhenAllTest_many_concurrent_branches_Test
class  WhenAllTest_nested_when_all_with_independent_branch_Test
class  WhenAllTest_nested_with_inner_followed_by_other_Test
class  WhenAllTest_schedule_sender_and_single_branch_followed_by_other_and_finish_on_self_Test
class  WhenAllTest_schedule_sender_and_single_branch_followed_by_self_Test
class  WhenAllTest_schedule_sender_and_single_branch_Test
class  WhenAllTest_schedule_sender_and_single_mixed_branch_followed_by_self_Test
class  WhenAllTest_single_branch_Test
class  WhenAllTest_two_branches_followed_by_self_Test
class  WhenAllTest_two_branches_host_device_followed_by_device_Test
class  WhenAllTest_two_branches_with_schedule_senders_only_Test
class  WhenAllTest_two_mixed_branches_followed_by_other_and_finish_on_self_Test
class  WhenAllTest_two_mixed_branches_followed_by_self_Test

Typedefs

template<typename Sndr, typename Exec, typename Label, typename Functor, typename Policy>
using pfor_generic_t
template<typename Sndr, typename Exec, typename Label, typename Functor, typename Policy>
using pfor_impl_t
template<typename Sndr, typename Exec, typename Label, typename Functor, typename Policy, typename Reducer>
using pred_generic_t
template<typename Sndr, typename Exec, typename Label, typename Functor, typename Policy, typename Reducer>
using pred_impl_t
using pred_managed_and_unmanaged_types_t
using execution_space_context_t = Kokkos::Execution::ExecutionSpaceContext<TEST_EXECUTION_SPACE>
using execution_space_scheduler_t = Kokkos::Execution::ExecutionSpaceImpl::Scheduler<TEST_EXECUTION_SPACE>
using execution_space_schedule_sender_t = typename execution_space_scheduler_t::Sender
using execution_space_schedule_sender_attrs_t = typename execution_space_schedule_sender_t::Attributes

Functions

consteval bool test_sndr_traits ()
consteval bool test_sndr_nothrow_transformable ()
constexpr bool test_op_state_passed_by_const_ref ()
consteval bool test_schedule_from_sndr_traits ()
consteval bool test_continues_on_sndr_traits ()
consteval bool test_op_state_traits ()
consteval bool test_op_state_flattened_from_two ()
consteval bool test_op_state_flattened_from_three ()
consteval bool test_op_state_flattened_from_three_mixed_tags ()
template<template< typename... > typename SndrAdptr, bool ExptIsDispatchingSender, template< typename > typename ExptTransformSenderType>
consteval bool test_sndr_traits ()
consteval bool test_sndr_is_transformable ()
template<typename IterSpace>
consteval bool test_pfor_sndr_with_index_space_transforms_into_pfor_sndr_with_range_policy ()
template<typename ViewType>
consteval bool test_closure_traits ()
template<typename ViewType, Kokkos::ExecutionSpace Exec>
auto closure_object_creation_overloads (const size_t size, const ViewType &witness, const Kokkos::Execution::ExecutionSpaceContext< Exec > &esc) -> stdexec::sender auto
consteval bool test_scheduler_schedule ()
consteval bool test_schedule_sender_attrs ()
consteval bool test_scheduler_queries ()
consteval bool test_schedule_sender_attrs_queries ()
consteval bool test_schedule_sender_completion_signatures ()

Variables

::testing::internal::TypedTestSuitePState gtest_typed_test_suite_p_state_ParallelReduceManagedAndUnManagedTest_
static const char *const gtest_registered_test_names_ParallelReduceManagedAndUnManagedTest_ = gtest_typed_test_suite_p_state_ParallelReduceManagedAndUnManagedTest_ .VerifyRegisteredTestNames( "ParallelReduceManagedAndUnManagedTest" , "/__w/kokkos-execution/kokkos-execution/tests/execution_space/test_parallel_reduce.cpp", 228, "range_policy_into_rank_0_view")
static bool gtest_ParallelReduceManagedAndUnManagedTestInstantiation_ParallelReduceManagedAndUnManagedTest = ::testing::internal::TypeParameterizedTestSuite< ParallelReduceManagedAndUnManagedTest, gtest_suite_ParallelReduceManagedAndUnManagedTest_::gtest_AllTests_, ::testing::internal::GenerateTypeList<pred_managed_and_unmanaged_types_t>::type>:: Register( "ParallelReduceManagedAndUnManagedTestInstantiation" , ::testing::internal::CodeLocation("/__w/kokkos-execution/kokkos-execution/tests/execution_space/test_parallel_reduce.cpp", 238), & gtest_typed_test_suite_p_state_ParallelReduceManagedAndUnManagedTest_ , "ParallelReduceManagedAndUnManagedTest" , gtest_registered_test_names_ParallelReduceManagedAndUnManagedTest_ , ::testing::internal::GenerateNames< ::testing::internal::NameGeneratorSelector< >::type, ::testing::internal::GenerateTypeList<pred_managed_and_unmanaged_types_t>::type>())

Typedef Documentation

◆ execution_space_context_t

◆ execution_space_schedule_sender_attrs_t

using Tests::ExecutionSpaceImpl::execution_space_schedule_sender_attrs_t = typename execution_space_schedule_sender_t::Attributes

Definition at line 28 of file test_scheduler.cpp.

◆ execution_space_schedule_sender_t

using Tests::ExecutionSpaceImpl::execution_space_schedule_sender_t = typename execution_space_scheduler_t::Sender

Definition at line 27 of file test_scheduler.cpp.

◆ execution_space_scheduler_t

◆ pfor_generic_t

◆ pfor_impl_t

◆ pred_generic_t

◆ pred_impl_t

◆ pred_managed_and_unmanaged_types_t

Initial value:
::testing::Types<
>
Kokkos::View< value_t, Kokkos::SharedSpace, Kokkos::MemoryUnmanaged > view_um_s_t
Definition context.hpp:39

Definition at line 230 of file test_parallel_reduce.cpp.

Function Documentation

◆ closure_object_creation_overloads()

template<typename ViewType, Kokkos::ExecutionSpace Exec>
auto Tests::ExecutionSpaceImpl::closure_object_creation_overloads ( const size_t size,
const ViewType & witness,
const Kokkos::Execution::ExecutionSpaceContext< Exec > & esc ) -> stdexec::sender auto

◆ test_closure_traits()

template<typename ViewType>
bool Tests::ExecutionSpaceImpl::test_closure_traits ( )
consteval

◆ test_continues_on_sndr_traits()

bool Tests::ExecutionSpaceImpl::test_continues_on_sndr_traits ( )
consteval
Test
Check traits of the sender created by the customized stdexec::continues_on.

Definition at line 62 of file test_continues_on.cpp.

References Tests::Utils::check_continues_on(), and test_continues_on_sndr_traits().

◆ test_op_state_flattened_from_three()

bool Tests::ExecutionSpaceImpl::test_op_state_flattened_from_three ( )
consteval
Test
Check construction of flattened operation state from three parallel for senders.

Definition at line 177 of file test_operation_state.cpp.

References Kokkos::Execution::parallel_for, and test_op_state_flattened_from_three().

◆ test_op_state_flattened_from_three_mixed_tags()

bool Tests::ExecutionSpaceImpl::test_op_state_flattened_from_three_mixed_tags ( )
consteval
Test
Check construction of flattened operation state from three parallel for senders with mixed tags.

Definition at line 241 of file test_operation_state.cpp.

References Kokkos::Execution::parallel_for, and test_op_state_flattened_from_three_mixed_tags().

◆ test_op_state_flattened_from_two()

bool Tests::ExecutionSpaceImpl::test_op_state_flattened_from_two ( )
consteval
Test
Check construction of flattened operation state from two parallel for senders.

Definition at line 127 of file test_operation_state.cpp.

References Kokkos::Execution::parallel_for, and test_op_state_flattened_from_two().

◆ test_op_state_passed_by_const_ref()

bool Tests::ExecutionSpaceImpl::test_op_state_passed_by_const_ref ( )
constexpr
Test
Our customization is not selected. No value channel is added, such that it is not sync-waitable.
Test
Check construction of operation state from a parallel for sender when passing the sender as a const reference.
Test
Check construction of operation state from a parallel for sender when passing the sender as a const reference.

Connect the sender as a const reference.

Definition at line 139 of file test_bulk.cpp.

References test_op_state_passed_by_const_ref().

◆ test_op_state_traits()

bool Tests::ExecutionSpaceImpl::test_op_state_traits ( )
consteval
Test
Check traits of Kokkos::Execution::ExecutionSpaceImpl::OpState.

Schedule sender.

Parallel for closure.

Receiver.

Operation state.

Models the Tests::Utils::operation_state concept.

By inheriting from Kokkos::Execution::Impl::Immovable, it is neither moveable nor copyable.

Definition at line 26 of file test_operation_state.cpp.

References test_op_state_traits().

◆ test_pfor_sndr_with_index_space_transforms_into_pfor_sndr_with_range_policy()

template<typename IterSpace>
bool Tests::ExecutionSpaceImpl::test_pfor_sndr_with_index_space_transforms_into_pfor_sndr_with_range_policy ( )
consteval
Test
Check that the generic sender transforms into a transformed sender with a Kokkos::RangePolicy.

Schedule sender.

Parallel for sender.

The transformed sender has a Kokkos::RangePolicy.

Definition at line 158 of file test_parallel_for.cpp.

References TEST_CATEGORY, and test_pfor_sndr_with_index_space_transforms_into_pfor_sndr_with_range_policy().

◆ test_schedule_from_sndr_traits()

bool Tests::ExecutionSpaceImpl::test_schedule_from_sndr_traits ( )
consteval
Test
Check traits of the sender created by the customized stdexec::schedule_from.

Definition at line 49 of file test_continues_on.cpp.

References test_schedule_from_sndr_traits().

◆ test_schedule_sender_attrs()

bool Tests::ExecutionSpaceImpl::test_schedule_sender_attrs ( )
consteval

◆ test_schedule_sender_attrs_queries()

bool Tests::ExecutionSpaceImpl::test_schedule_sender_attrs_queries ( )
consteval

◆ test_schedule_sender_completion_signatures()

bool Tests::ExecutionSpaceImpl::test_schedule_sender_completion_signatures ( )
consteval

◆ test_scheduler_queries()

bool Tests::ExecutionSpaceImpl::test_scheduler_queries ( )
consteval

◆ test_scheduler_schedule()

bool Tests::ExecutionSpaceImpl::test_scheduler_schedule ( )
consteval

◆ test_sndr_is_transformable()

bool Tests::ExecutionSpaceImpl::test_sndr_is_transformable ( )
consteval

◆ test_sndr_nothrow_transformable()

bool Tests::ExecutionSpaceImpl::test_sndr_nothrow_transformable ( )
consteval
Test
Check noexcept specification of sender transformation.
Test
Check noexcept specification of sender transformation.
Test
Check noexcept specification of sender transformation.

Definition at line 87 of file test_bulk.cpp.

References test_sndr_nothrow_transformable().

◆ test_sndr_traits() [1/2]

bool Tests::ExecutionSpaceImpl::test_sndr_traits ( )
consteval
Test
Check traits of sender returned by bulk when customized for Kokkos::Execution::ExecutionSpaceImpl::Domain.
Test
Check traits of sender returned by Kokkos::Execution::Profiling::scoped_region.
Test
Check traits of sender returned by stdexec::then when customized for Kokkos::Execution::ExecutionSpaceImpl::Domain.

Schedule sender.

Bulk sender.

Models the execution space completing sender concept.

Does not model the dispatching sender concept.

Schedule sender.

Then sender.

Models the execution space completing sender concept.

Does not model the dispatching sender concept.

Definition at line 49 of file test_bulk.cpp.

References test_sndr_traits().

◆ test_sndr_traits() [2/2]

template<template< typename... > typename SndrAdptr, bool ExptIsDispatchingSender, template< typename > typename ExptTransformSenderType>
bool Tests::ExecutionSpaceImpl::test_sndr_traits ( )
consteval
Test
Check traits of sender returned by Kokkos::Execution::parallel_for either uncustomized or customized for Kokkos::Execution::ExecutionSpaceContext.
Test
Check traits of sender returned by Kokkos::Execution::parallel_reduce either uncustomized or customized for Kokkos::Execution::ExecutionSpaceContext.

Schedule sender.

Parallel for sender.

Models the execution space completing sender concept.

Models the dispatching sender concept.

Has the expected completion signatures.

Has the expected completion domain.

Has the expected completion scheduler.

Is connectable.

It is nothrow connectable.

Schedule sender.

Parallel reduce sender.

Models the execution space completing sender concept.

Models the dispatching sender concept.

Has the expected completion signatures.

Has the expected completion domain.

Has the expected completion scheduler.

Is connectable.

It is nothrow connectable.

Definition at line 59 of file test_parallel_for.cpp.

References TEST_CATEGORY, and test_sndr_traits().

Variable Documentation

◆ gtest_ParallelReduceManagedAndUnManagedTestInstantiation_ParallelReduceManagedAndUnManagedTest

bool Tests::ExecutionSpaceImpl::gtest_ParallelReduceManagedAndUnManagedTestInstantiation_ParallelReduceManagedAndUnManagedTest = ::testing::internal::TypeParameterizedTestSuite< ParallelReduceManagedAndUnManagedTest, gtest_suite_ParallelReduceManagedAndUnManagedTest_::gtest_AllTests_, ::testing::internal::GenerateTypeList<pred_managed_and_unmanaged_types_t>::type>:: Register( "ParallelReduceManagedAndUnManagedTestInstantiation" , ::testing::internal::CodeLocation("/__w/kokkos-execution/kokkos-execution/tests/execution_space/test_parallel_reduce.cpp", 238), & gtest_typed_test_suite_p_state_ParallelReduceManagedAndUnManagedTest_ , "ParallelReduceManagedAndUnManagedTest" , gtest_registered_test_names_ParallelReduceManagedAndUnManagedTest_ , ::testing::internal::GenerateNames< ::testing::internal::NameGeneratorSelector< >::type, ::testing::internal::GenerateTypeList<pred_managed_and_unmanaged_types_t>::type>())
static

Definition at line 238 of file test_parallel_reduce.cpp.

◆ gtest_registered_test_names_ParallelReduceManagedAndUnManagedTest_

const char* const Tests::ExecutionSpaceImpl::gtest_registered_test_names_ParallelReduceManagedAndUnManagedTest_ = gtest_typed_test_suite_p_state_ParallelReduceManagedAndUnManagedTest_ .VerifyRegisteredTestNames( "ParallelReduceManagedAndUnManagedTest" , "/__w/kokkos-execution/kokkos-execution/tests/execution_space/test_parallel_reduce.cpp", 228, "range_policy_into_rank_0_view")
static

Definition at line 228 of file test_parallel_reduce.cpp.

◆ gtest_typed_test_suite_p_state_ParallelReduceManagedAndUnManagedTest_

::testing::internal::TypedTestSuitePState Tests::ExecutionSpaceImpl::gtest_typed_test_suite_p_state_ParallelReduceManagedAndUnManagedTest_
static

Definition at line 201 of file test_parallel_reduce.cpp.