Giter Site home page Giter Site logo

mfkiwl / cgraflow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stanfordaha/cgraflow

0.0 1.0 0.0 565 KB

Integration test for entire CGRA flow

License: BSD 3-Clause "New" or "Revised" License

Shell 8.20% Makefile 18.22% Ruby 2.82% C++ 65.57% Python 4.64% Dockerfile 0.55%

cgraflow's Introduction

CGRAFlow Build Status

Integration (end-to-end) test for entire CGRA build-and-run flow. Specific to first-generation (Genesis2-based) CGRA only. For second generation flow see ?

Local Setup

On generic Ubuntu machine

NOTE: All these commands assume you are in the root directory of the CGRAFlow repo. Ideally this wouldn't be the case, please feel free to submit a patch to resolve these issues.

  1. Install dependencies
source scripts/setenv.sh
./scripts/install_machine_deps.sh
./scripts/install_locally.sh
  1. Setup your environment (you'll need to do this any time you start a new shell), note that this script expects an environment variable CGRAFLOW_PATH that points to the directory where install.sh was run (typically something like export CGRAFLOW_PATH=$HOME/CGRAFlow).
source scripts/setenv.sh
  1. Now you should be able to run the tests Note you'll need to explicitly set the CC and CXX variables for make to use the right version of GCC
make CC=gcc-4.9 CXX=g++-4.9 CGRA_SIZE=8x8 build/pointwise.correct.txt

On Kiwi

  1. Running the following commands will set all needed environment variables and
git clone https://github.com/StanfordAHA/CGRAFlow.git
bash
source scripts/kiwi_setenv.sh
source scripts/install_locally.sh
  1. Now you should be able to run the tests
source scripts/kiwi_setenv.sh
make cgra_pnr_tests

cgraflow's People

Contributors

cdonovick avatar jameshegarty avatar jeffsetter avatar kuree avatar leonardt avatar makaimann avatar mbstrange2 avatar rdaly525 avatar steveri avatar

Watchers

 avatar

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.