What does the ProcessGroupNCCL.cpp syncStreams function do?

I do not understand what does the syncStreams function do in pytorch.Can the function synchronize different nodes cuda streams?