Measuring Gauss-Seidel loop-carried dependency and fixing it via loop unrolling
Thread
Unofficial Hacker News client; not affiliated with Y Combinator.
Measuring Gauss-Seidel loop-carried dependency and fixing it via loop unrolling
Unofficial Hacker News client; not affiliated with Y Combinator.
classified · · focus · HN ↗
pklausler · · focus · HN ↗
Even when one isn’t defining named constants for various kinds, it’s still good practice to use them on literal floating constants, since those default to the default kind of REAL in Fortran, not to double precision as in most later languages. A very pernicious pitfall of the language is to (say) assign or initialize X=0.1 instead of X=0.1_8 when X is double precision.