[PATCH] D80142: [mlir][gpu][rocdl] Introduce GPUToROCm conversion passes.

Wen-Heng (Jack) Chung via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 18 10:13:48 PDT 2020


whchung created this revision.
whchung added a project: MLIR.
Herald added subscribers: llvm-commits, jurahul, Kayjukh, frgossen, grosul1, Joonsoo, stephenneuendorffer, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, csigg, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini, dexonsmith, steven_wu, hiraditya, tpr, mgorny.
Herald added a reviewer: herhut.
Herald added a project: LLVM.
whchung updated this revision to Diff 264670.
whchung added a comment.

Remove unused codes.


Start introduce GPUToROCm conversions. Subsequent patches would introduce
additional features:

- Specify -mcpu target and target features when invoking AMDGPU TargetMachine.
- Convert gpu.launch to ROCm library calls.
- Introduce mlir-rocm-runner tool.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80142

Files:
  mlir/CMakeLists.txt
  mlir/include/mlir/Conversion/GPUToROCm/GPUToROCmPass.h
  mlir/include/mlir/InitAllPasses.h
  mlir/lib/Conversion/CMakeLists.txt
  mlir/lib/Conversion/GPUToROCm/CMakeLists.txt
  mlir/lib/Conversion/GPUToROCm/ConvertKernelFuncToHsaco.cpp
  mlir/test/Conversion/GPUToROCm/lit.local.cfg
  mlir/test/Conversion/GPUToROCm/lower-rocdl-kernel-to-hsaco.mlir
  mlir/test/lib/Transforms/CMakeLists.txt
  mlir/test/lib/Transforms/TestConvertGPUKernelToHsaco.cpp
  mlir/test/lit.site.cfg.py.in
  mlir/tools/mlir-opt/mlir-opt.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80142.264670.patch
Type: text/x-patch
Size: 15371 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200518/407e2f44/attachment.bin>


More information about the llvm-commits mailing list