[all-commits] [llvm/llvm-project] 47073c: [mlir][mlir-rocm-runner] Detect HIP version and AM...

Wen-Heng (Jack) Chung via All-commits all-commits at lists.llvm.org
Fri Jun 5 20:16:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 47073ccd4e78e33ec3d21ac2b2809ea8e193655a
      https://github.com/llvm/llvm-project/commit/47073ccd4e78e33ec3d21ac2b2809ea8e193655a
  Author: Wen-Heng (Jack) Chung <whchung at gmail.com>
  Date:   2020-06-05 (Fri, 05 Jun 2020)

  Changed paths:
    M mlir/tools/mlir-rocm-runner/CMakeLists.txt
    M mlir/tools/mlir-rocm-runner/mlir-rocm-runner.cpp

  Log Message:
  -----------
  [mlir][mlir-rocm-runner] Detect HIP version and AMD ISA version.

Summary:
Prior to ROCm / HIP 3.5, HSA code object V2 is the default binary format.
Starting from ROCm 3.5, HSA code object V3 becomes default.

Also invoke `rocm_agent_enumerator` to detect proper AMD ISA version on the
system. Use `gfx900` as the fallback value.

Reviewers: jerryyin yaxunl

Subscribers: mgorny, yaxunl, mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, msifontes

Tags: #mlir

Differential Revision: https://reviews.llvm.org/D81309




More information about the All-commits mailing list