From 6f4e5eda4d4ba28acce4fa463b88e2c52c5eb06d Mon Sep 17 00:00:00 2001 From: Evan Harvey Date: Tue, 30 Nov 2021 07:20:32 -0700 Subject: [PATCH 1/2] example/gmres: Specify half_t namespace --- example/gmres/gmres.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/gmres/gmres.hpp b/example/gmres/gmres.hpp index 0fb6870d55..5a7ee2c376 100644 --- a/example/gmres/gmres.hpp +++ b/example/gmres/gmres.hpp @@ -59,7 +59,7 @@ namespace Kokkos { namespace Issue1172WorkAround { #if !KOKKOS_HALF_T_IS_FLOAT Kokkos::Experimental::half_t fabs(Kokkos::Experimental::half_t arg) { - using AT = Kokkos::Details::ArithTraits; + using AT = Kokkos::Details::ArithTraits; return AT::abs(arg); } From 5155bdc9bdaadec555f533eaee0bfcc9d867f88d Mon Sep 17 00:00:00 2001 From: Evan Harvey Date: Tue, 30 Nov 2021 14:05:22 -0700 Subject: [PATCH 2/2] example/gmres: Use complex double --- example/gmres/test_cmplx_A.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/gmres/test_cmplx_A.cpp b/example/gmres/test_cmplx_A.cpp index 5fe72af295..a19d6ad7e1 100644 --- a/example/gmres/test_cmplx_A.cpp +++ b/example/gmres/test_cmplx_A.cpp @@ -53,7 +53,7 @@ #include "gmres.hpp" int main(int /*argc*/, char** /*argv[]*/) { - typedef Kokkos::complex ST; + typedef Kokkos::complex ST; typedef int OT; typedef Kokkos::DefaultExecutionSpace EXSP;