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

Can ippsTanh be used in-place?

dast
Beginner
216 Views
Is it allowed to use the ippsTanh-method in-place, like:

float * ptr = ...;
ippsTanh_32f_A24(ptr, ptr, 100);

I didn't found any information in the documentation; i tested it and it seems to work!

Thanks and regards,
Daniel.
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
216 Views
Damiel,

although it made work it is not guaranteed by API. In IPP we have this quite straightforward approach: we provide special 'in-place' API where we can guarantee the function will work in that way.

Regards,
Vladimir
0 Kudos
Reply