[PATCH] D80513: Add DynamicMemRefType which can reference one of the statically ranked StridedMemRefType or a UnrankedMemRefType so that runner utils only need to be implemented once.

Christian Sigg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 25 03:42:29 PDT 2020


csigg created this revision.
Herald added subscribers: llvm-commits, jurahul, Kayjukh, frgossen, grosul1, Joonsoo, stephenneuendorffer, liufengdb, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.

There is definitely room for more clean up and unification, but I will keep that for follow-ups.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80513

Files:
  mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
  mlir/include/mlir/ExecutionEngine/RunnerUtils.h
  mlir/lib/ExecutionEngine/RunnerUtils.cpp
  mlir/test/mlir-cpu-runner/unranked_memref.mlir
  mlir/test/mlir-cpu-runner/utils.mlir
  mlir/tools/mlir-cuda-runner/cuda-runtime-wrappers.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80513.265992.patch
Type: text/x-patch
Size: 17260 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200525/940a5365/attachment-0001.bin>


More information about the llvm-commits mailing list