code: def dense_strategy_rocm(attrs, inputs, out_type, target):
      """Dense strategy for ROCM"""
      assert (
          len(inputs[0].shape) == 2 and len(inputs[1].shape) == 2
      ), "Only support 2-dim dense"
      strategy = dense_strategy_cuda(attrs, inputs, out_type, target)
  
      if target.kind.name == "rocm" and "rocblas" in target.libs:
          assert (
              out_type.dtype == inputs[0].dtype
          ), "Mixed precision not supported."
          strategy.add_implementation(
              wrap_compute_dense(topi.rocm.dense_rocblas),
              wrap_topi_schedule(topi.rocm.schedule_dense_rocblas),
              name="dense_rocblas.rocm",
              plevel=15,
          )
      return strategy
  
file_path: tvm/python/tvm/relay/op/strategy/rocm.py
imports: from tvm import topi
  from tvm.te import SpecializedCondition
  from tvm.contrib.thrust import can_use_rocthrust
  from tvm.contrib import miopen
  from .generic import *
  from ..None import op
  from .cuda import batch_matmul_strategy_cuda, conv2d_strategy_cuda, dense_strategy_cuda
label_desc: Use image node_id 2 for calling a global function with example usage: dense_strategy_rocm(attrs, inputs, out_type, target) and returns: strategy