Skip to content

Commit

Permalink
bigger matrix size for pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
superlopuh committed Aug 26, 2024
1 parent f992f58 commit 95a3f82
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
12 changes: 12 additions & 0 deletions Snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,18 @@ rule regalloc_stats_to_csv:
df.to_csv(output[0], index=True)


rule pipeline:
input:
kernels="results/kernels.pipeline.csv",
regalloc="kernels/regalloc.pipeline.jsonl",
frep_count="results/frep_count.csv",
pipeline_py="scripts/pipeline.py",
output:
"results/pipeline.csv",
shell:
"python {input.pipeline_py} {input.kernels} {input.regalloc} {input.frep_count} -o {output}"


rule optimization_pipelines:
input:
passes = "kernels/optimization_passes.txt",
Expand Down
14 changes: 7 additions & 7 deletions results/pipeline.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
variant,F Registers,X Registers,Cycles,FPU Occupancy [%],F Loads,F Stores,FMAdd Issues,FRep Count
Baseline,3,14,40161,2.49,3000,1005,1000,0
+ Streams,3,12,19165,5.25,1000,1000,1000,0
+ Scalar Replacement,3,11,4147,24.28,5,5,1000,0
+ FRep,3,10,4124,24.42,5,5,1000,2
+ Fuse Fill,5,9,4130,24.50,0,0,1000,1
+ Unroll and Jam,8,8,1115,90.67,0,0,1000,1
variant,F Registers,X Registers,params,Cycles,FPU Occupancy [%],F Loads,F Stores,FMAdd Issues,FRep Count
Baseline,3,14,1x200x5xf64,40161,2.49,3000,1005,1000,0
+ Streams,3,12,1x200x5xf64,19165,5.25,1000,1000,1000,0
+ Scalar Replacement,3,11,1x200x5xf64,4147,24.28,5,5,1000,0
+ FRep,3,10,1x200x5xf64,4124,24.42,5,5,1000,2
+ Fuse Fill,5,9,1x200x5xf64,4130,24.50,0,0,1000,1
+ Unroll and Jam,8,8,1x200x5xf64,1115,90.67,0,0,1000,1
1 change: 0 additions & 1 deletion scripts/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def main():
regalloc_df = pd.read_json(regalloc_stats, lines=True)
regalloc_df = regalloc_df[regalloc_df.impl == "matmul"]
del regalloc_df["impl"]
del regalloc_df["params"]

regalloc_df = regalloc_df.set_index("variant")

Expand Down

0 comments on commit 95a3f82

Please sign in to comment.