asungy / grok-mlir-toy

Building and debugging MLIR examples for educational purposes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Grokking MLIR Toy

Building and debugging MLIR examples for educational purposes.

Docker

To start containers run:

docker compose up -d

To attach to the dev container:

docker exec -it grok-mlir-toy-dev-1 /bin/bash

To stop containers:

docker compose down

LSP/compile_commands.json Issue

The compile_commands.json file is used to help LSP servers understand compiler and source file information. Because this file is created in a containerized environment, it may not work for your LSP server that runs locally on your server. To resolve this, run this hacky script:

./scripts/fix_compile_commands

About

Building and debugging MLIR examples for educational purposes.

License:MIT License


Languages

Language:C++ 87.5%Language:CMake 5.3%Language:Shell 3.2%Language:Makefile 2.1%Language:Dockerfile 1.8%