The-OpenROAD-Project / OpenROAD

OpenROAD's unified application implementing an RTL-to-GDS Flow. Documentation at https://openroad.readthedocs.io/en/latest/
https://theopenroadproject.org/
BSD 3-Clause "New" or "Revised" License
1.41k stars 494 forks source link

ant: parallelize check_antennas #5227

Closed eder-matheus closed 1 week ago

eder-matheus commented 2 weeks ago

@maliberty Secure-ci is running.

eder-matheus commented 2 weeks ago

@maliberty I checked the speedup on repair_antennas with sky130hd with chameleon, and the results are good. Using 16 threads, it went from 13 sec to 7sec, almost 50% of reduction (only repair_antennas). I will investigate more in the future to check what else can be parallelized in repair_antennas and GRT.

eder-matheus commented 1 week ago

Please fix the remaining clang-tidy

This can't be resolved since I need to use the "ugly" for-loop to have the parallelism working in all compilers.