API symbolscudaCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.cuda.set_stream tensorplay.cuda.set_stream(stream: Stream)[source] Set the current stream. This is a wrapper API to set the stream.Usage of this function is discouraged in favor of the stream context manager. Parameters: stream (Stream) – selected stream. This function is a no-op if this argument is None. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.cuda.set_per_process_memory_fractionSet memory fraction for a process.tensorplay.cuda.set_sync_debug_modeSet the debug mode for cuda synchronizing operations.