
1.
nvcc -c Image_Filters.cu -I /usr/local/cuda/include/ -I ~/NVIDIA_GPU_Computing_SDK/C/common/inc/ -L /usr/local/cuda/lib/ -lcuda -lcudart

2.
gcc `pkg-config --cflags --libs opencv` -I /usr/local/cuda/include/ -I ~/NVIDIA_GPU_Computing_SDK/C/common/inc/ -L /usr/local/cuda/lib/ -lcuda -lcudart Image_Filters.o Image_Filters.cpp -o Image_Filters


