Skip to content

Commit

Permalink
temporarily add nvtx annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbarghi-nv committed Aug 27, 2024
1 parent a365a24 commit ffc0e46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/cugraph/cugraph/gnn/data_loading/dist_sampler.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import cupy
import cudf

import nvtx

from typing import Union, List, Dict, Tuple, Iterator, Optional

from cugraph.utilities.utils import import_optional, MissingModule
Expand Down Expand Up @@ -226,6 +228,7 @@ def get_start_batch_offset(
else:
return 0, input_size_is_equal

@nvtx.annotate("cugraph-buffered-sampling", color="blue")
def __sample_from_nodes_func(
self,
call_id: int,
Expand Down

0 comments on commit ffc0e46

Please sign in to comment.