Is your feature request related to a problem? Please describe.
Some projects have been toying with the idea of using half-precision numbers, in addition to single- and double-precision ones. It might be nice to enable EKAT to work with these.
Describe the solution you'd like
To let EKAT work with half-precision numbers, we'd generalize some of the logic in ekat_type_traits.hpp near line 29. Instead of using a double to indicate that double precision should be used, we'd use an enum to select the half, single, or double precision. See this conversation.
Is your feature request related to a problem? Please describe. Some projects have been toying with the idea of using half-precision numbers, in addition to single- and double-precision ones. It might be nice to enable EKAT to work with these.
Describe the solution you'd like To let EKAT work with half-precision numbers, we'd generalize some of the logic in
ekat_type_traits.hpp
near line 29. Instead of using adouble
to indicate that double precision should be used, we'd use an enum to select the half, single, or double precision. See this conversation.