Skip to content

Commit 22087bf

Browse files
committed
add legend
1 parent 9424346 commit 22087bf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

compute/accelerator/benchmarks/mamf-finder.py

+1
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ def finish():
354354
355355
geomean: {geo_mean_tflops:.1f} TFLOPS for {num_shapes} shapes in range: {range_info}
356356
""")
357+
print(f"Legend: TFLOPS = 10**12 FLOPS")
357358
print(f"Elapsed time: {time_str}")
358359

359360
# XXX: the transpose version seemed to work better for MI300X

network/benchmarks/all_reduce_bench.py

+1
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def finish():
199199

200200
time_delta = time.time() - start_time
201201
time_str = str(datetime.timedelta(seconds=time_delta)).split(".")[0]
202+
print(f"Legend: 1KB = 2**10Bytes, 1MB = 2**20Bytes, 1GB = 2**30Bytes. 1Bps = 1Bytes per second")
202203
print(f"Elapsed time: {time_str}")
203204

204205
algbw = {}

0 commit comments

Comments
 (0)