Library/ManagedCuda/CudaFFT/CudaFFTNativeMethods.cs
/// <summary>
/// This call gives a more accurate estimate of the work area size required for a plan than
/// cufftEstimate1d(), given the specified parameters, and taking into account any plan
/// settings that may have been made.
/// </summary>
/// <param name="handle">cufftHandle object</param>
/// <param name="nx">The transform size (e.g. 256 for a 256-point FFT)</param>
/// <param name="type">The transform data type (e.g., CUFFT_C2C for single
/// precision complex to complex)</param>
/// <param name="batch">Number of transforms of size nx</param>
/// <param name="workSize">Pointer to the size of the work space</param>
/// <returns></returns>
This call gives a more accurate estimate of the work area size required for a plan than
cufftEstimate1d(), given the specified parameters, and taking into account any plan
settings that may have been made.
This call gives a more accurate estimate of the work area size required for a plan than cufftEstimate1d () given the specified parameters and taking into account any plan settings that may have been made .
[DllImport(CUFFT_API_DLL_NAME)]
		public static extern cufftResult cufftGetSize1d(cufftHandle handle, 
                                    int nx, 
                                    cufftType type, 
                                    int batch,
									ref SizeT workSize);
[ DllImport ( CUFFT_API_DLL_NAME ) ] public static extern cufftResult cufftGetSize1d ( cufftHandle handle , int nx , cufftType type , int batch , ref SizeT workSize ) ;
This call gives a more accurate estimate of the work area size required for a plan than
cufftEstimate1d(), given the specified parameters, and taking into account any plan
settings that may have been made.
This call gives a more accurate estimate of the work area size required for a plan than cufftEstimate1d () given the specified parameters and taking into account any plan settings that may have been made .
None
handle
cufftHandle
None
nx
int
The transform size
The transform size
type
cufftType
The transform data type
The transform data type
batch
int
Number of transforms of size nx
Number of transforms of size nx
SizeT
ref
workSize
Pointer to the size of the work space
Pointer to the size of the work space