code: def find_rocm_config():
      """Returns a dictionary of ROCm components config info."""
      rocm_install_path = _get_rocm_install_path()
      if not os.path.exists(rocm_install_path):
          raise ConfigError(
              'Specified ROCM_PATH "{}" does not exist'.format(
                  rocm_install_path
              )
          )
  
      result = {}
  
      result["rocm_toolkit_path"] = rocm_install_path
      result.update(_find_rocm_config(rocm_install_path))
      result.update(_find_hipruntime_config(rocm_install_path))
      result.update(_find_miopen_config(rocm_install_path))
      result.update(_find_rocblas_config(rocm_install_path))
      result.update(_find_rocrand_config(rocm_install_path))
      result.update(_find_rocfft_config(rocm_install_path))
      if result["rocm_version_number"] >= 40100:
          result.update(_find_hipfft_config(rocm_install_path))
      result.update(_find_roctracer_config(rocm_install_path))
      result.update(_find_hipsparse_config(rocm_install_path))
      if result["rocm_version_number"] >= 40500:
          result.update(_find_hipsolver_config(rocm_install_path))
      result.update(_find_rocsolver_config(rocm_install_path))
  
      return result
  
imports: import io
  import os
  import re
  import sys
label_desc: Use image node_id 16 for calling a global function with example usage: find_rocm_config() and returns: result