An embedded C++ domain-specific language for stream parallelism