# tensorplay.cuda.nvtx.range_start

Source: https://www.tensorplay.cn/docs/generated/tensorplay.cuda.nvtx.range_start.html

# tensorplay.cuda.nvtx.range_start

tensorplay.cuda.nvtx.range_start(msg) &#x2192; [int](https://docs.python.org/3/library/functions.html#int)[[source]](../_modules/tensorplay/cuda/nvtx.html#range_start)

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](https://docs.python.org/3/library/stdtypes.html#str)) – ASCII message to associate with the range.
