Skip to content

Cpp functionality in Python

Srinivas Yalagam edited this page Jun 14, 2019 · 1 revision

https://pybind11.readthedocs.io/en/stable/basics.html

nvcc -std=c++11 -c -o ../cc/nms/nms_kernel.cu.o ../cc/nms/nms_kernel.cu.cc -I/usr/local/cuda-9.0/include -x cu -Xcompiler -fPIC -arch=sm_61 --expt-relaxed-constexpr g++ -std=c++11 -shared -o /media/5.5T_Harddisk/LIDAR/Pytorch2TF/second.pytorch/second/core/non_max_suppression/nms.so ../cc/nms/nms_kernel.cu.o ../cc/nms/nms.cc -I/usr/local/cuda-9.0/include -fPIC -O3 -I/home/srinivas/anaconda3/include/python3.6m -I/home/srinivas/.local/include/python3.6m -L/usr/local/cuda-9.0/lib64 -lcublas -lcudart

Clone this wiki locally