API symbolscudaCopyCopy as MarkdownCopy page linkView MarkdownDownload .mdOpenAIOpen in ChatGPTClaudeOpen in ClaudePerplexityOpen in PerplexityGrokOpen in Grok tensorplay.cuda.get_per_process_memory_fraction tensorplay.cuda.get_per_process_memory_fraction(device: Any | None = None) → float[source] Get memory fraction for a process. Always returns 1.0 in this build. Help improve this pageFound an error, an unclear step, or a missing example?Was this page helpful?YesNoSuggest an editReport an issuetensorplay.cuda.get_gencode_flagsReturn NVCC gencode flags this library was compiled with.tensorplay.cuda.get_stream_from_externalReturn a Stream from an externally allocated CUDA stream.