Skip to content

Commit cdc59d2

Browse files
Create README.md
1 parent 9ba6224 commit cdc59d2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
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+
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
8+
9+
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:
10+
${COMMAND} ${FLAGS} -lcuda ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS}
11+
12+
Now build the .so library and put it into the Fiji directory.

0 commit comments

Comments
 (0)