File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ nvcc = /usr/local/cuda-8.0/bin/nvcc
2
+ cudalib = /usr/local/cuda-8.0/lib64/
3
+ tensorflow = /usr/local/lib/python2.7/dist-packages/tensorflow/include
4
+
5
+ all : depthestimate/tf_nndistance_so.so depthestimate/render_balls_so.so
6
+ .PHONY : all
7
+
8
+ depthestimate/tf_nndistance_so.so : depthestimate/tf_nndistance_g.cu.o depthestimate/tf_nndistance.cpp
9
+ g++ -std=c++11 depthestimate/tf_nndistance.cpp depthestimate/tf_nndistance_g.cu.o -o depthestimate/tf_nndistance_so.so -shared -fPIC -I $(tensorflow ) -lcudart -L $(cudalib ) -O2 -D_GLIBCXX_USE_CXX11_ABI=0
10
+
11
+ depthestimate/tf_nndistance_g.cu.o : depthestimate/tf_nndistance_g.cu
12
+ $(nvcc ) -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 -c -o depthestimate/tf_nndistance_g.cu.o depthestimate/tf_nndistance_g.cu -I $(tensorflow ) -DGOOGLE_CUDA=1 -x cu -Xcompiler -fPIC -O2
You can’t perform that action at this time.
0 commit comments