Library/ManagedCuda/CudaBlas/CudaBlasHandler.cs
/// <summary>
/// This function multiplies the vector x by the scalar and adds it to the vector y overwriting
/// the latest vector with the result.
/// </summary>
/// <param name="alpha"></param>
/// <param name="x"></param>
/// <param name="incx"></param>
/// <param name="y"></param>
/// <param name="incy"></param>
This function multiplies the vector x by the scalar and adds it to the vector y overwriting
the latest vector with the result.
This function multiplies the vector x by the scalar and adds it to the vector y overwriting the latest vector with the result .
public void Axpy(cuFloatComplex alpha, CudaDeviceVariable<cuFloatComplex> x, int incx, CudaDeviceVariable<cuFloatComplex> y, int incy)
		{
			_status = CudaBlasNativeMethods.cublasCaxpy_v2(_blasHandle, x.Size, ref alpha, x.DevicePointer, incx, y.DevicePointer, incy);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cublasCaxpy_v2", _status));
			if (_status != CublasStatus.Success) throw new CudaBlasException(_status);
		}
public void Axpy ( cuFloatComplex alpha , CudaDeviceVariable < cuFloatComplex > x , int incx , CudaDeviceVariable < cuFloatComplex > y , int incy ) { _status = CudaBlasNativeMethods . cublasCaxpy_v2 ( _blasHandle , x . Size , ref alpha , x . DevicePointer , incx , y . DevicePointer , incy ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , _status ) ) ; if ( _status != CublasStatus . Success ) throw new CudaBlasException ( _status ) ; }
This function multiplies the vector x by the scalar and adds it to the vector y overwriting
the latest vector with the result.
This function multiplies the vector x by the scalar and adds it to the vector y overwriting the latest vector with the result .
alpha
cuFloatComplex
None
x
CudaDeviceVariable<cuFloatComplex>
None
incx
int
None
y
CudaDeviceVariable<cuFloatComplex>
None
incy
int
None