memory issue in calling cufft routines from fortran

I’m now trying to call cufft routines in a fortran program. But there is no memory related routines in the cufft library (like cublas_alloc, cublas_set_vector in cublas).
So is it ok to use those similar routines from cublas when using cufft? Thanks!
btw, is there any fortran wrapper of cufft 3.0 on the internet? I’ve found none… Then I write a wrapper of my own. But because of the memory issus, I cannot check whether or not my wrapper works… External Image