Commit 12a4566
[SYCL] Fix sycl::vec constructor ambiguity (#8608)
Recent changes to the sycl::vec class added a private constructor taking
and array. This resulted in constructor ambiguity when passing an
initializer list, despite the constructor being private. This commit
removes the constructor, making the implementation use the constructor
taking both an array and an index sequence directly.
---------
Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
Co-authored-by: Alexey Sachkov <alexey.sachkov@intel.com>1 parent c5c7ac2 commit 12a4566
2 files changed
Lines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | 732 | | |
736 | 733 | | |
737 | 734 | | |
| |||
796 | 793 | | |
797 | 794 | | |
798 | 795 | | |
799 | | - | |
| 796 | + | |
| 797 | + | |
800 | 798 | | |
801 | 799 | | |
802 | 800 | | |
| |||
812 | 810 | | |
813 | 811 | | |
814 | 812 | | |
815 | | - | |
| 813 | + | |
| 814 | + | |
816 | 815 | | |
817 | 816 | | |
818 | 817 | | |
| |||
883 | 882 | | |
884 | 883 | | |
885 | 884 | | |
886 | | - | |
| 885 | + | |
| 886 | + | |
887 | 887 | | |
888 | 888 | | |
889 | 889 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments