code: def _get_cuda_archs(self):
      cuda_ver = cupy.cuda.runtime.runtimeGetVersion()
      to_exclude = set(
          (int(a) for a in cupy.cuda.compiler._tegra_archs)
      )
      if cuda_ver < 11000:
          # CUDA 10.2 (Tegra excluded)
          archs = (30, 35, 50, 52, 60, 61, 70, 75)
      elif cuda_ver < 11010:
          # CUDA 11.0
          archs = (35, 37, 50, 52, 53, 60, 61, 62, 70, 72, 75, 80)
      elif cuda_ver < 11020:
          # CUDA 11.1
          archs = (35, 37, 50, 52, 53, 60, 61, 62, 70, 72, 75, 80, 86)
      else:
          # CUDA 11.2+
          archs = cupy.cuda.nvrtc.getSupportedArchs()
          if cuda_ver == 11020 or cuda_ver >= 12000:
              to_exclude.add(69)
      archs = tuple(set(archs) - to_exclude)
  
      return archs
  
file_path: cupy/tests/cupy_tests/core_tests/test_include.py
imports: import os
  from unittest import mock
  import cupy
  import pytest
label_desc: Use image node_id 1 for calling the TestIncludesCompileCUDA obj's underlying member method code with example usage: obj._get_cuda_archs() and returns: archs