This repo is an extension to timeloop
to support more general simulation of tensor programs.
- install required software/libs
sudo apt install scons libconfig++-dev libboost-dev libboost-iostreams-dev libboost-serialization-dev libyaml-cpp-dev libncurses-dev libtinfo-dev libgpm-dev git build-essential python3-pip
- install tileflow
git clone [email protected]:pku-liang/TileFlow.git
cd TimeFlow
export TILEFLOW_BASE=$(pwd)
# build timeloop
git submodule init --recursive
cd 3rdparty/timeloop/src
ln -s ../pat-public/src/pat .
cd ..
scons -j4 --static [--d] # --d for debug build
cd $TILEFLOW_BASE
# build tileflow
scons -j4 --static [--d]
# add bin to path
source ./setup-env.sh
- check installation
# test parser
cd ./tests/cases/08-test-2mm # a sample input for 2mm.
tileflow arch/* prob/* map/* # the order is not important