You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Running the tests DDtheta_mocks always take a long time because there are no vectorized acos functions available directly through gcc/clang.
Describe the solution you'd like
A clear and concise description of what you want to happen. icc has an implementation through MKL/SVML, and would be good to i) either install MKL as a dependency (with an option to disable) or ii) check if MKL is already available.
Then during compile time, if MKL is available, we should just use the vectorised MKL trig routines - will speed up the DDtheta_mocks runs significantly.
Describe alternatives you've considered
Compile directly with icc, if available.
The MKL linking code already exists in common.mk, so might not be too difficult to sort out
The text was updated successfully, but these errors were encountered:
Noting that the intel channel on conda has an mkl-devel package, that contains the relevant mkl.h header and the libraries. We could add an option to request MKL and expand out the inverse cosine into the MKL-defined functions + the existing fallback when neither icc nor MKL are available.
Is your feature request related to a problem? Please describe.
Running the tests
DDtheta_mocks
always take a long time because there are no vectorizedacos
functions available directly throughgcc/clang
.Describe the solution you'd like
A clear and concise description of what you want to happen.
icc
has an implementation through MKL/SVML, and would be good to i) either install MKL as a dependency (with an option to disable) or ii) check if MKL is already available.Then during compile time, if MKL is available, we should just use the vectorised MKL trig routines - will speed up the
DDtheta_mocks
runs significantly.Describe alternatives you've considered
Compile directly with
icc
, if available.The MKL linking code already exists in
common.mk
, so might not be too difficult to sort outThe text was updated successfully, but these errors were encountered: