code: def ptx_get_version(cuda_version) -> int:
      """
      Get the highest PTX version supported by the current CUDA driver.
      """
      assert isinstance(cuda_version, str)
      major, minor = map(int, cuda_version.split("."))
      if major == 12:
          return 80 + minor
      if major == 11:
          return 70 + minor
      if major == 10:
          return 63 + minor
      raise RuntimeError("Triton only support CUDA 10.0 or higher")
  
imports: from triton.backends.compiler import BaseBackend
  from triton._C.libtriton import ir, passes, llvm, nvidia
  from triton.runtime import driver
  from dataclasses import dataclass
  import functools
  from typing import Any
  import hashlib
  import re
  import tempfile
  import signal
  import os
  import subprocess
  from pathlib import Path
label_desc: Use image node_id 7 for calling a global function with example usage: ptx_get_version(cuda_version) and returns: unknown, unknown, unknown