Library/ManagedCuda/CudaFFT/CudaFFTNativeMethods.cs
/// <summary>
/// This call gives a more accurate estimate of the work area size required for a plan than
/// cufftEstimate3d(), 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 in the x dimension</param>
/// <param name="ny">The transform size in the y dimension</param>
/// <param name="nz">The transform size in the z dimension</param>
/// <param name="type">The transform data type (e.g., CUFFT_R2C for single precision real to complex)</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
cufftEstimate3d(), 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 cufftEstimate3d () 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 cufftGetSize3d(cufftHandle handle,
                                    int nx, int ny, int nz, 
                                    cufftType type,
									ref SizeT workSize);
[ DllImport ( CUFFT_API_DLL_NAME ) ] public static extern cufftResult cufftGetSize3d ( cufftHandle handle , int nx , int ny , int nz , cufftType type , ref SizeT workSize ) ;
This call gives a more accurate estimate of the work area size required for a plan than
cufftEstimate3d(), 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 cufftEstimate3d () 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 in the x dimension
The transform size in the x dimension
ny
int
The transform size in the y dimension
The transform size in the y dimension
nz
int
The transform size in the z dimension
The transform size in the z dimension
type
cufftType
The transform data type
The transform data type
SizeT
ref
workSize
Pointer to the size of the work space
Pointer to the size of the work space