kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Tests::Impl::CompletionSignaturesTest_parallel_for_Test Class Reference
Inheritance diagram for Tests::Impl::CompletionSignaturesTest_parallel_for_Test:
Tests::Impl::CompletionSignaturesTest Tests::Utils::ExecutionSpaceContextTest< TEST_EXECUTION_SPACE > Tests::Utils::ContextTest< Kokkos::Execution::ExecutionSpaceContext, Exec > Kokkos::utils::tests::scoped::ExecutionSpace< Exec >

Public Member Functions

 CompletionSignaturesTest_parallel_for_Test ()=default
 ~CompletionSignaturesTest_parallel_for_Test () override=default
 CompletionSignaturesTest_parallel_for_Test (const CompletionSignaturesTest_parallel_for_Test &)=delete
CompletionSignaturesTest_parallel_for_Testoperator= (const CompletionSignaturesTest_parallel_for_Test &)=delete
 CompletionSignaturesTest_parallel_for_Test (CompletionSignaturesTest_parallel_for_Test &&) noexcept=delete
CompletionSignaturesTest_parallel_for_Testoperator= (CompletionSignaturesTest_parallel_for_Test &&) noexcept=delete
Public Member Functions inherited from Kokkos::utils::tests::scoped::ExecutionSpace< Exec >
 ExecutionSpace ()
ExecutionSpaceoperator= (const ExecutionSpace &)=delete

Private Member Functions

void TestBody () override

Static Private Attributes

static ::testing::TestInfo *const test_info_ = ::testing::internal::MakeAndRegisterTestInfo( "CompletionSignaturesTest", "parallel_for", nullptr, nullptr, ::testing::internal::CodeLocation(__FILE__, __LINE__), (::testing::internal::GetTypeId<CompletionSignaturesTest>()), ::testing::internal::SuiteApiResolver< CompletionSignaturesTest>::GetSetUpCaseOrSuite(__FILE__, __LINE__), ::testing::internal::SuiteApiResolver< CompletionSignaturesTest>::GetTearDownCaseOrSuite(__FILE__, __LINE__), new ::testing::internal::TestFactoryImpl< CompletionSignaturesTest_parallel_for_Test >)

Additional Inherited Members

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

Detailed Description

Test
Check the propagation and addition of the value/error/stopped channels.

This test implicitly exercices KOKKOS_EXECUTION_COMPL_SIGS_ADD and KOKKOS_EXECUTION_COMPL_SIGS_KEEP.

Definition at line 95 of file test_completion_signatures.cpp.

Constructor & Destructor Documentation

◆ CompletionSignaturesTest_parallel_for_Test() [1/3]

Tests::Impl::CompletionSignaturesTest_parallel_for_Test::CompletionSignaturesTest_parallel_for_Test ( )
default

◆ ~CompletionSignaturesTest_parallel_for_Test()

Tests::Impl::CompletionSignaturesTest_parallel_for_Test::~CompletionSignaturesTest_parallel_for_Test ( )
overridedefault

◆ CompletionSignaturesTest_parallel_for_Test() [2/3]

Tests::Impl::CompletionSignaturesTest_parallel_for_Test::CompletionSignaturesTest_parallel_for_Test ( const CompletionSignaturesTest_parallel_for_Test & )
delete

◆ CompletionSignaturesTest_parallel_for_Test() [3/3]

Tests::Impl::CompletionSignaturesTest_parallel_for_Test::CompletionSignaturesTest_parallel_for_Test ( CompletionSignaturesTest_parallel_for_Test && )
deletenoexcept

Member Function Documentation

◆ operator=() [1/2]

CompletionSignaturesTest_parallel_for_Test & Tests::Impl::CompletionSignaturesTest_parallel_for_Test::operator= ( CompletionSignaturesTest_parallel_for_Test && )
deletenoexcept

◆ operator=() [2/2]

CompletionSignaturesTest_parallel_for_Test & Tests::Impl::CompletionSignaturesTest_parallel_for_Test::operator= ( const CompletionSignaturesTest_parallel_for_Test & )
delete

◆ TestBody()

void Tests::Impl::CompletionSignaturesTest_parallel_for_Test::TestBody ( )
overrideprivate

The stopped channel of the experimental::execution::single_thread_context is properly propagated.

The stopped channel is propagated, and the error channel is added.

The error channel was already added, it is added only once.

Definition at line 95 of file test_completion_signatures.cpp.

Member Data Documentation

◆ test_info_

testing::TestInfo *const Tests::Impl::CompletionSignaturesTest_parallel_for_Test::test_info_ = ::testing::internal::MakeAndRegisterTestInfo( "CompletionSignaturesTest", "parallel_for", nullptr, nullptr, ::testing::internal::CodeLocation(__FILE__, __LINE__), (::testing::internal::GetTypeId<CompletionSignaturesTest>()), ::testing::internal::SuiteApiResolver< CompletionSignaturesTest>::GetSetUpCaseOrSuite(__FILE__, __LINE__), ::testing::internal::SuiteApiResolver< CompletionSignaturesTest>::GetTearDownCaseOrSuite(__FILE__, __LINE__), new ::testing::internal::TestFactoryImpl< CompletionSignaturesTest_parallel_for_Test >)
staticprivate

Definition at line 95 of file test_completion_signatures.cpp.


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