OpenMP support on MAC #582
wpotrzebowski
started this conversation in
Ideas
Replies: 2 comments
-
openmp libraries are from llvm project and have license that should allow using it https://github.com/llvm/llvm-project/blob/main/LICENSE.TXT in SasView |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am thinking if this is way forward for MAC (given OpenCL) doesn't really work anymore? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
During code camp XI @wpotrzebowski played with enabling OpenMP calculations for sasmodels. While the benchmark was quite crude it seemed to provide speed at the order 5x.
In order to enable it I had to install required libraries
curl - O https://mac.r-project.org/openmp/openmp-14.0.6-darwin20-Release.tar.gz
sudo tar fvxz openmp-14.0.6-darwin20-Release.tar.gz - C /
and make some changes to sasmodels https://github.com/SasView/sasmodels/compare/macos_openmp
Beta Was this translation helpful? Give feedback.
All reactions