Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example/gmres: Specify half_t namespace #1208

Merged
merged 2 commits into from
Dec 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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