SPTAG icon indicating copy to clipboard operation
SPTAG copied to clipboard

Added AARCH64 support

Open mcelhennyi opened this issue 5 years ago • 5 comments

This pull request would allow for AARCH64 support. I made sure the ./test executable can run without error on an arm docker.

The only thing I am unsure of is the use of __builtin_prefetch. SIMDe supports prefetch commands, but I am unsure how to map the enum over to SIMDe from the original use. Currently I have just used the __builtin_prefetch version in place of the __mm_prefetch.

mcelhennyi avatar Apr 01 '20 20:04 mcelhennyi

CLA assistant check
All CLA requirements met.

msftclas avatar Apr 01 '20 20:04 msftclas

@mcelhennyi I noticed that there are conflicts with the latest commit of the master branch, would you mind rebasing it? I'm considering adding it to the Debian package of SPTAG.

pabs3 avatar Aug 21 '21 05:08 pabs3

@pabs3 I have actually stopped using SPTAG. So I won’t be able to rebase and test. Sorry about that.

mcelhennyi avatar Aug 21 '21 06:08 mcelhennyi

Merging this issue will also fix #316 too.

pabs3 avatar Jul 12 '22 05:07 pabs3

I tried to create a new patch but SPTAG now uses AVX512 and SIMDe is missing three functions and is missing three native aliases (useful to avoid having to change lots of the code), the missing aliases is easily worked around though.

https://github.com/simd-everywhere/simde/issues/961 https://github.com/pabs3/SPTAG/compare/use-simd-everywhere

pabs3 avatar Jul 12 '22 08:07 pabs3