bolt/deps/llvm-18.1.8/mlir/utils/jupyter
2025-02-14 19:21:04 +01:00
..
mlir_opt_kernel Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
.gitignore Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00
README.md Embed LLVM 18.1.8 2025-02-14 19:21:04 +01:00

A Jupyter kernel for mlir (mlir-opt)

This is purely for experimentation. This kernel uses the reproducer runner conventions to run passes.

To install:

python3 -m mlir_opt_kernel.install

To use it, run one of:

    jupyter notebook
    # In the notebook interface, select MlirOpt from the 'New' menu
    jupyter console --kernel mlir

mlir-opt is expected to be either in the PATH or MLIR_OPT_EXECUTABLE is used to point to the executable directly.