go-faiss
go-faiss copied to clipboard
can i use static library and use GPU to calculate vector?
Yes, you should be able to use static linking. You can pass the libraries to the linker with the CGO_LDFLAGS environment variable. I don't have detailed instructions as I haven't tried this myself.
You may want to check out this fork: https://github.com/AnyVisionltd/go-faiss. It looks like they added GPU support.
i compile static link and occur this error ,how can i deal with it
