Library/ManagedCuda/CudaFFT/CudaFFTPlanMany.cs
/// <summary>
/// During plan execution, CUFFT requires a work area for temporary storage of
/// intermediate results. This call returns an estimate for the size of the work area required,
/// given the specified parameters, and assuming default plan settings. Note that changing
/// some plan settings, such as compatibility mode, may alter the size required for the work
/// area.
/// </summary>
/// <param name="rank">Dimensionality of the transform (1, 2, or 3)</param>
/// <param name="n">An array of size rank, describing the size of each dimension</param>
/// <param name="batch">Batch size for this transform</param>
/// <param name="type">Transform data type (e.g., C2C, as per other CUFFT calls)</param>
/// <param name="inembed">See CUFFT Manual</param>
/// <param name="istride">See CUFFT Manual</param>
/// <param name="idist">See CUFFT Manual</param>
/// <param name="onembed">See CUFFT Manual</param>
/// <param name="ostride">See CUFFT Manual</param>
/// <param name="odist">See CUFFT Manual</param>
/// <returns></returns>
During plan execution, CUFFT requires a work area for temporary storage of
intermediate results. This call returns an estimate for the size of the work area required,
given the specified parameters, and assuming default plan settings. Note that changing
some plan settings, such as compatibility mode, may alter the size required for the work
area.
During plan execution CUFFT requires a work area for temporary storage of intermediate results . This call returns an estimate for the size of the work area required given the specified parameters and assuming default plan settings . Note that changing some plan settings such as compatibility mode may alter the size required for the work area .
public static SizeT EstimateSize(int rank, int[] n, int batch, cufftType type, int[] inembed, int istride, int idist, int[] onembed, int ostride, int odist)
		{
			SizeT size = new SizeT();
			cufftResult res = CudaFFTNativeMethods.cufftEstimateMany(rank, n, inembed, istride, idist, onembed, ostride, odist, type, batch, ref size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cufftEstimateMany", res));
			if (res != cufftResult.Success)
				throw new CudaFFTException(res);
			return size;
		}
public static SizeT EstimateSize ( int rank , int [ ] n , int batch , cufftType type , int [ ] inembed , int istride , int idist , int [ ] onembed , int ostride , int odist ) { SizeT size = new SizeT ( ) ; cufftResult res = CudaFFTNativeMethods . cufftEstimateMany ( rank , n , inembed , istride , idist , onembed , ostride , odist , type , batch , ref size ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != cufftResult . Success ) throw new CudaFFTException ( res ) ; return size ; }
During plan execution, CUFFT requires a work area for temporary storage of
intermediate results.
During plan execution CUFFT requires a work area for temporary storage of intermediate results .
None
rank
int
Dimensionality of the transform (1, 2, or 3)
Dimensionality of the transform ( 1 2 or 3 )
n
int[]
An array of size rank, describing the size of each dimension
An array of size rank describing the size of each dimension
batch
int
Batch size for this transform
Batch size for this transform
type
cufftType
Transform data type
Transform data type
inembed
int[]
See CUFFT Manual
See CUFFT Manual
istride
int
See CUFFT Manual
See CUFFT Manual
idist
int
See CUFFT Manual
See CUFFT Manual
onembed
int[]
See CUFFT Manual
See CUFFT Manual
ostride
int
See CUFFT Manual
See CUFFT Manual
odist
int
See CUFFT Manual
See CUFFT Manual