MCPcopy Create free account
hub / github.com/MeshInfra/WaferLLM / parse_args

Function parse_args

SUMMA/launch_sim.py:14–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12
13
14def parse_args():
15 parser = argparse.ArgumentParser(description="SUMMA GEMM on simulator")
16 parser.add_argument("--P", required=True, type=int, help="PEs rectangle size: P x P")
17 parser.add_argument("--M", required=True, type=int, help="Rows of X")
18 parser.add_argument("--K", required=True, type=int, help="Inner dimension")
19 parser.add_argument("--N", required=True, type=int, help="Columns of W")
20 return parser.parse_args()
21
22
23def main():

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected