cuda stream benchmark: based on work by Massimiliano Fatica@NVIDIA