Skip to content

Commit

Permalink
Backup
Browse files Browse the repository at this point in the history
  • Loading branch information
eeprude committed Oct 9, 2023
1 parent 3b2cafb commit bba2e14
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 32 deletions.
32 changes: 16 additions & 16 deletions lapack/unit_test/Test_Lapack_gesv.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -343,15 +343,15 @@ int test_gesv_mrhs(const char* mode) {
!defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS))
TEST_F(TestCategory, gesv_float) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::gesv_float");
test_gesv<float, TestExecSpace>("N"); // No pivoting
test_gesv<float, TestExecSpace>("Y"); // Partial pivoting
test_gesv<float, TestDevice>("N"); // No pivoting
test_gesv<float, TestDevice>("Y"); // Partial pivoting
Kokkos::Profiling::popRegion();
}

TEST_F(TestCategory, gesv_mrhs_float) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::gesv_mrhs_float");
test_gesv_mrhs<float, TestExecSpace>("N"); // No pivoting
test_gesv_mrhs<float, TestExecSpace>("Y"); // Partial pivoting
test_gesv_mrhs<float, TestDevice>("N"); // No pivoting
test_gesv_mrhs<float, TestDevice>("Y"); // Partial pivoting
Kokkos::Profiling::popRegion();
}
#endif
Expand All @@ -361,15 +361,15 @@ TEST_F(TestCategory, gesv_mrhs_float) {
!defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS))
TEST_F(TestCategory, gesv_double) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::gesv_double");
test_gesv<double, TestExecSpace>("N"); // No pivoting
test_gesv<double, TestExecSpace>("Y"); // Partial pivoting
test_gesv<double, TestDevice>("N"); // No pivoting
test_gesv<double, TestDevice>("Y"); // Partial pivoting
Kokkos::Profiling::popRegion();
}

TEST_F(TestCategory, gesv_mrhs_double) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::gesv_mrhs_double");
test_gesv_mrhs<double, TestExecSpace>("N"); // No pivoting
test_gesv_mrhs<double, TestExecSpace>("Y"); // Partial pivoting
test_gesv_mrhs<double, TestDevice>("N"); // No pivoting
test_gesv_mrhs<double, TestDevice>("Y"); // Partial pivoting
Kokkos::Profiling::popRegion();
}
#endif
Expand All @@ -379,15 +379,15 @@ TEST_F(TestCategory, gesv_mrhs_double) {
!defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS))
TEST_F(TestCategory, gesv_complex_double) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::gesv_complex_double");
test_gesv<Kokkos::complex<double>, TestExecSpace>("N"); // No pivoting
test_gesv<Kokkos::complex<double>, TestExecSpace>("Y"); // Partial pivoting
test_gesv<Kokkos::complex<double>, TestDevice>("N"); // No pivoting
test_gesv<Kokkos::complex<double>, TestDevice>("Y"); // Partial pivoting
Kokkos::Profiling::popRegion();
}

TEST_F(TestCategory, gesv_mrhs_complex_double) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::gesv_mrhs_complex_double");
test_gesv_mrhs<Kokkos::complex<double>, TestExecSpace>("N"); // No pivoting
test_gesv_mrhs<Kokkos::complex<double>, TestExecSpace>(
test_gesv_mrhs<Kokkos::complex<double>, TestDevice>("N"); // No pivoting
test_gesv_mrhs<Kokkos::complex<double>, TestDevice>(
"Y"); // Partial pivoting
Kokkos::Profiling::popRegion();
}
Expand All @@ -398,15 +398,15 @@ TEST_F(TestCategory, gesv_mrhs_complex_double) {
!defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS))
TEST_F(TestCategory, gesv_complex_float) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::gesv_complex_float");
test_gesv<Kokkos::complex<float>, TestExecSpace>("N"); // No pivoting
test_gesv<Kokkos::complex<float>, TestExecSpace>("Y"); // Partial pivoting
test_gesv<Kokkos::complex<float>, TestDevice>("N"); // No pivoting
test_gesv<Kokkos::complex<float>, TestDevice>("Y"); // Partial pivoting
Kokkos::Profiling::popRegion();
}

