[all-commits] [llvm/llvm-project] 7a4d63: Add a "register_runtime" method to the mlir.execut...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Mar 30 10:07:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a4d630764829ad40738ae4e5944a411529728ef
      https://github.com/llvm/llvm-project/commit/7a4d630764829ad40738ae4e5944a411529728ef
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2021-03-30 (Tue, 30 Mar 2021)

  Changed paths:
    M mlir/include/mlir-c/ExecutionEngine.h
    M mlir/lib/Bindings/Python/ExecutionEngine.cpp
    M mlir/lib/Bindings/Python/mlir/execution_engine.py
    M mlir/lib/CAPI/ExecutionEngine/ExecutionEngine.cpp
    M mlir/test/Bindings/Python/execution_engine.py

  Log Message:
  -----------
  Add a "register_runtime" method to the mlir.execution_engine and show calling back from MLIR into Python

This exposes the ability to register Python functions with the JIT and
exposes them to the MLIR jitted code. The provided test case illustrates
the mechanism.

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




More information about the All-commits mailing list