Searched refs:CL_SHRT_MAX (Results 1 – 9 of 9) sorted by relevance
/external/OpenCL-CTS/test_conformance/integer_ops/ |
D | verification_and_generation_functions.cpp | 1047 … 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()
|
D | test_add_sat.cpp | 73 r = MIN( r, CL_SHRT_MAX ); in verify_addsat_short()
|
D | test_sub_sat.cpp | 74 r = MIN( r, CL_SHRT_MAX ); in verify_subsat_short()
|
D | test_integers.cpp | 1752 result = MIN( result, (cl_long) CL_SHRT_MAX ); in verify_integer_mad_sat()
|
/external/OpenCL-CTS/dependencies/ocl-headers/CL/ |
D | cl_platform.h | 165 #define CL_SHRT_MAX 32767 macro 267 #define CL_SHRT_MAX 32767
|
/external/angle/include/CL/ |
D | cl_platform.h | 165 #define CL_SHRT_MAX 32767 macro 267 #define CL_SHRT_MAX 32767
|
/external/mesa3d/include/CL/ |
D | cl_platform.h | 145 #define CL_SHRT_MAX 32767 macro 247 #define CL_SHRT_MAX 32767
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_numeric_constants.cpp | 67 TEST_VALUE_EQUAL_LITERAL( "CL_SHRT_MAX", CL_SHRT_MAX, 32767) in test_host_numeric_constants()
|
/external/OpenCL-CTS/test_conformance/conversions/ |
D | basic_test_conversions.cpp | 892 …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()
|