Uh oh!
There was an error while loading. Please reload this page.
Use generic math in System.Numerics.Vectors (#60365) - #60905
Conversation
ghost
commented
Oct 27, 2021
Tagging subscribers to this area: @dotnet/area-system-numerics Issue DetailsI preserved Sqrt test logic for types that don't inherit IFloatingPoint. T.Sqrt and T.Abs usages fire the CS0119 error, however it doesn't prevent building or tests to pass.
|
jkotas
commented
Oct 27, 2021
We do not have the support for static virtual methods fully implemented yet. See #49904 and #54063. It is likely the reason why the Mono PR CI legs fails. There are going to be more failures in outer loop test runs. We can start using the generic math as implementation details of other features only once the static virtual methods are fully implemented. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I tried running this on an iOS device with FullAOT and we do indeed run into some generic math AOT limitation there because it tries to JIT, e.g. So looks like we can't merge this PR until that is fixed. |
tannergooding
commented
Nov 3, 2021
Do we have any ETA on when the Mono and Crossgen2 issues will get looked at? This is going to impact this PR as well as the follow up work I need to do here for .NET 7 and making the feature non-preview. |
akoeplinger
commented
Nov 3, 2021
@lambdageek any idea? |
Merged with Edit: same with #54063 (comment) from @trylek |
Uh oh!
There was an error while loading. Please reload this page.
tannergooding
commented
Feb 4, 2022
Merged again to pick up the CI fixes for the helix failures. |
tannergooding
commented
Feb 8, 2022
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
tannergooding
commented
Feb 8, 2022
@lambdageek, looks to be some tvOS failures on the Mono side that will prevent this from merging. Could you please investigate as this is blocking our ability to work on and merge Generic Math related changes? |
tvOS failures look to be the same as #65002 |
lambdageek
commented
Feb 10, 2022
@tannergooding merge/rebase with main to pick up #65126 which should address the tvOS failures |
lambdageek
commented
Feb 10, 2022
/azp run runtime-extra-platforms |
|
Azure Pipelines successfully started running 1 pipeline(s). |
tannergooding
commented
Feb 11, 2022
Merging. As with #63546, it looks like the blocking tvOS issue is gone and everything else is passing/looks good. |
I preserved Sqrt test logic for types that don't inherit IFloatingPoint. T.Sqrt and T.Abs usages fire the CS0119 error, however it doesn't prevent building or tests to pass.
Fixes#60365