ManagedCuda.NPP.NPPImage_8uC3.NormInf C# (CSharp) Method

NormInf() public method

image infinity norm. Buffer is internally allocated and freed.
public NormInf ( CudaDeviceVariable norm ) : void
norm CudaDeviceVariable Allocated device memory with size of at least 3 * sizeof(double)
return void
        public void NormInf(CudaDeviceVariable<double> norm)
        {
            int bufferSize = NormInfGetBufferHostSize();
            CudaDeviceVariable<byte> buffer = new CudaDeviceVariable<byte>(bufferSize);

            status = NPPNativeMethods.NPPi.NormInf.nppiNorm_Inf_8u_C3R(_devPtrRoi, _pitch, _sizeRoi, norm.DevicePointer, buffer.DevicePointer);
            Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiNorm_Inf_8u_C3R", status));
            buffer.Dispose();
            NPPException.CheckNppStatus(status, this);
        }

Same methods

NPPImage_8uC3::NormInf ( CudaDeviceVariable norm, CudaDeviceVariable buffer ) : void
NPPImage_8uC3::NormInf ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask ) : void
NPPImage_8uC3::NormInf ( int coi, CudaDeviceVariable norm, NPPImage_8uC1 mask, CudaDeviceVariable buffer ) : void
NPPImage_8uC3