Home
last modified time | relevance | path

Searched refs:CL_USHRT_MAX (Results 1 – 10 of 10) sorted by relevance

/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_add_sat.cpp88 r = MIN( r, CL_USHRT_MAX ); in verify_addsat_ushort()
Dtest_sub_sat.cpp89 r = MIN( r, CL_USHRT_MAX ); in verify_subsat_ushort()
Dverification_and_generation_functions.cpp1245 …tatic const cl_ushort specialCaseList[] = { 0, -1, 1, CL_SHRT_MAX, CL_SHRT_MAX + 1, CL_USHRT_MAX }; in init_ushort_data()
Dtest_integers.cpp1660 ((cl_ushort*) destination)[0] = (cl_ushort) MIN( multLo, (cl_ulong) CL_USHRT_MAX ); in verify_integer_mad_sat()
/external/OpenCL-CTS/dependencies/ocl-headers/CL/
Dcl_platform.h167 #define CL_USHRT_MAX 65535 macro
269 #define CL_USHRT_MAX 65535
/external/angle/include/CL/
Dcl_platform.h167 #define CL_USHRT_MAX 65535 macro
269 #define CL_USHRT_MAX 65535
/external/mesa3d/include/CL/
Dcl_platform.h147 #define CL_USHRT_MAX 65535 macro
249 #define CL_USHRT_MAX 65535
/external/OpenCL-CTS/test_conformance/basic/
Dtest_numeric_constants.cpp69 TEST_VALUE_EQUAL_LITERAL( "CL_USHRT_MAX", CL_USHRT_MAX, 65535) in test_host_numeric_constants()
/external/OpenCL-CTS/test_conformance/conversions/
Dbasic_test_conversions.cpp891 …, void *in){ cl_uint u = ((cl_uint*) in)[0]; ((cl_ushort*) out)[0] = CLAMP( 0, u, CL_USHRT_MAX); } in uint2ushort_sat()
900 …out, void *in){ cl_int i = ((cl_int*) in)[0]; ((cl_ushort*) out)[0] = CLAMP( 0, i, CL_USHRT_MAX); } in int2ushort_sat()
909 …void *in){ ((cl_ushort*) out)[0] = CLAMP( 0, lrintf_clamped(((cl_float*) in)[0]), CL_USHRT_MAX ); } in float2ushort_sat()
944 …void *in){ ((cl_ushort*) out)[0] = CLAMP( 0, lrint_clamped(((cl_double*) in)[0]), CL_USHRT_MAX ); } in double2ushort_sat()
953 …void *in){ cl_ulong u = ((cl_ulong*) in)[0]; ((cl_ushort*) out)[0] = CLAMP( 0, u, CL_USHRT_MAX ); } in ulong2ushort_sat()
962 …, void *in){ cl_long u = ((cl_long*) in)[0]; ((cl_ushort*) out)[0] = CLAMP( 0, u, CL_USHRT_MAX ); } in long2ushort_sat()
/external/OpenCL-CTS/test_common/harness/
DimageHelpers.cpp2741 CL_USHRT_MAX); in pack_image_pixel()
2762 if (d > CL_USHRT_MAX) d = CL_USHRT_MAX; in pack_image_pixel()
2910 - (cl_int)CONVERT_UINT(srcVector[i], 32767.f, CL_USHRT_MAX); in pack_image_pixel_error()