Home
last modified time | relevance | path

Searched refs:global_size (Results 1 – 20 of 20) sorted by relevance

/external/OpenCL-CTS/test_conformance/SVM/
Dtest_migrate.cpp86 const size_t global_size = GLOBAL_SIZE; in test_svm_migrate() local
120 char* asvm = (char*)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate()
126 char* bsvm = (char *)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate()
133 char* csvm = (char *)clSVMAlloc(context, CL_MEM_READ_WRITE, global_size*sizeof(cl_uint), 16); in test_svm_migrate()
151 fill_buffer(amem, global_size, seed); in test_svm_migrate()
152 fill_buffer(bmem, global_size, seed); in test_svm_migrate()
153 fill_buffer(cmem, global_size, seed); in test_svm_migrate()
159 …error = clEnqueueSVMMemFill(queues[0], (void *)asvm, patt, sizeof(patt), global_size*sizeof(cl_uin… in test_svm_migrate()
162 …error = clEnqueueSVMMemFill(queues[0], (void *)bsvm, patt, sizeof(patt), global_size*sizeof(cl_uin… in test_svm_migrate()
165 …error = clEnqueueSVMMemFill(queues[0], (void *)csvm, patt, sizeof(patt), global_size*sizeof(cl_uin… in test_svm_migrate()
[all …]
/external/OpenCL-CTS/test_conformance/device_execution/
Denqueue_multi_queue.cpp148 size_t global_size = MAX_GWS; in test_enqueue_multi_queue() local
149 size_t local_size = (max_local_size > global_size/16) ? global_size/16 : max_local_size; in test_enqueue_multi_queue()
152 global_size = 4; in test_enqueue_multi_queue()
162 …buff = clCreateBuffer(context, CL_MEM_READ_WRITE, global_size * n * sizeof(cl_int), NULL, &err_ret… in test_enqueue_multi_queue()
186 …s(context, queue, &source, 1, "enqueue_block_multi_queue", local_size, global_size, kernel_results… in test_enqueue_multi_queue()
Denqueue_flags.cpp701 size_t global_size = MAX_GWS; in test_enqueue_flags() local
702 size_t local_size = (max_local_size > global_size/16) ? global_size/16 : max_local_size; in test_enqueue_flags()
705 global_size = 4; in test_enqueue_flags()
717 … mem = clCreateBuffer(context, CL_MEM_READ_WRITE|CL_MEM_COPY_HOST_PTR, global_size * BITS_DEPTH * … in test_enqueue_flags()
725 …[i].num_lines, sources_enqueue_block_flags[i].kernel_name, local_size, global_size, kernel_results… in test_enqueue_flags()
730 for (int j=0; j<global_size; j++) in test_enqueue_flags()
732 …if (kernel_results[j] != 1 && j < (global_size / local_size) && check_error(-1, "'%s' kernel resul… in test_enqueue_flags()
737 …else if (kernel_results[j] != 0 && j >= (global_size / local_size) && check_error(-1, "'%s' kernel… in test_enqueue_flags()
Denqueue_block.cpp651 size_t global_size = MAX_GWS; in test_enqueue_block() local
652 size_t local_size = (max_local_size > global_size/16) ? global_size/16 : max_local_size; in test_enqueue_block()
655 global_size = 4; in test_enqueue_block()
666 …_block[i].num_lines, sources_enqueue_block[i].kernel_name, local_size, global_size, kernel_results… in test_enqueue_block()
Dexecute_block.cpp1025 size_t global_size = MAX_GWS; in test_execute_block() local
1026 size_t local_size = (max_local_size > global_size/16) ? global_size/16 : max_local_size; in test_execute_block()
1035 …_block[i].num_lines, sources_execute_block[i].kernel_name, local_size, global_size, kernel_results… in test_execute_block()
Denqueue_wg_size.cpp1700 size_t global_size = MAX_GLOBAL_WORK_SIZE; in test_enqueue_wg_size() local
1701 size_t local_size = (max_local_size > global_size) ? global_size : max_local_size; in test_enqueue_wg_size()
1703 …src.num_lines, sources_enqueue_wg_size[k].src.kernel_name, local_size, global_size, kernel_results… in test_enqueue_wg_size()
1706 int fail = sources_enqueue_wg_size[k].check(kernel_results, global_size, nestingLevel); in test_enqueue_wg_size()
/external/llvm-project/libclc/amdgcn-amdhsa/lib/workitem/
Dget_num_groups.cl5 size_t global_size = get_global_size(dim);
7 size_t num_groups = global_size / local_size;
8 if (global_size % local_size != 0) {
/external/deqp/external/openglcts/modules/gles31/
Des31cComputeShaderTests.cpp754 const uvec3 global_size = local_size * num_groups; in GenSource() local
757 …al_size_z = " << local_size.z() << ") in;" NL "const uvec3 kGlobalSize = uvec3(" << global_size.x() in GenSource()
758 << ", " << global_size.y() << ", " << global_size.z() in GenSource()
760 << global_size.x() * global_size.y() * global_size.z() in GenSource()
762 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data1[" in GenSource()
763 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data2[" in GenSource()
764 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data3[" in GenSource()
765 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data4[" in GenSource()
766 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data5[" in GenSource()
767 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data6[" in GenSource()
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl4cComputeShaderTests.cpp746 const uvec3 global_size = local_size * num_groups; in GenSource() local
749 …al_size_z = " << local_size.z() << ") in;" NL "const uvec3 kGlobalSize = uvec3(" << global_size.x() in GenSource()
750 << ", " << global_size.y() << ", " << global_size.z() in GenSource()
752 << global_size.x() * global_size.y() * global_size.z() in GenSource()
754 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data1[" in GenSource()
755 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data2[" in GenSource()
756 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data3[" in GenSource()
757 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data4[" in GenSource()
758 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data5[" in GenSource()
759 << global_size.x() * global_size.y() * global_size.z() << "];" NL " vec4 data6[" in GenSource()
[all …]
/external/OpenCL-CTS/test_conformance/extensions/cl_ext_cxx_for_opencl/
Dcxx_for_opencl_ext.cpp67 size_t global_size = 1; in test_cxx_for_opencl() local
68 error = clEnqueueNDRangeKernel(queue, kernel1, 1, nullptr, &global_size, in test_cxx_for_opencl()
72 error = clEnqueueNDRangeKernel(queue, kernel2, 1, nullptr, &global_size, in test_cxx_for_opencl()
Dcxx_for_opencl_ver.cpp58 size_t global_size = 1; in test_cxx_for_opencl_version() local
59 error = clEnqueueNDRangeKernel(queue, kernel, 1, nullptr, &global_size, in test_cxx_for_opencl_version()
/external/OpenCL-CTS/test_conformance/thread_dimensions/
Dtest_thread_dimensions.cpp261 size_t global_size[3], local_size[3]; in run_test() local
262 global_size[0] = final_x_size; local_size[0] = local_x_size; in run_test()
263 global_size[1] = final_y_size; local_size[1] = local_y_size; in run_test()
264 global_size[2] = final_z_size; local_size[2] = local_z_size; in run_test()
325 … err = clEnqueueNDRangeKernel(queue, kernel, dimensions, NULL, global_size, NULL, 0, NULL, NULL); in run_test()
327 … print_dimensions(global_size[0], global_size[1], global_size[2], dimensions), in run_test()
330 …err = clEnqueueNDRangeKernel(queue, kernel, dimensions, NULL, global_size, local_size, 0, NULL, NU… in run_test()
332 …print_dimensions(global_size[0], global_size[1], global_size[2], dimensions), print_dimensions2(lo… in run_test()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_kernel_memory_alignment.cpp304 size_t global_size = 1; in test_kernel_memory_alignment() local
305 … error = clEnqueueNDRangeKernel(queue, kernel, 1, NULL, &global_size, NULL, 0, NULL, NULL); in test_kernel_memory_alignment()
372 size_t global_size = 1; in test_kernel_memory_alignment() local
373 … error = clEnqueueNDRangeKernel(queue, kernel, 1, NULL, &global_size, NULL, 0, NULL, NULL); in test_kernel_memory_alignment()
444 size_t global_size = 1; in test_kernel_memory_alignment() local
445 … error = clEnqueueNDRangeKernel(queue, kernel, 1, NULL, &global_size, NULL, 0, NULL, NULL); in test_kernel_memory_alignment()
/external/mesa3d/src/compiler/nir/
Dnir_lower_system_values.c388 nir_ssa_def *global_size = build_global_group_size(b, bit_size); in lower_compute_system_value_instr() local
393 nir_channel(b, global_size, 1)); in lower_compute_system_value_instr()
395 index = nir_imul(b, nir_channel(b, global_size, 0), index); in lower_compute_system_value_instr()
/external/OpenCL-CTS/test_conformance/compiler/
Dtest_compiler_defines_for_extensions.cpp358 size_t global_size = 1; in test_compiler_defines_for_extensions() local
359 error = clEnqueueNDRangeKernel(queue, kernel, 1, NULL, &global_size, NULL, 0, NULL, NULL); in test_compiler_defines_for_extensions()
/external/mesa3d/src/freedreno/vulkan/
Dtu_device.c1076 uint32_t global_size = sizeof(struct tu6_global); in tu_CreateDevice() local
1078 global_size += TU_BORDER_COLOR_COUNT * sizeof(struct bcolor_entry); in tu_CreateDevice()
1080 result = tu_bo_init_new(device, &device->global_bo, global_size, false); in tu_CreateDevice()
/external/llvm-project/llvm/include/llvm/IR/
DModule.h592 size_t global_size () const { return GlobalList.size(); } in global_size() function
/external/llvm-project/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp858 const unsigned InitialGlobalSize = M.global_size(); in runImpl()
1100 M.global_size() != InitialGlobalSize || M.size() != InitialModuleSize; in runImpl()
/external/llvm/docs/
DProgrammersManual.rst2914 | ``global_begin()``, ``global_end()``, ``global_size()``, ``global_empty()``
/external/llvm-project/llvm/docs/
DProgrammersManual.rst3424 | ``global_begin()``, ``global_end()``, ``global_size()``, ``global_empty()``