-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Reverting dead unallignedCode paths #1845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@Ivanidzo4ka @eerhardt @TomFinley @tannergooding can you please review this one ? |
test/Microsoft.ML.CpuMath.PerformanceTests/AvxPerformanceTests.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. A couple of nits on places where we could still be generating better code
…e tests done for odd input, enabled timeseries tests
public static void MatrixTimesSource(bool transpose, AlignedArray matrix, AlignedArray source, AlignedArray destination, int stride) => SseUtils.MatTimesSrc(transpose, matrix, source, destination, stride); | ||
private static bool Compat(AlignedArray a) | ||
{ | ||
Contracts.AssertValue(a); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving code like this is really hard to review. Did you make any changes to this code, or is it a straight copy from Sse.cs to this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is straight copy from sse.cs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only addition is the function GetVectorAlignment
@eerhardt can we merge this one ? |
Since we are editing Time Series code, I think it would be good for @codemzs to sign off on the changes to it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverting unaligned CodePaths were added in #1218 and #1274
Related to #1838