code: def _compile_kernel(
      dir,
      signature,
      kernel_name,
      out_name,
      out_path,
      num_warps,
      grid,
      kernel_path,
  ):
      compiler_path = os.path.join(
          triton.tools.__path__[0], "compile.py"
      )
  
      subprocess.run(
          [
              sys.executable,
              compiler_path,
              "-n",
              kernel_name,
              "--signature",
              signature,
              "--out-name",
              out_name,
              "-o",
              out_path,
              "-w",
              str(num_warps),
              "-g",
              grid,
              kernel_path,
          ],
          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 4 for calling a global function with example usage: _compile_kernel(dir, signature, kernel_name, out_name, out_path, num_warps, grid, kernel_path) without return types