Library/ManagedCuda/NPP/NPPImage_16sC4.cs
/// <summary>
/// image L1 norm. No additional buffer is allocated.
/// </summary>
/// <param name="norm">Allocated device memory with size of at least 4 * sizeof(double)</param>
/// <param name="buffer">Allocated device memory with size of at <see cref="NormL1GetBufferHostSize()"/></param>
image L1 norm. No additional buffer is allocated.
image L1 norm . No additional buffer is allocated .
public void NormL1(CudaDeviceVariable<double> norm, CudaDeviceVariable<byte> buffer)
		{
			int bufferSize = NormL1GetBufferHostSize();
			if (bufferSize > buffer.Size) throw new NPPException("Provided buffer is too small.");
			status = NPPNativeMethods.NPPi.NormL1.nppiNorm_L1_16s_C4R(_devPtrRoi, _pitch, _sizeRoi, norm.DevicePointer, buffer.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiNorm_L1_16s_C4R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void NormL1 ( CudaDeviceVariable < double > norm , CudaDeviceVariable < byte > buffer ) { int bufferSize = NormL1GetBufferHostSize ( ) ; if ( bufferSize > buffer . Size ) throw new NPPException ( " " ) ; status = NPPNativeMethods . NPPi . NormL1 . nppiNorm_L1_16s_C4R ( _devPtrRoi , _pitch , _sizeRoi , norm . DevicePointer , buffer . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
image L1 norm.
image L1 norm .
norm
CudaDeviceVariable<double>
Allocated device memory with size of at least 4 * sizeof(double)
Allocated device memory with size of at least 4 * sizeof ( double )
buffer
CudaDeviceVariable<byte>
Allocated device memory with size of at
Allocated device memory with size of at