Home
last modified time | relevance | path

Searched refs:global_threads (Results 1 – 6 of 6) sorted by relevance

/external/OpenCL-CTS/test_conformance/basic/
Dtest_local.cpp125 size_t global_threads[1], local_threads[1]; in test_local_arg_def() local
196 global_threads[0] = wgsize; in test_local_arg_def()
204 while (global_threads[0] % local_threads[0] != 0) in test_local_arg_def()
207 …err = clEnqueueNDRangeKernel(queue, kernel, 1, NULL, global_threads, local_threads, 0, NULL, NULL); in test_local_arg_def()
241 size_t global_threads[1], local_threads[1]; in test_local_kernel_def() local
329 global_threads[0] = wgsize; in test_local_kernel_def()
337 while (global_threads[0] % local_threads[0] != 0) in test_local_kernel_def()
340 …err = clEnqueueNDRangeKernel(queue, kernel, 1, NULL, global_threads, local_threads, 0, NULL, NULL); in test_local_kernel_def()
Dtest_imagenpot.cpp85 size_t global_threads[3], local_threads[3]; in test_imagenpot() local
176global_threads[0] = ((img_width + local_workgroup_size - 1) / local_workgroup_size) * local_workgr… in test_imagenpot()
177 global_threads[1] = img_height; in test_imagenpot()
180 …err = clEnqueueNDRangeKernel( queue, kernel, 2, NULL, global_threads, local_threads, 0, NULL, NULL… in test_imagenpot()
Dtest_barrier.cpp82 size_t global_threads[3]; in test_barrier() local
136 global_threads[0] = max_threadgroup_size; in test_barrier()
139 …err = clEnqueueNDRangeKernel( queue, kernel, 1, NULL, global_threads, local_threads, 0, NULL, NULL… in test_barrier()
Dtest_wg_barrier.cpp82 size_t global_threads[3]; in test_wg_barrier() local
138 global_threads[0] = max_threadgroup_size; in test_wg_barrier()
141 …err = clEnqueueNDRangeKernel( queue, kernel, 1, NULL, global_threads, local_threads, 0, NULL, NULL… in test_wg_barrier()
Dtest_constant.cpp100 size_t global_threads[3]; in test_constant() local
201 global_threads[0] = constant_values; in test_constant()
202 err = clEnqueueNDRangeKernel( queue, kernel, 1, NULL, global_threads, NULL, 0, NULL, NULL ); in test_constant()
248 … err = clEnqueueNDRangeKernel( queue, loop_kernel, 1, NULL, global_threads, NULL, 0, NULL, NULL ); in test_constant()
/external/OpenCL-CTS/test_conformance/atomics/
Dtest_indexed_cases.cpp148 int add_index_bin_test(size_t *global_threads, cl_command_queue queue, cl_context context, MTdata d) in add_index_bin_test() argument
150 int number_of_items = (int)global_threads[0]; in add_index_bin_test()
171 if( get_max_common_work_group_size( context, kernel, global_threads[0], &local_threads[0] ) ) in add_index_bin_test()
175 (int)global_threads[0], (int)local_threads[0]); in add_index_bin_test()
264 …err = clEnqueueNDRangeKernel( queue, kernel, 1, NULL, global_threads, local_threads, 0, NULL, NULL… in add_index_bin_test()