开发者

clCreateSubBuffer not found oO

开发者 https://www.devze.com 2023-01-07 08:27 出处:网络
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?

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.


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)

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号