Community
cancel
Showing results for 
Search instead for 
Did you mean: 
zuliani
Beginner
95 Views

IppMalloc vs IppsMalloc_8u

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
95 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