title: CUDA stream ID inside kernel
body: <p>How to find out the current execution stream ID inside a kernel function? I'd expect a predefined variable similar to blockIdx, or threadIdx, but can't find any mentioning of a "streamId". Is there another way?</p>