You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add unit tests for software fallback implementations, particularly for MatTimesSrc.
Reference:
The software fallback implementations are in src\Microsoft.ML.CpuMath\CpuMathUtils.netcoreapp.cs, encapsulated in the following switching paradigm:
if (Avx.IsSupported)
{
// AvxIntrinsics
}
else if (Sse.IsSupported)
{
// SseIntrinsics
}
else
{
// Software fallback
}
Unit tests are implemented in test\Microsoft.ML.CpuMath.UnitTests.netcoreapp/UnitTests.cs
To turn on the software fallback implementation in unit tests, you may have to turn off the environment variable COMPlus_FeatureSimd.
The text was updated successfully, but these errors were encountered:
briancylui
changed the title
Add unit tests for software fallbacks of hardware intrinsics
CpuMath Enhancement: Add unit tests for software fallbacks of hardware intrinsics
Sep 6, 2018
Style changes needed to solve part of #823
Details
MatTimesSrc
.Reference:
src\Microsoft.ML.CpuMath\CpuMathUtils.netcoreapp.cs
, encapsulated in the following switching paradigm:test\Microsoft.ML.CpuMath.UnitTests.netcoreapp/UnitTests.cs
COMPlus_FeatureSimd
.The text was updated successfully, but these errors were encountered: