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

Add, Sub with Carry [ippsAdd_8u_Sfs, ippsSub_8u_ISfs]

Vinicius_Strasser
372 Views
I could not find yet how to do Add and Sub with carry enabled.
For this example, the type used is 8u:
255 + 1 = 0 ::: but the result from IPP is 255 (ippsAdd_8u_Sfs)
0 - 1 = 255 ::: but, again the result from IPP, is 0 (ippsSub_8u_ISfs)
I am really new in IPP and up to now, I am convinced about the performance gain. But this features are really needed in my project.
Any help will be welcome.
Thanks
0 Kudos
1 Reply
Vladimir_Dudnik
Employee
372 Views
Hello,

for integer data types IPP use saturation and scaling. I would recommend you to look through IPP reference manual, section Overview, article IPP Concepts for more details.

Regards,
Vladimir
0 Kudos
Reply