Rust SIMD on the GPU
https://www.vectorware.com/blog/simd-on-gpu/The author mentions Rust's portable SIMD library [0]. The only issue with portable SIMD is it's only available on nightly. I used it in my FFT crate, but we had to switch to the fearless_simd crate in order to get a portable SIMD solution that works on stable [1].
loading story #49250405
My heard hurts - i was stupid enough to think that SIMD was a CPU only thing - I don't understand why it would be ported to GPU - huge kudos to managing to surprise me
loading story #49249178
loading story #49250153
loading story #49249801
loading story #49249003
loading story #49251007
I love how ever example of portable SIMD isn't portable.
They specifies a constant SIMD width so it's non-portable. Well, not performance portable, but why are we using SIMD again?
loading story #49250495
loading story #49250107
Do you have examples of complex algorithms running on the gpu with rust with competative performance? Radix sort might be a good one to start with
Very interesting.
But GPU programming gets complicated when you start doing 3d computation on very large data, will be interesting to see how tensor abstraction is built on top of this. Another point is that this is using fixed-width SIMD vectors; unless there is a way to compute this statically based on available GPU info, performance will always be left on the table.
Author here, AMA.
loading story #49248997
loading story #49248750
loading story #49248952
loading story #49249270
loading story #49249985
loading story #49248672
loading story #49253083
loading story #49251218
loading story #49250769
Hey - this is probably off-topic/meta, but what is going on with the comments here? Is it bots?
loading story #49248995
loading story #49249007
loading story #49255226
loading story #49249870
loading story #49249905
[flagged]
loading story #49248740
loading story #49248910
loading story #49248840
loading story #49248940
loading story #49248542