Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

IppMalloc vs IppsMalloc_8u

zuliani
Beginner
1,598 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
1,598 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