clCreateSubBuffer 未找到 oO

发布于 2024-09-10 06:51:14 字数 121 浏览 0 评论 0原文

我似乎无法在 cl.h 或 cl.hpp 中找到 clCreateSubBuffer (仅错误宏)。规格中提到了这一点,对此有什么想法吗?或任何其他方式来创建子缓冲区?

我能想到的就是使用递增指针重新创建缓冲区。

i can't seem to find clCreateSubBuffer in cl.h or cl.hpp (only error macro). it is mentioned in the specifications, any idea about this? or any other way to create a sub buffer?

all i can think of is recreating the buffers using an incremented pointer.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

少钕鈤記 2024-09-17 06:51:14

请注意,clCreateSubBuffer 是 OpenCL 1.1 函数,也许您使用/查看 openCL 1.0 头文件。

顺便说一句,你使用什么平台? (我非常确定 NVIDIA 到目前为止“仅”支持 OpenCL 1.0)

Note that clCreateSubBuffer is a OpenCL 1.1 function, maybe your using/looking into openCL 1.0 header files.

What platform are you btw using? (im pretty sure that NVIDIA supports until now "only" OpenCL 1.0)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文