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

Composite ippi functions

Adriaan_van_Os
New Contributor I
1,216 Views

When I need a sequence of ippi functions for a composite operation I could, of course, call those ippi functions in sequence. However, for large images that would be a rather bad usage of the CPU Ln caches.

Another solution is to create a composite "ippi" function that calls for each row the equivalent series of ipps functions. An added advantage is that this can be threaded easily, by giving each thread its own set of rows.

If the RowBytes (StepSize) of the image(s) equal(s) the PixelSize multiplied by the ImageWidth, we can work per chunk rather than per row. Let's assume that sysctlbyname with "hw.l1dcachesize" returns the L1 cache per core. The chunk size can be chosen to be that size for in-place operations or half that size for operations from a source to a target.

Is that optimal ? Or what does Intel recommend ?

Regards,

Adriaan van Os

 

0 Kudos
3 Replies
Ruqiu_C_Intel
Moderator
1,216 Views

Hello Adiaan van Os,

Thanks for your proposal.

For the cache usage, does the link below meet your expectation?

https://software.intel.com/en-us/ipp-dev-guide-cache-optimizations

And, if possible, could you help create ticket for the feature request or enhancement in our online service center through https://supporttickets.intel.com/?lang=en-US

Best Regards,

Ruqiu

0 Kudos
Adriaan_van_Os
New Contributor I
1,216 Views

I am not aware that my question implies a feature request or proposal. And I did read the page you refer to, of course.

Regards,

Adriaan van Os

 

0 Kudos
Ruqiu_C_Intel
Moderator
1,086 Views

We will put the feature request in our developer plan if receive more similar request. Or users can raise a new feature request through Intel online service center https://supporttickets.intel.com/servicecenter?lang=en-US

For this thread, we will no longer respond anymore. Any further interaction in this thread will be considered community only.

Thanks

0 Kudos
Reply