parameters: (py_func, cres, sin, sout, cache, is_parfors)
return_statement: return info
docstring: Build gufunc wrapper for the given arguments.
      The *is_parfors* is a boolean indicating whether the gufunc is being
      built for use as a ParFors kernel. This changes codegen and caching
      behavior.
docstring_summary: Build gufunc wrapper for the given arguments.
      The *is_parfors* is a boolean indicating whether the gufunc is being
      built for use as a ParFors kernel. This changes codegen and caching
      behavior.
docstring_tokens: Build gufunc wrapper for the given arguments . The * is_parfors * is a boolean indicating whether the gufunc is being built for use as a ParFors kernel . This changes codegen and caching behavior .
function: def build_gufunc_wrapper(py_func, cres, sin, sout, cache, is_parfors):
      """Build gufunc wrapper for the given arguments.
      The *is_parfors* is a boolean indicating whether the gufunc is being
      built for use as a ParFors kernel. This changes codegen and caching
      behavior.
      """
      library = cres.library
      ctx = cres.target_context
      signature = cres.signature
      innerinfo = ufuncbuilder.build_gufunc_wrapper(
          py_func, cres, sin, sout, cache=cache, is_parfors=is_parfors,
      )
      sym_in = set(sym for term in sin for sym in term)
      sym_out = set(sym for term in sout for sym in term)
      inner_ndim = len(sym_in | sym_out)
  
      info = build_gufunc_kernel(
          library, ctx, innerinfo, signature, inner_ndim,
      )
      return info
function_tokens: def build_gufunc_wrapper ( py_func , cres , sin , sout , cache , is_parfors ) : library = cres . library ctx = cres . target_context signature = cres . signature innerinfo = ufuncbuilder . build_gufunc_wrapper ( py_func , cres , sin , sout , cache = cache , is_parfors = is_parfors , ) sym_in = set ( sym for term in sin for sym in term ) sym_out = set ( sym for term in sout for sym in term ) inner_ndim = len ( sym_in | sym_out ) info = build_gufunc_kernel ( library , ctx , innerinfo , signature , inner_ndim , ) return info