Skip to content

Commit

Permalink
_NODES_TYPE_CONTAINING_SUBGRAPH
Browse files Browse the repository at this point in the history
  • Loading branch information
jchen351 committed Jan 6, 2025
1 parent dd99511 commit 9c1bead
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def parse_kernel_results(sess_time, threshold=0):
kernel_name = item["name"]

op_name = item["args"]["op_name"]
if op_name in NODES_TYPE_CONTAINING_SUBGRAPH:
if op_name in _NODES_TYPE_CONTAINING_SUBGRAPH:
continue

# Handle MemcpyHostToDevice and MemcpyDeviceToHost here
Expand Down Expand Up @@ -183,7 +183,7 @@ def parse_node_results(sess_time, kernel_time_only=False, threshold=0):
continue

op_name = item["args"]["op_name"]
if op_name in NODES_TYPE_CONTAINING_SUBGRAPH:
if op_name in _NODES_TYPE_CONTAINING_SUBGRAPH:
continue

if node_name in node_time:
Expand Down Expand Up @@ -258,7 +258,7 @@ def group_node_results(sess_time):
op_name = item["args"]["op_name"]

# TODO: shall we have a separated group for nodes with subgraph?
if op_name in NODES_TYPE_CONTAINING_SUBGRAPH:
if op_name in _NODES_TYPE_CONTAINING_SUBGRAPH:
continue

if "provider" not in item["args"]:
Expand Down

0 comments on commit 9c1bead

Please sign in to comment.