Skip to content

Commit fd1d8c0

Browse files
Copilotshwina
andcommitted
Clarify color parameter format in docstring
Co-authored-by: shwina <3190405+shwina@users.noreply.github.com>
1 parent f5be6d8 commit fd1d8c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/cuda_cccl/cuda/compute/_nvtx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def annotate(message=None, domain=None, category=None, color=None):
2626
message: Optional message to display. If None, uses the function name.
2727
domain: Optional NVTX domain string. Defaults to "cuda.compute".
2828
category: Optional category for the annotation.
29-
color: Optional color in RGB format. Defaults to NVIDIA green.
29+
color: Optional color in hexadecimal format (0xRRGGBB). Defaults to NVIDIA green (0x76B900).
3030
3131
Returns:
3232
Decorated function with NVTX annotations.

0 commit comments

Comments
 (0)