<?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 Crash on realistic rendering sample using openmp in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Crash-on-realistic-rendering-sample-using-openmp/m-p/872016#M9019</link>
    <description>&lt;P&gt;&lt;BR /&gt;Hello, &lt;/P&gt;&lt;P&gt;It looks to be a memory overflowing error. To process huge models in multithreaded mode, it needs to assign AvailMemory parameter in kd-tree building function appropriately, and prevent memory overflowing error.&lt;/P&gt;&lt;P&gt;The engineer suggested setting this parameter to (Overall available memory)/(numThreads).&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
    <pubDate>Mon, 20 Sep 2010 07:17:37 GMT</pubDate>
    <dc:creator>Chao_Y_Intel</dc:creator>
    <dc:date>2010-09-20T07:17:37Z</dc:date>
    <item>
      <title>Crash on realistic rendering sample using openmp</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Crash-on-realistic-rendering-sample-using-openmp/m-p/872015#M9018</link>
      <description>Hi;&lt;BR /&gt;I'm currently experimenting with IPP's rendering domain support. &lt;BR /&gt;On the ray-tracing sample, when I try to render this ply file:&lt;BR /&gt;&lt;BR /&gt;ftp://ftp.cyberware.com/pub/samples/ms/satva/satva-100.zip&lt;BR /&gt;&lt;BR /&gt;Using openmp multithreading support, the sample crashes while building the parallel kd-tree. (On the KDTreeBuildAlloc line)&lt;BR /&gt;&lt;BR /&gt;This is my command line for using 8 threads (Development machine is core i7 920, but it crashes on a p4 too).&lt;BR /&gt;-n 8 j:\ipp\malaysia-100.ply 1024 1024 j:\ipp\malaysia-100.bmp&lt;BR /&gt;&lt;BR /&gt;Note that _OPENMP must be defined, and openmp support should be enabled on compiler (VS 2008 compiler), otherwise the renderer runs on a single thread. (It incorrectly displays 8 threads used message on finish).&lt;BR /&gt;&lt;BR /&gt;Does anybody have an opinion about this? Is the kdtreebuildalloc function really thread safe? I should note that the sample seems to be running on smaller datasets fine.</description>
      <pubDate>Sat, 12 Sep 2009 21:04:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Crash-on-realistic-rendering-sample-using-openmp/m-p/872015#M9018</guid>
      <dc:creator>Kaan_Gök</dc:creator>
      <dc:date>2009-09-12T21:04:35Z</dc:date>
    </item>
    <item>
      <title>Crash on realistic rendering sample using openmp</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Crash-on-realistic-rendering-sample-using-openmp/m-p/872016#M9019</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hello, &lt;/P&gt;&lt;P&gt;It looks to be a memory overflowing error. To process huge models in multithreaded mode, it needs to assign AvailMemory parameter in kd-tree building function appropriately, and prevent memory overflowing error.&lt;/P&gt;&lt;P&gt;The engineer suggested setting this parameter to (Overall available memory)/(numThreads).&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Chao&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2010 07:17:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Crash-on-realistic-rendering-sample-using-openmp/m-p/872016#M9019</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2010-09-20T07:17:37Z</dc:date>
    </item>
    <item>
      <title>Crash on realistic rendering sample using openmp</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Crash-on-realistic-rendering-sample-using-openmp/m-p/872017#M9020</link>
      <description>Thanks for the reply. It's been over 1 year since I asked that question :) , and I got the same answer from support. (I finished the project using single threaded kd tree construction btw).&lt;DIV&gt;&lt;SPAN style="font-family: Verdana, Arial, Helvetica, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;DIV&gt;The problem here is that available memory is not a solid defined thing, it varies, and memory fragmentation and other unforeseen factors still prevent successful kdtree construction sometimes. (Even if you have the memory).&lt;/DIV&gt;&lt;DIV&gt;I think that the AvailMemory parameter should be ditched in future versions and the kd tree constructor code should do the necessary error checking, and returns an error code so that the application never crashes by setting an incorrect AvailMemory parameter.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 20 Sep 2010 17:23:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Crash-on-realistic-rendering-sample-using-openmp/m-p/872017#M9020</guid>
      <dc:creator>Kaan_Gök</dc:creator>
      <dc:date>2010-09-20T17:23:22Z</dc:date>
    </item>
    <item>
      <title>Crash on realistic rendering sample using openmp</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Crash-on-realistic-rendering-sample-using-openmp/m-p/872018#M9021</link>
      <description>&lt;BR /&gt;Thank you for the update. I agree that availMemory parameter should be check by the sample. I will forward to the code owner. &lt;BR /&gt;&lt;BR /&gt;Chao</description>
      <pubDate>Tue, 21 Sep 2010 06:57:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Crash-on-realistic-rendering-sample-using-openmp/m-p/872018#M9021</guid>
      <dc:creator>Chao_Y_Intel</dc:creator>
      <dc:date>2010-09-21T06:57:24Z</dc:date>
    </item>
  </channel>
</rss>

