Commit 01c9bad
authored
Fix dynamic tracing support with static loader (#313)
* Fix dynamic tracing support with static loader
- To allow for dynamic init of tracing, the static loader cannot
optimize out the call to the ze_loader's ze_lib.
- Therefore, during init, the function pointer is instead assigned to
the dynamic loaded loader's apis to enable tracing.
* Add optimizations for static loader calls.
* Fix visual studio version for all windows builds
Signed-off-by: Neil R. Spruit <[email protected]>1 parent 96cf377 commit 01c9bad
File tree
10 files changed
+8147
-8
lines changed- .github/docker
- scripts/templates
- source/lib
10 files changed
+8147
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
163 | 185 | | |
164 | 186 | | |
165 | 187 | | |
| |||
182 | 204 | | |
183 | 205 | | |
184 | 206 | | |
| 207 | + | |
185 | 208 | | |
186 | 209 | | |
187 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
541 | 549 | | |
542 | 550 | | |
543 | 551 | | |
544 | 552 | | |
545 | 553 | | |
546 | 554 | | |
| 555 | + | |
547 | 556 | | |
548 | 557 | | |
549 | 558 | | |
550 | 559 | | |
551 | 560 | | |
552 | 561 | | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
553 | 570 | | |
554 | 571 | | |
555 | 572 | | |
556 | 573 | | |
557 | 574 | | |
558 | 575 | | |
| 576 | + | |
559 | 577 | | |
560 | 578 | | |
561 | 579 | | |
| |||
0 commit comments