/external/OpenCL-CTS/test_conformance/buffers/ |
D | test_buffer_mem.cpp | 78 size_t global_work_size[3]; in test_mem_read_write_flags() local 87 global_work_size[0] = (cl_uint)num_elements; in test_mem_read_write_flags() 120 …err = get_max_common_work_group_size( context, kernel[0], global_work_size[0], &local_work_size[0]… in test_mem_read_write_flags() 136 …err = clEnqueueNDRangeKernel( queue, kernel[0], 1, NULL, global_work_size, local_work_size, 0, NUL… in test_mem_read_write_flags() 138 … err = clEnqueueNDRangeKernel( queue, kernel[0], 1, NULL, global_work_size, NULL, 0, NULL, NULL ); in test_mem_read_write_flags() 187 size_t global_work_size[3]; in test_mem_write_only_flags() local 196 global_work_size[0] = (cl_uint)num_elements; in test_mem_write_only_flags() 239 …err = get_max_common_work_group_size( context, kernel[0], global_work_size[0], &local_work_size[0]… in test_mem_write_only_flags() 255 …err = clEnqueueNDRangeKernel( queue, kernel[0], 1, NULL, global_work_size, local_work_size, 0, NUL… in test_mem_write_only_flags() 257 … err = clEnqueueNDRangeKernel( queue, kernel[0], 1, NULL, global_work_size, NULL, 0, NULL, NULL ); in test_mem_write_only_flags() [all …]
|
D | test_buffer_read.cpp | 622 size_t global_work_size[3]; in test_buffer_read() local 634 global_work_size[0] = (cl_uint)num_elements; in test_buffer_read() 698 …err = get_max_common_work_group_size( context, kernel[i], global_work_size[0], &local_work_size[0]… in test_buffer_read() 701 …err = clEnqueueNDRangeKernel( queue, kernel[i], 1, NULL, global_work_size, local_work_size, 0, NUL… in test_buffer_read() 703 … err = clEnqueueNDRangeKernel( queue, kernel[i], 1, NULL, global_work_size, NULL, 0, NULL, NULL ); in test_buffer_read() 776 size_t global_work_size[3]; in test_buffer_read_async() local 789 global_work_size[0] = (cl_uint)num_elements; in test_buffer_read_async() 854 …err = get_max_common_work_group_size( context, kernel[i], global_work_size[0], &local_work_size[0]… in test_buffer_read_async() 857 …err = clEnqueueNDRangeKernel( queue, kernel[i], 1, NULL, global_work_size, local_work_size, 0, NUL… in test_buffer_read_async() 859 … err = clEnqueueNDRangeKernel( queue, kernel[i], 1, NULL, global_work_size, NULL, 0, NULL, NULL ); in test_buffer_read_async() [all …]
|
D | test_buffer_write.cpp | 622 size_t global_work_size[3]; in test_buffer_write() local 633 global_work_size[0] = (size_t)num_elements; in test_buffer_write() 722 …err = get_max_common_work_group_size( context, kernel[i], global_work_size[0], &local_work_size[0]… in test_buffer_write() 739 …err = clEnqueueNDRangeKernel( queue, kernel[i], 1, NULL, global_work_size, local_work_size, 0, NUL… in test_buffer_write() 741 … err = clEnqueueNDRangeKernel( queue, kernel[i], 1, NULL, global_work_size, NULL, 0, NULL, NULL ); in test_buffer_write() 802 size_t global_work_size[3]; in test_buffer_write_struct() local 816 global_work_size[0] = (size_t)num_elements; in test_buffer_write_struct() 909 …err = get_max_common_work_group_size( context, kernel[i], global_work_size[0], &local_work_size[0]… in test_buffer_write_struct() 927 …err = clEnqueueNDRangeKernel( queue, kernel[i], 1, NULL, global_work_size, local_work_size, 0, NUL… in test_buffer_write_struct() 929 … err = clEnqueueNDRangeKernel( queue, kernel[i], 1, NULL, global_work_size, NULL, 0, NULL, NULL ); in test_buffer_write_struct() [all …]
|
D | test_buffer_fill.cpp | 573 size_t global_work_size[3]; in test_buffer_fill() local 584 global_work_size[0] = (size_t)num_elements; in test_buffer_fill() 649 …err = get_max_common_work_group_size( context, kernel[i], global_work_size[0], &local_work_size[0]… in test_buffer_fill() 678 …err = clEnqueueNDRangeKernel( queue, kernel[i], 1, NULL, global_work_size, local_work_size, 0, NUL… in test_buffer_fill() 680 … err = clEnqueueNDRangeKernel( queue, kernel[i], 1, NULL, global_work_size, NULL, 0, NULL, NULL ); in test_buffer_fill() 732 size_t global_work_size[3]; in test_buffer_fill_struct() local 744 global_work_size[0] = (size_t)num_elements; in test_buffer_fill_struct() 855 … err = get_max_common_work_group_size( context, kernel, global_work_size[0], &local_work_size[0] ); in test_buffer_fill_struct() 896 …err = clEnqueueNDRangeKernel( queue, kernel, 1, NULL, global_work_size, local_work_size, 0, NULL, … in test_buffer_fill_struct() 898 … err = clEnqueueNDRangeKernel( queue, kernel, 1, NULL, global_work_size, NULL, 0, NULL, NULL ); in test_buffer_fill_struct()
|
/external/OpenCL-CTS/test_conformance/pipes/ |
D | test_pipe_limits.cpp | 162 size_t global_work_size[3]; in test_pipe_max_args() local 192 global_work_size[0] = (cl_uint)num_pipe_elements * max_pipe_args; in test_pipe_max_args() 243 …err = clEnqueueNDRangeKernel( queue, kernel[0], 1, NULL, global_work_size, NULL, 0, NULL, &produce… in test_pipe_max_args() 247 …err = clEnqueueNDRangeKernel( queue, kernel[1], 1, NULL, global_work_size, NULL, 1, &producer_sync… in test_pipe_max_args() 275 size_t global_work_size[3]; in test_pipe_max_packet_size() local 291 global_work_size[0] = (cl_uint)num_pipe_elements; in test_pipe_max_packet_size() 387 …err = clEnqueueNDRangeKernel( queue, kernel[0], 1, NULL, global_work_size, NULL, 0, NULL, &produce… in test_pipe_max_packet_size() 391 …err = clEnqueueNDRangeKernel( queue, kernel[1], 1, NULL, global_work_size, NULL, 1, &producer_sync… in test_pipe_max_packet_size() 420 size_t global_work_size[3]; in test_pipe_max_active_reservations() local 440 global_work_size[0] = 1; in test_pipe_max_active_reservations() [all …]
|
D | test_pipe_query_functions.cpp | 89 size_t global_work_size[3]; in test_pipe_query_functions() local 110 global_work_size[0] = (cl_uint)num_elements; in test_pipe_query_functions() 164 …err = clEnqueueNDRangeKernel( queue, kernel[0], 1, NULL, global_work_size, NULL, 0, NULL, &produce… in test_pipe_query_functions() 212 global_work_size[0] = pipe_num_packets; in test_pipe_query_functions() 213 …err = clEnqueueNDRangeKernel( queue, kernel[0], 1, NULL, global_work_size, NULL, 1, &pipe_read_syn… in test_pipe_query_functions() 237 global_work_size[0] = pipe_num_packets; in test_pipe_query_functions() 238 …err = clEnqueueNDRangeKernel( queue, kernel[1], 1, NULL, global_work_size, NULL, 1, &pipe_read_syn… in test_pipe_query_functions()
|
D | test_pipe_readwrite_errors.cpp | 73 size_t global_work_size[3]; in test_pipe_readwrite_errors() local 88 global_work_size[0] = num_elements; in test_pipe_readwrite_errors() 135 …err = clEnqueueNDRangeKernel( queue, kernel[1], 1, NULL, global_work_size, NULL, 0, NULL, &consume… in test_pipe_readwrite_errors() 150 …err = clEnqueueNDRangeKernel( queue, kernel[0], 1, NULL, global_work_size, NULL, 0, NULL, &produce… in test_pipe_readwrite_errors() 169 …err = clEnqueueNDRangeKernel( queue, kernel[1], 1, NULL, global_work_size, NULL, 1, &producer_sync… in test_pipe_readwrite_errors()
|
D | test_pipe_subgroups.cpp | 98 size_t global_work_size[3]; in test_pipe_subgroups_divergence() local 113 global_work_size[0] = (cl_uint)num_elements; in test_pipe_subgroups_divergence() 163 …err = get_max_common_work_group_size( context, kernel[0], global_work_size[0], &local_work_size[0]… in test_pipe_subgroups_divergence() 184 …err = clEnqueueNDRangeKernel( queue, kernel[0], 1, NULL, global_work_size, local_work_size, 0, NUL… in test_pipe_subgroups_divergence() 191 …err = clEnqueueNDRangeKernel( queue, kernel[1], 1, NULL, global_work_size, local_work_size, 1, &pr… in test_pipe_subgroups_divergence()
|
D | test_pipe_read_write.cpp | 463 size_t global_work_size[3]; in test_pipe_readwrite() local 476 global_work_size[0] = (cl_uint)num_elements; in test_pipe_readwrite() 556 context, kernel[ii], global_work_size[0], &local_work_size[0]); in test_pipe_readwrite() 560 global_work_size, local_work_size, 0, in test_pipe_readwrite() 568 global_work_size, NULL, 0, NULL, in test_pipe_readwrite() 576 global_work_size[0], in test_pipe_readwrite() 582 global_work_size, local_work_size, 1, in test_pipe_readwrite() 591 queue, kernel[ii + 1], 1, NULL, global_work_size, NULL, 1, in test_pipe_readwrite() 628 size_t global_work_size[3]; in test_pipe_readwrite_struct_generic() local 638 global_work_size[0] = (size_t)num_elements; in test_pipe_readwrite_struct_generic() [all …]
|
/external/OpenCL-CTS/test_conformance/device_execution/ |
D | enqueue_ndrange.cpp | 432 …size_t global_work_size = glob_size_arr[(g + 2) % n] * glob_size_arr[(g + 1) % n] * glob_size_arr[… in generate_reference_3D() local 433 if(global_work_size <= (len * len)) in generate_reference_3D() 456 …size_t global_work_size = glob_size_arr[(g + 2) % n] * glob_size_arr[(g + 1) % n] * glob_size_arr[… in generate_reference_3D_local() local 457 if (glob_size_arr[(g + 2) % n] >= loc_size_arr[l] && global_work_size <= (len * len)) in generate_reference_3D_local() 481 …size_t global_work_size = glob_size_arr[(g + 2) % n] * glob_size_arr[(g + 1) % n] * glob_size_arr[… in generate_reference_3D_offset() local 482 if (glob_size_arr[(g + 2) % n] >= loc_size_arr[l] && global_work_size <= (len * len)) in generate_reference_3D_offset() 607 cl_uint global_work_size = max_local_size * 2; in test_enqueue_ndrange() local 611 std::vector<cl_int> glob_results(global_work_size, 0); in test_enqueue_ndrange() 614 glob_size_arr[1] = global_work_size; in test_enqueue_ndrange() 622 glob_size_arr[i] = genrand_int32(d) % global_work_size; in test_enqueue_ndrange() [all …]
|
/external/OpenCL-CTS/test_conformance/spir/ |
D | datagen.cpp | 26 case 1: return global_work_size[0]; in getGlobalWorkSize() 27 case 2: return global_work_size[0] * global_work_size[1]; in getGlobalWorkSize() 28 case 3: return global_work_size[0] * global_work_size[1] * global_work_size[2]; in getGlobalWorkSize()
|
D | run_services.cpp | 256 …ws.global_work_size[0] = (GLOBAL_WORK_SIZE <= 32) ? GLOBAL_WORK_SIZE : 32; // kernels limit… in generate_kernel_ws() 270 memcpy(ws.global_work_size, compile_work_group_size, sizeof(ws.global_work_size)); in generate_kernel_ws() 736 …DRangeKernel( queue, kernel, ws.work_dim, ws.global_work_offset, ws.global_work_size, ws.local_wor… in run_kernel()
|
D | datagen.h | 92 size_t global_work_size[MAX_WORK_DIM]; variable
|
/external/ImageMagick/MagickCore/ |
D | accelerate.c | 337 global_work_size[2]; in LaunchHistogramKernel() local 367 global_work_size[0] = image->columns; in LaunchHistogramKernel() 368 global_work_size[1] = image->rows; in LaunchHistogramKernel() 370 …v->library->clEnqueueNDRangeKernel(queue, histogramKernel, 2, NULL, global_work_size, NULL, 0, NUL… in LaunchHistogramKernel() 999 global_work_size[2]; in ComputeContrastStretchImage() local 1408 global_work_size[0] = image->columns; in ComputeContrastStretchImage() 1409 global_work_size[1] = image->rows; in ComputeContrastStretchImage() 1411 …clStatus = clEnv->library->clEnqueueNDRangeKernel(queue, stretchKernel, 2, NULL, global_work_size,… in ComputeContrastStretchImage() 1552 global_work_size[3], in ComputeConvolveImage() local 1725 …global_work_size[0] = ((image->columns + localGroupSize[0] - 1)/localGroupSize[0] ) * localGroupS… in ComputeConvolveImage() [all …]
|
D | opencl-private.h | 209 const size_t *global_work_offset,const size_t *global_work_size,
|
/external/OpenCL-CTS/test_conformance/mem_host_flags/ |
D | checker_mem_host_write_only.hpp | 271 size_t global_work_size[3] = {0, 1, 1}; in update_host_mem_2() local 272 global_work_size[0] = this->get_block_size_bytes(); in update_host_mem_2()
|
/external/skqp/src/compute/hs/cl/ |
D | hs_cl.c | 207 size_t const * const global_work_size) in hs_trace() argument 218 global_work_size[0], in hs_trace() 219 dim < 2 ? 0 : global_work_size[1], in hs_trace() 220 dim < 3 ? 0 : global_work_size[2]); in hs_trace()
|
/external/skqp/src/compute/hs/cl/bench/ |
D | main.c | 280 size_t const global_work_size = 1; in hs_dummy_kernel_enqueue() local 286 &global_work_size, in hs_dummy_kernel_enqueue()
|
/external/skqp/src/compute/skc/platforms/cl_12/kernels/devices/gen9/ |
D | device_cl_12.c | 283 size_t * const global_work_size,
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_progvar.cpp | 872 const size_t global_work_size[] = { 1 }; in check_global_initialization() local 873 …eueNDRangeKernel(queue, global_check, work_dim, global_work_offset, global_work_size, nullptr, 0, … in check_global_initialization()
|
/external/mesa3d/include/CL/ |
D | cl.h | 1726 const size_t * global_work_size,
|
D | cl_icd.h | 609 const size_t *global_work_offset, const size_t *global_work_size,
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 3042 size_t global_work_size = count; in DetectFloatToHalfRoundingMode() local 3043 err = clEnqueueNDRangeKernel( q, k, 1, NULL, &global_work_size, NULL, 0, NULL, NULL ); in DetectFloatToHalfRoundingMode()
|