real-to-complex 'in place' transforms with cufft and fortran

Can you do in place real-to-complex transforms with CUFFT using cuda fortran? It’s possible with CUDA C by casting the variable to a ‘real’ data type (pointer?) as is in the following example…

/ Use the CUFFT plan to transform the signal in place. /
if (cufftExecR2C(plan,(cufftReal)data, data ) != CUFFT_SUCCESS ) {
fprintf(stderr,“CUFFT error: ExecC2C Forward failed”);

where data is of type cufftComplex.

this is also using a cufft module which uses iso_c_binding to utilize the c routines.

Did you write the module? It depends on how the interface is written in the module.