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

IppMalloc vs IppsMalloc_8u

zuliani
Beginner
937 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
937 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
0 Kudos
Reply