rmuir commented on PR #12632:
URL: https://github.com/apache/lucene/pull/12632#issuecomment-1772695285

   Vector API should also fix its bugs. It is totally senseless to have 
`IntVector.SPECIES_PREFERRED` and `FloatVector.SPECIES_PREFERRED` and then 
always set them to '512' on every avx-512 machine. It is not about the data 
type but the operation you are doing on.
   
   Openjdk has the same heuristics in its intrinsics/asm that i allude to, to 
avoid these problems. Hacks in every intrinsic / default checking specific 
families of CPUs and shit. go look for yourself. But it doesn't want to expose 
this stuff via vector api to developers.


-- 
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: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to