[PATCH] D78542: [MLIR] Use `kernel` as a short hand for `gpu.kernel` attribute.

Frederik Gossen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 00:30:35 PDT 2020


frgossen created this revision.
frgossen added reviewers: herhut, ftynse.
Herald added subscribers: llvm-commits, grosul1, bader, Joonsoo, liufengdb, lucyrfox, mgester, arpith-jacob, csigg, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: mravishankar.
Herald added a reviewer: antiagainst.
Herald added a project: LLVM.

Use the shortcu `kernel` for the `gpu.kernel` attribute of `gpu.func`.
The parser supports this and test cases are easier to read.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78542

Files:
  mlir/test/Conversion/GPUToSPIRV/builtins.mlir
  mlir/test/Conversion/GPUToSPIRV/if.mlir
  mlir/test/Conversion/GPUToSPIRV/load-store.mlir
  mlir/test/Conversion/GPUToSPIRV/loop.mlir
  mlir/test/Conversion/GPUToSPIRV/simple.mlir
  mlir/test/Dialect/GPU/all-reduce-max.mlir
  mlir/test/Dialect/GPU/all-reduce.mlir
  mlir/test/Dialect/GPU/invalid.mlir
  mlir/test/Dialect/GPU/ops.mlir
  mlir/test/mlir-vulkan-runner/addf.mlir
  mlir/test/mlir-vulkan-runner/mulf.mlir
  mlir/test/mlir-vulkan-runner/subf.mlir
  mlir/test/mlir-vulkan-runner/time.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78542.258913.patch
Type: text/x-patch
Size: 15641 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200421/67bce57d/attachment.bin>


More information about the llvm-commits mailing list