2 ms·
Huh - to make sure I understand correctly, is it your view (ignoring portability concerns) that it should be legal to store and load directly from a non-mut &[f
by AndrewGaspar 7y ago
Huh - to make sure I understand correctly, is it your view (ignoring portability concerns) that it should be legal to store and load directly from a non-mut &[f32] when the platform has relaxed-atomic memory consistency by default? Or just that you should use a hypothetical "AtomicF32" with relaxed loads and stores and not worry about it from a performance perspective?
- pcwalton 7y agoThere should be an AtomicF32 type that supports unsynchronized reads/writes on GPU.
- AndrewGaspar 7y agoThanks, that makes a lot of sense!