[all-commits] [llvm/llvm-project] 8a10ee: [MLIR] DynamicMemRefType: iteration and access by ...

Michele Scuttari via All-commits all-commits at lists.llvm.org
Thu Aug 18 12:31:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a10ee7590a91c9b2e5c80b52822a3a4c3af1a15
      https://github.com/llvm/llvm-project/commit/8a10ee7590a91c9b2e5c80b52822a3a4c3af1a15
  Author: Michele Scuttari <michele.scuttari at outlook.com>
  Date:   2022-08-18 (Thu, 18 Aug 2022)

  Changed paths:
    M mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
    M mlir/unittests/ExecutionEngine/CMakeLists.txt
    A mlir/unittests/ExecutionEngine/DynamicMemRef.cpp

  Log Message:
  -----------
  [MLIR] DynamicMemRefType: iteration and access by indices

The methods to perform such operations have been implemented for the DynamicMemRefType in a way that is similar to the implementation for StridedMemRefType. Up until here one could pass an unranked memref to the library, and thus obtain a “dynamic” memref descriptor, but then there would have been no possibility to operate on its content.




More information about the All-commits mailing list