The Khronos Group - a non-profit industry consortium to develop, publish and promote open standard, royalty-free media authoring and acceleration standards for desktop and handheld devices, combined with conformance qualification programs for platform and device interoperability.

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

Dynamic allocation of cl::Buffer

Dear all,

I have a situation where I need to dynamically allocate buffers in an OpenCL program (not inside a kernel). I am using the C++ wrapper from the cl.hpp header file. I'd like to do the analog of what is possible on a CPU: