Commit ed0bcc1
authored
fix the device performance timing checks for clReleaseContext (#412)
The device performance timing checks were only supposed to happen
when the context reference count went to zero, but because the
reference count was only queried when call logging was enabled, it
was happening much more often. Fix by querying (and updating) the
context reference count unconditionally.1 parent 095be2a commit ed0bcc1
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
625 | 625 | | |
626 | 626 | | |
627 | 627 | | |
628 | | - | |
629 | | - | |
630 | | - | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
631 | 631 | | |
632 | 632 | | |
633 | 633 | | |
| |||
639 | 639 | | |
640 | 640 | | |
641 | 641 | | |
642 | | - | |
| 642 | + | |
| 643 | + | |
643 | 644 | | |
644 | 645 | | |
645 | 646 | | |
| |||
0 commit comments