Home
last modified time | relevance | path

Searched refs:cl_half (Results 1 - 7 of 7) sorted by relevance

/third_party/opencl-headers/CL/
H A Dcl_half.h19 * 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, in cl_half_handle_overflow()
87 static inline cl_half cl_half_handle_underflow(cl_half_rounding_mode rounding_mode, in cl_half_handle_underflow()
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) in cl_half_from_float()
233 * Convert a cl_double to a cl_half.
235 static inline cl_half cl_half_from_doubl
[all...]
H A Dcl_platform.h159 typedef unsigned __int16 cl_half; typedef
265 typedef uint16_t cl_half; typedef
857 cl_half CL_ALIGNED(4) s[2];
859 __CL_ANON_STRUCT__ struct{ cl_half x, y; };
860 __CL_ANON_STRUCT__ struct{ cl_half s0, s1; };
861 __CL_ANON_STRUCT__ struct{ cl_half lo, hi; };
870 cl_half CL_ALIGNED(8) s[4];
872 __CL_ANON_STRUCT__ struct{ cl_half x, y, z, w; };
873 __CL_ANON_STRUCT__ struct{ cl_half s0, s1, s2, s3; };
889 cl_half CL_ALIGNE
[all...]
/third_party/skia/third_party/externals/angle2/include/CL/
H A Dcl_half.h19 * 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, in cl_half_handle_overflow()
87 static inline cl_half cl_half_handle_underflow(cl_half_rounding_mode rounding_mode, in cl_half_handle_underflow()
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) in cl_half_from_float()
233 * Convert a cl_double to a cl_half.
235 static inline cl_half cl_half_from_doubl
[all...]
H A Dcl_platform.h154 typedef unsigned __int16 cl_half; typedef
256 typedef uint16_t cl_half; typedef
850 cl_half CL_ALIGNED(4) s[2];
852 __CL_ANON_STRUCT__ struct{ cl_half x, y; };
853 __CL_ANON_STRUCT__ struct{ cl_half s0, s1; };
854 __CL_ANON_STRUCT__ struct{ cl_half lo, hi; };
863 cl_half CL_ALIGNED(8) s[4];
865 __CL_ANON_STRUCT__ struct{ cl_half x, y, z, w; };
866 __CL_ANON_STRUCT__ struct{ cl_half s0, s1, s2, s3; };
882 cl_half CL_ALIGNE
[all...]
/third_party/opencl-headers/tests/
H A Dtest_cl_half.h.c20 #include "CL/cl_half.h"
27 int test_half_to_float(cl_half h, cl_float ref) in test_half_to_float()
41 int test_half_from_float(cl_float f, cl_half ref, in test_half_from_float()
44 cl_half h = cl_half_from_float(f, mode); in test_half_from_float()
58 printf("\nChecking conversion routines in cl_half.h\n"); in main()
/third_party/mesa3d/include/CL/
H A Dcl_platform.h134 typedef unsigned __int16 cl_half; typedef
236 typedef uint16_t cl_half; typedef
830 cl_half CL_ALIGNED(4) s[2];
832 __CL_ANON_STRUCT__ struct{ cl_half x, y; };
833 __CL_ANON_STRUCT__ struct{ cl_half s0, s1; };
834 __CL_ANON_STRUCT__ struct{ cl_half lo, hi; };
843 cl_half CL_ALIGNED(8) s[4];
845 __CL_ANON_STRUCT__ struct{ cl_half x, y, z, w; };
846 __CL_ANON_STRUCT__ struct{ cl_half s0, s1, s2, s3; };
862 cl_half CL_ALIGNE
[all...]
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Dprintf.cpp136 cl_half h; in print_formatted()

Completed in 13 milliseconds