Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

A simple IPP replacement for some CRT functions

Ricardo_Costa
Beginner
405 Views
Hi,

In order to have a quick start and take advantage of IPP on all my applications, I've written a simple header that implements the main CRT functionsand translates them into IPP calls. Using it with an existing application is easy since the parameters are designed tobe the same as the CRT's. I measured gains in performancefrom 20% to 40%when compared to CRT.

Currently, I've added replacements for memcpy, memcmp, memset, memmove, ZeroMemory and strlen. The source codeis inpublic domain. It's using the static libs by default but can be adapted to use the DLLs. The functions are name Ippx*and can be #defined to replace the default CRT functions if you want.

It's an easy and straight-forward start for people new to IPP and the performance improvements on your existing code come for free.
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
405 Views

Hi Ricardo,

thank you for valuable contribution to IPP Developers Community!

Regards,
Vladimir
0 Kudos
Reply