同步所有针对 array_view 对象返回其源数据所做的修改。
void synchronize(
access_type _Access_type = access_type_read
) const restrict(cpu);
void synchronize() const restrict(cpu);
参数
- _Access_type
目标 accelerator_view 上的 access_type。 该参数的默认值是 access_type_read。
要求
**标头:**amp.h
命名空间: 并发