Coder Social home page Coder Social logo

jim22k / mlir-graphblas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from metagraph-dev/mlir-graphblas

0.0 0.0 0.0 2.19 MB

MLIR tools and dialect for GraphBLAS

License: Apache License 2.0

Python 37.62% Shell 0.02% C++ 36.27% CMake 0.24% MLIR 22.63% Cython 3.21%

mlir-graphblas's Introduction

MLIR dialect for GraphBLAS + Python tools

Conda Version Build Status

Note that this code currently requires llvm-project@bd0cae6.

graphblas-opt

In order to build graphblas-opt, run python3 build.py from mlir_graphblas/src/. This will build graphblas-opt and run the tests for graphblas-opt. The built files will be stored in mlir_graphblas/src/build.

build.py does not rebuild from scratch by default. To perform a clean build, run python3 build.py -build-clean.

Linting with clang-format

Ensure that clang-format is available (install the clang-tools conda package) and run:

./run-clang-format.py -r mlir_graphblas/src/

If changes required, can make changes in place with

./run-clang-format.py -i -r mlir_graphblas/src/

Note about Transition

mlir-graphblas is transitioning away from lowering code targeting the SCF dialect and towards lowering code targeting linalg.generic. This process is happening in tandem with changes to the sparse-tensor dialect's lowering of linalg.generic with dynamically-shaped output. As a result, mlir-graphblas is temporarily pointing at the mlir-ac conda package which is built from a branch off the LLVM project code. Once these changes are merged into the main branch on LLVM, mlir-graphblas will be updated to target that. Until then, we will be out of sync with the LLVM project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.