public void NormRel_Inf(NPPImage_8uC3 tpl, CudaDeviceVariable<double> pNormRel)
{
int bufferSize = NormRelInfGetBufferHostSize();
CudaDeviceVariable<byte> buffer = new CudaDeviceVariable<byte>(bufferSize);
status = NPPNativeMethods.NPPi.NormRel.nppiNormRel_Inf_8u_C3R(_devPtrRoi, _pitch, tpl.DevicePointerRoi, tpl.Pitch, _sizeRoi, pNormRel.DevicePointer, buffer.DevicePointer);
Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "nppiNormRel_Inf_8u_C3R", status));
buffer.Dispose();
NPPException.CheckNppStatus(status, this);
}