Library/ManagedCuda/CudaRegisteredHostMemoryFixedTypes.cs
/// <summary>
/// Asynchron copy 1D Array to host
/// </summary>
/// <param name="deviceArray"></param>
/// <param name="stream"></param>
/// <param name="offset"></param>
Asynchron copy 1D Array to host
Asynchron copy 1D Array to host
public void AsyncCopyFromArray1D(CUarray deviceArray, CUstream stream, SizeT offset)
		{
			if (disposed) throw new ObjectDisposedException(this.ToString());
			res = DriverAPINativeMethods.AsynchronousMemcpy_v2.cuMemcpyAtoHAsync_v2(this._intPtr, deviceArray, offset, SizeInBytes, stream);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cuMemcpyAtoHAsync", res));
			if (res != CUResult.Success) throw new CudaException(res);
		}
public void AsyncCopyFromArray1D ( CUarray deviceArray , CUstream stream , SizeT offset ) { if ( disposed ) throw new ObjectDisposedException ( this . ToString ( ) ) ; res = DriverAPINativeMethods . AsynchronousMemcpy_v2 . cuMemcpyAtoHAsync_v2 ( this . _intPtr , deviceArray , offset , SizeInBytes , stream ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , res ) ) ; if ( res != CUResult . Success ) throw new CudaException ( res ) ; }
Asynchron copy 1D Array to host
Asynchron copy 1D Array to host
deviceArray
CUarray
None
stream
CUstream
None
offset
SizeT
None