[all-commits] [llvm/llvm-project] 222e0e: [MLIR] Helper class referencing MemRefType to unif...

Christian Sigg via All-commits all-commits at lists.llvm.org
Tue May 26 07:33:00 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 222e0e58a87649623b3d16ce3fef56a6a0555be3
      https://github.com/llvm/llvm-project/commit/222e0e58a87649623b3d16ce3fef56a6a0555be3
  Author: Christian Sigg <csigg at google.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

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

  Log Message:
  -----------
  [MLIR] Helper class referencing MemRefType to unify runner implementations.

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

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

Reviewers: nicolasvasilache

Reviewed By: nicolasvasilache

Subscribers: mehdi_amini, rriddle, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, stephenneuendorffer, Joonsoo, grosul1, frgossen, Kayjukh, jurahul, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80513




More information about the All-commits mailing list