Skip to content
Mobrief
Research

Academic or research source. Check the methodology, sample size, and whether it's been replicated.

Disable OpenMP in sleef to speed up cmake configure

Sleef's cmake spends ~5s on find_package(OpenMP), but PyTorch already disables sleef's DFT and tests (the only consumers of OpenMP in sleef). Setting SLEEF_DISABLE_OPENMP skips this entirely, saving...

2-Minute Brief
  • According to PyTorch Releases: Sleef's cmake spends ~5s on find_package(OpenMP), but PyTorch already disables sleef's DFT and tests (the only consumers of OpenMP in sleef). Setting SLEEF_DISABLE_OPENMP skips this entirely, saving ~6s on a fresh cmake configure. Pull Request resolved: #176169 Approved by: https://github.com/malfet ghstack dependencies: #176052
Read Original

Disable OpenMP in sleef to speed up cmake configure

TLDR

Sleef's cmake spends ~5s on find_package(OpenMP), but PyTorch already disables sleef's DFT and tests (the only consumers of OpenMP in sleef). Setting SLEEF_DISABLE_OPENMP skips this entirely, saving...

Artifacts
Code
2-Minute Brief
  • According to PyTorch Releases: Sleef's cmake spends ~5s on find_package(OpenMP), but PyTorch already disables sleef's DFT and tests (the only consumers of OpenMP in sleef). Setting SLEEF_DISABLE_OPENMP skips this entirely, saving ~6s on a fresh cmake configure. Pull Request resolved: #176169 Approved by: https://github.com/malfet ghstack dependencies: #176052
Open
O open S save B back M mode