clCreateSubBuffer 未找到 oO
我似乎无法在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请注意,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)