Spaces:
Runtime error
Runtime error
Commit
·
3edd3ca
1
Parent(s):
c904168
Update app.py
Browse files
app.py
CHANGED
|
@@ -14,13 +14,13 @@ def print_kernel_execution(c1, c2, comp_flop, mem_bytes):
|
|
| 14 |
mem_bytes = round(mha_bytes/1e6, 2)
|
| 15 |
|
| 16 |
c1.write("GFLOP:")
|
| 17 |
-
c2.write(str(
|
| 18 |
c1.write("MB: ")
|
| 19 |
-
c2.write(str(
|
| 20 |
c1.write("Arithm. intensity:")
|
| 21 |
-
c2.write(str(
|
| 22 |
c1.write("Time (ms):")
|
| 23 |
-
c2.write(str(
|
| 24 |
|
| 25 |
return exec_time
|
| 26 |
|
|
|
|
| 14 |
mem_bytes = round(mha_bytes/1e6, 2)
|
| 15 |
|
| 16 |
c1.write("GFLOP:")
|
| 17 |
+
c2.write(str(comp_flop))
|
| 18 |
c1.write("MB: ")
|
| 19 |
+
c2.write(str(mem_bytes))
|
| 20 |
c1.write("Arithm. intensity:")
|
| 21 |
+
c2.write(str(arith_int))
|
| 22 |
c1.write("Time (ms):")
|
| 23 |
+
c2.write(str(exec_time))
|
| 24 |
|
| 25 |
return exec_time
|
| 26 |
|