code: def _get_maximum_kernel_args(source):
      def get_kernel_args(source):
          import re
  
          p = re.compile(r"__kernel void .+\((.*)\)")
          args = p.findall(source)
          return args
  
      args = get_kernel_args(source)
      max_args = len(args[0].split(","))
      for arg_line in args:
          max_args = max(max_args, len(arg_line.split(",")))
      return max_args
  
file_path: tvm/tests/python/codegen/test_target_codegen_opencl.py
imports: import tvm
  from tvm import te, relay
  import tvm.testing
  import re
  import pytest
  import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: _get_maximum_kernel_args(source) and returns: max_args, args