Library/ManagedCuda/CudaFFT/CudaFFTPlan3D.cs
/// <summary>
/// Associates a CUDA stream with a CUFFT plan. All kernel launches
/// made during plan execution are now done through the associated
/// stream, enabling overlap with activity in other streams (for example,
/// data copying). The association remains until the plan is destroyed or
/// the stream is changed with another call to SetStream().
/// </summary>
/// <param name="stream">A valid CUDA stream created with cudaStreamCreate() (or 0 for the default stream)</param>
Associates a CUDA stream with a CUFFT plan. All kernel launches
made during plan execution are now done through the associated
stream, enabling overlap with activity in other streams (for example,
data copying). The association remains until the plan is destroyed or
the stream is changed with another call to SetStream().
Associates a CUDA stream with a CUFFT plan . All kernel launches made during plan execution are now done through the associated stream enabling overlap with activity in other streams ( for example data copying ) . The association remains until the plan is destroyed or the stream is changed with another call to SetStream () .
public void SetStream(CUstream stream)
        {
            res = CudaFFTNativeMethods.cufftSetStream(_handle, stream);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cufftSetStream", res));
            if (res != cufftResult.Success)
                throw new CudaFFTException(res);
        }
public void SetStream ( CUstream stream ) { res = CudaFFTNativeMethods . cufftSetStream ( _handle , stream ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != cufftResult . Success ) throw new CudaFFTException ( res ) ; }
Associates a CUDA stream with a CUFFT plan.
Associates a CUDA stream with a CUFFT plan .
stream
CUstream
A valid CUDA stream created with cudaStreamCreate() (or 0 for the default stream)
A valid CUDA stream created with cudaStreamCreate () ( or 0 for the default stream )