3 Replies Latest reply on May 20, 2011 11:26 AM by nareshsankapelly

    Refresh buffer content : performance ?



      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 ?