slow-J commented on code in PR #16799:
URL: https://github.com/apache/lucene/pull/16799#discussion_r4682957149


##########
lucene/core/src/java25/org/apache/lucene/internal/vectorization/NativeVectorUtilSupport.java:
##########
@@ -391,6 +399,35 @@ public static int int4DotProductBothPacked(MemorySegment 
a, MemorySegment b) {
         : PanamaVectorUtilSupport.int4DotProductBothPacked(a, b);
   }
 
+  /** Returns true if the native library implements {@link 
#int4DotProductSinglePackedBulk}. */
+  public static boolean hasInt4DotProductSinglePackedBulk() {
+    return int4DotProductSinglePackedBulk$MH != null;
+  }

Review Comment:
   Good idea, I've removed it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to