DeviceWriteBuffer
DeviceWriteBuffer[device,vals] fills the buffer on a device with the values vals.
DeviceWriteBuffer[device,param->vals] fills the buffer associated with the parameter param with the values vals.
DeviceWriteBuffer[device,{param1->vals1,param2->vals2,…}] fills the buffers associated with the parami with the corresponding values valsi .
Please visit the official Wolfram Language Reference for more details and examples on core symbols.