CUPTI User's Guide
CUPTI User's Guide
CUPTI User's Guide
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
CUptiResult cuptiGetStreamId (CUcontext context, CUstreamstream, uint32_t ∗ streamId)Get the ID of a stream. The stream ID is needed to enqueue and dequeue activity recordbuffers on a stream queue.Parameters:context The context containing the streamstream The streamstreamId Returns the ID for the streamReturn values:<strong>CUPTI</strong>_SUCCESS<strong>CUPTI</strong>_ERROR_NOT_INITIALIZED<strong>CUPTI</strong>_ERROR_INVALID_PARAMETER if streamId is NULLSee also:cuptiActivityEnqueueBuffercuptiActivityDequeueBufferCUDA Tools SDK <strong>CUPTI</strong> User’s <strong>Guide</strong> DA-05679-001_v01 | 41