Skip to content

Commit 5f98bdd

Browse files
sort nvidia csv
1 parent 762a0eb commit 5f98bdd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/scripts/profiler_nvidia.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
name = full_name[5:]
2525
ntsi_list.append([name, time, sigma, instances])
2626

27+
ntsi_list.sort(key = lambda row: row[0])
28+
2729
data = [["name", "time", "stdev"]]
2830
for name, time, sigma, instances in ntsi_list:
2931
count = instances / args.runs
@@ -34,4 +36,3 @@
3436
with open(args.output, 'w') as csv_file:
3537
csv_writer = csv.writer(csv_file)
3638
csv_writer.writerows(data)
37-

0 commit comments

Comments
 (0)