Skip to content
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

[ignore] refactor #3890

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mengdilin
Copy link
Contributor

Differential Revision: D63406173

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63406173

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63406173

mengdilin added a commit to mengdilin/faiss that referenced this pull request Sep 25, 2024
Summary: Pull Request resolved: facebookresearch#3890

Differential Revision: D63406173
@mengdilin mengdilin changed the title refactor [ignore] refactor Sep 25, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63406173

mengdilin added a commit to mengdilin/faiss that referenced this pull request Sep 25, 2024
Summary: Pull Request resolved: facebookresearch#3890

Differential Revision: D63406173
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63406173

mengdilin added a commit to mengdilin/faiss that referenced this pull request Sep 25, 2024
Summary: Pull Request resolved: facebookresearch#3890

Differential Revision: D63406173
@@ -972,6 +977,63 @@ struct simd8uint32 {
return ~(*this == other);
}

// shift must be known at compile time
simd8uint32 operator<<(const int shift) const {
switch (shift) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -1191,6 +1253,15 @@ struct simd8float32 {
std::string tostring() const {
return detail::simdlib::elements_to_string<float, 8u>("%g,", *this);
}

float accumulate() const {
float32x4_t sum_0 = vpaddq_f32(data.val[0], data.val[0]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63406173

mengdilin added a commit to mengdilin/faiss that referenced this pull request Sep 30, 2024
Summary: Pull Request resolved: facebookresearch#3890

Differential Revision: D63406173
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63406173

mengdilin added a commit to mengdilin/faiss that referenced this pull request Sep 30, 2024
Summary: Pull Request resolved: facebookresearch#3890

Differential Revision: D63406173
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63406173

mengdilin added a commit to mengdilin/faiss that referenced this pull request Sep 30, 2024
Summary: Pull Request resolved: facebookresearch#3890

Differential Revision: D63406173
Summary: Pull Request resolved: facebookresearch#3890

Differential Revision: D63406173
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63406173

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants