Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compiler flags #25

Open
gha3mi opened this issue Jan 23, 2024 · 1 comment
Open

compiler flags #25

gha3mi opened this issue Jan 23, 2024 · 1 comment

Comments

@gha3mi
Copy link
Owner

gha3mi commented Jan 23, 2024

          >[edited:] Please check the latest results for the dot product generated by the GitHub Action workflow.: https://github.com/gha3mi/forbenchmark/tree/main/benchmarks/dot

Excellent! These results are very interesting! I'll push a version as is, though locally I had to:

  • remove link = ["lapack", "blas"] from the fpm.toml (when running with ifort and ifx)
  • switch -llapack -lblas for -qmkl for both ifort and ifx in the fpm.rsp
  • Oh, and for inlining with ifx: -flto=full instead of -ipo
    (haven't test nvfortra as I have to clean up my install)

Originally posted by @jalvesz in jalvesz/fast_math#8 (comment)

@gha3mi
Copy link
Owner Author

gha3mi commented Jan 23, 2024

@jalvesz, I used LAPACK and BLAS instead of MKL for easier setup in the GitHub workflow. For future versions, we should consider using other optimized libraries such as MKL, OpenBLAS, and so on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant