Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Can ippsTanh be used in-place?

dast
Beginner
107 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
107 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
Reply