Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Nov 13, 2024
1 parent 9f4c755 commit 29bd1c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hvcc/generators/ir2c/ir2c_perf.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ def perf(cls, ir: Dict, blocksize: int = 512, mhz: int = 1000, verbose: bool = F
# items.sort(key=lambda o: o[1]["avx"], reverse=True)
for k, v in items:
if perf["avx"] > 0:
print("{2:>2.2g}% {3:<5} {0:<16} {1}".format(k, v, int(100.0 * v["avx"] / perf["avx"]), objects[k]))
print(
"{2:>2.2g}% {3:<5} {0:<16} {1}".format(k, v, int(100.0 * v["avx"] / perf["avx"]), objects[k])
)

return per_object_perf

Expand Down

0 comments on commit 29bd1c7

Please sign in to comment.