Community
cancel
Showing results for 
Search instead for 
Did you mean: 
koigoemoe
Beginner
31 Views

Why is static link slow ?

Jump to solution

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

Accepted Solutions
Ying_H_Intel
Employee
31 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
32 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

koigoemoe
Beginner
31 Views
Hi Ying,

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

Koigoemoe