What is the use of
__host__cudaError_t cudaStreamGetId ( cudaStream_t hStream, unsigned long long* streamId )
I want to be able to index the stream by its ID to my knowledge there is no func like cudaGetStreamByID( unsigned long long* streamId). Is there a way to do this?