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

DRAFT: Vectorize ForUtil encoding for the 9.0 codec (same format) #12412

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

uschindler
Copy link
Contributor

DRAFT: This uses code from #12396 to vectorize ForUtil for the 9.0 codec (only encode!). It should show as example how it works, this is not ready for productions, although all tests pass.

…9.0 codec (only encode!). It should show as example how it works, this is not ready for productions, although all tests pass
@uschindler uschindler marked this pull request as draft July 3, 2023 15:31
@uschindler
Copy link
Contributor Author

Important: I don't intend to merge this, it just shows WIP.

@uschindler uschindler changed the title DRAFT: This vectorize ForUtil for the 9.0 codec (same format) DRAFT: Vectorize ForUtil encoding for the 9.0 codec (same format) Jul 3, 2023
# Conflicts:
#	lucene/core/src/java/org/apache/lucene/internal/vectorization/VectorizationProvider.java
@uschindler
Copy link
Contributor Author

What's also missing in the code: Some randomized test that feeds both implementations with random data and verifies that both results are identical.

@uschindler
Copy link
Contributor Author

to run this branch with vectorization enabled:

$ export CI=true
$ export RUNTIME_JAVA_HOME=/path/to/jdk20or21
$ gradlew :lucene:core:test

@uschindler
Copy link
Contributor Author

@tang-hi

@ChrisHegarty
Copy link
Contributor

Thanks for putting this together @uschindler. I'm going to move my experiments over to a clone of this branch.

@mikemccand
Copy link
Member

Now that we are removing patching for the doc block encoding maybe vectorizing decode of these blocks is more palatable?

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

Successfully merging this pull request may close these issues.

3 participants