code: def test_target_from_device_rocm(input_device):
      target = Target.from_device(input_device)
  
      dev = tvm.rocm()
      assert target.kind.name == "rocm"
      assert target.attrs["mtriple"] == "amdgcn-and-amdhsa-hcc"
      assert (
          target.attrs["max_threads_per_block"]
          == dev.max_threads_per_block
      )
      assert (
          target.max_shared_memory_per_block
          == dev.max_shared_memory_per_block
      )
      assert target.thread_warp_size == dev.warp_size
  
imports: import json
  import pytest
  import tvm
  import tvm.testing
  from tvm.target import Target, arm_cpu, bifrost, cuda, intel_graphics, mali, rocm, vta
label_desc: Use image node_id 48 for calling a global function with example usage: test_target_from_device_rocm(input_device) without return types