class_docstr: A class that invokes NVCC or HIPCC.
class_docstr_tok: ["A","class","that","invokes","NVCC","or","HIPCC","."]
code: def __init__(self, ctx: Context):
      self._context = ctx
  
imports: import distutils.ccompiler
  import os
  import os.path
  import platform
  import shutil
  import sys
  import subprocess
  from typing import Any, Optional, List
  import setuptools
  import setuptools.msvc
  from setuptools import Extension
  from cupy_builder._context import Context
  import cupy_builder.install_build
label_desc: Use image node_id 1 to create a new DeviceCompilerBase object  with example: obj = DeviceCompilerBase(ctx)