diff --git a/batched/dense/unit_test/Test_Batched_Dense.hpp b/batched/dense/unit_test/Test_Batched_Dense.hpp index a45b74d2a2..37673e1a5e 100644 --- a/batched/dense/unit_test/Test_Batched_Dense.hpp +++ b/batched/dense/unit_test/Test_Batched_Dense.hpp @@ -64,7 +64,6 @@ #include "Test_Batched_SerialLaswp.hpp" #include "Test_Batched_SerialIamax.hpp" #include "Test_Batched_SerialGetrf.hpp" -#include "Test_Batched_SerialGetrf_Real.hpp" // Team Kernels #include "Test_Batched_TeamAxpy.hpp" diff --git a/batched/dense/unit_test/Test_Batched_SerialGetrf.hpp b/batched/dense/unit_test/Test_Batched_SerialGetrf.hpp index cce4dde7e4..bb905bbdb9 100644 --- a/batched/dense/unit_test/Test_Batched_SerialGetrf.hpp +++ b/batched/dense/unit_test/Test_Batched_SerialGetrf.hpp @@ -335,3 +335,35 @@ int test_batched_getrf() { return 0; } + +#if defined(KOKKOSKERNELS_INST_FLOAT) +TEST_F(TestCategory, test_batched_getrf_float) { + using algo_tag_type = typename Algo::Getrf::Unblocked; + + test_batched_getrf(); +} +#endif + +#if defined(KOKKOSKERNELS_INST_DOUBLE) +TEST_F(TestCategory, test_batched_getrf_double) { + using algo_tag_type = typename Algo::Getrf::Unblocked; + + test_batched_getrf(); +} +#endif + +#if defined(KOKKOSKERNELS_INST_COMPLEX_FLOAT) +TEST_F(TestCategory, test_batched_getrf_fcomplex) { + using algo_tag_type = typename Algo::Getrf::Unblocked; + + test_batched_getrf, algo_tag_type>(); +} +#endif + +#if defined(KOKKOSKERNELS_INST_COMPLEX_DOUBLE) +TEST_F(TestCategory, test_batched_getrf_dcomplex) { + using algo_tag_type = typename Algo::Getrf::Unblocked; + + test_batched_getrf, algo_tag_type>(); +} +#endif diff --git a/batched/dense/unit_test/Test_Batched_SerialGetrf_Real.hpp b/batched/dense/unit_test/Test_Batched_SerialGetrf_Real.hpp deleted file mode 100644 index a53e6c510b..0000000000 --- a/batched/dense/unit_test/Test_Batched_SerialGetrf_Real.hpp +++ /dev/null @@ -1,31 +0,0 @@ -//@HEADER -// ************************************************************************ -// -// Kokkos v. 4.0 -// Copyright (2022) National Technology & Engineering -// Solutions of Sandia, LLC (NTESS). -// -// Under the terms of Contract DE-NA0003525 with NTESS, -// the U.S. Government retains certain rights in this software. -// -// Part of Kokkos, under the Apache License v2.0 with LLVM Exceptions. -// See https://kokkos.org/LICENSE for license information. -// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception -// -//@HEADER - -#if defined(KOKKOSKERNELS_INST_FLOAT) -TEST_F(TestCategory, test_batched_getrf_float) { - using algo_tag_type = typename Algo::Getrf::Unblocked; - - test_batched_getrf(); -} -#endif - -#if defined(KOKKOSKERNELS_INST_DOUBLE) -TEST_F(TestCategory, test_batched_getrf_double) { - using algo_tag_type = typename Algo::Getrf::Unblocked; - - test_batched_getrf(); -} -#endif