Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

IppMalloc vs IppsMalloc_8u

zuliani
Beginner
519 Views
Can somebody tell me if there exists a difference between the pairs:

IppMalloc(len) / IppFree()

and:

IppsMalloc_8u(len) / IppsFree()

where len is the number of bytes to allocate?
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
519 Views
Hello,

basically there is no difference between these functions. Both allocating array of bytes (where for example ippsMalloc_16s allocates array of short integers) and both provide the same alignment for allocated buffer.

It is recommended you use corresponding free functions, ippFree for ippMalloc and ippsFree for all ippsMalloc variants.

Regards,
Vladimir
Reply