Update Kokkos library to v2.03.13

This commit is contained in:
Stan Moore
2017-07-31 10:34:21 -06:00
parent 6d0a228624
commit 13f2d39f55
171 changed files with 44039 additions and 2807 deletions

View File

@ -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;