Created
February 1, 2018 13:33
-
-
Save ChiFang/70b6ee3ac2d3266373706ac16ff90345 to your computer and use it in GitHub Desktop.
cuda makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdda.so: pdda_cuda.o | |
g++ -fPIC -shared -o pdda.so ./src/pdda.cpp ./pdda_cuda.o -I ./src/ -I/usr/local/cuda/include -L/usr/local/cuda/lib64 -lcuda -lcudart `pkg-config --libs opencv` | |
pdda_cuda.o: | |
nvcc -c ./src/pdda_cuda.cu -o pdda_cuda.o | |
clean: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment