Code Monkey home page Code Monkey logo

rovinski / parallel-replace Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gessfred/parallel-replace

0.0 0.0 0.0 52.29 MB

From VLSID2020: A Shared Memory Parallel Implementation of the RePlAce Global Cell Placer

Shell 0.26% JavaScript 0.02% C++ 58.44% Python 0.06% C 32.18% Objective-C 0.26% Fortran 3.96% MATLAB 0.01% CSS 0.10% Cuda 0.43% Makefile 0.34% HTML 0.82% CMake 1.03% Batchfile 0.01% Yacc 1.93% Lex 0.07% M4 0.07% Dockerfile 0.01%

parallel-replace's Introduction

Parallel RePlAce

Based on commit dbbe12c from The-OpenROAD-Project (Sep. 2018).

License

Based on the paper "A Shared-Memory Parallel Implementation of the RePlAce Global Cell Placer" from VLSID2020.

RePlAce is a state-of-the-art prototype of a flat, analytic, and nonlinear global cell placement algorithm, which models a placement instance as an electrostatic system with positively charged objects. This extension includes techniques to reduce memory contention and to effectively balance the workload among threads, targeting the most substantial performance bottlenecks. With 2–12 threads, our parallel RePlAce speeds up the bin density function by a factor of 4.2–10×, the wirelength function by a factor of 2.3–3×, and the cost gradient function by a factor of 2.9–6.6× compared to the single-threaded original RePlAce baseline. Moreover, our parallel RePlAce is ≈3.5× faster than the state-of-the-art PyTorch-based placer DREAMPlace, when both are running on 12 CPU cores

Installation

Install the dependencies:

  • flex
  • bison
  • Boost
  • Intel IPP
  • Intel MKL
  • X11

For Debian:

apt-get install -y libstdc++6 wget build-essential libx11-dev libboost-dev libcurl4 cmake swig flex bison libtool zlib1g-dev tcl-dev tk-dev libjpeg-dev
wget https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB
sh -c 'echo deb https://apt.repos.intel.com/mkl all main > /etc/apt/sources.list.d/intel-mkl.list'
sh -c 'echo deb https://apt.repos.intel.com/ipp all main > /etc/apt/sources.list.d/intel-ipp.list'
apt-get update -y
apt-get install -y intel-mkl-2018.2-046 intel-ipp-2018.4-057 

Then go to code/RePlAce and do make

Usage

Docker

In ./

docker build . -t <your_tag>

Then

docker -it run <your_tag>

Or

docker -it run <your_tag> <numberOfThreads> <benchmark_name> <csv_output>

Image size: ~10GB

Installed

Publication

preprint

Citation

@InProceedings{GesslerJan20,
    author = {Gessler, Frédéric and Brisk, Philip and Stojilovi\'{c},  Mirjana},
    title = {A Shared-Memory Parallel Implementation of the {RePlAce} Global Cell Placer},
    booktitle = {Proceedings of the 33rd International Conference on VLSI Design and the 19th International Conference on Embedded Design},
    address = {Bengaluru, India}
    year = 2020,
    moth = jan,
    pages = {6},
}

Authors

parallel-replace's People

Contributors

gessfred 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.