TensorPlay

Latest development documentation · Updated 2026-09-08. A documentation snapshot for package 1.0.0.dev20260909 is not available.

On this page

Functions 6

#

mark

functionFull reference ↗
tensorplay.cuda.nvtx.mark(msg)[source]

Describe an instantaneous event that occurred at some point.

Parameters:

msg (str) – ASCII message to associate with the event.

#

range_end

functionFull reference ↗
tensorplay.cuda.nvtx.range_end(range_id) None[source]

Mark the end of a range for a given range_id.

Parameters:

range_id (int) – a unique handle for the start range.

#

range_pop

functionFull reference ↗
tensorplay.cuda.nvtx.range_pop()[source]

Pop a range off of a stack of nested range spans. Returns the zero-based depth of the range that is ended.

#

range_push

functionFull reference ↗
tensorplay.cuda.nvtx.range_push(msg)[source]

Push a range onto a stack of nested range span. Returns zero-based depth of the range that is started.

Parameters:

msg (str) – ASCII message to associate with range

#

range_start

functionFull reference ↗
tensorplay.cuda.nvtx.range_start(msg) int[source]

Mark the start of a range with string message. It returns a unique handle for this range to pass to the corresponding call to rangeEnd().

Returns: A range handle (uint64_t) that can be passed to range_end().

Parameters:

msg (str) – ASCII message to associate with the range.

#

range

functionFull reference ↗
tensorplay.cuda.nvtx.range(msg, *args, **kwargs)[source]

Context manager / decorator that pushes an NVTX range at the beginning of its scope, and pops it at the end. If extra arguments are given, they are passed as arguments to msg.format().

Parameters:

msg (str) – message to associate with the range

Search documentation

Search all 1,743 documentation pages.

Keyboard shortcuts

Global

  • /Focus search
  • ?This dialog
  • ,Open settings
  • jAI assistant

Search

  • Navigate results
  • Open result
  • escClose

Package

  • mMain information
  • dDocs
  • .Code
  • -Changelog
  • tTimeline
  • sStats
  • vVersions