[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
Loading
Please register or sign in to comment