Skip to content

Commit

Permalink
Merge pull request #1208 from e10harvey/issue1157-2
Browse files Browse the repository at this point in the history
example/gmres: Specify half_t namespace
  • Loading branch information
ndellingwood authored Dec 2, 2021
2 parents 01bad5a + 5155bdc commit 7ff0b5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/gmres/gmres.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<half_t>;
using AT = Kokkos::Details::ArithTraits<Kokkos::Experimental::half_t>;
return AT::abs(arg);
}

Expand Down
2 changes: 1 addition & 1 deletion example/gmres/test_cmplx_A.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#include "gmres.hpp"

int main(int /*argc*/, char** /*argv[]*/) {
typedef Kokkos::complex<Kokkos::Experimental::half_t> ST;
typedef Kokkos::complex<double> ST;
typedef int OT;
typedef Kokkos::DefaultExecutionSpace EXSP;

Expand Down

0 comments on commit 7ff0b5c

Please sign in to comment.