Commit 730f40e
committed
Fix accumulator init with optional bias
Initializes the score accumulator within the bias branch and zero-initializes otherwise.
Prevents referencing an undefined bias when disabled and improves compilation stability in both forward and backward kernels.1 parent 4291d01 commit 730f40e
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
222 | 225 | | |
223 | 226 | | |
224 | | - | |
225 | 227 | | |
226 | 228 | | |
227 | 229 | | |
| |||
507 | 509 | | |
508 | 510 | | |
509 | 511 | | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
510 | 515 | | |
511 | 516 | | |
512 | | - | |
513 | 517 | | |
514 | 518 | | |
515 | 519 | | |
| |||
0 commit comments