OpenCL™规范 3.3.4.OpenCL 1.x的内存一致性模型

3.3.4. Memory Consistency Model for OpenCL 1.x
3.3.4.OpenCL 1.x的内存一致性模型

This memory consistency model is deprecated by version 2.0.

​2.0版本不赞成使用此内存一致性模型。

OpenCL 1.x uses a relaxed consistency memory model; i.e. the state of memory visible to a work-item is not guaranteed to be consistent across the collection of work-items at all times.

OpenCL1.x使用了一个宽松的一致性内存模型;即,不能保证工作项可见的存储器状态在工作项的集合中始终一致。

Within a work-item memory has load / store consistency. Local memory is consistent across work-items in a single work-group at a work-group barrier. Global memory is consistent across work-items in a single work-group at a work-group barrier, but there are no guarantees of memory consistency between different work-groups executing a kernel.

工作项内存具有加载/存储一致性。在工作组栅栏处,单个工作组中的工作项之间的本地内存是一致的。全局内存在工作组栅栏上的单个工作组中的工作项之间是一致的,但不能保证执行内核的不同工作组之间的内存一致性。

Memory consistency for memory objects shared between enqueued commands is enforced at a synchronization point.

排队命令之间共享的内存对象的内存一致性在同步点强制执行。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值