We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d7d8ef commit 62d0c94Copy full SHA for 62d0c94
src/Microsoft.ML.CpuMath/CpuAligenedMathUtils.cs
@@ -16,7 +16,7 @@ public static void AssertCompatible(ICpuFullMatrix values)
16
#if DEBUG
17
var mat = values as TMatrix;
18
Contracts.AssertValue(mat);
19
- Contracts.Assert(mat.Items.CbAlign == CpuMathUtils.GetVectorAlignment());
+ Contracts.Assert(mat.Items.CbAlign == 16);
20
#endif
21
}
22
@@ -29,7 +29,7 @@ public static void AssertCompatible(ICpuVector values)
29
30
CpuAlignedVector vec = values as CpuAlignedVector;
31
Contracts.AssertValue(vec);
32
- Contracts.Assert(vec.Items.CbAlign == CpuMathUtils.GetVectorAlignment());
+ Contracts.Assert(vec.Items.CbAlign == 16);
33
34
35
0 commit comments