Home
last modified time | relevance | path

Searched refs:CL_SHRT_MAX (Results 1 – 9 of 9) sorted by relevance

/external/OpenCL-CTS/test_conformance/integer_ops/
Dverification_and_generation_functions.cpp1047 … static const cl_short specialCaseList[] = { 0, -1, 1, CL_SHRT_MIN, CL_SHRT_MIN + 1, CL_SHRT_MAX }; in init_short_data()
1245 …static const cl_ushort specialCaseList[] = { 0, -1, 1, CL_SHRT_MAX, CL_SHRT_MAX + 1, CL_USHRT_MAX … in init_ushort_data()
Dtest_add_sat.cpp73 r = MIN( r, CL_SHRT_MAX ); in verify_addsat_short()
Dtest_sub_sat.cpp74 r = MIN( r, CL_SHRT_MAX ); in verify_subsat_short()
Dtest_integers.cpp1752 result = MIN( result, (cl_long) CL_SHRT_MAX ); in verify_integer_mad_sat()
/external/OpenCL-CTS/dependencies/ocl-headers/CL/
Dcl_platform.h165 #define CL_SHRT_MAX 32767 macro
267 #define CL_SHRT_MAX 32767
/external/angle/include/CL/
Dcl_platform.h165 #define CL_SHRT_MAX 32767 macro
267 #define CL_SHRT_MAX 32767
/external/mesa3d/include/CL/
Dcl_platform.h145 #define CL_SHRT_MAX 32767 macro
247 #define CL_SHRT_MAX 32767
/external/OpenCL-CTS/test_conformance/basic/
Dtest_numeric_constants.cpp67 TEST_VALUE_EQUAL_LITERAL( "CL_SHRT_MAX", CL_SHRT_MAX, 32767) in test_host_numeric_constants()
/external/OpenCL-CTS/test_conformance/conversions/
Dbasic_test_conversions.cpp892 …ut, void *in){ cl_uint u = ((cl_uint*) in)[0]; ((cl_short*) out)[0] = CLAMP( 0, u, CL_SHRT_MAX); } in uint2short_sat()
901 …d *in){ cl_int i = ((cl_int*) in)[0]; ((cl_short*) out)[0] = CLAMP( CL_SHRT_MIN, i, CL_SHRT_MAX); } in int2short_sat()
910 …){ ((cl_short*) out)[0] = CLAMP( CL_SHRT_MIN, lrintf_clamped(((cl_float*) in)[0]), CL_SHRT_MAX ); } in float2short_sat()
945 …){ ((cl_short*) out)[0] = CLAMP( CL_SHRT_MIN, lrint_clamped(((cl_double*) in)[0]), CL_SHRT_MAX ); } in double2short_sat()
954 …, void *in){ cl_ulong u = ((cl_ulong*) in)[0]; ((cl_short*) out)[0] = CLAMP( 0, u, CL_SHRT_MAX ); } in ulong2short_sat()
963 …in){ cl_long u = ((cl_long*) in)[0]; ((cl_short*) out)[0] = CLAMP( CL_SHRT_MIN, u, CL_SHRT_MAX ); } in long2short_sat()