Workaround error related to volatile
Early exit functors if concurrency does not exist
Add example code for using CUDA streams.