[all-commits] [llvm/llvm-project] 56aba9: [MLIR] Fix wrong header for mlir-cuda-runner

Tobias Gysi via All-commits all-commits at lists.llvm.org
Wed Feb 12 13:41:24 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 56aba9699d8d1d10f7e93f60dd11f7e4cce3eb93
      https://github.com/llvm/llvm-project/commit/56aba9699d8d1d10f7e93f60dd11f7e4cce3eb93
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2020-02-12 (Wed, 12 Feb 2020)

  Changed paths:
    M mlir/tools/mlir-cuda-runner/mlir-cuda-runner.cpp

  Log Message:
  -----------
  [MLIR] Fix wrong header for mlir-cuda-runner

Just updated the wrong header probably copied from the mlir-cpu-runner

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


  Commit: 4f865b77941db364eaf0a6c265d183274c503ecb
      https://github.com/llvm/llvm-project/commit/4f865b77941db364eaf0a6c265d183274c503ecb
  Author: Tobias Gysi <tobias.gysi at inf.ethz.ch>
  Date:   2020-02-12 (Wed, 12 Feb 2020)

  Changed paths:
    M mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
    M mlir/test/Conversion/GPUToNVVM/memory-attrbution.mlir
    M mlir/test/Conversion/StandardToLLVM/convert-static-memref-ops.mlir

  Log Message:
  -----------
  [mlir] support creating memref descriptors from static shape with non-zero offset

This patch adapts the method MemRefDescriptor::fromStaticShape to
support static non-zero offsets. The updated method uses the
getStridesAndOffset method to extract strides and offset. The patch also
adapts the test cases since sizes and strides are now set in forward
instead of reverse order.

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


Compare: https://github.com/llvm/llvm-project/compare/a58017e5cae5...4f865b77941d


More information about the All-commits mailing list