In nvprof I can see the stream IDs for each cuda execution stream I am using (0, 13, 15, etc.)
Given a stream variable, I'd like to be able to print out the stream ID. Currently I cannot find any API to do this and casting the cudaStream_t to an int or uint does not yield a reasonable ID. sizeof() says cudaStream_t is 8 bytes.