tags:

views:

33

answers:

1

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.

+2  A: 

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)

Quonux
yep ur right, i had to rethink my whole memory management because of this, thanks.
OSaad