Commit 18db4a1
committed
Adds bias and mask tensor support to shared memory layout
Introduces dedicated shared memory tensors for mask and bias operations,
reorganizing memory allocation to accommodate new tensor types.
Updates memory pointer calculations to maintain proper offset alignment
for existing value and gradient tensors after bias tensor insertion.1 parent 5ee5acf commit 18db4a1
1 file changed
+14
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
230 | 242 | | |
231 | 243 | | |
232 | 244 | | |
233 | | - | |
| 245 | + | |
234 | 246 | | |
235 | 247 | | |
236 | 248 | | |
| |||
0 commit comments