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

About using SiftGPU with cuda #16

Closed
flymaxty opened this issue Sep 19, 2015 · 5 comments
Closed

About using SiftGPU with cuda #16

flymaxty opened this issue Sep 19, 2015 · 5 comments
Assignees
Labels

Comments

@flymaxty
Copy link

Hi,
I found that if I want to use siftgpu with cuda, I have to comment the following line in siftgpu's makefile
siftgpu_enable_cuda = 0 (line 17)
but the doc did not say that. Is there something wrong for my steps? or you just forget to comment it? :)

@felixendres
Copy link
Owner

That's a bug. I forgot to take this out after changing the test in line 11. Didn't notice, since I don't use cuda. I'll throw the line out, thanks.

@felixendres
Copy link
Owner

Ok, fixed in indigo and hydro branches.

@flymaxty
Copy link
Author

Thank you for your quick reply! :)

@flymaxty
Copy link
Author

Oh, there's other problem I forgot to say, in x64 platform, the following line has a little problem:
simple_find_cuda = $(shell locate /usr/local/cuda/lib/libcudart.so*)
the libs is in /usr/local/cuda/lib64/ not /usr/local/cuda/lib/ in x64 platform.

@felixendres felixendres reopened this Sep 20, 2015
@felixendres felixendres self-assigned this Sep 20, 2015
@felixendres
Copy link
Owner

Hi flymaxty. I couldn't find a sensible way to check for cuda. The current way didn't work and the out-of-the-box build fails if cuda isn't installed. I therefore now disabled cuda in siftgpu's makefile. I am afraid this will interfere with your setup, but should be easy to fix for you: just change "siftgpu_enable_cuda = 0" to "... = 1" in line 11 of the mentioned makefile.

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

No branches or pull requests

2 participants