code: def ty_to_cpp(ty):
      if ty[0] == "*":
          return "CUdeviceptr"
      return {
          "i1": "int32_t",
          "i8": "int8_t",
          "i16": "int16_t",
          "i32": "int32_t",
          "i64": "int64_t",
          "u32": "uint32_t",
          "u64": "uint64_t",
          "fp16": "float",
          "bf16": "float",
          "fp32": "float",
          "f32": "float",
          "fp64": "double",
      }[ty]
  
imports: import os
  import hashlib
  import tempfile
  from pathlib import Path
  from triton.runtime.build import _build
  from triton.runtime.cache import get_cache_manager
  from triton.backends.driver import GPUDriver
label_desc: Use image node_id 2 for calling a global function with example usage: ty_to_cpp(ty) and returns: dict, str