Library/ManagedCuda/NPP/NPPImage_8uC3.cs
/// <summary>
/// Image pixel maximum. No additional buffer is allocated.
/// </summary>
/// <param name="max">Allocated device memory with size of at least 3 * sizeof(byte)</param>
/// <param name="buffer">Allocated device memory with size of at <see cref="MaxGetBufferHostSize()"/></param>
Image pixel maximum. No additional buffer is allocated.
Image pixel maximum . No additional buffer is allocated .
public void Max(CudaDeviceVariable<byte> max, CudaDeviceVariable<byte> buffer)
		{
			int bufferSize = MaxGetBufferHostSize();
			if (bufferSize > buffer.Size) throw new NPPException("Provided buffer is too small.");
			status = NPPNativeMethods.NPPi.Max.nppiMax_8u_C3R(_devPtrRoi, _pitch, _sizeRoi, buffer.DevicePointer, max.DevicePointer);
			Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiMax_8u_C3R", status));
			NPPException.CheckNppStatus(status, this);
		}
public void Max ( CudaDeviceVariable < byte > max , CudaDeviceVariable < byte > buffer ) { int bufferSize = MaxGetBufferHostSize ( ) ; if ( bufferSize > buffer . Size ) throw new NPPException ( " " ) ; status = NPPNativeMethods . NPPi . Max . nppiMax_8u_C3R ( _devPtrRoi , _pitch , _sizeRoi , buffer . DevicePointer , max . DevicePointer ) ; Debug . WriteLine ( String . Format ( " " , DateTime . Now , " " , status ) ) ; NPPException . CheckNppStatus ( status , this ) ; }
Image pixel maximum.
Image pixel maximum .
max
CudaDeviceVariable<byte>
Allocated device memory with size of at least 3 * sizeof(byte)
Allocated device memory with size of at least 3 * sizeof ( byte )
buffer
CudaDeviceVariable<byte>
Allocated device memory with size of at
Allocated device memory with size of at