code: def _get_arch_for_options_for_nvrtc(arch=None):
      # NVRTC in CUDA 11.3+ generates PTX that cannot be run an earlier driver
      # version than the one included in the used CUDA version, as
      # documented in:
      # https://docs.nvidia.com/cuda/archive/11.3.0/nvrtc/index.html#versioning
      # Here we use `-arch=sm_*` instead of `-arch=compute_*` to directly
      # generate cubin (SASS) instead of PTX. See #5097 for details.
      if arch is None:
          arch = _get_arch()
      if not _use_ptx and arch <= _get_max_compute_capability():
          return f"-arch=sm_{arch}", "cubin"
      return f"-arch=compute_{arch}", "ptx"
  
imports: import copy
  import hashlib
  import math
  import os
  import platform
  import re
  import shutil
  import subprocess
  import sys
  import tempfile
  import warnings
  from cupy.cuda import device
  from cupy.cuda import function
  from cupy.cuda import get_rocm_path
  from cupy_backends.cuda.api import driver
  from cupy_backends.cuda.api import runtime
  from cupy_backends.cuda.libs import nvrtc
  from cupy import _util
label_desc: Use image node_id 6 for calling a global function with example usage: _get_arch_for_options_for_nvrtc(arch) and returns: str, arch,  str, str, arch,  str