- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I use TBB todo filtering with IPPfunction "ippsFIR_32fc", each thead works on portion of data. But the results are quite strange. I can see a lot of glitch (very large values)into the output data.
The code is as following:
parallel_for(tbb::blocked_range
void operator() (const blocked_range
{
Int begin = r.begin();
Int end = r.end();
Int nIters = end - begin;
ippsFIR_32fc(m_inP + begin, m_outP + begin, nIters, m_stateP);
}
If I remove the IPP function "ippsFIR_32fc" with "ippsCopy_32f", the multiple thread copy functionality works fine.
Could you please help me?
Link Copied
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a post in one of recent threadson IPP forum that IPP team is cosidering / planing a release of non-threaded
version of IPP library. All threading will be a responsibility of users / developersof IPP library.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It may be entirely reasonable to use MKL sequential (non-threaded) functions in a tbb parallel region. The usual reason would be that you get better parallelism by running simultaneous independent analyses than by threading one analysis at a time. I don't know about the IPP equivalent.
You can't get consistent results with threading if multiple threads are trying to write the same array sections. That's called a race condition, where you don't know which thread will have the final say, and the thread which gets there last will be delayed waiting for earlier threads to complete their access.
- 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
There is a post in one of recent threadson IPP forum that IPP team is cosidering / planing a release of non-threaded
version of IPP library. All threading will be a responsibility of users / developersof IPP library.
Here is a link to a post:
http://software.intel.com/en-us/forums/showpost.php?p=189800
...Another reason is that as there are more and more multi-threading methods used by our users, we
plan to remove the internal threading of IPP functionsso that user canusesuitable multi-threadsaccording
to their requirements...
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sergey Kostrov wrote:Thank you, Sergey. Could you please provide a link?Some additional technical details are provided in a thread with the same 'Forum topic' on TBB forum. Please take a look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page