【发布时间】:2011-06-28 13:12:23
【问题描述】:
codeproject.com 展示 Part 2: OpenCL™ – Memory Spaces 声明 Global memory should be considered as streaming memory [...] 和 that the best performance will be achieved when streaming contiguous memory addresses or memory access patterns that can exploit the full bandwidth of the memory subsystem.
我对这句话的理解是,为了获得最佳性能,应该在 GPU 处理内核时不断填充和读取全局内存。但我不知道如何实现这样的概念,并且在我阅读的(相当简单的)示例和教程中无法识别它。
知道一个很好的例子或可以链接到一个吗?
额外问题:这是 CUDA 框架中的类比吗?
【问题讨论】: