Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!

how to use IPP for relational operations

Randall_W
Beginner
82 Views

Hi,

Apologies if this is a stupid newbie question, but there does not seem to be a way to do vectorized relational operations in IPP. e.g.

[cpp]res = x>0;[/cpp]

Am I missing something here? I can see the thresholding funcitons, but I don't want to set a threshold, I just want the boolean result: x > 0

Thanks for any suggestions.

-Randall.

0 Kudos
2 Replies
matthieu_darbois
New Contributor III
82 Views

Hi,

You can use the "ippiCompareC_" function which will do exactly what you want.

Regards,

Matthieu

Randall_W
Beginner
82 Views
Excellent. Thanks.
Reply