For barrier synchronization add a B, for fence synchronization add an F, and for no synchronization you do not need to add anything.
对于 barrier 同步会增加一个 B,对于 fence 同步会增加一个 F,对于无同步则不会增加任何内容。
The fence would extend 1,120 kilometers along the entire U.S.-Mexican border, but not all of it would be an actual barrier.
围墙将沿着整个美国—墨西哥边境延伸1120公里,但并不是所有的都是实际屏障。
Because transfer 2 only USES a fence and transfer 3 doesn't specify any ordering at all, transfer 3 is free to float anywhere before the barrier (transfer 4).
由于传输2只使用了一个fence,而传输3根本就没有指定任何次序,因此传输3可以在barrier(传输4)之前的任何地方执行。
应用推荐