Fork自 PaddlePaddle / Paddle
* add device-agnostic stream class * add stream.h * fix ut * fix cpu compile