Skip to content

Commit f46e9b4

Browse files
Update README.md
Fixed the Nsight compile tipps
1 parent 91e70d2 commit f46e9b4

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,15 @@ FourierConvolutionCUDALib
33

44
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).
55

6-
To compile it under Linux/Mac/Windows I suggest NSight. Clone this repository into your cuda-workspace directory. Then 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
7-
to the command line pattern so that it looks like this:
6+
To compile it under Linux/Mac/Windows I suggest NSight. Clone this repository into your cuda-workspace directory. Then make a new shared library project with the same name as the directory.
7+
8+
Under Project > Properties > Build > Settings > Tool Settings > NVCC Compiler add -lcufft to the command line pattern so that it looks like this:
9+
10+
${COMMAND} ${FLAGS} -lcufft ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS}
11+
12+
Under Project > Properties > Build > Settings > Tool Settings > NVCC Linker add -lcuda to the command line pattern so that it looks like this:
813

914
${COMMAND} ${FLAGS} -lcufft -lcuda ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS}
1015

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

0 commit comments

Comments
 (0)