Commit 47fce96
committed
AIESW-26391:Fix eff_net hip testcase failure.
Support computed addresses (base + offset) for global memory arguments
to enable pointer arithmetic use cases like sub-buffer access.
Detect offset in global arguments and pass raw pointer to preserve
computed addresses (base + offset), otherwise pass buffer object
for proper memory tracking.
Previously, extracting the buffer object would return only the base
address, breaking computed addresses like: wts_base + (offset[i] * 4)
Signed-off-by: Srikanth Vuppala <120363307+svup-xilinx@users.noreply.github.com>1 parent 96d9829 commit 47fce96
1 file changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
258 | 261 | | |
259 | | - | |
| 262 | + | |
| 263 | + | |
260 | 264 | | |
261 | | - | |
262 | | - | |
263 | | - | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
264 | 273 | | |
265 | | - | |
266 | 274 | | |
267 | 275 | | |
268 | 276 | | |
| |||
0 commit comments