<?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 Directx9 code has a &amp;quot;D3DERR in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-and-Directx9-error/m-p/1112310#M5324</link>
    <description>&lt;P&gt;Directx9 code has a "D3DERR_DEVICEHUNG" code to force the GPU reset.&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2016 03:05:15 GMT</pubDate>
    <dc:creator>lucas_w_</dc:creator>
    <dc:date>2016-08-26T03:05:15Z</dc:date>
    <item>
      <title>OpenCL and Directx9 error</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-and-Directx9-error/m-p/1112309#M5323</link>
      <description>&lt;P&gt;&amp;nbsp; &amp;nbsp;Hi guys. there is error that annoys&amp;nbsp;me several days.&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;PC info : win10 , Intel Core I5-5200U CPU with HD Graphics 5500. driver version:10.18.15.4248,driver date:6/19/2015&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; My program uses OpenCL and Directx9. But OpenCL &amp;nbsp;doesn't interlace with Directx9, that means I use OpenCL to process image data, copy the data back to host,and then &amp;nbsp;data will be processed for other method. At last the data will display with Directx9.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; Program is multi-thread. For class of processing image data,there will be several thread to call the same function &amp;nbsp;through overload for different methods, but there is one entity for this class. and only one method uses OpenCL. Supposed, thread A and B will execute this class,and thread B used OpenCL, and thread C will execute display with Directx9.&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;I find that:&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; 1)if &amp;nbsp;threadA initializes and releases OpenCL resouces, threadB uses OpenCL with creating buffer and launching kernel, thread C executes the normal code. OpenCL code &lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;executes successfully ,but if&amp;nbsp;&lt;/SPAN&gt;thread A &amp;nbsp;and thread B exit,there is a error that display driver stopped responding and has recovered.&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; 2) thread A and &amp;nbsp;B do the same operations as above,thread C doesn't execute&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Directx9 code. there is no error.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;3) if thread B initializes OpenCL resouces, and uses OpenCL, thread A release OpenCL resouces.&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;thread C executes the normal code.. there is no error.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp; &amp;nbsp; 4) I change the PC ,with the same driver ,but GPU is HD 4600. for 1),there is no error.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; program is the &amp;nbsp;commercial product, so I can't upload the code .sorry.&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; I can't explain this error. Can somebody help me ? thx!&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 02:54:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-and-Directx9-error/m-p/1112309#M5323</guid>
      <dc:creator>lucas_w_</dc:creator>
      <dc:date>2016-08-26T02:54:19Z</dc:date>
    </item>
    <item>
      <title>Directx9 code has a "D3DERR</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-and-Directx9-error/m-p/1112310#M5324</link>
      <description>&lt;P&gt;Directx9 code has a "D3DERR_DEVICEHUNG" code to force the GPU reset.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 03:05:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-and-Directx9-error/m-p/1112310#M5324</guid>
      <dc:creator>lucas_w_</dc:creator>
      <dc:date>2016-08-26T03:05:15Z</dc:date>
    </item>
  </channel>
</rss>

