Skip to content

limbo018/dr-cu-rl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building

Install Dependencies

  • Libtorch
wget https://download.pytorch.org/libtorch/cu101/libtorch-shared-with-deps-1.4.0.zip
unzip libtorch*.zip

You can also click here to download other versions based on your gcc and cuda.

  • benchmakrs (The benchmarks can be downloaded from the hompage of ISPD'18 Contest)
  • Boost 1.72.0 (Other versions have not been tested)
  • gcc
  • cmake

Get the source

git clone [email protected]:tyleryy/dr-cu-rl.git
git submodule sync
git submodule update --init --recursive

Build

cd dr-cu-rl
mkdir build && cd build
cmake -DCMAKE_PREFIX_PATH=path/to/libtorch
make

How to run

./dr-cu-rl -lef path/to/lef -def path/to/def/ -guide path/to/guide -output output_file_name -threads 8 -tat 200000

Example

cd build
./dr-cu-rl -lef ../dr-cu/toys/ispd18_sample/ispd18_sample.input.lef -def ../dr-cu/toys/ispd18_sample/ispd18_sample.input.def -guide ../dr-cu/toys/ispd18_sample/ispd18_sample.input.guide -output ispd18_sample.solution.def -threads 8 -tat 200000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published