lebedov/scikits.cuda — pull request #89 by grlee77 (2014-12-08 17:34:32+00:00)
Title: ENH:  enable advanced data layout options in fft Plan class

This pull request adds the remaining cufftPlanMany() arguments to the constructor of the Plan class defined in `scikits.cuda.fft.py`. The new arguments define default values equal to the previously hard-coded values being passed to the function to maintain backwards compatiblity.

I recently needed access to the idist & odist arguments in order to perform a batch 3D C2C transform on 4D data that had been stored as a 2D gpuarray in fortran order with shape: [ nx * ny * nz, nbatch]. The appropriate plan for this case turned out to be as follows:

```
N = np.asarray([nx, ny, nz])
Plan(N, np.complex64, np.complex64, idist=np.prod(N), odist=np.prod(N), batch=nbatch)
```

I did not need inembed/onembed or istride/ostride for my particular use case, but added them as well for completeness.