[all-commits] [llvm/llvm-project] 102fd1: Add support for numpy arrays to memref conversions.

Prashant Kumar via All-commits all-commits at lists.llvm.org
Thu Apr 15 16:41:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 102fd1cb8b40dd6096850fbb9105ffb98aa31824
      https://github.com/llvm/llvm-project/commit/102fd1cb8b40dd6096850fbb9105ffb98aa31824
  Author: Prashant Kumar <prashantk at polymagelabs.com>
  Date:   2021-04-15 (Thu, 15 Apr 2021)

  Changed paths:
    A mlir/lib/Bindings/Python/mlir/runtime/__init__.py
    A mlir/lib/Bindings/Python/mlir/runtime/np_to_memref.py
    M mlir/test/Bindings/Python/execution_engine.py

  Log Message:
  -----------
  Add support for numpy arrays to memref conversions.

This offers the ability to pass numpy arrays to the corresponding
memref argument.

Reviewed By: mehdi_amini, nicolasvasilache

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




More information about the All-commits mailing list