<?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 I just did the upgrade and in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/quot-IOC-Engine-crashed-quot-when-building-kernel/m-p/918492#M1389</link>
    <description>&lt;P&gt;I just did the upgrade and the formerly problematic code runs like a charm.&lt;/P&gt;
&lt;P&gt;Thank you for the info.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Oct 2013 15:21:54 GMT</pubDate>
    <dc:creator>Chris_Juelg</dc:creator>
    <dc:date>2013-10-02T15:21:54Z</dc:date>
    <item>
      <title>"IOC Engine crashed" when building kernel</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/quot-IOC-Engine-crashed-quot-when-building-kernel/m-p/918488#M1385</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;typedef union _float3 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct {float x, y, z;};&lt;BR /&gt;} _float3;&lt;BR /&gt;&lt;BR /&gt;__kernel void myKernel(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _float3 offset,&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; __global float * output ) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;output[0] += offset.z;&lt;BR /&gt;}&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;When using KernelBuilder64 to build this kernel, I receive "Error occured, IOC Engine crashed" in an error popup, no compiler output in the Console and the following on stdout:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Bitcast type must not be aggregate&lt;BR /&gt;&amp;nbsp; %0 = bitcast i8* %pBuffer to %struct.anon&lt;BR /&gt;Instruction does not dominate all uses!&lt;BR /&gt;&amp;nbsp; %0 = bitcast i8* %pBuffer to %struct.anon&lt;BR /&gt;&amp;nbsp; %offset.coerce01.i = extractvalue %struct.anon %0, 0&lt;BR /&gt;Instruction does not dominate all uses!&lt;BR /&gt;&amp;nbsp; %offset.coerce01.i = extractvalue %struct.anon %0, 0&lt;BR /&gt;&amp;nbsp; %5 = fadd float %4, %offset.coerce01.i&lt;BR /&gt;Instruction does not dominate all uses!&lt;BR /&gt;&amp;nbsp; %5 = fadd float %4, %offset.coerce01.i&lt;BR /&gt;&amp;nbsp; store float %5, float addrspace(1)* %3, align 4&lt;BR /&gt;Broken module found, compilation aborted!&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I use KernelBuilder64 3.0.0.1 from Intel® SDK for OpenCL* Applications XE 2013 on OpenSuse 12.2&lt;BR /&gt;The same kernel compiles without warning using the Nvidia OpenCL compiler. It also compiles as C99 with gcc when adapting the kernel function signature.&lt;/P&gt;
&lt;P&gt;Just compiling this kernel in KernelBuilder works fine:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Setting target instruction set architecture to: Default&lt;BR /&gt;Intel OpenCL CPU device was found!&lt;BR /&gt;Device name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz&lt;BR /&gt;Device version: OpenCL 1.2 (Build 67279)&lt;BR /&gt;Device vendor: Intel(R) Corporation&lt;BR /&gt;Device profile: FULL_PROFILE&lt;BR /&gt;Compilation started&lt;BR /&gt;Compilation done&lt;BR /&gt;&lt;BR /&gt;Compilation succeeded!&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Using a simple struct instead of the union of struct removes the error, but makes the rest of my program more complicated.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2013 14:09:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/quot-IOC-Engine-crashed-quot-when-building-kernel/m-p/918488#M1385</guid>
      <dc:creator>Chris_Juelg</dc:creator>
      <dc:date>2013-09-04T14:09:12Z</dc:date>
    </item>
    <item>
      <title>i just noticed that the</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/quot-IOC-Engine-crashed-quot-when-building-kernel/m-p/918489#M1386</link>
      <description>&lt;P&gt;i just noticed that the actual stdout message for the given kernel is:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Bitcast type must not be aggregate&lt;BR /&gt;&amp;nbsp; %1 = bitcast i8* %0 to %union._float3&lt;BR /&gt;Instruction does not dominate all uses!&lt;BR /&gt;&amp;nbsp; %1 = bitcast i8* %0 to %union._float3&lt;BR /&gt;&amp;nbsp; %5 = extractvalue %union._float3 %1, 0&lt;BR /&gt;Instruction does not dominate all uses!&lt;BR /&gt;&amp;nbsp; %5 = extractvalue %union._float3 %1, 0&lt;BR /&gt;&amp;nbsp; %6 = extractvalue %struct.anon %5, 0&lt;BR /&gt;Instruction does not dominate all uses!&lt;BR /&gt;&amp;nbsp; %6 = extractvalue %struct.anon %5, 0&lt;BR /&gt;&amp;nbsp; %8 = fadd float %7, %6&lt;BR /&gt;Instruction does not dominate all uses!&lt;BR /&gt;&amp;nbsp; %8 = fadd float %7, %6&lt;BR /&gt;&amp;nbsp; store float %8, float addrspace(1)* %4, align 4&lt;BR /&gt;Broken module found, compilation aborted!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 04 Sep 2013 14:25:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/quot-IOC-Engine-crashed-quot-when-building-kernel/m-p/918489#M1386</guid>
      <dc:creator>Chris_Juelg</dc:creator>
      <dc:date>2013-09-04T14:25:29Z</dc:date>
    </item>
    <item>
      <title>Hi Chris,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/quot-IOC-Engine-crashed-quot-when-building-kernel/m-p/918490#M1387</link>
      <description>Hi Chris,

Indeed, I see this behavior on latest released version (XE 2013), but our internal development version builds this kernel just fine.
So, please expect a fix to be available in next version of our SDK. I don't have any estimate about the date though.

Thanks,
Yuri</description>
      <pubDate>Thu, 05 Sep 2013 08:24:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/quot-IOC-Engine-crashed-quot-when-building-kernel/m-p/918490#M1387</guid>
      <dc:creator>Yuri_K_Intel</dc:creator>
      <dc:date>2013-09-05T08:24:45Z</dc:date>
    </item>
    <item>
      <title>Chris,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/quot-IOC-Engine-crashed-quot-when-building-kernel/m-p/918491#M1388</link>
      <description>Chris,

Recently released version (XE 2013 R2, &lt;A href="http://software.intel.com/en-us/vcsource/tools/opencl-sdk-xe)" target="_blank"&gt;http://software.intel.com/en-us/vcsource/tools/opencl-sdk-xe)&lt;/A&gt; contains a fix for this issue.
Could you please upgrade to it and verify the fix?

Thanks,
Yuri</description>
      <pubDate>Wed, 02 Oct 2013 10:13:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/quot-IOC-Engine-crashed-quot-when-building-kernel/m-p/918491#M1388</guid>
      <dc:creator>Yuri_K_Intel</dc:creator>
      <dc:date>2013-10-02T10:13:34Z</dc:date>
    </item>
    <item>
      <title>I just did the upgrade and</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/quot-IOC-Engine-crashed-quot-when-building-kernel/m-p/918492#M1389</link>
      <description>&lt;P&gt;I just did the upgrade and the formerly problematic code runs like a charm.&lt;/P&gt;
&lt;P&gt;Thank you for the info.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Oct 2013 15:21:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/quot-IOC-Engine-crashed-quot-when-building-kernel/m-p/918492#M1389</guid>
      <dc:creator>Chris_Juelg</dc:creator>
      <dc:date>2013-10-02T15:21:54Z</dc:date>
    </item>
  </channel>
</rss>

