code: def test_list_builder_with_offset(ctx_factory):
      from pytest import importorskip
  
      importorskip("mako")
  
      context = ctx_factory()
      queue = cl.CommandQueue(context)
  
      from pyopencl.algorithm import ListOfListsBuilder
      from pyopencl.tools import VectorArg
  
      builder = ListOfListsBuilder(
          context,
          [("mylist", np.int32)],
          """//CL//
              void generate(LIST_ARG_DECL USER_ARG_DECL index_type i)
              {
                  APPEND_mylist(input_list[i]);
              }
              """,
          arg_decls=[VectorArg(float, "input_list", with_offset=True)],
      )
  
      n = 10000
      input_list = cl.array.zeros(queue, (n + 10,), float)
      input_list[10:] = 1
  
      result, evt = builder(queue, n, input_list[10:])
  
      inf = result["mylist"]
      assert inf.count == n
      assert (inf.lists.get() == 1).all()
  
imports: import numpy
  import numpy.linalg
  import sys
  from pytools import memoize
  from test_array import general_clrand
  import pytest
  import pyopencl
  import pyopencl.array
  from pyopencl.tools import pytest_generate_tests_for_pyopencl
  from pyopencl.characterize import has_double_support, has_struct_arg_count_bug
  from pyopencl.scan import InclusiveScanKernel, ExclusiveScanKernel, GenericScanKernel, GenericDebugScanKernel
  from pyopencl.characterize import get_pocl_version
label_desc: Use image node_id 29 for calling a global function with example usage: test_list_builder_with_offset(ctx_factory) without return types