Skip to content

StephanPreibisch/SeparableConvolutionCUDALib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published