Library/ManagedCuda/CudaFFT/BasicFFTTypes.cs
/// <summary>
/// SetAutoAllocation() indicates that the caller intends to allocate and manage
/// work areas for plans that have been generated. CUFFT default behavior is to allocate
/// the work area at plan generation time. If cufftSetAutoAllocation() has been called
/// with autoAllocate set to "false" prior to one of the cufftMakePlan*() calls, CUFFT
/// does not allocate the work area. This is the preferred sequence for callers wishing to
/// manage work area allocation.
/// </summary>
/// <param name="autoAllocate"></param>
SetAutoAllocation() indicates that the caller intends to allocate and manage
work areas for plans that have been generated. CUFFT default behavior is to allocate
the work area at plan generation time. If cufftSetAutoAllocation() has been called
with autoAllocate set to "false" prior to one of the cufftMakePlan*() calls, CUFFT
does not allocate the work area. This is the preferred sequence for callers wishing to
manage work area allocation.
SetAutoAllocation () indicates that the caller intends to allocate and manage work areas for plans that have been generated . CUFFT default behavior is to allocate the work area at plan generation time . If cufftSetAutoAllocation () has been called with autoAllocate set to " false " prior to one of the cufftMakePlan * () calls CUFFT does not allocate the work area . This is the preferred sequence for callers wishing to manage work area allocation .
public void SetAutoAllocation(bool autoAllocate)
		{
			int auto = 0;
			if (autoAllocate) auto = 1;
			cufftResult res = CudaFFTNativeMethods.cufftSetAutoAllocation(this, auto);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cufftSetAutoAllocation", res));
			if (res != cufftResult.Success)
				throw new CudaFFTException(res);
		}
public void SetAutoAllocation ( bool autoAllocate ) { int auto = 0 ; if ( autoAllocate ) auto = 1 ; cufftResult res = CudaFFTNativeMethods . cufftSetAutoAllocation ( this , auto ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != cufftResult . Success ) throw new CudaFFTException ( res ) ; }
SetAutoAllocation() indicates that the caller intends to allocate and manage
work areas for plans that have been generated.
SetAutoAllocation () indicates that the caller intends to allocate and manage work areas for plans that have been generated .
autoAllocate
bool
None