Library/ManagedCuda/CudaBlas/CudaBlasHandler.cs
/// <summary>
/// This function copies the vector x into the vector y.
/// </summary>
/// <param name="x"></param>
/// <param name="incx"></param>
/// <param name="y"></param>
/// <param name="incy"></param>
This function copies the vector x into the vector y.
This function copies the vector x into the vector y .
public void Copy(CudaDeviceVariable<cuFloatReal> x, int incx, CudaDeviceVariable<cuFloatReal> y, int incy)
		{
			_status = CudaBlasNativeMethods.cublasScopy_v2(_blasHandle, x.Size, x.DevicePointer, incx, y.DevicePointer, incy);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cublasScopy_v2", _status));
			if (_status != CublasStatus.Success) throw new CudaBlasException(_status);
		}
public void Copy ( CudaDeviceVariable < cuFloatReal > x , int incx , CudaDeviceVariable < cuFloatReal > y , int incy ) { _status = CudaBlasNativeMethods . cublasScopy_v2 ( _blasHandle , x . Size , x . DevicePointer , incx , y . DevicePointer , incy ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , _status ) ) ; if ( _status != CublasStatus . Success ) throw new CudaBlasException ( _status ) ; }
This function copies the vector x into the vector y.
This function copies the vector x into the vector y .
x
CudaDeviceVariable<cuFloatReal>
None
incx
int
None
y
CudaDeviceVariable<cuFloatReal>
None
incy
int
None