Lines Matching refs:cl_half
19 * routines for converting to/from cl_half values.
23 * #include <CL/cl_half.h>
25 * cl_half h = cl_half_from_float(0.5f, CL_HALF_RTE);
42 * Rounding mode used when converting to cl_half.
61 static inline cl_half cl_half_handle_overflow(cl_half_rounding_mode rounding_mode,
87 static inline cl_half cl_half_handle_underflow(cl_half_rounding_mode rounding_mode,
107 * Convert a cl_float to a cl_half.
109 static inline cl_half cl_half_from_float(cl_float f, cl_half_rounding_mode rounding_mode)
233 * Convert a cl_double to a cl_half.
235 static inline cl_half cl_half_from_double(cl_double d, cl_half_rounding_mode rounding_mode)
359 * Convert a cl_half to a cl_float.
361 static inline cl_float cl_half_to_float(cl_half h)