<?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 Internal Compiler Error (experimental 2.1 runtime) in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/Internal-Compiler-Error-experimental-2-1-runtime/m-p/1127140#M5637</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I'm trying to build an OpenCL kernel from a SPIR-V binary (using clCreateProgramFromIL). In the call to clBuildProgram I get the following compiler error:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;**Internal compiler error** Cannot select: 0x33f62d0: v8i32 = X86ISD::VBROADCAST 0x33f56f0
  0x33f56f0: i64,ch = CopyFromReg 0x353d310, Register:i64 %vreg5
    0x33f5f40: i64 = Register %vreg5
In function: test_int2_copy
Please report the issue on Intel OpenCL forum 
&lt;A href="https://software.intel.com/en-us/forums/opencl" target="_blank"&gt;https://software.intel.com/en-us/forums/opencl&lt;/A&gt; for assistance. 
 Stack dump:
0.	Running pass 'Function Pass Manager' on module 'main'.
1.	Running pass 'X86 DAG-&amp;gt;DAG Instruction Selection' on function '@test_int2_copy'&lt;/PRE&gt;

&lt;P&gt;My SPIR-V kernel is (disassembled, binary attached):&lt;/P&gt;

&lt;PRE class="brush:;"&gt;; SPIR-V
; Version: 1.0
; Generator: Khronos; 0
; Bound: 20
; Schema: 0
               OpCapability Addresses
               OpCapability Linkage
               OpCapability Kernel
               OpCapability Int64
         %19 = OpExtInstImport "OpenCL.std"
               OpMemoryModel Physical64 OpenCL
               OpEntryPoint Kernel %6 "test_int2_copy"
               OpDecorate %13 BuiltIn GlobalInvocationId
               OpDecorate %13 Constant
               OpDecorate %13 LinkageAttributes "__spirv_BuiltInGlobalInvocationId" Import
          %1 = OpTypeVoid
          %2 = OpTypeInt 32 0
          %3 = OpTypeVector %2 2
          %4 = OpTypePointer CrossWorkgroup %3
          %5 = OpTypeFunction %1 %4 %4
         %11 = OpTypeVector %2 3
         %12 = OpTypePointer UniformConstant %11
         %13 = OpVariable %12 UniformConstant
         %10 = OpConstant %2 0
          %6 = OpFunction %1 None %5
          %7 = OpFunctionParameter %4
          %8 = OpFunctionParameter %4
          %9 = OpLabel
         %14 = OpLoad %11 %13
         %15 = OpVectorExtractDynamic %2 %14 %10
         %16 = OpPtrAccessChain %4 %7 %15
         %17 = OpLoad %3 %16
         %18 = OpPtrAccessChain %4 %8 %15
               OpStore %18 %17
               OpReturn
               OpFunctionEnd
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2017 19:46:01 GMT</pubDate>
    <dc:creator>Markus_U_</dc:creator>
    <dc:date>2017-09-19T19:46:01Z</dc:date>
    <item>
      <title>Internal Compiler Error (experimental 2.1 runtime)</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/Internal-Compiler-Error-experimental-2-1-runtime/m-p/1127140#M5637</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I'm trying to build an OpenCL kernel from a SPIR-V binary (using clCreateProgramFromIL). In the call to clBuildProgram I get the following compiler error:&lt;/P&gt;

&lt;PRE class="brush:;"&gt;**Internal compiler error** Cannot select: 0x33f62d0: v8i32 = X86ISD::VBROADCAST 0x33f56f0
  0x33f56f0: i64,ch = CopyFromReg 0x353d310, Register:i64 %vreg5
    0x33f5f40: i64 = Register %vreg5
In function: test_int2_copy
Please report the issue on Intel OpenCL forum 
&lt;A href="https://software.intel.com/en-us/forums/opencl" target="_blank"&gt;https://software.intel.com/en-us/forums/opencl&lt;/A&gt; for assistance. 
 Stack dump:
0.	Running pass 'Function Pass Manager' on module 'main'.
1.	Running pass 'X86 DAG-&amp;gt;DAG Instruction Selection' on function '@test_int2_copy'&lt;/PRE&gt;

&lt;P&gt;My SPIR-V kernel is (disassembled, binary attached):&lt;/P&gt;

&lt;PRE class="brush:;"&gt;; SPIR-V
; Version: 1.0
; Generator: Khronos; 0
; Bound: 20
; Schema: 0
               OpCapability Addresses
               OpCapability Linkage
               OpCapability Kernel
               OpCapability Int64
         %19 = OpExtInstImport "OpenCL.std"
               OpMemoryModel Physical64 OpenCL
               OpEntryPoint Kernel %6 "test_int2_copy"
               OpDecorate %13 BuiltIn GlobalInvocationId
               OpDecorate %13 Constant
               OpDecorate %13 LinkageAttributes "__spirv_BuiltInGlobalInvocationId" Import
          %1 = OpTypeVoid
          %2 = OpTypeInt 32 0
          %3 = OpTypeVector %2 2
          %4 = OpTypePointer CrossWorkgroup %3
          %5 = OpTypeFunction %1 %4 %4
         %11 = OpTypeVector %2 3
         %12 = OpTypePointer UniformConstant %11
         %13 = OpVariable %12 UniformConstant
         %10 = OpConstant %2 0
          %6 = OpFunction %1 None %5
          %7 = OpFunctionParameter %4
          %8 = OpFunctionParameter %4
          %9 = OpLabel
         %14 = OpLoad %11 %13
         %15 = OpVectorExtractDynamic %2 %14 %10
         %16 = OpPtrAccessChain %4 %7 %15
         %17 = OpLoad %3 %16
         %18 = OpPtrAccessChain %4 %8 %15
               OpStore %18 %17
               OpReturn
               OpFunctionEnd
&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 19:46:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/Internal-Compiler-Error-experimental-2-1-runtime/m-p/1127140#M5637</guid>
      <dc:creator>Markus_U_</dc:creator>
      <dc:date>2017-09-19T19:46:01Z</dc:date>
    </item>
  </channel>
</rss>

