[PATCH] D78640: [MLIR][Prototype] async gpu ops

Christian Sigg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 08:06:19 PDT 2020


csigg created this revision.
Herald added subscribers: llvm-commits, frgossen, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini.
Herald added a reviewer: herhut.
Herald added a reviewer: rriddle.
Herald added a project: LLVM.
csigg retitled this revision from "For demonstration/discussion purposes only, not meant to be reviewed/submitted." to "[MLIR][Prototype] async gpu ops".
csigg edited the summary of this revision.
csigg removed reviewers: herhut, rriddle.
Herald added a reviewer: herhut.
Herald added a reviewer: rriddle.

For demonstration/discussion purposes only, not meant to be reviewed/submitted.

This is the code of the 'early prototype' presented during the GPU host-side dialect discussion during MLIR's design meetings (slides and recording:
https://drive.google.com/corp/drive/folders/1-93qa9Esu2m0_xoZrB_5x3CjkIUqL_DD)

Instead of a new 'async' op with a region, the prototype adds a variadic list of 'gpu.chain' inputs and one 'gpu.chain' output to individual async ops.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78640

Files:
  mlir/include/mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h
  mlir/include/mlir/Dialect/GPU/GPUDialect.h
  mlir/include/mlir/Dialect/GPU/GPUOps.td
  mlir/include/mlir/IR/DialectSymbolRegistry.def
  mlir/lib/Conversion/GPUToCUDA/ConvertKernelFuncToCubin.cpp
  mlir/lib/Conversion/GPUToCUDA/ConvertLaunchFuncToCudaCalls.cpp
  mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
  mlir/lib/Dialect/GPU/IR/GPUDialect.cpp
  mlir/lib/Dialect/GPU/Transforms/KernelOutlining.cpp
  mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
  mlir/test/Dialect/GPU/ops.mlir
  mlir/test/mlir-cuda-runner/async.mlir
  mlir/test/mlir-cuda-runner/simple.mlir
  mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78640.259290.patch
Type: text/x-patch
Size: 45040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200422/c5f4b643/attachment.bin>


More information about the llvm-commits mailing list