Update Kokkos library to v2.03.13
This commit is contained in:
@ -72,8 +72,33 @@ struct TestRange {
|
||||
typename view_type::HostMirror host_flags = Kokkos::create_mirror_view( m_flags );
|
||||
|
||||
Kokkos::parallel_for( Kokkos::RangePolicy< ExecSpace, ScheduleType >( 0, N ), *this );
|
||||
|
||||
#if defined(KOKKOS_ENABLE_PROFILING)
|
||||
{
|
||||
typedef TestRange< ExecSpace, ScheduleType > ThisType;
|
||||
std::string label("parallel_for");
|
||||
Kokkos::Impl::ParallelConstructName< ThisType, void> pcn(label);
|
||||
ASSERT_EQ( pcn.get(), label );
|
||||
std::string empty_label("");
|
||||
Kokkos::Impl::ParallelConstructName< ThisType, void> empty_pcn(empty_label);
|
||||
ASSERT_EQ( empty_pcn.get(), typeid(ThisType).name() );
|
||||
}
|
||||
#endif
|
||||
|
||||
Kokkos::parallel_for( Kokkos::RangePolicy< ExecSpace, ScheduleType, VerifyInitTag >( 0, N ), *this );
|
||||
|
||||
#if defined(KOKKOS_ENABLE_PROFILING)
|
||||
{
|
||||
typedef TestRange< ExecSpace, ScheduleType > ThisType;
|
||||
std::string label("parallel_for");
|
||||
Kokkos::Impl::ParallelConstructName< ThisType, VerifyInitTag> pcn(label);
|
||||
ASSERT_EQ( pcn.get(), label );
|
||||
std::string empty_label("");
|
||||
Kokkos::Impl::ParallelConstructName< ThisType, VerifyInitTag> empty_pcn(empty_label);
|
||||
ASSERT_EQ( empty_pcn.get(), std::string(typeid(ThisType).name()) + "/" + typeid(VerifyInitTag).name() );
|
||||
}
|
||||
#endif
|
||||
|
||||
Kokkos::deep_copy( host_flags, m_flags );
|
||||
|
||||
int error_count = 0;
|
||||
|
||||
Reference in New Issue
Block a user