I already tried a couple of stuff. I link with culibos also, just like it’s specified in the cuFFT documentation. But whatever I tried, I end up always with this:
undefined symbol: __cudaRegisterLinkedBinary_72_tmpxft_00002256_00000000_15_fft_dimension_class_multi_compute_60_cpp1_ii_466e44ab
And that symbol can be found in libcufft_static.a.
Here’s the list of gencodes that I use:
-gencode arch=compute_35,"code=sm_35" -gencode arch=compute_50,"code=sm_50" -gencode arch=compute_52,"code=sm_52" -gencode arch=compute_60,"code=sm_60" -gencode arch=compute_60,"code=compute_60" -gencode arch=compute_61,"code=sm_61" -gencode arch=compute_61,"code=compute_61"
if that can help find the source of the problem!
NOTE it’s been linked inside a shared object, not an executable. And it fails when that object is being loaded by an executable.