I understand that when you create n streams, and use cublasSetStream(handle, streams[i]); to launch n cublas calls using n streams whose execution can be overlapped on the GPU.

Can anyone explain when you would need to use the function cublasGetStream?
It says “This function gets the cuBLAS library stream, which is being used to execute all calls to the cuBLAS library functions” but I’m not sure what this means exactly.

Thank you.