Use stream inside CUDA reduce implementation.

Fixes issue 498
Merge pull request #499 from jaredhoberock/issue-498

Use stream inside CUDA reduce implementation.