语言特征:障碍

作者: Jasper-Bekkers创建于 2020年8月18日更新于 2024年11月13日
标签t: design

We want to have the same types of safety on the GPU as we do on the CPU. One of those areas that make it easy to introduce race conditions is with memory barriers. HLSL and GLSL require the programmer to explicitly put them in the right locations without any formal verification.

内容来源: EmbarkStudios/rust-gpu