-
Notifications
You must be signed in to change notification settings - Fork 24
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
update simd operators for special dims #77
Conversation
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
@@ -54,11 +54,11 @@ TEST_CASE("SQ8 SIMD Compute Codes", "[SQ8 SIMD]") { | |||
std::vector<uint8_t> vec1, vec2; | |||
for (const auto& dim : dims) { | |||
auto vec = fixtures::generate_vectors(count * 2, dim); | |||
vec1.resize(count * dim * 2, 0); | |||
vec1.resize(count * dim); |
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.
modify all self-defined dims to common_used_dims
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.
done
45cd9f1
to
c37e634
Compare
Signed-off-by: LHT129 <tianlan.lht@antgroup.com>
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
update sq8 simd operators for special dims (not power of 2)