Searched refs:CL_USHRT_MAX (Results 1 – 10 of 10) sorted by relevance
/external/OpenCL-CTS/test_conformance/integer_ops/ |
D | test_add_sat.cpp | 88 r = MIN( r, CL_USHRT_MAX ); in verify_addsat_ushort()
|
D | test_sub_sat.cpp | 89 r = MIN( r, CL_USHRT_MAX ); in verify_subsat_ushort()
|
D | verification_and_generation_functions.cpp | 1245 …tatic const cl_ushort specialCaseList[] = { 0, -1, 1, CL_SHRT_MAX, CL_SHRT_MAX + 1, CL_USHRT_MAX }; in init_ushort_data()
|
D | test_integers.cpp | 1660 ((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/ |
D | cl_platform.h | 167 #define CL_USHRT_MAX 65535 macro 269 #define CL_USHRT_MAX 65535
|
/external/angle/include/CL/ |
D | cl_platform.h | 167 #define CL_USHRT_MAX 65535 macro 269 #define CL_USHRT_MAX 65535
|
/external/mesa3d/include/CL/ |
D | cl_platform.h | 147 #define CL_USHRT_MAX 65535 macro 249 #define CL_USHRT_MAX 65535
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_numeric_constants.cpp | 69 TEST_VALUE_EQUAL_LITERAL( "CL_USHRT_MAX", CL_USHRT_MAX, 65535) in test_host_numeric_constants()
|
/external/OpenCL-CTS/test_conformance/conversions/ |
D | basic_test_conversions.cpp | 891 …, 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/ |
D | imageHelpers.cpp | 2741 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()
|