parameters: (*subdirs)
docstring: Get paths of CUDA_HOME.
      If *subdirs* are the subdirectory name to be appended in the resulting
      path.
docstring_summary: Get paths of CUDA_HOME.
      If *subdirs* are the subdirectory name to be appended in the resulting
      path.
docstring_tokens: Get paths of CUDA_HOME . If * subdirs * are the subdirectory name to be appended in the resulting path .
function: def get_cuda_home(*subdirs):
      """Get paths of CUDA_HOME.
      If *subdirs* are the subdirectory name to be appended in the resulting
      path.
      """
      cuda_home = os.environ.get('CUDA_HOME')
      if cuda_home is None:
          # Try Windows CUDA installation without Anaconda
          cuda_home = os.environ.get('CUDA_PATH')
      if cuda_home is not None:
          return os.path.join(cuda_home, *subdirs)
function_tokens: def get_cuda_home ( * subdirs ) : cuda_home = os . environ . get ( 'CUDA_HOME' ) if cuda_home is None : # Try Windows CUDA installation without Anaconda cuda_home = os . environ . get ( 'CUDA_PATH' ) if cuda_home is not None : return os . path . join ( cuda_home , * subdirs )