code: def link_aot_kernels(dir):
      linker_path = os.path.join(triton.tools.__path__[0], "link.py")
  
      # link all desired configs
      h_files = glob.glob(os.path.join(dir, "*.h"))
      subprocess.run(
          [sys.executable, linker_path] + h_files + ["-o", "kernel"],
          check=True,
          cwd=dir,
      )
  
imports: import glob
  import os
  import subprocess
  import sys
  import tempfile
  import numpy
  import triton
  from triton.backends.nvidia.driver import include_dir, library_dir
label_desc: Use image node_id 7 for calling a global function with example usage: link_aot_kernels(dir) without return types