-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
GPU compilation fails: Tensor.cuh(362): type name is not allowed #751
Comments
Which versions of cuda and g++ are you using ? |
g++:
cuda:
I'm using a Nvidia GeForce GTX 970 which supports compute capability 5.2. |
This error happened to me as well, and I fixed it by adding the "template" keyword after arg on the faulty line. return arg.template canUseIndexType() && |
@beauby can we repro this with the compilers used for Travis? |
@mdouze We won't be able to reproduce this on TravisCI, as they still do not offer GPUs AFAIK, but I'll try to reproduce it locally. |
The GPU compilation fails with g++ 8.3.1 and cuda 10.1 With this proposed fix the compilation works locally Contributes to #751
[Solved] Another method. |
The GPU compilation fails with g++ 8.3.1 and cuda 10.1 With this proposed fix the compilation works locally Contributes to facebookresearch#751
Summary
I follow the Install.md instructions from step 1 to step 3. General compilation and Python setup worked fine, but the GPU compilation fails with:
The same error occurs multiple times if I follow the recommendation to use multiple threads during make.
Platform
OS: Fedora 29
Faiss version: a9959bf
The text was updated successfully, but these errors were encountered: