Commit df38505
authored
[ConSan] Use
I tested a variety of `ptxas` flags and found the following (using
`01-attention-forward.py`)
```
compile (sec) execution (sec)
-O0 19 81
-O1 49 22
-O3 52 21
-Ofc max 19 82
-Ofc mid 21 9
-Ofc min 21 9
-Ofc 0 19 21
```
Shockingly, `-Ofc mid|min` yield best total compilation+execution times
for consan.-Ofc mid for ConSan compilation (#9394)1 parent 97c02ff commit df38505
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
498 | 498 | | |
499 | 499 | | |
500 | 500 | | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
501 | 505 | | |
502 | 506 | | |
503 | 507 | | |
| |||
0 commit comments