dst | The buffer slice to write to. |
src | The array in the CPU memory that should be written to the buffer. The array must remain valid until the write operation is complete. |
EventID ID of the write event.
Write data into the memory buffer allocated by the context.
This is an asynchronous operation. Use the returned EventID to track the operation completion. The IDeviceContext.WriteBuffer method returns immediately after enqueuing the command in the context.