Commit 635bf3c
authored
I tracked the appearance of `_nocheck` down to
#937 and James doesn't remember
anything specific requiring that vs "checked" version. Also, some
similar USM-related aspects (those that don't just delegate to
`get_info`) do use "checked" APIs, so it seems logical to unify this
processing.
The main reason I do this is that it would be a bit easier to cache the
values of "checked" interfaces by pre-computing USM support in
`device_impl`'s ctor. Note that we perform at least some of those every
time we allocate USM memory, so doing the caching is desirable (even for
the sake of cleaning up our traces).
1 parent cdaca4a commit 635bf3c
1 file changed
+7
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
589 | 589 | | |
590 | 590 | | |
591 | 591 | | |
592 | | - | |
593 | | - | |
| 592 | + | |
594 | 593 | | |
595 | 594 | | |
596 | 595 | | |
597 | | - | |
598 | | - | |
| 596 | + | |
599 | 597 | | |
600 | 598 | | |
601 | 599 | | |
602 | | - | |
603 | | - | |
| 600 | + | |
604 | 601 | | |
605 | 602 | | |
606 | 603 | | |
607 | | - | |
608 | | - | |
609 | | - | |
610 | | - | |
| 604 | + | |
| 605 | + | |
611 | 606 | | |
612 | | - | |
| 607 | + | |
613 | 608 | | |
614 | 609 | | |
615 | 610 | | |
616 | 611 | | |
617 | | - | |
618 | | - | |
| 612 | + | |
619 | 613 | | |
620 | 614 | | |
621 | 615 | | |
| |||
0 commit comments