kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Tests::Impl::DispatchLabelTest_deduplicate_Test Class Reference
Inheritance diagram for Tests::Impl::DispatchLabelTest_deduplicate_Test:

Public Member Functions

 DispatchLabelTest_deduplicate_Test ()=default
 ~DispatchLabelTest_deduplicate_Test () override=default
 DispatchLabelTest_deduplicate_Test (const DispatchLabelTest_deduplicate_Test &)=delete
DispatchLabelTest_deduplicate_Test & operator= (const DispatchLabelTest_deduplicate_Test &)=delete
 DispatchLabelTest_deduplicate_Test (DispatchLabelTest_deduplicate_Test &&) noexcept=delete
DispatchLabelTest_deduplicate_Test & operator= (DispatchLabelTest_deduplicate_Test &&) noexcept=delete

Private Member Functions

void TestBody () override

Static Private Attributes

static ::testing::TestInfo *const test_info_ = ::testing::internal::MakeAndRegisterTestInfo( "DispatchLabelTest", "deduplicate", nullptr, nullptr, ::testing::internal::CodeLocation("/__w/kokkos-execution/kokkos-execution/tests/impl/test_dispatch_label.cpp", 72), (::testing::internal::GetTestTypeId()), ::testing::internal::SuiteApiResolver< ::testing::Test>::GetSetUpCaseOrSuite("/__w/kokkos-execution/kokkos-execution/tests/impl/test_dispatch_label.cpp", 72), ::testing::internal::SuiteApiResolver< ::testing::Test>::GetTearDownCaseOrSuite("/__w/kokkos-execution/kokkos-execution/tests/impl/test_dispatch_label.cpp", 72), new ::testing::internal::TestFactoryImpl< DispatchLabelTest_deduplicate_Test >)

Detailed Description

Test
Check that Kokkos::Execution::Impl::dispatch_label does not create duplicated static storage strings for the same arguments.
Note
According to the possible implementation given in [10] (ยง3.4), two evaluatations of std::define_static_string with equal contents point to the same storage.

Definition at line 72 of file test_dispatch_label.cpp.

Constructor & Destructor Documentation

◆ DispatchLabelTest_deduplicate_Test() [1/3]

Tests::Impl::DispatchLabelTest_deduplicate_Test::DispatchLabelTest_deduplicate_Test ( )
default

◆ ~DispatchLabelTest_deduplicate_Test()

Tests::Impl::DispatchLabelTest_deduplicate_Test::~DispatchLabelTest_deduplicate_Test ( )
overridedefault

◆ DispatchLabelTest_deduplicate_Test() [2/3]

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

◆ DispatchLabelTest_deduplicate_Test() [3/3]

Tests::Impl::DispatchLabelTest_deduplicate_Test::DispatchLabelTest_deduplicate_Test ( DispatchLabelTest_deduplicate_Test && )
deletenoexcept

Member Function Documentation

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ TestBody()

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

Definition at line 72 of file test_dispatch_label.cpp.

Member Data Documentation

◆ test_info_

testing::TestInfo *const Tests::Impl::DispatchLabelTest_deduplicate_Test::test_info_ = ::testing::internal::MakeAndRegisterTestInfo( "DispatchLabelTest", "deduplicate", nullptr, nullptr, ::testing::internal::CodeLocation("/__w/kokkos-execution/kokkos-execution/tests/impl/test_dispatch_label.cpp", 72), (::testing::internal::GetTestTypeId()), ::testing::internal::SuiteApiResolver< ::testing::Test>::GetSetUpCaseOrSuite("/__w/kokkos-execution/kokkos-execution/tests/impl/test_dispatch_label.cpp", 72), ::testing::internal::SuiteApiResolver< ::testing::Test>::GetTearDownCaseOrSuite("/__w/kokkos-execution/kokkos-execution/tests/impl/test_dispatch_label.cpp", 72), new ::testing::internal::TestFactoryImpl< DispatchLabelTest_deduplicate_Test >)
staticprivate

Definition at line 72 of file test_dispatch_label.cpp.


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