TEST_F(TestCategory, gesv_mrhs_complex_float) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::gesv_mrhs_complex_float");
test_gesv_mrhs<Kokkos::complex<float>, TestExecSpace>("N"); // No pivoting
test_gesv_mrhs<Kokkos::complex<float>, TestExecSpace>(
test_gesv_mrhs<Kokkos::complex<float>, TestDevice>("N"); // No pivoting
test_gesv_mrhs<Kokkos::complex<float>, TestDevice>(
"Y"); // Partial pivoting
Kokkos::Profiling::popRegion();
}
Expand Down
32 changes: 16 additions & 16 deletions lapack/unit_test/Test_Lapack_trtri.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,10 +363,10 @@ int test_trtri(const char* mode) {
!defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS))
TEST_F(TestCategory, trtri_float) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::trtri_float");
test_trtri<float, TestExecSpace>("UN");
test_trtri<float, TestExecSpace>("UU");
test_trtri<float, TestExecSpace>("LN");
test_trtri<float, TestExecSpace>("LU");
test_trtri<float, TestDevice>("UN");
test_trtri<float, TestDevice>("UU");
test_trtri<float, TestDevice>("LN");
test_trtri<float, TestDevice>("LU");
Kokkos::Profiling::popRegion();
}
#endif
Expand All @@ -376,10 +376,10 @@ TEST_F(TestCategory, trtri_float) {
!defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS))
TEST_F(TestCategory, trtri_double) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::trtri_double");
test_trtri<double, TestExecSpace>("UN");
test_trtri<double, TestExecSpace>("UU");
test_trtri<double, TestExecSpace>("LN");
test_trtri<double, TestExecSpace>("LU");
test_trtri<double, TestDevice>("UN");
test_trtri<double, TestDevice>("UU");
test_trtri<double, TestDevice>("LN");
test_trtri<double, TestDevice>("LU");
Kokkos::Profiling::popRegion();
}
#endif
Expand All @@ -389,10 +389,10 @@ TEST_F(TestCategory, trtri_double) {
!defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS))
TEST_F(TestCategory, trtri_complex_double) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::trtri_complex_double");
test_trtri<Kokkos::complex<double>, TestExecSpace>("UN");
test_trtri<Kokkos::complex<double>, TestExecSpace>("UU");
test_trtri<Kokkos::complex<double>, TestExecSpace>("LN");
test_trtri<Kokkos::complex<double>, TestExecSpace>("LU");
test_trtri<Kokkos::complex<double>, TestDevice>("UN");
test_trtri<Kokkos::complex<double>, TestDevice>("UU");
test_trtri<Kokkos::complex<double>, TestDevice>("LN");
test_trtri<Kokkos::complex<double>, TestDevice>("LU");
Kokkos::Profiling::popRegion();
}
#endif
Expand All @@ -402,10 +402,10 @@ TEST_F(TestCategory, trtri_complex_double) {
!defined(KOKKOSKERNELS_IMPL_CHECK_ETI_CALLS))
TEST_F(TestCategory, trtri_complex_float) {
Kokkos::Profiling::pushRegion("KokkosLapack::Test::trtri_complex_float");
test_trtri<Kokkos::complex<float>, TestExecSpace>("UN");
test_trtri<Kokkos::complex<float>, TestExecSpace>("UU");
test_trtri<Kokkos::complex<float>, TestExecSpace>("LN");
test_trtri<Kokkos::complex<float>, TestExecSpace>("LU");
test_trtri<Kokkos::complex<float>, TestDevice>("UN");
test_trtri<Kokkos::complex<float>, TestDevice>("UU");
test_trtri<Kokkos::complex<float>, TestDevice>("LN");
test_trtri<Kokkos::complex<float>, TestDevice>("LU");
Kokkos::Profiling::popRegion();
}
#endif

0 comments on commit bba2e14

Please sign in to comment.