Lines Matching defs:ref
27 int test_half_to_float(cl_half h, cl_float ref)
30 if (f != ref) {
33 ref_i.f = ref;
41 int test_half_from_float(cl_float f, cl_half ref,
45 if (h != ref) {
50 f_i.i, mode_str, ref, h);
60 #define CHECK_TO_FLOAT(h, ref) \
61 if (!test_half_to_float(h, ref)) { \
74 #define CHECK_FROM_FLOAT(f, ref, mode) \
75 if (!test_half_from_float(f, ref, CL_HALF_##mode, #mode)) { \