Skip to content

Comment on Rust SIMD on the GPUparent

Comments

Your complaint is silly. Worst case the compiler copy pastes the code multiple times or adds a constant size for loop meaning the cost is negligible.

In the better cases it figures out how to reorder the instructions and gains performance over the naive implementation.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.