摘要:
▶ 表面内存使用 ● 创建 cuda 数组时使用标志 cudaArraySurfaceLoadStore 来创建表面内存,可以用表面对象(surface object)或表面引用(surface reference)来对其进行读写。 ● 使用 Surface Object API ■ 涉及的结构定义 阅读全文
posted @ 2017-11-10 23:20
爨爨爨好
阅读(1671)
评论(0)
推荐(0)
|
摘要:
▶ 表面内存使用 ● 创建 cuda 数组时使用标志 cudaArraySurfaceLoadStore 来创建表面内存,可以用表面对象(surface object)或表面引用(surface reference)来对其进行读写。 ● 使用 Surface Object API ■ 涉及的结构定义 阅读全文
posted @ 2017-11-10 23:20
爨爨爨好
阅读(1671)
评论(0)
推荐(0)
摘要:
▶ 纹理内存使用 ● 纹理内存使用有两套 API,称为 Object API 和 Reference API 。纹理对象(texture object)在运行时被 Object API 创建,同时指定了纹理单元。纹理引用(Tezture Reference)在编译时被 Reference API 创 阅读全文
posted @ 2017-11-10 21:27
爨爨爨好
阅读(1998)
评论(0)
推荐(0)
|