Home
last modified time | relevance | path

Searched refs:CL_INT_MAX (Results 1 – 14 of 14) sorted by relevance

/external/OpenCL-CTS/test_conformance/c11_atomics/
Dcommon.cpp199 template<> cl_int AtomicTypeExtendedInfo<cl_int>::MaxValue() {return CL_INT_MAX;} in MaxValue()
/external/OpenCL-CTS/test_conformance/conversions/
Dbasic_test_conversions.cpp893 … *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/
Dverification_and_generation_functions.cpp656 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()
Dtest_add_sat.cpp105 r = CL_INT_MAX; in verify_addsat_int()
Dtest_sub_sat.cpp106 r = CL_INT_MAX; in verify_subsat_int()
Dtest_integers.cpp1747 result = MIN( result, (cl_long) CL_INT_MAX ); in verify_integer_mad_sat()
/external/OpenCL-CTS/dependencies/ocl-headers/CL/
Dcl_platform.h168 #define CL_INT_MAX 2147483647 macro
270 #define CL_INT_MAX 2147483647
/external/angle/include/CL/
Dcl_platform.h168 #define CL_INT_MAX 2147483647 macro
270 #define CL_INT_MAX 2147483647
/external/mesa3d/include/CL/
Dcl_platform.h148 #define CL_INT_MAX 2147483647 macro
250 #define CL_INT_MAX 2147483647
/external/OpenCL-CTS/test_common/harness/
DThreadPool.cpp692 gRunCount = CL_INT_MAX; in ThreadPool_Exit()
DimageHelpers.cpp2727 CL_INT_MAX); in pack_image_pixel()
2896 CL_INT_MAX)); in pack_image_pixel_error()
/external/OpenCL-CTS/test_conformance/workgroups/
Dtest_wg_reduce_min.cpp72 int min = CL_INT_MAX; in verify_wg_reduce_min_int()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_numeric_constants.cpp70 TEST_VALUE_EQUAL_LITERAL( "CL_INT_MAX", CL_INT_MAX, 2147483647) in test_host_numeric_constants()
/external/OpenCL-CTS/test_conformance/math_brute_force/
Dreference_math.cpp607 return CL_INT_MAX; in reference_ilogb()
1681 return CL_INT_MAX; in reference_ilogbl()