Skip to content

Commit fc008d2

Browse files
Update README.md
1 parent cdc59d2 commit fc008d2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ FourierConvolutionCUDALib
44
Implementation of 3d non-separable convolution using CUDA & FFT Convolution
55

66
To compile this code under linux, use the following command (and adjust paths obviously):
7+
78
nvcc convolution3Dfft.cu --compiler-options '-fPIC' -shared -lcudart -lcufft -I/usr/lib/nvidia-cuda-toolkit/include/ -L/usr/lib/nvidia-cuda-toolkit/lib -lcuda -o libConvolution3D
89

910
To compile it under Linux/Mac using NSight, make a new shared library project. Under Project > Properties > NVCC Linker add -lcuda to the command line pattern so that it looks like this:
11+
1012
${COMMAND} ${FLAGS} -lcuda ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS}
1113

1214
Now build the .so library and put it into the Fiji directory.

0 commit comments

Comments
 (0)