Re:RLSL: a Rust to SPIR-V Compiler
by skohan on Monday October 21, 2019 @04:22PM
(#21316876)
Yeah it's a little bit difficult to imagine Rust's concurrency primitives being used in the context of GPGPU programming. Like are we talking about using channels to pass state between threads instead of using tools like barriers for synchronization? Seems like it would negate the advantages GPU's are designed to enable.
[ Parent
| on HN ]
Re:RLSL: a Rust to SPIR-V Compiler
by steveklabnik on Monday October 21, 2019 @04:46PM
(#21317135)
Rust does not force you to use channels, and lets you use stuff like https://doc.rust-lang.org/std/sync/atomic/fn.fence.html if you'd like.