Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions thicket/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ def stats_thicket_axis_columns(
"""
th_cuda128_1 = Thicket.from_caliperreader(
rajaperf_cuda_block128_1M_cali[0:4],
node_ordering=True,
node_ordering=False,
intersection=intersection,
fill_perfdata=fill_perfdata,
disable_tqdm=True,
)
th_cuda128_2 = Thicket.from_caliperreader(
rajaperf_cuda_block128_1M_cali[5:9],
node_ordering=True,
node_ordering=False,
intersection=intersection,
fill_perfdata=fill_perfdata,
disable_tqdm=True,
Expand Down
2 changes: 2 additions & 0 deletions thicket/tests/test_caliperreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def test_node_ordering_from_caliper(caliper_ordered, intersection, fill_perfdata

tk = Thicket.from_caliperreader(
caliper_ordered[0],
node_ordering=True,
intersection=intersection,
fill_perfdata=fill_perfdata,
disable_tqdm=True,
Expand Down Expand Up @@ -103,6 +104,7 @@ def test_node_ordering_from_caliper(caliper_ordered, intersection, fill_perfdata
# test node ordering True for multiple profiles
tk_multi = Thicket.from_caliperreader(
caliper_ordered,
node_ordering=True,
intersection=intersection,
fill_perfdata=fill_perfdata,
disable_tqdm=True,
Expand Down
3 changes: 3 additions & 0 deletions thicket/thicket.py
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,7 @@ def from_caliperreader(
intersection=False,
fill_perfdata=True,
disable_tqdm=False,
node_ordering=False,
**kwargs,
):
"""Helper function to read one caliper file.
Expand All @@ -453,13 +454,15 @@ def from_caliperreader(
intersection (bool): whether to perform intersection or union (default)
fill_perfdata (bool): whether to fill missing performance data with NaNs
disable_tqdm (bool): whether to display tqdm progress bar
node_ordering (bool): whether to apply node ordering to the graph
"""
return Thicket.reader_dispatch(
GraphFrame.from_caliperreader,
intersection,
fill_perfdata,
disable_tqdm,
filename_or_caliperreader,
node_ordering=node_ordering,
**kwargs,
)

Expand Down
Loading