Hi!
What is the way to fill a opencl buffer (or texture) with zeros?
cl_int errorCode;
float arg = 0; //or a larger datastructure/type
errorCode = m_Queue->enqueueFillBuffer<float>(destinationBuffer,arg,0,size,NULL,0);
This operation seems really wasteful, but maybe I'm wrong? Is it perhaps better to use map/unmap and memset with zeros?
For example I want to create a buffer of size x, fill it with z amounts of data (z