Skip to content

Commit d2884d5

Browse files
committed
Lapack - geqrf: fixing some small issues
Signed-off-by: Luc Berger-Vergiat <[email protected]>
1 parent 6749ab5 commit d2884d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

benchmarks/sparse/KokkosSparse_par_ilut.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,8 +484,8 @@ int run_ilu_perf_tests(const std::string& matrix_file, int rows, int nnz_per_row
484484
auto plambda = [&](benchmark::State& state) {
485485
run_par_ilut_test(state, kh, A, num_iters, parilut_results, validate);
486486
};
487-
auto r = KokkosKernelsBenchmark::register_benchmark_real_time((name + "_par_ilut").c_str(), plambda, arg_names,
488-
args, loop);
487+
KokkosKernelsBenchmark::register_benchmark_real_time((name + "_par_ilut").c_str(), plambda, arg_names,
488+
args, loop);
489489
}
490490

491491
if (test & 2) {

lapack/unit_test/Test_Lapack_geqrf.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void getQR(int const m, int const n, typename ViewTypeA::HostMirror const& h_A,
147147
Kokkos::deep_copy(h_auxM, KokkosKernels::ArithTraits<ScalarA>::zero());
148148
KokkosBlas::gemm("C", "N", 1., h_Q, h_Q, 0., h_auxM);
149149

150-
typename KokkosKErnels::ArithTraits<typename ViewTypeA::non_const_value_type>::mag_type absTol(1.e-8);
150+
typename KokkosKernels::ArithTraits<typename ViewTypeA::non_const_value_type>::mag_type absTol(1.e-8);
151151
if constexpr (std::is_same_v<typename KokkosKernels::ArithTraits<typename ViewTypeA::non_const_value_type>::mag_type,
152152
float>) {
153153
absTol = 5.e-5;
@@ -436,7 +436,7 @@ void impl_test_geqrf(int m, int n) {
436436
0 0 -35 ]
437437
#endif
438438

439-
if constexpr (KokkosKErnels::ArithTraits<ScalarA>::is_complex) {
439+
if constexpr (KokkosKernels::ArithTraits<ScalarA>::is_complex) {
440440
refQ[0][0].real() = -6. / 7.;
441441
refQ[0][1].real() = 69. / 175.;
442442
refQ[0][2].real() = 58. / 175.;

0 commit comments

Comments
 (0)