spectral

Refresh buffer content : performance ?

Discussion created by spectral on May 20, 2011
Latest reply on May 20, 2011 by nareshsankapelly

Hi,

Imagine that I use the same buffer each time I call a kernel. Its size does not change, just its content.

To refresh the content should I delete and recreate a new buffer or there is a faster way to "refresh" the content of a buffer ?

I can also use "enqueueWriteBuffer", but is there a better way ?

Thx

Outcomes