Home
last modified time | relevance | path

Searched refs:g_arrVecSizes (Results 1 – 21 of 21) sorted by relevance

/external/OpenCL-CTS/test_conformance/commonfns/
Dtest_clamp.cpp208 … log_info("Just made a program for float, i=%d, size=%d, in slot %d\n", i, g_arrVecSizes[i], i); in test_clamp()
213 …log_info("Just made a program for double, i=%d, size=%d, in slot %d\n", i, g_arrVecSizes[i], kTota… in test_clamp()
235 … (verify_clamp(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, n_elems*((g_arrVecSizes[i])))) in test_clamp()
237 log_error("CLAMP float%d test failed\n", ((g_arrVecSizes[i]))); in test_clamp()
242 log_info("CLAMP float%d test passed\n", ((g_arrVecSizes[i]))); in test_clamp()
273 … input_ptr_double[1], input_ptr_double[2], output_ptr_double, n_elems*g_arrVecSizes[(i-kTotalVecCo… in test_clamp()
275 log_error("CLAMP double%d test failed\n", g_arrVecSizes[(i-kTotalVecCount)]); in test_clamp()
280 log_info("CLAMP double%d test passed\n", g_arrVecSizes[(i-kTotalVecCount)]); in test_clamp()
Dmain.cpp22 int g_arrVecSizes[kVectorSizeCount + kStrangeVectorSizeCount]; variable
28 g_arrVecSizes[i] = (1<<i); in initVecSizes()
31 g_arrVecSizes[i] = g_arrStrangeVectorSizes[i-kVectorSizeCount]; in initVecSizes()
Dtest_binary_fn.cpp189 if( floatVerifyFn( input_ptr[0], input_ptr[1], output_ptr, n_elems, ((g_arrVecSizes[i])) ) ) in test_binary_fn()
191 … log_error(" float%d%s test failed\n", ((g_arrVecSizes[i])), vectorSecondParam ? "" : ", float"); in test_binary_fn()
196 … log_info(" float%d%s test passed\n", ((g_arrVecSizes[i])), vectorSecondParam ? "" : ", float"); in test_binary_fn()
222 …ifyFn( input_ptr_double[0], input_ptr_double[1], output_ptr_double, n_elems, ((g_arrVecSizes[i])))) in test_binary_fn()
224 … log_error(" double%d%s test failed\n", ((g_arrVecSizes[i])), vectorSecondParam ? "" : ", double"); in test_binary_fn()
229 … log_info(" double%d%s test passed\n", ((g_arrVecSizes[i])), vectorSecondParam ? "" : ", double"); in test_binary_fn()
Dtest_fmaxf.cpp216 …ify_fmax(input_ptr[0], input_ptr[1], output_ptr, n_elems*((g_arrVecSizes[i])), (g_arrVecSizes[i]))) in test_fmaxf()
218 log_error("FMAX float%d,float test failed\n", (g_arrVecSizes[i])); in test_fmaxf()
223 log_info("FMAX float%d,float test passed\n", (g_arrVecSizes[i])); in test_fmaxf()
Dtest_fminf.cpp208 …ify_fmin(input_ptr[0], input_ptr[1], output_ptr, n_elems*((g_arrVecSizes[i])), (g_arrVecSizes[i]))) in test_fminf()
210 log_error("fmin float%d,float test failed\n", (g_arrVecSizes[i])); in test_fminf()
215 log_info("fmin float%d,float test passed\n", (g_arrVecSizes[i])); in test_fminf()
Dtest_radians.cpp199 threads[0] = (size_t)num_elements / ((g_arrVecSizes[i])); in test_radians()
218 log_error("RADIANS float%d test failed\n",((g_arrVecSizes[i]))); in test_radians()
223 log_info("RADIANS float%d test passed\n", ((g_arrVecSizes[i]))); in test_radians()
430 threads[0] = (size_t)num_elements / ((g_arrVecSizes[i])); in test_radians_double()
449 log_error("RADIANS double%d test failed\n",((g_arrVecSizes[i]))); in test_radians_double()
454 log_info("RADIANS double%d test passed\n", ((g_arrVecSizes[i]))); in test_radians_double()
Dtest_degrees.cpp200 threads[0] = (size_t)num_elements / ((g_arrVecSizes[i])); in test_degrees()
219 log_error("DEGREES float%d test failed\n",((g_arrVecSizes[i]))); in test_degrees()
224 log_info("DEGREES float%d test passed\n", ((g_arrVecSizes[i]))); in test_degrees()
430 threads[0] = (size_t)num_elements / ((g_arrVecSizes[i])); in test_degrees_double()
449 log_error("DEGREES double%d test failed\n",((g_arrVecSizes[i]))); in test_degrees_double()
454 log_info("DEGREES double%d test passed\n", ((g_arrVecSizes[i]))); in test_degrees_double()
Dtest_fmin.cpp213 if (verify_fmin(input_ptr[0], input_ptr[1], output_ptr, n_elems*((g_arrVecSizes[i])))) in test_fmin()
215 log_error("FMIN float%d test failed\n", (g_arrVecSizes[i])); in test_fmin()
220 log_info("FMIN float%d test passed\n", (g_arrVecSizes[i])); in test_fmin()
Dtest_fmax.cpp206 if (verify_fmax(input_ptr[0], input_ptr[1], output_ptr, n_elems*((g_arrVecSizes[i])))) in test_fmax()
208 log_error("FMAX float%d test failed\n", (g_arrVecSizes[i])); in test_fmax()
213 log_info("FMAX float%d test passed\n", (g_arrVecSizes[i])); in test_fmax()
Dprocs.h26 extern int g_arrVecSizes[kVectorSizeCount + kStrangeVectorSizeCount];
Dtest_smoothstep.cpp248 …erify_smoothstep(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, n_elems * g_arrVecSizes[i]); in test_smoothstep()
/external/OpenCL-CTS/test_conformance/half/
DTest_vLoadHalf.cpp50 int effectiveVectorSize = g_arrVecSizes[vectorSize]; in Test_vLoadHalf_private()
283 if(g_arrVecSizes[vectorSize] != 3) { in Test_vLoadHalf_private()
327 } else if(g_arrVecSizes[vectorSize] == 3) { in Test_vLoadHalf_private()
360 } else if(g_arrVecSizes[vectorSize] == 3) { in Test_vLoadHalf_private()
390 if(g_arrVecSizes[vectorSize] == 3) { in Test_vLoadHalf_private()
492 if(g_arrVecSizes[vectorSize] == 3 && !aligned) { in Test_vLoadHalf_private()
525 …4_t)count, ((unsigned short*)gIn_half)[j], f1[j], f2[j], u1[j], u2[j], (g_arrVecSizes[vectorSize]), in Test_vLoadHalf_private()
578 …s, vector size: %d)", ( (aligned) ? "a" : ""), addressSpaceNames[0], (g_arrVecSizes[vectorSize]) … in Test_vLoadHalf_private()
581 …%s vector size: %d)", ( (aligned) ? "a" : ""), addressSpaceNames[0], (g_arrVecSizes[vectorSize]) ); in Test_vLoadHalf_private()
DTest_roundTrip.cpp105 if(g_arrVecSizes[vectorSize] == 3) { in test_roundTrip()
132 if(g_arrVecSizes[vectorSize] == 3) { in test_roundTrip()
232 …: 0x%4.4x vector_size = %d \n", j, (uint64_t)count, u2[j], u1[j], (g_arrVecSizes[vectorSize]) ); in test_roundTrip()
282 …: 0x%4.4x vector_size = %d (double precsion)\n", j, u2[j], u1[j], (g_arrVecSizes[vectorSize]) ); in test_roundTrip()
366 …oopCount), 0, "average us/elem", "roundTrip avg. (vector size: %d)", (g_arrVecSizes[vectorSize]) ); in test_roundTrip()
368 …ouble) count, 0, "best us/elem", "roundTrip best (vector size: %d)", (g_arrVecSizes[vectorSize]) … in test_roundTrip()
372 …0, "average us/elem (double)", "roundTrip avg. d (vector size: %d)", (g_arrVecSizes[vectorSize]) … in test_roundTrip()
374 …t, 0, "best us/elem (double)", "roundTrip best d (vector size: %d)", (g_arrVecSizes[vectorSize]) ); in test_roundTrip()
DTest_vStoreHalf.cpp543 if(g_arrVecSizes[vectorSize] == 3) { in Test_vStoreHalf_private()
562 if(g_arrVecSizes[vectorSize] == 3) { in Test_vStoreHalf_private()
581 if(g_arrVecSizes[vectorSize] == 3) { in Test_vStoreHalf_private()
617 if(g_arrVecSizes[vectorSize] == 3) { in Test_vStoreHalf_private()
636 if(g_arrVecSizes[vectorSize] == 3) in Test_vStoreHalf_private()
655 if(g_arrVecSizes[vectorSize] == 3) { in Test_vStoreHalf_private()
756 fchk.vsz = g_arrVecSizes[vectorSize]; in Test_vStoreHalf_private()
757 dchk.vsz = g_arrVecSizes[vectorSize]; in Test_vStoreHalf_private()
938 …eHalf%s avg. (%s vector size: %d)", roundName, addressSpaceNames[0], (g_arrVecSizes[vectorSize]) ); in Test_vStoreHalf_private()
941 …eHalf%s best (%s vector size: %d)", roundName, addressSpaceNames[0], (g_arrVecSizes[vectorSize]) … in Test_vStoreHalf_private()
[all …]
Dmain.cpp52 int g_arrVecSizes[kVectorSizeCount+kStrangeVectorSizeCount]; variable
81 g_arrVecSizes[i] = (1<<i); in main()
84 g_arrVecSizes[i+kVectorSizeCount] = in main()
Dcl_utils.cpp277 if(aligned && g_arrVecSizes[vectorSizeIdx] == 3) { in numVecs()
280 return (count + g_arrVecSizes[vectorSizeIdx] - 1)/ in numVecs()
281 ( (g_arrVecSizes[vectorSizeIdx]) ); in numVecs()
285 if(aligned || g_arrVecSizes[vectorSizeIdx] != 3) { return -1; } in runsOverBy()
286 return count% (g_arrVecSizes[vectorSizeIdx]); in runsOverBy()
Dtest_config.h38 extern int g_arrVecSizes[kVectorSizeCount+kStrangeVectorSizeCount];
/external/OpenCL-CTS/test_conformance/vectors/
Ddefines.h28 extern int g_arrVecSizes[NUM_VECTOR_SIZES];
Dtest_vec_align.cpp138 + typeSize * get_align(g_arrVecSizes[vecSizeIdx]); in test_vec_internal()
183 / (g_arrVecSizes[vecSizeIdx] * g_arrTypeSizes[typeIdx])); in test_vec_internal()
211 get_align(g_arrVecSizes[vecSizeIdx]) in test_vec_internal()
Dglobals.cpp21 int g_arrVecSizes[NUM_VECTOR_SIZES] = { 1, 2, 3, 4, 8, 16 }; variable
Dtest_step.cpp163 g_arrVecSizes[vecSizeIdx]); in test_step_internal()