Re:Beating C with Futhark Running on GPU
by gilmi on Friday October 25, 2019 @11:44AM
(#21356119)
https://futhark-lang.org/performance.html
[ Parent
| on HN ]
Re:Beating C with Futhark Running on GPU
by gridlockd on Friday October 25, 2019 @11:52AM
(#21356201)
This is comparing against a high-level library (Thrust) that offers a comparable level of convenience.
That's fair, but it tells you nothing about the performance gap introduced by these high-level abstractions.
There is also a comparison against HotSpot, which is a hand-written GPU program (albeit imperfectly).
Futhark does not outperform expertly hand-optimised GPU code, but most of the GPU code found in the wild is hardly expertly hand-optimised. Futhark comes out on top surprisingly often, but can be solidly beaten for complex algorithms or clever implementations. See figure 8 in this paper for examples: https://futhark-lang.org/publications/ppopp19.pdf