Skip to content

Commit 03029a3

Browse files
Update README.md
1 parent f46e9b4 commit 03029a3

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

README.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,10 @@ Implementation of 3d non-separable convolution using CUDA & FFT Convolution,
55

66
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.
77

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:
8+
Under Project > Properties > Build > Settings > Tool Settings > NVCC Linker add -lcufft and -lcuda to the command line pattern so that it looks like this:
139

1410
${COMMAND} ${FLAGS} -lcufft -lcuda ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS}
1511

16-
1712
Now build the .so/.dll library and put it into the Fiji directory.
13+
14+
NOTE: If you are compiling under Windows, you need to change all 'extern "C"' definitions to 'extern "C" __declspec(dllexport)' for all function calls in the convolution3Dfft.h and convolution3Dfft.cu.

0 commit comments

Comments
 (0)