Skip to content

Commit 3d8bec4

Browse files
Update README.md
1 parent 627920e commit 3d8bec4

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

README.md

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

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

7-
To compile this code under linux, use the following command (and adjust paths obviously):
8-
9-
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
10-
11-
To compile it under Linux/Mac using NSight, make a new shared library project. Under Project > Properties > NVCC Linker add -lcuda and -lcufft
6+
To compile it under Linux/Mac/Windows I suggest NSight. Clone this repository into your cuda-workspace directory. The make a new shared library project with the same name as the directory. Under Project > Properties > Build > Settings > Tool Settings > NVCC Linker add -lcuda and -lcufft
127
to the command line pattern so that it looks like this:
138

149
${COMMAND} ${FLAGS} -lcufft -lcuda ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS}
1510

16-
Now build the .so library and put it into the Fiji directory.
11+
Now build the .so/.dll library and put it into the Fiji directory.

0 commit comments

Comments
 (0)