[PATCH] D72336: Create a gpu.module operation for the GPU Dialect.

Theodore Popp via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 7 07:42:44 PST 2020


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

This is based on the use of code constantly checking for an attribute on
a model and instead represents the distinct operaion with a different
op. Instead, this op can be used to provide better filtering.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D72336

Files:
  mlir/include/mlir/Conversion/GPUToCUDA/GPUToCUDAPass.h
  mlir/include/mlir/Conversion/GPUToNVVM/GPUToNVVMPass.h
  mlir/include/mlir/Dialect/GPU/GPUOps.td
  mlir/lib/Conversion/GPUToCUDA/ConvertKernelFuncToCubin.cpp
  mlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
  mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
  mlir/lib/Conversion/GPUToSPIRV/CMakeLists.txt
  mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRV.cpp
  mlir/lib/Conversion/GPUToSPIRV/ConvertGPUToSPIRVPass.cpp
  mlir/lib/Conversion/GPUToSPIRV/GPUToSPIRV.td
  mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
  mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
  mlir/test/Conversion/GPUToCUDA/lower-launch-func-to-cuda.mlir
  mlir/test/Conversion/GPUToCUDA/lower-nvvm-kernel-to-cubin.mlir
  mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
  mlir/test/Conversion/GPUToNVVM/memory-attrbution.mlir
  mlir/test/Conversion/GPUToSPIRV/builtins.mlir
  mlir/test/Conversion/GPUToSPIRV/load-store.mlir
  mlir/test/Conversion/GPUToSPIRV/loop.mlir
  mlir/test/Conversion/GPUToSPIRV/simple.mlir
  mlir/test/Dialect/GPU/invalid.mlir
  mlir/test/Dialect/GPU/ops.mlir
  mlir/test/Dialect/GPU/outlining.mlir
  mlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72336.236586.patch
Type: text/x-patch
Size: 35418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200107/8d125130/attachment.bin>


More information about the llvm-commits mailing list