code: def test_compile_in_forked_subproc() -> None:
      reset_tmp_dir()
      major, minor = torch.cuda.get_device_capability(0)
      capability = major * 10 + minor
      config = triton.compiler.AttrsDescriptor(
          tuple(range(1)), (), (), ()
      )
  
      assert multiprocessing.get_start_method() == "fork"
      proc = multiprocessing.Process(
          target=compile_fn_dot, args=(config, capability)
      )
      proc.start()
      proc.join()
      assert proc.exitcode == 0
  
file_path: triton/python/test/unit/runtime/test_subproc.py
imports: import multiprocessing
  import os
  import shutil
  import torch
  import triton
  import triton.language
  from triton.compiler import ASTSource
label_desc: Use image node_id 5 for calling a global function with example usage: test_compile_in_forked_subproc() without return types