Skip to content

TileFlow is a performance analysis tool based on Timeloop for fusion dataflows

License

Notifications You must be signed in to change notification settings

pku-liang/TileFlow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TileFlow

This repo is an extension to timeloop to support more general simulation of tensor programs.

Install

  1. 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
  1. install timeloop
git clone [email protected]:pku-liang/TileFlow.git
cd TimeFlow
export TILEFLOW_BASE=$(pwd)

# build timeloop
cd 3rdparty/
git clone [email protected]:gulang2019/timeloop.git
cd timeloop
ln -s ../pat-public/src/pat .
cd ..
scons --accelergy -j4 --static [--d] # --d for debug build
cp ./lib/* $TILEFLOW_BASE/lib

cd $TILEFLOW_BASE

# build tileflow 
scons --accelergy -j4 --static [--d] 

# add bin to path 
source ./setup-env.sh 
  1. check installation
# test parser 
cd ./tests/cases/08-test-2mm # a sample input for 2mm.
tileflow arch/* prob/* map/*