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