Re:Samsung Announces 'Shinebolt' HBM3E Memory: HBM Hits 36GB...
by bobim on Thursday October 26, 2023 @12:59PM
(#38028434)
Interesting, but is it even possible to optimize access to very sparse and unstructured matrices from finite elements?
Re:Samsung Announces 'Shinebolt' HBM3E Memory: HBM Hits 36GB...
by bayindirh on Thursday October 26, 2023 @01:43PM
(#38029066)
My matrices are dense. I’m working with boundary elements. But, there are sparse optimized libraries for efficient storage and access to sparse matrices (e.g.: Eigen has both sparse and dense sub-libraries). Also, there’s a whole literature concerned with sparse matrices and operations on those.
However, my knowledge is limited on sparse side. If you want, I might try to dig into it a bit.
If I change how I fill and lay my matrices out, I can align my data with how prefetcher assumes, and way less data will be trashed during the process.
I didn't do that because it needed a codebase-wide refactorization, and my code was already 30x faster than reference implementation with better accuracy, so we didn't pursue that avenue.