Git Product home page Git Product logo

tenet's People

Contributors

479-tenet avatar semiwaker avatar wangyuyue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tenet's Issues

L1/L2 Cache

Does TENET support L1 and L2 cache size?
MAESTRO returns warning messages for invalid cache sizes. I set the cache sizes for TENET to different values, but the result is still the same even if I set it to -1.

To reproduce this problem, you could change L1/L2 cache size in ./dataflow_example/pe_array.p to -1, rerun the command, and compare the results with the original output.
Command from the tutorial:

bin/tenet --m ./dataflow_example/KC_systolic_dataflow.m --p ./dataflow_example/pe_array.p --s ./dataflow_example/conv.s --o test.csv --all

Could you provide a feature for detecting invalid cache sizes?

Tutorial: model a dataflow (3/4)

Hi, @semiwaker @wangyuyue

image
Ref.: TENET tutorial

Could you explain why you map the loop index to PE[k%8, c%8]?
It assumes you can do many MACs in a PE per cycle.
Did I miss something? Thank you!

The systolic access pattern requires the inner-most time-stamp to be:
{S{k,c,ox,oy,rx,ry} → T[k%8 + c%8 + ox]}
Map the outer loop index to the time stamp:
{S{k,c,ox,oy,rx,ry} → T[floor(k/8), floor(c/8), oy, k%8 + c%8 + ox]}

For T[0, 0, 0, 0], I get

k c ox oy rx ry
0 0 0 0 0 0
0 0 0 0 0 1
0 0 0 0 0 2
0 0 0 0 1 0
0 0 0 0 1 1
0 0 0 0 1 2
0 0 0 0 2 0
0 0 0 0 2 1
0 0 0 0 2 2

Only PE[0, 0] is used.

For T[0, 0, 0, 1], I get

k c ox oy rx ry
0 0 1 0 0 0
0 0 1 0 0 1
0 0 1 0 0 2
0 0 1 0 1 0
0 0 1 0 1 1
0 0 1 0 1 2
0 0 1 0 2 0
0 0 1 0 2 1
0 0 1 0 2 2

Only PE[0, 0] is used.

For T[0, 0, 0, 2], I get

k c ox oy rx ry
0 0 2 0 0 0
0 0 2 0 0 1
0 0 2 0 0 2
0 0 2 0 1 0
0 0 2 0 1 1
0 0 2 0 1 2
0 0 2 0 2 0
0 0 2 0 2 1
0 0 2 0 2 2

Only PE[0, 0] is used.

construct failed

I cloned and built the project according to the tutorial, but this construction failed at this

./configure --prefix=$EXTERNAL_LIB --with-ntl-prefix=$EXTERNAL_LIB --enable-shared-barvinok > /dev/null

the error shows "./configure:no such file or directory"
Is there anything in the project that I need to modify for building this project?


I think I have found what's wrong with the process.We should use apt to install some dependent library required first before compiling barvinok.

sudo apt install autoconf automake libtool

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.