CUFFT from cuda fortran

NVFORTRAN-S-0084-Illegal use of symbol cufftplan2d - attempt to CALL a FUNCTION (fft5.cuf: 22). I get this error when I am trying to call the cufft subrountines from cuda fortran. It seems to think the the subroutines are function. Can you help. Thanks.

While in C they are subroutines, the CUDA Fortran interfaces use functions so the the error code can be returned.

You can find the CUDA Fortran cuFFT interfaces at: NVIDIA Fortran CUDA Library Interfaces Version 24.5 for ARM, OpenPower, x86