Home
last modified time | relevance | path

Searched refs:test_str_names (Results 1 – 9 of 9) sorted by relevance

/external/OpenCL-CTS/test_conformance/basic/
Dtest_hiloeo.cpp36 static const char *test_str_names[] = { "char", "uchar", "short", "ushort", "int", "uint", "long", … variable
77 for( type = 0; type < sizeof( test_str_names ) / sizeof( test_str_names[0] ); type++ ) in test_hiloeo()
84 if( !hasDouble && ( 0 == strcmp( test_str_names[type], "double" ))) in test_hiloeo()
88 (( 0 == strcmp( test_str_names[type], "long" )) || in test_hiloeo()
89 ( 0 == strcmp( test_str_names[type], "ulong" )))) in test_hiloeo()
92 log_info( "%s", test_str_names[type] ); in test_hiloeo()
130 …"__kernel void test_", operatorToUse_names[ operatorToUse ], "_", test_str_names[type], vector_siz… 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()
137 " ", test_str_names[type], in test_hiloeo()
[all …]
Dtest_imagerandomcopy.cpp118 static const char *test_str_names[] = { "CL_RGBA CL_UNORM_INT8", "CL_RGBA CL_UNORM_INT16", "CL_RGBA… variable
216 …log_info("Testing clCopyImage for %s: x = %d, y = %d, w = %d, h = %d\n", test_str_names[i], x[0], … in test_imagerandomcopy()
/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_popcount.cpp76 static const char *test_str_names[] = { "char", "uchar", "short", "ushort", "int", "uint", "long", … variable
111 for( type = 0; type < sizeof( test_str_names ) / sizeof( test_str_names[0] ); type++ ) in test_popcount()
114 if (! gHasLong && strstr(test_str_names[type],"long")) in test_popcount()
116 …"WARNING: 64 bit integers are not supported on this device. Skipping %s\n", test_str_names[type] ); in test_popcount()
125 log_info( "%s", test_str_names[type] ); in test_popcount()
155 "__kernel void test_popcount_", test_str_names[type], vector_size_names[vectorSize], in test_popcount()
156 "(__global ", test_str_names[type], vector_param_size_names[vectorSize], in test_popcount()
157 " *srcA, __global ", test_str_names[type], vector_param_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()
[all …]
Dtest_sub_sat.cpp178 static const char *test_str_names[] = { "char", "uchar", "short", "ushort", "int", "uint", "long", … variable
209 for( type = 0; type < sizeof( test_str_names ) / sizeof( test_str_names[0] ); type++ ) in test_integer_sub_sat()
213 if (! gHasLong && strstr(test_str_names[type],"long")) in test_integer_sub_sat()
215 …og_info( "WARNING: device does not support 64-bit integers. Skipping %s\n", test_str_names[type] ); in test_integer_sub_sat()
224 log_info( "%s", test_str_names[type] ); 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()
[all …]
Dtest_add_sat.cpp177 static const char *test_str_names[] = { "char", "uchar", "short", "ushort", "int", "uint", "long", … variable
209 for( type = 0; type < sizeof( test_str_names ) / sizeof( test_str_names[0] ); type++ ) in test_integer_add_sat()
213 if (! gHasLong && strstr(test_str_names[type],"long")) in test_integer_add_sat()
215 …"WARNING: 64 bit integers are not supported on this device. Skipping %s\n", test_str_names[type] ); in test_integer_add_sat()
224 log_info( "%s", test_str_names[type] ); 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()
[all …]
Dtest_absdiff.cpp171 static const char *test_str_names[] = { "char", "uchar", "short", "ushort", "int", "uint", "long", … variable
211 for( type = 0; type < sizeof( test_str_names ) / sizeof( test_str_names[0] ); type++ ) in test_integer_abs_diff()
214 if (! gHasLong && strstr(test_str_names[type],"long")) in test_integer_abs_diff()
216 …"WARNING: 64 bit integers are not supported on this device. Skipping %s\n", test_str_names[type] ); in test_integer_abs_diff()
225 log_info( "%s", test_str_names[type] ); in test_integer_abs_diff()
267 "__kernel void test_absdiff_", test_str_names[type], vector_size_names[vectorSize], in test_integer_abs_diff()
268 "(__global ", test_str_names[type], vector_param_size_names[vectorSize], in test_integer_abs_diff()
269 " *srcA, __global ", test_str_names[type], vector_param_size_names[vectorSize], in test_integer_abs_diff()
270 … " *srcB, __global u", test_str_names[type & -2], vector_param_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()
[all …]
Dtest_abs.cpp158 static const char *test_str_names[] = { "char", "short", "int", "long" , variable
198 for( type = 0; type < sizeof( test_str_names ) / sizeof( test_str_names[0] ); type++ ) in test_integer_abs()
201 if (! gHasLong && strstr(test_str_names[type],"long")) in test_integer_abs()
203 …"WARNING: 64 bit integers are not supported on this device. Skipping %s\n", test_str_names[type] ); in test_integer_abs()
212 log_info( "%s", test_str_names[type] ); in test_integer_abs()
245 test_str_names[type], in test_integer_abs()
247 "(__global ", test_str_names[type], in test_integer_abs()
262 …snprintf( kernelName, sizeof( kernelName ), "test_abs_%s%s", test_str_names[type], vector_size_nam… in test_integer_abs()
Dtest_intmul24.cpp172 static const char *test_str_names[] = { "int", "int2", "int3", "int4", "int8", "int16", "uint", "ui… variable
306 log_error("INT_MUL24 %s test failed\n", test_str_names[i]); in test_integer_mul24()
311 log_info("INT_MUL24 %s test passed\n", test_str_names[i]); in test_integer_mul24()
360 log_error("UINT_MUL24 %s test failed\n", test_str_names[i]); in test_integer_mul24()
365 log_info("UINT_MUL24 %s test passed\n", test_str_names[i]); in test_integer_mul24()
Dtest_intmad24.cpp171 static const char *test_str_names[] = { "int", "int2", "int3", "int4", "int8", "int16", "uint", "ui… variable
296 log_error("INT_MAD24 %s test failed\n", test_str_names[i]); in test_integer_mad24()
301 log_info("INT_MAD24 %s test passed\n", test_str_names[i]); in test_integer_mad24()
333 log_error("UINT_MAD24 %s test failed\n", test_str_names[i]); in test_integer_mad24()
338 log_info("UINT_MAD24 %s test passed\n", test_str_names[i]); in test_integer_mad24()