DeviceReadBuffer
DeviceReadBuffer[device] reads the complete contents of the buffer on a device.
DeviceReadBuffer[device,n] reads n elements from the buffer.
DeviceReadBuffer[device,crit] reads elements from the buffer until the device-specific criterion crit is met.
DeviceReadBuffer[device,crit,param] reads elements associated with the parameter param.
DeviceReadBuffer[device,crit,{param1,param2,…}] reads elements associated with the parami.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.