Library/ManagedCuda/CudaFFT/CudaFFTPlan3D.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="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_C2C for single
/// precision complex to complex)</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 nx, int ny, int nz, cufftType type)
		{
			SizeT size = new SizeT();
			cufftResult res = CudaFFTNativeMethods.cufftEstimate3d(nx, ny, nz, type, ref size);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cufftEstimate3d", res));
			if (res != cufftResult.Success)
				throw new CudaFFTException(res);
			return size;
		}
public static SizeT EstimateSize ( int nx , int ny , int nz , cufftType type ) { SizeT size = new SizeT ( ) ; cufftResult res = CudaFFTNativeMethods . cufftEstimate3d ( nx , ny , nz , type , 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
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