StephanPreibisch / FourierConvolutionCUDALib

Implementation of 3d non-separable convolution using CUDA & FFT Convolution
19 stars 13 forks source link

Problems building against CUDA 8.0 #17

Closed aarpon closed 7 years ago

aarpon commented 7 years ago

When building against CUDA 8.0 I get the following error:

identifier "CUFFT_COMPATIBILITY_NATIVE" is undefined

from convolution3Dfft.cu on line 256:

CUFFT_ERROR(cufftSetCompatibilityMode(fftPlanFwd,CUFFT_COMPATIBILITY_NATIVE));

Checking in the CUDA documentation, I saw that cufftSetCompatibilityMode() is deprecated in CUDA 8.0. It seems however that it is basically already removed...

psteinb commented 7 years ago

I'll fix that tomorrow. Haven't installed CUDA 8 yet. Thanks for reporting.

psteinb commented 7 years ago

please try the HEAD commit of my fork of this library: https://github.com/psteinb/FourierConvolutionCUDALib.git the error should be gone (tested on CentOS 7 with cuda 8.0.44)

psteinb commented 7 years ago

fixed in master, please check on your side and close this issue. thanks!

aarpon commented 7 years ago

I'll check asap! Thanks a lot!

aarpon commented 7 years ago

It works. Thanks!