Commit 8f2510f
[SYCL] Use urGetDeviceInfo to check bfloat16 native conversion extension (#18023)
As agreement in #16729 , In general we
discourage the use of the extension strings as it is a remnant of the
OpenCL days. Instead we want to use urDeviceGetInfo when possible. This
is a follow-up pr to replace checking OpenCL extension string with
urGetDeviceInfo for native bfloat16 conversion extension.
---------
Signed-off-by: jinge90 <[email protected]>
Co-authored-by: Steffen Larsen <[email protected]>1 parent a7f5e93 commit 8f2510f
1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
| 644 | + | |
644 | 645 | | |
645 | 646 | | |
646 | | - | |
647 | | - | |
648 | | - | |
649 | | - | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
650 | 659 | | |
651 | 660 | | |
652 | 661 | | |
| |||
0 commit comments