Paran0idy / Prodr

A language and compiler for ML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prodr

A language and compiler for ML

Example

%0 = prodr.constant dense<[1.0, 2.0]> : tensor<2xf64>

Build

1. build custom llvm-project

We need to build our own MLIR in the local machine in advance. Please follow the build instruction for MLIR here.

2. build Prodr

mkdir build && cd build
cmake -G Ninja ..
ninja

Prerequisites

  • LLVM
  • MLIR
  • CMake
  • Ninja

About

A language and compiler for ML

License:Apache License 2.0


Languages

Language:CMake 53.7%Language:C++ 34.9%Language:C 11.5%