Skip to content

Commit 1773bd8

Browse files
Merge branch 'master' of github.com:StephanPreibisch/FourierConvolutionCUDALib
2 parents a0dad9f + fc008d2 commit 1773bd8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
FourierConvolutionCUDALib
2+
=========================
3+
4+
Implementation of 3d non-separable convolution using CUDA & FFT Convolution
5+
6+
To compile this code under linux, use the following command (and adjust paths obviously):
7+
8+
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
9+
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+
12+
${COMMAND} ${FLAGS} -lcuda ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS}
13+
14+
Now build the .so library and put it into the Fiji directory.

0 commit comments

Comments
 (0)