Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.

Why is static link slow ?

koigoemoe
Beginner
113 Views

Hi, I'm new to this forum.
I have a question about static link of IPP.
I made a wavelet transform program using IPP6.1.
When I built it with static link, the processing speed became slower than those with dynamic link.
Why ?
Are there any methods to keep the speed as fast as dynamic link ?

0 Kudos
1 Solution
Ying_H_Intel
Employee
113 Views
Hi Koigoemoe,

Welcome!

When you link IPP with static library, do you call the functionippStaticInit() before call other IPP functions?

Here isIPP KB article Intel IPP - Intel IPP linkage models - quick reference guide for your referece.

If the function don't help, you mayattach one small test case which can show the problem here.

Regards,
Ying

View solution in original post

2 Replies
Ying_H_Intel
Employee
114 Views
Hi Koigoemoe,

Welcome!

When you link IPP with static library, do you call the functionippStaticInit() before call other IPP functions?

Here isIPP KB article Intel IPP - Intel IPP linkage models - quick reference guide for your referece.

If the function don't help, you mayattach one small test case which can show the problem here.

Regards,
Ying
koigoemoe
Beginner
113 Views
Hi Ying,

I missed ippStaticInit().
After adding it, the speed became the same.
Thank you very much.

Koigoemoe
Reply