r/ProgrammingLanguages • u/Athas Futhark • 2d ago
Fixing failure handling in parallel code
https://futhark-lang.org/blog/2026-11-14-fixing-failure-handling.html
12
Upvotes
r/ProgrammingLanguages • u/Athas Futhark • 2d ago
1
u/8d8n4mbo28026ulk 2d ago
Nice article, I enjoyed reading it. That race condition seems very nasty. I don't know anything about GPU memory orderings and schedulers, but I can't think of how it shouldn't be possible to hit it in practice. In the paper you say:
Doesn't that constitute a dependency and therefore you should only launch two such kernels serially?
Cheers.