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

Why is static link slow ?

koigoemoe
Beginner
406 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
406 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

0 Kudos
2 Replies
Ying_H_Intel
Employee
407 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
0 Kudos
koigoemoe
Beginner
406 Views
Hi Ying,

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

Koigoemoe
0 Kudos
Reply