legate::Half#
-
class Half#
The half-precision floating point type used in Legate.
Due to the incomplete support for half-precision floating point types in both C++ and standard libraries, it is unspecified which operators and member functions exist on the
Halftype, except:The type shall be constructible from and convertible to,
float.The type shall be assignable from
float, i.e.some_half = 1.0Fshall do what you expect.When Legate is compiled with CUDA enabled,
Halfwill be an alias to CUDA’s native__halftype.