/external/OpenCL-CTS/test_conformance/commonfns/ |
D | test_clamp.cpp | 208 … 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()
|
D | main.cpp | 22 int g_arrVecSizes[kVectorSizeCount + kStrangeVectorSizeCount]; variable 28 g_arrVecSizes[i] = (1<<i); in initVecSizes() 31 g_arrVecSizes[i] = g_arrStrangeVectorSizes[i-kVectorSizeCount]; in initVecSizes()
|
D | test_binary_fn.cpp | 189 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()
|
D | test_fmaxf.cpp | 216 …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()
|
D | test_fminf.cpp | 208 …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()
|
D | test_radians.cpp | 199 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()
|
D | test_degrees.cpp | 200 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()
|
D | test_fmin.cpp | 213 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()
|
D | test_fmax.cpp | 206 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()
|
D | procs.h | 26 extern int g_arrVecSizes[kVectorSizeCount + kStrangeVectorSizeCount];
|
D | test_smoothstep.cpp | 248 …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/ |
D | Test_vLoadHalf.cpp | 50 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()
|
D | Test_roundTrip.cpp | 105 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()
|
D | Test_vStoreHalf.cpp | 543 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 …]
|
D | main.cpp | 52 int g_arrVecSizes[kVectorSizeCount+kStrangeVectorSizeCount]; variable 81 g_arrVecSizes[i] = (1<<i); in main() 84 g_arrVecSizes[i+kVectorSizeCount] = in main()
|
D | cl_utils.cpp | 277 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()
|
D | test_config.h | 38 extern int g_arrVecSizes[kVectorSizeCount+kStrangeVectorSizeCount];
|
/external/OpenCL-CTS/test_conformance/vectors/ |
D | defines.h | 28 extern int g_arrVecSizes[NUM_VECTOR_SIZES];
|
D | test_vec_align.cpp | 138 + 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()
|
D | globals.cpp | 21 int g_arrVecSizes[NUM_VECTOR_SIZES] = { 1, 2, 3, 4, 8, 16 }; variable
|
D | test_step.cpp | 163 g_arrVecSizes[vecSizeIdx]); in test_step_internal()
|