code: def have_matrixcore(compute_version=None):
      """Either MatrixCore support is provided in the compute capability or not
  
      Parameters
      ----------
      compute_version : str, optional
          compute capability of a GPU (e.g. "7.0").
  
      Returns
      -------
      have_matrixcore : bool
          True if MatrixCore support is provided, False otherwise
      """
      if compute_version is None:
          if tvm.rocm(0).exist:
              compute_version = tvm.rocm(0).compute_version
          else:
              raise RuntimeError("No ROCm runtime found")
      major, _ = parse_compute_version(compute_version)
      # matrix core first introduced in 8.0
      if major >= 8:
          return True
  
      return False
  
file_path: tvm/python/tvm/contrib/rocm.py
imports: import re
  import subprocess
  import os
  from os.path import join, exists
  import tvm._ffi
  from tvm._ffi.base import py_str
  import tvm.runtime
  import tvm.target
  from .None import utils
label_desc: Use image node_id 6 for calling a global function with example usage: have_matrixcore(compute_version) and returns: False, True