Update kernel_stream.cpp