cupy.cuda.nvtx.RangePush(message, int id_color=-1)

Starts a nested range.

Ranges are used to describe events over a time span during execution of the application. The duration of a range is defined by the corresponding pair of RangePush*() to RangePop() calls.

  • message (str) – Name of a range.

  • id_color (int) – ID of color for a range.