The ID of a CLBuffer is a pointer to the cl_mem object which should be
unique for every native OpenCL buffer or even for sub-buffers. If you
are using multiple CLBuffer views on the same native buffer all those
views will have the same native buffer ID since they share the same buffer.
On 04/11/2011 11:44 AM, suleman [via jogamp] wrote:
> Thanks for your reply.
> Is the ID field of a CLBuffer is unigue (is distinct for each created
> CLBuffer object), if this is the case then i can use this as the key for
> Proxy memory objects (CLBuffer)