{"id":18421995,"url":"https://github.com/spcl/mlir-dace","last_synced_at":"2025-04-07T14:32:15.234Z","repository":{"id":45165000,"uuid":"377829199","full_name":"spcl/mlir-dace","owner":"spcl","description":"Data-Centric MLIR dialect","archived":false,"fork":false,"pushed_at":"2023-10-16T08:01:29.000Z","size":1517,"stargazers_count":34,"open_issues_count":1,"forks_count":5,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-04-28T02:00:17.851Z","etag":null,"topics":["mlir"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spcl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-06-17T12:50:58.000Z","updated_at":"2023-12-05T07:59:21.000Z","dependencies_parsed_at":"2023-02-12T17:15:26.150Z","dependency_job_id":null,"html_url":"https://github.com/spcl/mlir-dace","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spcl%2Fmlir-dace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spcl%2Fmlir-dace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spcl%2Fmlir-dace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spcl%2Fmlir-dace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spcl","download_url":"https://codeload.github.com/spcl/mlir-dace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223283973,"owners_count":17119588,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mlir"],"created_at":"2024-11-06T04:27:39.176Z","updated_at":"2024-11-06T04:27:39.635Z","avatar_url":"https://github.com/spcl.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Tests](https://github.com/spcl/mlir-dace/actions/workflows/lit-test.yml/badge.svg)](https://github.com/spcl/mlir-dace/actions/workflows/lit-test.yml)\n\n# MLIR-DaCe\nMLIR-DaCe is a project aiming to bridge the gap between control-centric and data-centric intermediate representations.\nBy bridging these two groups of IRs, it allows the combination of control-centric and data-centric optimizations in optimization pipelines.\nIn order to achieve this, MLIR-DaCe provides a data-centric dialect in MLIR to connect the MLIR and DaCe frameworks.\n\n## Building MLIR\nIf you have already MLIR built you can skip to [Building MLIR-DaCe](#building-mlir-dace). \nKeep in mind that there are no guarantees for commits other than the one in the submodule.\n\nFirst clone with submodules:\n```sh\ngit clone --recurse-submodules https://github.com/spcl/mlir-dace\ncd mlir-dace\n```\n\nThen build MLIR with:\n```sh\ncd llvm-project\nmkdir build \u0026\u0026 cd build\ncmake -G Ninja ../llvm -DLLVM_ENABLE_PROJECTS=\"mlir\" -DLLVM_TARGETS_TO_BUILD=\"host\" -DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DLLVM_ENABLE_LLD=ON -DLLVM_INSTALL_UTILS=ON\n```\n\n## Building MLIR-DaCe\nThis setup assumes that you have built LLVM and MLIR in `$BUILD_DIR` and installed them to `$PREFIX`. If you built using the directions in [Building MLIR](#building-mlir), replace both with `llvm-project/build/`.\nTo build and launch the tests, run\n```sh\nmkdir build \u0026\u0026 cd build\ncmake -G Ninja .. -DMLIR_DIR=$PREFIX/lib/cmake/mlir -DLLVM_EXTERNAL_LIT=$BUILD_DIR/bin/llvm-lit\ncmake --build . --target check-sdfg-opt\n```\nTo build the documentation from the TableGen description of the dialect operations, run\n```sh\ncmake --build . --target mlir-doc\n```\n**Note**: Make sure to pass `-DLLVM_INSTALL_UTILS=ON` when building LLVM with CMake in order to install `FileCheck` to the chosen installation prefix.\n\n## Publication\nThe paper on DCIR can be found [here](https://dl.acm.org/doi/10.1145/3579990.3580018).\n\nIf you use MLIR-DaCe, cite us:\n```bibtex\n@inproceedings{mlir-dace,\nauthor = {Ben-Nun, Tal and Ates, Berke and Calotoiu, Alexandru and Hoefler, Torsten},\ntitle = {Bridging Control-Centric and Data-Centric Optimization},\nyear = {2023},\nbooktitle = {Proceedings of the 21st ACM/IEEE International Symposium on Code Generation and Optimization},\nseries = {CGO 2023}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspcl%2Fmlir-dace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspcl%2Fmlir-dace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspcl%2Fmlir-dace/lists"}