- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Delwyn
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
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
