Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 815 Bytes

README.md

File metadata and controls

12 lines (7 loc) · 815 Bytes

SeparableConvolutionCUDALib

Implementation of 1/2/3d separable convolution using CUDA.

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 to the command line pattern so that it looks like this:

${COMMAND} ${FLAGS} -lcuda ${OUTPUT_FLAG} ${OUTPUT_PREFIX} ${OUTPUT} ${INPUTS}

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

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 separableConvolution.h and all separableConvolution*.cu.