Unverified Commit 57e973ea authored by Lucas Hosseini's avatar Lucas Hosseini Committed by GitHub

Fix GPU tests Makefile. (#473)

parent 7f996bd9
......@@ -6,10 +6,13 @@
-include ../../makefile.inc
demo_ivfpq_indexing_gpu: demo_ivfpq_indexing_gpu.cpp ../../libfaiss.a ../libgpufaiss.a
$(NVCC) $(NVCCFLAGS) -o $@ $^ $(NVCCLDFLAGS) $(LIBS) $(NVCCLIBS)
%.o: %.cpp
$(CXX) $(CUDACFLAGS) -o $@ -c $^
demo_ivfpq_indexing_gpu: demo_ivfpq_indexing_gpu.o ../libgpufaiss.a ../../libfaiss.a
$(CXX) $(LDFLAGS) $(NVCCLDFLAGS) -o $@ $^ $(LIBS) $(NVCCLIBS)
clean:
rm -f demo_ivfpq_indexing_gpu
rm -f *.o demo_ivfpq_indexing_gpu
.PHONY: clean
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment