[PATCH] D73893: [MLIR][GPU] Implement initial mapping from loop.parallel to gpu.launch.

Stephan Herhut via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 07:24:58 PST 2020


herhut created this revision.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, csigg, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: nicolasvasilache.
Herald added a project: LLVM.

To unblock other work, this implements basic lowering based on mapping
attributes that have to be provided on all loop.parallel. The lowering
does not yet support reduce.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73893

Files:
  mlir/include/mlir/Dialect/LoopOps/LoopOps.td
  mlir/lib/Conversion/LoopsToGPU/LoopsToGPU.cpp
  mlir/test/Conversion/LoopsToGPU/parallel_loop.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73893.242069.patch
Type: text/x-patch
Size: 19883 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200203/33073e30/attachment.bin>


More information about the llvm-commits mailing list