Re:SciPy: Interested in adopting PRIMA, but little appetite ...
by adastra22 on Thursday May 18, 2023 @11:40AM
(#35989576)
Numpy is basically a wrapper to BLAS and LAPACK though, so it seems a bit odd to ignore the fact that those system libraries are usually written in Fortran.
[ Parent
| on HN ]
Re:SciPy: Interested in adopting PRIMA, but little appetite ...
by whimsicalism on Thursday May 18, 2023 @11:54AM
(#35989794)
The reference implementation is written in Fortran, but I'm not sure about the implementations actually used. OpenBLAS has fortran components, but I believe cuBLAS and MKL are vast majority C/C++.
Re:SciPy: Interested in adopting PRIMA, but little appetite ...
by taeric on Thursday May 18, 2023 @12:15PM
(#35990190)
This is a very fair challenge. My understanding was that the main ones in use were fortran and it is very interesting to see that may not be the case. Love to see any benchmark or other comparisons on the options, if you know of any good links.
Re:SciPy: Interested in adopting PRIMA, but little appetite ...
by adastra22 on Thursday May 18, 2023 @01:45PM
(#35991538)
cuBLAS is not Fortran because it targets NVIDIA GPUs. Despite what the grandparent says, MKL does include some Fortran in its codebase. Most other vendor-provided BLAS and LAPACK libraries are based on the reference Fortran implementation. Even OpenBLAS, the open-source reimplementation, has large parts written in Fortran.