/external/OpenCL-CTS/test_conformance/basic/ |
D | test_hiloeo.cpp | 48 static const char *vector_size_names[] = { "", "2", "3", "4", "8", "16"}; variable 120 …for( vectorSize = 1; vectorSize < sizeof( vector_size_names ) / sizeof( vector_size_names[0] ); ve… in test_hiloeo() 130 …_", operatorToUse_names[ operatorToUse ], "_", test_str_names[type], vector_size_names[vectorSize], in test_hiloeo() 131 "(__global ", test_str_names[type], vector_size_names[vectorSize], in test_hiloeo() 132 " *srcA, __global ", test_str_names[type], vector_size_names[outVectorSize], in test_hiloeo() 138 vector_size_names[out_vector_idx[vectorSize]], in test_hiloeo() 190 …_%s%s", operatorToUse_names[ operatorToUse ], test_str_names[type], vector_size_names[vectorSize] … in test_hiloeo() 277 if(vector_size_names[vectorSize][0] == '3') { in CheckResults() 303 …og_info( "\n%d) Failure for %s%s.%s { %d", k, test_str_names[type], vector_size_names[ vectorSize … in CheckResults() 333 …og_info( "\n%d) Failure for %s%s.%s { %d", k, test_str_names[type], vector_size_names[ vectorSize … in CheckResults() [all …]
|
/external/OpenCL-CTS/test_conformance/integer_ops/ |
D | test_popcount.cpp | 79 static const char *vector_size_names[] = { "", "2", "3", "4", "8", "16" }; variable 149 …for( vectorSize = 0; vectorSize < sizeof( vector_size_names ) / sizeof( vector_size_names[0] ); ve… in test_popcount() 155 "__kernel void test_popcount_", test_str_names[type], vector_size_names[vectorSize], in test_popcount() 162 " ", test_str_names[type], vector_size_names[vectorSize], " sA;\n", in test_popcount() 164 … " ", test_str_names[type], vector_size_names[vectorSize], " dstVal = popcount(sA);\n" in test_popcount() 170 …, sizeof( kernelName ), "test_popcount_%s%s", test_str_names[type], vector_size_names[vectorSize] … in test_popcount() 216 …if( f( inP, outP, (vector_sizes[vectorSize]), vector_size_names[vectorSize], vector_sizes[vectorSi… in test_popcount()
|
D | test_add_sat.cpp | 181 static const char *vector_size_names[] = { "", "2", "3", "4", "8", "16" }; variable 260 …for( vectorSize = 0; vectorSize < sizeof( vector_size_names ) / sizeof( vector_size_names[0] ); ve… in test_integer_add_sat() 266 "__kernel void test_add_sat_", test_str_names[type], vector_size_names[vectorSize], in test_integer_add_sat() 267 "(__global ", test_str_names[type], vector_size_names[vectorSize], in test_integer_add_sat() 268 " *srcA, __global ", test_str_names[type], vector_size_names[vectorSize], in test_integer_add_sat() 269 " *srcB, __global ", test_str_names[type], vector_size_names[vectorSize], in test_integer_add_sat() 274 …" ", test_str_names[type], vector_size_names[vectorSize], " tmp = add_sat(srcA[tid], srcB[tid])… in test_integer_add_sat() 280 "__kernel void test_add_sat_", test_str_names[type], vector_size_names[vectorSize], in test_integer_add_sat() 288 …" ", test_str_names[type], vector_size_names[vectorSize], " tmp = add_sat(vload3(tid, srcA), vl… in test_integer_add_sat() 293 …e, sizeof( kernelName ), "test_add_sat_%s%s", test_str_names[type], vector_size_names[vectorSize] … in test_integer_add_sat() [all …]
|
D | test_sub_sat.cpp | 180 static const char *vector_size_names[] = { "", "2", "3", "4", "8", "16" }; variable 260 …for( vectorSize = 0; vectorSize < sizeof( vector_size_names ) / sizeof( vector_size_names[0] ); ve… in test_integer_sub_sat() 266 "__kernel void test_sub_sat_", test_str_names[type], vector_size_names[vectorSize], in test_integer_sub_sat() 267 "(__global ", test_str_names[type], vector_size_names[vectorSize], in test_integer_sub_sat() 268 " *srcA, __global ", test_str_names[type], vector_size_names[vectorSize], in test_integer_sub_sat() 269 " *srcB, __global ", test_str_names[type], vector_size_names[vectorSize], in test_integer_sub_sat() 274 …" ", test_str_names[type], vector_size_names[vectorSize], " tmp = sub_sat(srcA[tid], srcB[tid])… in test_integer_sub_sat() 280 "__kernel void test_sub_sat_", test_str_names[type], vector_size_names[vectorSize], in test_integer_sub_sat() 288 …" ", test_str_names[type], vector_size_names[vectorSize], " tmp = sub_sat(vload3(tid, srcA), vl… in test_integer_sub_sat() 294 …e, sizeof( kernelName ), "test_sub_sat_%s%s", test_str_names[type], vector_size_names[vectorSize] … in test_integer_sub_sat() [all …]
|
D | test_abs.cpp | 163 static const char *vector_size_names[] = { "", "2", "3", "4", "8", "16" }; variable 238 …for( vectorSizeIdx = 0; vectorSizeIdx < sizeof( vector_size_names ) / sizeof( vector_size_names[0]… in test_integer_abs() 246 vector_size_names[vectorSizeIdx], in test_integer_abs() 255 " ", test_ustr_names[type], vector_size_names[vectorSizeIdx], in test_integer_abs() 262 …lName, sizeof( kernelName ), "test_abs_%s%s", test_str_names[type], vector_size_names[vectorSizeId… in test_integer_abs() 305 …if( f( inP, outP, (vector_sizes[vectorSizeIdx]), vector_size_names[vectorSizeIdx], vector_sizes[ve… in test_integer_abs()
|
D | test_absdiff.cpp | 175 static const char *vector_size_names[] = { "", "2", "3", "4", "8", "16" }; variable 261 …for( vectorSize = 0; vectorSize < sizeof( vector_size_names ) / sizeof( vector_size_names[0] ); ve… in test_integer_abs_diff() 267 "__kernel void test_absdiff_", test_str_names[type], vector_size_names[vectorSize], in test_integer_abs_diff() 275 " ", test_str_names[type], vector_size_names[vectorSize], " sA, sB;\n", in test_integer_abs_diff() 278 … " u", test_str_names[type & -2], vector_size_names[vectorSize], " dstVal = abs_diff(sA, sB);\n" in test_integer_abs_diff() 284 …e, sizeof( kernelName ), "test_absdiff_%s%s", test_str_names[type], vector_size_names[vectorSize] … in test_integer_abs_diff() 339 …if( f( inP, inP2, outP, (vector_sizes[vectorSize]), vector_size_names[vectorSize], vector_sizes[ve… in test_integer_abs_diff()
|
/external/OpenCL-CTS/test_conformance/half/ |
D | Test_vLoadHalf.cpp | 37 const char *vector_size_names[] = {"1", "2", "4", "8", "16", "3"}; in Test_vLoadHalf_private() local 102 …" __private ", align_types[vectorSize], " data[", vector_size_names[vectorSize], "/", align_divi… in Test_vLoadHalf_private() 107 … " for (k=0; k<",vector_size_names[vectorSize],"/",align_divisors[vectorSize],"; k++)\n" in Test_vLoadHalf_private() 174 vector_size_names[vectorSize], in Test_vLoadHalf_private() 526 … vector_size_names[vectorSize], addressSpaceNames[addressSpace], in Test_vLoadHalf_private()
|