Libtorch
wget https://download.pytorch.org/libtorch/cu101/libtorch-shared-with-deps-1.4.0.zip
unzip libtorch*.zipYou 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)gcccmake
git clone [email protected]:tyleryy/dr-cu-rl.git
git submodule sync
git submodule update --init --recursivecd dr-cu-rl
mkdir build && cd build
cmake -DCMAKE_PREFIX_PATH=path/to/libtorch
make./dr-cu-rl -lef path/to/lef -def path/to/def/ -guide path/to/guide -output output_file_name -threads 8 -tat 200000
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