Home
last modified time | relevance | path

Searched refs:round_to_even (Results 1 – 3 of 3) sorted by relevance

/external/OpenCL-CTS/test_common/harness/
DimageHelpers.h66 int round_to_even(float v);
68 #define NORMALIZE(v, max) (v < 0 ? 0 : (v > 1.f ? max : round_to_even(v * max)))
71 (v < -1.0f ? min : (v > 1.f ? max : round_to_even(v * max)))
75 (v < min ? min : (v > max ? max_val : round_to_even(v)))
77 (v < 0 ? 0 : (v > max ? max_val : round_to_even(v)))
DimageHelpers.cpp2583 int round_to_even(float v) in round_to_even() function
/external/OpenCL-CTS/test_conformance/spirv_new/
Dtest_decorate.cpp389 inline To round_to_even(Ti in) in round_to_even() function
428 TEST_SPIRV_FP_ROUNDING_DECORATE(rte, round_to_even, float, int);
433 TEST_SPIRV_FP_ROUNDING_DECORATE(rte, round_to_even, double, long);