[PATCH] D78551: [MLIR] Use nested symbol to identify kernel in `LaunchFuncOp`.

Frederik Gossen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 03:44:56 PDT 2020


frgossen created this revision.
frgossen added reviewers: herhut, ftynse.
Herald added subscribers: llvm-commits, grosul1, bader, Joonsoo, liufengdb, aartbik, 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 reviewer: rriddle.
Herald added a project: LLVM.

Use a nested symbol to identify the kernel to be invoked by a `LaunchFuncOp` in the GPU dialect.
This replaces the two attributes that were used to identify the kernel module and the kernel within seperately.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78551

Files:
  mlir/include/mlir/Dialect/GPU/GPUOps.td
  mlir/include/mlir/IR/SymbolTable.h
  mlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
  mlir/lib/Conversion/GPUToVulkan/ConvertGPULaunchFuncToVulkanLaunchFunc.cpp
  mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
  mlir/test/Conversion/GPUToCUDA/lower-launch-func-to-cuda.mlir
  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/Conversion/GPUToVulkan/lower-gpu-launch-vulkan-launch.mlir
  mlir/test/Dialect/GPU/invalid.mlir
  mlir/test/Dialect/GPU/ops.mlir
  mlir/test/Dialect/GPU/outlining.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: D78551.258951.patch
Type: text/x-patch
Size: 31334 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200421/d795286e/attachment.bin>


More information about the llvm-commits mailing list