Home
last modified time | relevance | path

Searched refs:vectorSizeIdx (Results 1 – 3 of 3) sorted by relevance

/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_abs.cpp182 cl_uint vectorSizeIdx; in test_integer_abs() local
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()
248 vector_size_names_io_types[vectorSizeIdx], in test_integer_abs()
250 vector_size_names_io_types[vectorSizeIdx], in test_integer_abs()
255 " ", test_ustr_names[type], vector_size_names[vectorSizeIdx], in test_integer_abs()
256 " tmp = abs(", source_loads[!!(vector_sizes[vectorSizeIdx]==3)], ");\n", in test_integer_abs()
257 dest_stores[!!(vector_sizes[vectorSizeIdx]==3)], in test_integer_abs()
262 …e, sizeof( kernelName ), "test_abs_%s%s", test_str_names[type], vector_size_names[vectorSizeIdx] ); in test_integer_abs()
285 size_t size = elementCount / ((vector_sizes[vectorSizeIdx])); in test_integer_abs()
[all …]
/external/OpenCL-CTS/test_conformance/half/
Dcl_utils.cpp276 cl_uint numVecs(cl_uint count, int vectorSizeIdx, bool aligned) { in numVecs() argument
277 if(aligned && g_arrVecSizes[vectorSizeIdx] == 3) { in numVecs()
280 return (count + g_arrVecSizes[vectorSizeIdx] - 1)/ in numVecs()
281 ( (g_arrVecSizes[vectorSizeIdx]) ); in numVecs()
284 cl_uint runsOverBy(cl_uint count, int vectorSizeIdx, bool aligned) { in runsOverBy() argument
285 if(aligned || g_arrVecSizes[vectorSizeIdx] != 3) { return -1; } in runsOverBy()
286 return count% (g_arrVecSizes[vectorSizeIdx]); in runsOverBy()
Dcl_utils.h82 cl_uint numVecs(cl_uint count, int vectorSizeIdx, bool aligned);
83 cl_uint runsOverBy(cl_uint count, int vectorSizeIdx, bool aligned);