Package com.apple.foundationdb.linear.simd
package com.apple.foundationdb.linear.simd
SIMD-using implementations of vector primitives, depending on the
jdk.incubator.vector
incubator module.
Isolation invariant: this package is the only place in the codebase that imports
jdk.incubator.vector.*. The classes here are loaded reflectively by
RealVectorPrimitives.selectBackend() so the rest of the module can be compiled and run
without the incubator module being available on the JVM. If the module is missing at runtime,
loading SimdBackend throws NoClassDefFoundError and the dispatcher falls back to
the scalar implementation in the parent package.
Build configuration must pass --add-modules jdk.incubator.vector to the
compileJava task that compiles this package. To exercise the SIMD path at runtime, the
same flag must be passed to the JVM.
-
ClassesClassDescriptionSIMD implementation of
Backendusing thejdk.incubator.vectorAPI (DoubleVectorwithDoubleVector.SPECIES_PREFERRED).