Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Why is static link slow ?

koigoemoe
Beginner
124 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
124 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
125 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
124 Views
Hi Ying,

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

Koigoemoe
Reply