Re:Matrix multiplication inches closer to mythic goal
by gowld on Tuesday March 23, 2021 @12:29PM
(#26556895)
Fortran is also optimized and debugged over decades of testing.
[ Parent
| on HN ]
Re:Matrix multiplication inches closer to mythic goal
by karma_fountain on Tuesday March 23, 2021 @12:33PM
(#26556942)
Yeah those algorithms are numerically tested, haven't changed in years, and really fast. You can certainly get to convenient matrix manipulation in C++, but then your compile times will increase significantly.
Re:Matrix multiplication inches closer to mythic goal
by DesiLurker on Tuesday March 23, 2021 @01:45PM
(#26557860)
Can the fortran implementations do auto-vectorization on simd hardware? or map to gpu using cuda-like library?
not rhetorical, genuine question.
Re:Matrix multiplication inches closer to mythic goal
by cygx on Tuesday March 23, 2021 @01:53PM
(#26557965)
Re:Matrix multiplication inches closer to mythic goal
by TheRealKing on Wednesday March 24, 2021 @12:18PM
(#26569227)
Fortran is a fully-vectorized and parallelized language at all levels, from instructions to shared and distributed parallelism (corresponding to one-sided MPI communications). This has been the case for at least 3 decades if not more. There are mature GPU support for Fortran. NVIDIA and PGI are currently implementing the standard parallel features of Fortran via GPUs.
Re:Matrix multiplication inches closer to mythic goal
by jhayward on Tuesday March 23, 2021 @05:33PM
(#26560674)
Yes, in fact all the original research for those things was done in Fortran compilers.