Skip to content

Commit 09d26d4

Browse files
authored
Merge pull request #71 from raunaqmorarka/vectorbitpacker128
Hardware-portable Vector API bit-packing for VectorFastPFOR
2 parents 933a84d + 9093b1a commit 09d26d4

13 files changed

Lines changed: 50146 additions & 10015 deletions

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,9 @@ Most others do not.
101101
The Java Team at Intel (R) introduced the vector implementation for FastPFOR
102102
based on the Java Vector API that showed significant gains over the
103103
non-vectorized implementation. For an example usage, see
104-
examples/vector/Example.java. The feature requires JDK 19+ and is currently for
105-
advanced users.
104+
examples/vector/Example.java. On aarch64 (e.g. Graviton3), use JDK 24 or
105+
later: earlier releases lack the Vector API SVE intrinsics and run a fallback
106+
that is slower than the scalar codec.
106107

107108
JavaFastPFOR as a dependency
108109
------------------------

pom.xml

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -90,33 +90,17 @@
9090
<configuration>
9191
<source>21</source>
9292
<target>21</target>
93+
<compilerArgs>
94+
<arg>--add-modules</arg>
95+
<arg>jdk.incubator.vector</arg>
96+
</compilerArgs>
97+
</configuration>
98+
</plugin>
99+
<plugin>
100+
<artifactId>maven-surefire-plugin</artifactId>
101+
<configuration>
102+
<argLine>--add-modules jdk.incubator.vector</argLine>
93103
</configuration>
94-
<executions>
95-
<execution>
96-
<id>default-compile</id>
97-
<phase>compile</phase>
98-
<goals>
99-
<goal>compile</goal>
100-
</goals>
101-
<configuration>
102-
<excludes>
103-
<exclude>me/lemire/integercompression/vector/*</exclude>
104-
<exclude>module-info.java</exclude>
105-
</excludes>
106-
</configuration>
107-
</execution>
108-
<!-- The vector module is experimental, currently only for advanced users. -->
109-
<!--<execution>
110-
<id>vector-fastpfor</id>
111-
<phase>compile</phase>
112-
<goals>
113-
<goal>compile</goal>
114-
</goals>
115-
<configuration>
116-
<release>29</release>
117-
</configuration>
118-
</execution> -->
119-
</executions>
120104
</plugin>
121105
<plugin>
122106
<groupId>org.apache.felix</groupId>

0 commit comments

Comments
 (0)