<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Erroneous histogram calculation on Multicore in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799982#M3090</link>
    <description>Thanks Igor,&lt;BR /&gt;&lt;BR /&gt;We tried it using HistogramStore object. It's working fine.</description>
    <pubDate>Tue, 08 Nov 2011 11:57:31 GMT</pubDate>
    <dc:creator>Kishor_D_</dc:creator>
    <dc:date>2011-11-08T11:57:31Z</dc:date>
    <item>
      <title>Erroneous histogram calculation on Multicore</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799977#M3085</link>
      <description>Hi,&lt;BR /&gt;
 I tried DMIP Histogram Node .&lt;BR /&gt;
It is giving correct results for histogram of an image for single core platform(P4).&lt;BR /&gt;
&lt;BR /&gt;
This I verified by summing all histogram value and came equal to size(height*width) of an image&lt;BR /&gt;
&lt;BR /&gt;
But same code ,I compiled on (i7 ,Dual core ) platform and executed ,histogram values are not matching.&lt;BR /&gt;
&lt;BR /&gt;
I feel its because DMIP would carrying out histogram operation parallely on different cores.&lt;BR /&gt;
&lt;BR /&gt;
Can someone justify?&lt;BR /&gt;
Any quick help would be greatly appreciated.&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance ,&lt;BR /&gt;
Kishor&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Nov 2011 14:02:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799977#M3085</guid>
      <dc:creator>Kishor_D_</dc:creator>
      <dc:date>2011-11-02T14:02:47Z</dc:date>
    </item>
    <item>
      <title>Erroneous histogram calculation on Multicore</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799978#M3086</link>
      <description>Hi Kishor, &lt;BR /&gt;&lt;BR /&gt;Could you please provide a test case for the problem? You may use private to attach the file if it is confidential. &lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Ying</description>
      <pubDate>Thu, 03 Nov 2011 08:22:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799978#M3086</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2011-11-03T08:22:53Z</dc:date>
    </item>
    <item>
      <title>Erroneous histogram calculation on Multicore</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799979#M3087</link>
      <description>We have tested for various images like, lena.jpg, barbara.jpg, woman.jpg, cameraman.jpg.&lt;BR /&gt;Test platforms are :&lt;BR /&gt;1. Intel P4&lt;BR /&gt;2. Intel dual-core&lt;BR /&gt;3.Intel i-7 (2600)&lt;BR /&gt;&lt;BR /&gt;code:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;// Node creation&lt;BR /&gt; Image *A=&amp;amp;img1; &lt;BR /&gt; Image *D=&amp;amp;dst;&lt;BR /&gt; // Source nodes&lt;BR /&gt; SrcNode *in1=new SrcNode();&lt;BR /&gt; in1-&amp;gt;Init(A);&lt;BR /&gt;&lt;BR /&gt; //&lt;BR /&gt; Scalar nLevels(256);&lt;BR /&gt; Scalar lowerLevel(0);&lt;BR /&gt; Scalar upperLevel(256);&lt;BR /&gt;&lt;BR /&gt; HistogramNode *hgNode = new HistogramNode();&lt;BR /&gt; hgNode-&amp;gt;Init(nLevels,lowerLevel,upperLevel);&lt;BR /&gt;&lt;BR /&gt; Store *hgStoreNode = new Store(1,sizeof(int)*256);&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; DstStoreNode *out= new DstStoreNode();&lt;BR /&gt; &lt;BR /&gt; out-&amp;gt;Init(hgStoreNode);&lt;BR /&gt;&lt;BR /&gt; Graph *g = new Graph();&lt;BR /&gt; g-&amp;gt;Add(in1);&lt;BR /&gt; g-&amp;gt;Add(hgNode);&lt;BR /&gt; g-&amp;gt;Add(out);&lt;BR /&gt;&lt;BR /&gt; g-&amp;gt;Link(0,0,1,0);&lt;BR /&gt; g-&amp;gt;Link(1,0,2,0);&lt;BR /&gt; &lt;BR /&gt; g-&amp;gt;Compile(img-&amp;gt;width,img-&amp;gt;height);&lt;BR /&gt; g-&amp;gt;Execute();&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt; int *histo;&lt;BR /&gt;&lt;BR /&gt; histo=(int*)hgStoreNode-&amp;gt;BufferPtr();</description>
      <pubDate>Tue, 08 Nov 2011 07:11:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799979#M3087</guid>
      <dc:creator>Kishor_D_</dc:creator>
      <dc:date>2011-11-08T07:11:49Z</dc:date>
    </item>
    <item>
      <title>Erroneous histogram calculation on Multicore</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799980#M3088</link>
      <description>We have tested it for lena.jpg, camra.jpg, woman.jpg.&lt;BR /&gt;&lt;BR /&gt;Test Platforms: &lt;BR /&gt;1. Intel P4&lt;BR /&gt;2. Intel dual-core&lt;BR /&gt;3. Intel i-7(2660)&lt;BR /&gt;&lt;BR /&gt;Sample code:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;//Node creation&lt;BR /&gt; Image *A=&amp;amp;img1; &lt;BR /&gt; Image *D=&amp;amp;dst;&lt;BR /&gt; // Source nodes&lt;BR /&gt; SrcNode *in1=new SrcNode();&lt;BR /&gt; in1-&amp;gt;Init(A);&lt;BR /&gt;&lt;BR /&gt; ///&lt;BR /&gt; Scalar nLevels(256);&lt;BR /&gt; Scalar lowerLevel(0);&lt;BR /&gt; Scalar upperLevel(256);&lt;BR /&gt;&lt;BR /&gt; HistogramNode *hgNode = new HistogramNode();&lt;BR /&gt; hgNode-&amp;gt;Init(nLevels,lowerLevel,upperLevel);&lt;BR /&gt;&lt;BR /&gt; Store *hgStoreNode = new Store(1,sizeof(int)*256);&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt; DstStoreNode *out= new DstStoreNode();&lt;BR /&gt; &lt;BR /&gt; out-&amp;gt;Init(hgStoreNode);&lt;BR /&gt;&lt;BR /&gt; Graph *g = new Graph();&lt;BR /&gt; g-&amp;gt;Add(in1);&lt;BR /&gt; g-&amp;gt;Add(hgNode);&lt;BR /&gt; g-&amp;gt;Add(out);&lt;BR /&gt;&lt;BR /&gt; g-&amp;gt;Link(0,0,1,0);&lt;BR /&gt; g-&amp;gt;Link(1,0,2,0);&lt;BR /&gt; &lt;BR /&gt; g-&amp;gt;Compile();&lt;BR /&gt; g-&amp;gt;Execute();&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; int * histo=(int*)hgStoreNode-&amp;gt;BufferPtr();</description>
      <pubDate>Tue, 08 Nov 2011 07:14:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799980#M3088</guid>
      <dc:creator>Kishor_D_</dc:creator>
      <dc:date>2011-11-08T07:14:34Z</dc:date>
    </item>
    <item>
      <title>Erroneous histogram calculation on Multicore</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799981#M3089</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Need to use HistogramStore object instead of Store object for correct histogram accumulation. That why you observe wrong results in multi core environtment.&lt;BR /&gt;&lt;BR /&gt;Igor S. Belyakov&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2011 10:15:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799981#M3089</guid>
      <dc:creator>Igor_B_Intel1</dc:creator>
      <dc:date>2011-11-08T10:15:00Z</dc:date>
    </item>
    <item>
      <title>Erroneous histogram calculation on Multicore</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799982#M3090</link>
      <description>Thanks Igor,&lt;BR /&gt;&lt;BR /&gt;We tried it using HistogramStore object. It's working fine.</description>
      <pubDate>Tue, 08 Nov 2011 11:57:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Erroneous-histogram-calculation-on-Multicore/m-p/799982#M3090</guid>
      <dc:creator>Kishor_D_</dc:creator>
      <dc:date>2011-11-08T11:57:31Z</dc:date>
    </item>
  </channel>
</rss>

