- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Delwyn
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
the most radical way is to use IPP static libraries instead of DLLs. IPP static libraries does not contain any internal threading at all.
Regarding IPP DLLs you can control how many threads will be used inside of IPP by call ippSetNumThreads function. So if you set only 1 thread - IPP will not use threading inside.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your prompt reply!
When I set ippSetNumThreads(1), calling an IPP function results in a newthread being created. Is there a way, without static linking, of preventing the creation of any threads by the IPP code? If not, istherea workaround for the problem I described, where my application won't exit! It seems it mightbe a bug in the IPP threading code. An additional problem I had before setting numThreads to 1 was that IPP functions would hang up in libguide on the second time they were called. I wonder whether it's to dowith callingIPP functions from multiple threads, which are themselves created and deleted on demand by my app?
Regards,
Delwyn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vladimir,
Do you have any information on the problem I describe with threading? I have been unsuccessful so far in working around it.
Regards,
Delwyn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Delwyn,
we did not face such throubles when we test IPP threading, but thinking more about your issue I got anidea that problem can be related to different versions of libguide library. As you had IPP v4.1 it is very probable that you still have old libguide40.dll somewhere in your system and loader fond it before new libguide40.dll from IPP v5.0. Could you please check if new libguide dll is located in your PATH environment earlier than the old one?
There is no other way to disable OMP threading in IPP.
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, thanks
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Vladimir,
I have written a short program to demonstrate this bug. It is as I suspected, if you call ipp functions which use threading from worker threads, the application will not exit (hangs in libguide). If you also call ipp functions from the main thread it closes down correctly. The support issue number is 339297.
Thanks,
Delwyn

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page