Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Speed of function in IPP

postaquestion
Beginner
197 Views

Hello. I am using IPP library with .NET. I do it somehow like this:
[DllImport(lib)]
public static extern IppStatus ippsCrossCorr_32fc(Complex_f* pSrc1, int len1, Complex_f* pSrc2, int len2, Complex_f* pDst, int dstLen, int lowLag);

I tested the speed of this function's execution in C++ and C# and C++ is about 10% better. How can you explain that? I know that C# is managed and a bit slower than unmanaged C++ but there is no reason to be slow in this case because all work is done inside binary dll. Thanks.

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
197 Views

All work is done inside DLL except data marshalling required by managed runtime.

Vladimir

Reply