Commit 8e8324c
authored
[UR][L0] Fixed issue where L0 Adapters unused were not calling teardown (#20642)
- L0 Static Loader "requires" teardown to be called before the adapter
library exits otherwise the loader may call into the adapter during
teardown to an invalid address. The "skipping" of L0 adapters failed to
call the L0 teardown api required, which results in sporadic calls to
invalid memory during teardown.
- Added a function such that when an adapter is skipped, then the
adapter calls the Loader teardown given static loader compile.
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>1 parent d10b37e commit 8e8324c
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
291 | 299 | | |
292 | 300 | | |
293 | 301 | | |
| |||
525 | 533 | | |
526 | 534 | | |
527 | 535 | | |
| 536 | + | |
528 | 537 | | |
529 | 538 | | |
530 | 539 | | |
531 | 540 | | |
532 | 541 | | |
533 | 542 | | |
| 543 | + | |
534 | 544 | | |
535 | 545 | | |
536 | 546 | | |
| |||
0 commit comments