Home
last modified time | relevance | path

Searched refs:n_elems (Results 1 – 25 of 92) sorted by relevance

1234

/external/OpenCL-CTS/test_conformance/api/
Dtest_native_kernel.cpp36 int test_native_kernel(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems in test_native_kernel() argument
50 cl_int inBuffer[ n_elems ], outBuffer[ n_elems ]; in test_native_kernel()
52 cl_int* inBuffer = (cl_int *)_malloca( n_elems * sizeof(cl_int) ); in test_native_kernel()
53 cl_int* outBuffer = (cl_int *)_malloca( n_elems * sizeof(cl_int) ); in test_native_kernel()
66 generate_random_data( kInt, n_elems, seed, inBuffer ); in test_native_kernel()
70 …streams[ 0 ] = clCreateBuffer( context, CL_MEM_COPY_HOST_PTR, n_elems * sizeof(cl_int), inBuffer, … in test_native_kernel()
72 streams[ 1 ] = clCreateBuffer( context, 0, n_elems * sizeof(cl_int), NULL, &error ); in test_native_kernel()
79 args.count = n_elems; in test_native_kernel()
100 …error = clEnqueueReadBuffer( queue, streams[ 1 ], CL_TRUE, 0, n_elems * sizeof(cl_int), outBuffer,… in test_native_kernel()
103 for( int i = 0; i < n_elems; i++ ) in test_native_kernel()
/external/OpenCL-CTS/test_conformance/commonfns/
Dtest_step.cpp26 test_step_double(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems);
95 test_step(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_step() argument
107 num_elements = n_elems * 16; in test_step()
191 threads[0] = (size_t)n_elems; in test_step()
211 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems); in test_step()
219 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems*2); in test_step()
227 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems*4); in test_step()
235 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems*8); in test_step()
243 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems*16); in test_step()
251 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems*3); in test_step()
[all …]
Dtest_stepf.cpp25 …nt test_stepf_double(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems);
98 int test_stepf(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_stepf() argument
109 num_elements = n_elems * 16; in test_stepf()
190 threads[0] = (size_t)n_elems; in test_stepf()
210 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems, 1); in test_stepf()
218 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems*2, 2); in test_stepf()
226 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems*4, 4); in test_stepf()
234 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems*8, 8); in test_stepf()
242 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems*16, 16); in test_stepf()
250 err = verify_step(input_ptr[0], input_ptr[1], output_ptr, n_elems*3, 3); in test_stepf()
[all …]
Dtest_sign.cpp26 test_sign_double(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems);
103 test_sign(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_sign() argument
116 num_elements = n_elems * 16; in test_sign()
182 threads[0] = (size_t)n_elems; in test_sign()
199 if (verify_sign(input_ptr[0], output_ptr, n_elems*(i+1))) in test_sign()
233 return test_sign_double( device, context, queue, n_elems); in test_sign()
317 test_sign_double(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_sign_double() argument
330 num_elements = n_elems * 16; in test_sign_double()
395 threads[0] = (size_t)n_elems; in test_sign_double()
412 if (verify_sign_double(input_ptr[0], output_ptr, n_elems*(i+1))) in test_sign_double()
Dtest_smoothstepf.cpp77 test_smoothstepf(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_smoothstepf() argument
90 num_elements = n_elems * 4; in test_smoothstepf()
193 threads[0] = (size_t)n_elems; in test_smoothstepf()
213 … max_err = verify_smoothstep(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, n_elems, 1); in test_smoothstepf()
216 … max_err = verify_smoothstep(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, n_elems, 2); in test_smoothstepf()
219 … max_err = verify_smoothstep(input_ptr[0], input_ptr[1], input_ptr[2], output_ptr, n_elems, 4); in test_smoothstepf()
Dtest_degrees.cpp29 … test_degrees_double(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems);
113 test_degrees(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_degrees() argument
129 num_elements = n_elems * (1 << (kTotalVecCount-1)); in test_degrees()
215 if (verify_degrees(input_ptr[0], output_ptr, n_elems*(i+1))) in test_degrees()
249 return test_degrees_double( device, context, queue, n_elems); in test_degrees()
341 test_degrees_double(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_degrees_double() argument
358 num_elements = n_elems * (1 << (kTotalVecCount-1)); in test_degrees_double()
443 if (verify_degrees_double(input_ptr[0], output_ptr, n_elems*(i+1))) in test_degrees_double()
Dtest_radians.cpp29 … test_radians_double(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems);
114 test_radians(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_radians() argument
130 num_elements = n_elems * (1 << (kTotalVecCount-1)); in test_radians()
214 if (verify_radians(input_ptr[0], output_ptr, n_elems*(i+1))) in test_radians()
247 return test_radians_double( device, context, queue, n_elems); in test_radians()
342 test_radians_double(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_radians_double() argument
360 num_elements = n_elems * (1 << (kTotalVecCount-1)); in test_radians_double()
443 if (verify_radians_double(input_ptr[0], output_ptr, n_elems*(i+1))) in test_radians_double()
Dtest_binary_fn.cpp52 int test_binary_fn( cl_device_id device, cl_context context, cl_command_queue queue, int n_elems, in test_binary_fn() argument
70 num_elements = n_elems * (1 << (kTotalVecCount-1)); in test_binary_fn()
175 threads[0] = (size_t)n_elems; in test_binary_fn()
185 if( floatVerifyFn( input_ptr[0], input_ptr[1], output_ptr, n_elems, ((g_arrVecSizes[i])) ) ) in test_binary_fn()
210 threads[0] = (size_t)n_elems; in test_binary_fn()
218 …leVerifyFn( input_ptr_double[0], input_ptr_double[1], output_ptr_double, n_elems, ((g_arrVecSizes[… in test_binary_fn()
/external/OpenCL-CTS/test_conformance/clcpp/workgroups/
Dtest_wg_scan_exclusive.hpp244 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
249 …cal_error = work_group_scan_exclusive<cl_int, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
253 …al_error = work_group_scan_exclusive<cl_uint, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
257 …al_error = work_group_scan_exclusive<cl_long, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
261 …l_error = work_group_scan_exclusive<cl_ulong, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
271 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
276 …cal_error = work_group_scan_exclusive<cl_int, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
280 …al_error = work_group_scan_exclusive<cl_uint, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
284 …al_error = work_group_scan_exclusive<cl_long, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
288 …l_error = work_group_scan_exclusive<cl_ulong, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
[all …]
Dtest_wg_scan_inclusive.hpp244 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
249 …cal_error = work_group_scan_inclusive<cl_int, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
253 …al_error = work_group_scan_inclusive<cl_uint, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
257 …al_error = work_group_scan_inclusive<cl_long, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
261 …l_error = work_group_scan_inclusive<cl_ulong, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
271 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
276 …cal_error = work_group_scan_inclusive<cl_int, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
280 …al_error = work_group_scan_inclusive<cl_uint, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
284 …al_error = work_group_scan_inclusive<cl_long, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
288 …l_error = work_group_scan_inclusive<cl_ulong, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
[all …]
Dtest_wg_reduce.hpp251 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
256 local_error = work_group_reduce<cl_int, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
260 local_error = work_group_reduce<cl_uint, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
264 local_error = work_group_reduce<cl_long, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
268 local_error = work_group_reduce<cl_ulong, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
278 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
283 local_error = work_group_reduce<cl_int, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
287 local_error = work_group_reduce<cl_uint, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
291 local_error = work_group_reduce<cl_long, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
295 local_error = work_group_reduce<cl_ulong, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
[all …]
/external/OpenCL-CTS/test_conformance/clcpp/subgroups/
Dtest_sg_scan_exclusive.hpp252 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
257 …ocal_error = sub_group_scan_exclusive<cl_int, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
261 …cal_error = sub_group_scan_exclusive<cl_uint, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
265 …cal_error = sub_group_scan_exclusive<cl_long, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
269 …al_error = sub_group_scan_exclusive<cl_ulong, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
279 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
284 …ocal_error = sub_group_scan_exclusive<cl_int, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
286 …cal_error = sub_group_scan_exclusive<cl_uint, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
288 …cal_error = sub_group_scan_exclusive<cl_long, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
290 …al_error = sub_group_scan_exclusive<cl_ulong, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
[all …]
Dtest_sg_scan_inclusive.hpp252 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
257 …ocal_error = sub_group_scan_inclusive<cl_int, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
261 …cal_error = sub_group_scan_inclusive<cl_uint, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
265 …cal_error = sub_group_scan_inclusive<cl_long, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
269 …al_error = sub_group_scan_inclusive<cl_ulong, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
279 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
284 …ocal_error = sub_group_scan_inclusive<cl_int, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
288 …cal_error = sub_group_scan_inclusive<cl_uint, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
292 …cal_error = sub_group_scan_inclusive<cl_long, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
296 …al_error = sub_group_scan_inclusive<cl_ulong, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
[all …]
Dtest_sg_reduce.hpp265 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
270 local_error = sub_group_reduce<cl_int, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
274 local_error = sub_group_reduce<cl_uint, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
278 local_error = sub_group_reduce<cl_long, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
282 local_error = sub_group_reduce<cl_ulong, work_group_op::add>(device, context, queue, n_elems); in AUTO_TEST_CASE()
292 (cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in AUTO_TEST_CASE()
297 local_error = sub_group_reduce<cl_int, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
301 local_error = sub_group_reduce<cl_uint, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
305 local_error = sub_group_reduce<cl_long, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
309 local_error = sub_group_reduce<cl_ulong, work_group_op::min>(device, context, queue, n_elems); in AUTO_TEST_CASE()
[all …]
/external/OpenCL-CTS/test_conformance/workgroups/
Dtest_wg_scan_exclusive_add.cpp172 …can_exclusive_add_int(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_add_int() argument
195 num_elements = n_elems; in test_work_group_scan_exclusive_add_int()
273 …an_exclusive_add_uint(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_add_uint() argument
296 num_elements = n_elems; in test_work_group_scan_exclusive_add_uint()
338 threads[0] = (size_t)n_elems; in test_work_group_scan_exclusive_add_uint()
373 …an_exclusive_add_long(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_add_long() argument
396 num_elements = n_elems; in test_work_group_scan_exclusive_add_long()
438 threads[0] = (size_t)n_elems; in test_work_group_scan_exclusive_add_long()
474 …n_exclusive_add_ulong(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_add_ulong() argument
497 num_elements = n_elems; in test_work_group_scan_exclusive_add_ulong()
[all …]
Dtest_wg_scan_inclusive_min.cpp163 …can_inclusive_min_int(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_min_int() argument
186 num_elements = n_elems; in test_work_group_scan_inclusive_min_int()
264 …an_inclusive_min_uint(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_min_uint() argument
287 num_elements = n_elems; in test_work_group_scan_inclusive_min_uint()
329 threads[0] = (size_t)n_elems; in test_work_group_scan_inclusive_min_uint()
364 …an_inclusive_min_long(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_min_long() argument
387 num_elements = n_elems; in test_work_group_scan_inclusive_min_long()
429 threads[0] = (size_t)n_elems; in test_work_group_scan_inclusive_min_long()
465 …n_inclusive_min_ulong(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_min_ulong() argument
488 num_elements = n_elems; in test_work_group_scan_inclusive_min_ulong()
[all …]
Dtest_wg_scan_inclusive_max.cpp163 …can_inclusive_max_int(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_max_int() argument
186 num_elements = n_elems; in test_work_group_scan_inclusive_max_int()
264 …an_inclusive_max_uint(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_max_uint() argument
287 num_elements = n_elems; in test_work_group_scan_inclusive_max_uint()
329 threads[0] = (size_t)n_elems; in test_work_group_scan_inclusive_max_uint()
364 …an_inclusive_max_long(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_max_long() argument
387 num_elements = n_elems; in test_work_group_scan_inclusive_max_long()
429 threads[0] = (size_t)n_elems; in test_work_group_scan_inclusive_max_long()
465 …n_inclusive_max_ulong(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_max_ulong() argument
488 num_elements = n_elems; in test_work_group_scan_inclusive_max_ulong()
[all …]
Dtest_wg_reduce.cpp164 …_group_reduce_add_int(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_add_int() argument
187 num_elements = n_elems; in test_work_group_reduce_add_int()
265 …group_reduce_add_uint(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_add_uint() argument
288 num_elements = n_elems; in test_work_group_reduce_add_uint()
330 threads[0] = (size_t)n_elems; in test_work_group_reduce_add_uint()
365 …group_reduce_add_long(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_add_long() argument
388 num_elements = n_elems; in test_work_group_reduce_add_long()
430 threads[0] = (size_t)n_elems; in test_work_group_reduce_add_long()
466 …roup_reduce_add_ulong(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_add_ulong() argument
489 num_elements = n_elems; in test_work_group_reduce_add_ulong()
[all …]
Dtest_wg_scan_inclusive_add.cpp161 …can_inclusive_add_int(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_add_int() argument
184 num_elements = n_elems; in test_work_group_scan_inclusive_add_int()
262 …an_inclusive_add_uint(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_add_uint() argument
285 num_elements = n_elems; in test_work_group_scan_inclusive_add_uint()
327 threads[0] = (size_t)n_elems; in test_work_group_scan_inclusive_add_uint()
362 …an_inclusive_add_long(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_add_long() argument
385 num_elements = n_elems; in test_work_group_scan_inclusive_add_long()
427 threads[0] = (size_t)n_elems; in test_work_group_scan_inclusive_add_long()
463 …n_inclusive_add_ulong(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_inclusive_add_ulong() argument
486 num_elements = n_elems; in test_work_group_scan_inclusive_add_ulong()
[all …]
Dtest_wg_reduce_min.cpp164 …_group_reduce_min_int(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_min_int() argument
196 num_elements = n_elems; in test_work_group_reduce_min_int()
274 …group_reduce_min_uint(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_min_uint() argument
306 num_elements = n_elems; in test_work_group_reduce_min_uint()
348 threads[0] = (size_t)n_elems; in test_work_group_reduce_min_uint()
383 …group_reduce_min_long(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_min_long() argument
415 num_elements = n_elems; in test_work_group_reduce_min_long()
457 threads[0] = (size_t)n_elems; in test_work_group_reduce_min_long()
493 …roup_reduce_min_ulong(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_min_ulong() argument
525 num_elements = n_elems; in test_work_group_reduce_min_ulong()
[all …]
Dtest_wg_reduce_max.cpp164 …_group_reduce_max_int(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_max_int() argument
196 num_elements = n_elems; in test_work_group_reduce_max_int()
274 …group_reduce_max_uint(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_max_uint() argument
306 num_elements = n_elems; in test_work_group_reduce_max_uint()
348 threads[0] = (size_t)n_elems; in test_work_group_reduce_max_uint()
383 …group_reduce_max_long(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_max_long() argument
415 num_elements = n_elems; in test_work_group_reduce_max_long()
457 threads[0] = (size_t)n_elems; in test_work_group_reduce_max_long()
493 …roup_reduce_max_ulong(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_reduce_max_ulong() argument
525 num_elements = n_elems; in test_work_group_reduce_max_ulong()
[all …]
Dtest_wg_scan_exclusive_max.cpp163 …can_exclusive_max_int(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_max_int() argument
195 num_elements = n_elems; in test_work_group_scan_exclusive_max_int()
273 …an_exclusive_max_uint(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_max_uint() argument
305 num_elements = n_elems; in test_work_group_scan_exclusive_max_uint()
347 threads[0] = (size_t)n_elems; in test_work_group_scan_exclusive_max_uint()
382 …an_exclusive_max_long(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_max_long() argument
414 num_elements = n_elems; in test_work_group_scan_exclusive_max_long()
456 threads[0] = (size_t)n_elems; in test_work_group_scan_exclusive_max_long()
492 …n_exclusive_max_ulong(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_max_ulong() argument
524 num_elements = n_elems; in test_work_group_scan_exclusive_max_ulong()
[all …]
Dtest_wg_scan_exclusive_min.cpp164 …can_exclusive_min_int(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_min_int() argument
196 num_elements = n_elems; in test_work_group_scan_exclusive_min_int()
274 …an_exclusive_min_uint(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_min_uint() argument
306 num_elements = n_elems; in test_work_group_scan_exclusive_min_uint()
348 threads[0] = (size_t)n_elems; in test_work_group_scan_exclusive_min_uint()
383 …an_exclusive_min_long(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_min_long() argument
415 num_elements = n_elems; in test_work_group_scan_exclusive_min_long()
457 threads[0] = (size_t)n_elems; in test_work_group_scan_exclusive_min_long()
493 …n_exclusive_min_ulong(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems) in test_work_group_scan_exclusive_min_ulong() argument
525 num_elements = n_elems; in test_work_group_scan_exclusive_min_ulong()
[all …]
/external/OpenCL-CTS/test_conformance/basic/
Dprocs.h70 … test_arraycopy(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems);
133 …ory_alignment_local(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems );
134 …ry_alignment_global(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems );
135 …_alignment_constant(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems );
136 …y_alignment_private(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems );
138 …var_prog_scope_misc(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems );
139 …r_prog_scope_uninit(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems );
140 …var_prog_scope_init(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems );
141 …_progvar_func_scope(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems );
143 …global_work_offsets(cl_device_id device, cl_context context, cl_command_queue queue, int n_elems );
[all …]
/external/OpenCL-CTS/test_conformance/clcpp/
Dfuncs_test_utils.hpp27 device, context, queue, n_elems, TEST_CLASS \
34 device, context, queue, n_elems, TEST_CLASS \
41 device, context, queue, n_elems, TEST_CLASS \

1234