Commit 0a8f92d6 authored by Xuhui Sun's avatar Xuhui Sun Committed by Lucas Hosseini

Update cpp tutorial makefile for GPU part (#774)

parent b460b0e9
......@@ -17,12 +17,9 @@ cpu: $(CPU_TARGETS)
gpu: $(GPU_TARGETS)
$(CPU_TARGETS): %: %.cpp ../../libfaiss.a
%: %.cpp ../../libfaiss.a
$(CXX) $(CXXFLAGS) -o $@ $^ $(LDFLAGS) -I../../.. $(LIBS)
$(GPU_TARGETS): %: %.cpp ../../libfaiss.a ../../gpu/libgpufaiss.a
$(NVCC) $(NVCCFLAGS) -o $@ $^ $(NVCCLDFLAGS) -I../../.. $(NVCCLIBS)
clean:
rm -f $(CPU_TARGETS) $(GPU_TARGETS)
......
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