Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can i use static library and use GPU to calculate vector? #21

Open
deadspacewii opened this issue Nov 26, 2022 · 2 comments
Open

can i use static library and use GPU to calculate vector? #21

deadspacewii opened this issue Nov 26, 2022 · 2 comments

Comments

@deadspacewii
Copy link

No description provided.

@p-ouellette
Copy link
Collaborator

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.

@deadspacewii
Copy link
Author

i compile static link and occur this error ,how can i deal with it
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants