Skip to content

Commit 627920e

Browse files
Update README.md
1 parent 1773bd8 commit 627920e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
FourierConvolutionCUDALib
22
=========================
33

4-
Implementation of 3d non-separable convolution using CUDA & FFT Convolution
4+
Implementation of 3d non-separable convolution using CUDA & FFT Convolution, originally implemented by Fernando Amat for our Nature Methods
5+
paper (http://www.nature.com/nmeth/journal/v11/n6/full/nmeth.2929.html).
56

67
To compile this code under linux, use the following command (and adjust paths obviously):
78

89
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
910

10-
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+
To compile it under Linux/Mac using NSight, make a new shared library project. Under Project > Properties > NVCC Linker add -lcuda and -lcufft
12+
to the command line pattern so that it looks like this:
1113

12-
${COMMAND} ${FLAGS} -lcuda ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS}
14+
${COMMAND} ${FLAGS} -lcufft -lcuda ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS}
1315

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

0 commit comments

Comments
 (0)