code: def write_triton_kernels(dir, src, util_src):
      kernel_path = os.path.join(dir, "kernel.py")
      with open(kernel_path, "w") as file:
          file.write(src)
  
      kernel_utils_path = os.path.join(dir, "kernel_utils.py")
      with open(kernel_utils_path, "w") as file:
          file.write(util_src)
  
      return kernel_path
  
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 3 for calling a global function with example usage: write_triton_kernels(dir, src, util_src) and returns: kernel_path