Searched refs:CL_INT_MAX (Results 1 – 14 of 14) sorted by relevance
/external/OpenCL-CTS/test_conformance/c11_atomics/ |
D | common.cpp | 199 template<> cl_int AtomicTypeExtendedInfo<cl_int>::MaxValue() {return CL_INT_MAX;} in MaxValue()
|
/external/OpenCL-CTS/test_conformance/conversions/ |
D | basic_test_conversions.cpp | 893 … *out, void *in){ cl_uint u = ((cl_uint*) in)[0]; ((cl_int*) out)[0] = CLAMP( 0, u, CL_INT_MAX); } in uint2int_sat() 902 …id *out, void *in){ cl_int i = ((cl_int*) in)[0]; ((cl_uint*) out)[0] = CLAMP( 0, i, CL_INT_MAX); } in int2uint_sat() 912 …cl_int*) out)[0] = (cl_int) CLAMP( CL_INT_MIN, lrintf_clamped(((cl_float*) in)[0]), CL_INT_MAX ); } in float2int_sat() 947 …cl_int*) out)[0] = (cl_int) CLAMP( CL_INT_MIN, lrint_clamped(((cl_double*) in)[0]), CL_INT_MAX ); } in double2int_sat() 956 … *in){ cl_ulong u = ((cl_ulong*) in)[0]; ((cl_int*) out)[0] = (cl_int) CLAMP( 0, u, CL_INT_MAX ); } in ulong2int_sat() 965 …){ cl_long u = ((cl_long*) in)[0]; ((cl_int*) out)[0] = (int) CLAMP( CL_INT_MIN, u, CL_INT_MAX ); } in long2int_sat() 1236 double clampd_int( double f ) { return dclamp( INT_MIN - 0.5, f, CL_INT_MAX + 0.5 - MAKE_HEX_… in clampd_int() 1238 double clampd_int_rte( double f ) { return dclamp( INT_MIN - 0.5, f, CL_INT_MAX + 0.5 - MAKE_HEX_… in clampd_int_rte() 1240 …turn dclamp( INT_MIN - 1.0 + DBL_EPSILON * MAKE_HEX_DOUBLE(0x1.0p31, 0x1LL, 31), f, CL_INT_MAX ); } in clampd_int_rtp() 1242 double clampd_int_rtn( double f ) { return dclamp( INT_MIN, f, CL_INT_MAX + 1.0 - MAKE_HEX_DOUBLE… in clampd_int_rtn() [all …]
|
/external/OpenCL-CTS/test_conformance/integer_ops/ |
D | verification_and_generation_functions.cpp | 656 static const cl_int specialCaseList[] = { 0, -1, 1, CL_INT_MIN, CL_INT_MIN + 1, CL_INT_MAX }; in init_int_data() 850 …static cl_uint specialCaseList[] = { 0, (cl_uint) CL_INT_MAX, (cl_uint) CL_INT_MAX + 1, CL_UINT_MA… in init_uint_data()
|
D | test_add_sat.cpp | 105 r = CL_INT_MAX; in verify_addsat_int()
|
D | test_sub_sat.cpp | 106 r = CL_INT_MAX; in verify_subsat_int()
|
D | test_integers.cpp | 1747 result = MIN( result, (cl_long) CL_INT_MAX ); in verify_integer_mad_sat()
|
/external/OpenCL-CTS/dependencies/ocl-headers/CL/ |
D | cl_platform.h | 168 #define CL_INT_MAX 2147483647 macro 270 #define CL_INT_MAX 2147483647
|
/external/angle/include/CL/ |
D | cl_platform.h | 168 #define CL_INT_MAX 2147483647 macro 270 #define CL_INT_MAX 2147483647
|
/external/mesa3d/include/CL/ |
D | cl_platform.h | 148 #define CL_INT_MAX 2147483647 macro 250 #define CL_INT_MAX 2147483647
|
/external/OpenCL-CTS/test_common/harness/ |
D | ThreadPool.cpp | 692 gRunCount = CL_INT_MAX; in ThreadPool_Exit()
|
D | imageHelpers.cpp | 2727 CL_INT_MAX); in pack_image_pixel() 2896 CL_INT_MAX)); in pack_image_pixel_error()
|
/external/OpenCL-CTS/test_conformance/workgroups/ |
D | test_wg_reduce_min.cpp | 72 int min = CL_INT_MAX; in verify_wg_reduce_min_int()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_numeric_constants.cpp | 70 TEST_VALUE_EQUAL_LITERAL( "CL_INT_MAX", CL_INT_MAX, 2147483647) in test_host_numeric_constants()
|
/external/OpenCL-CTS/test_conformance/math_brute_force/ |
D | reference_math.cpp | 607 return CL_INT_MAX; in reference_ilogb() 1681 return CL_INT_MAX; in reference_ilogbl()
|