<?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 Also, could you please in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-SPIR-cannot-load-into-runtime-driver/m-p/1097359#M5059</link>
    <description>&lt;P&gt;Also, could you please provide cl_helper.h file. Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2016 19:49:31 GMT</pubDate>
    <dc:creator>Robert_I_Intel</dc:creator>
    <dc:date>2016-03-04T19:49:31Z</dc:date>
    <item>
      <title>OpenCL SPIR cannot load into runtime driver</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-SPIR-cannot-load-into-runtime-driver/m-p/1097357#M5057</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;My system :&amp;nbsp;&lt;/P&gt;

&lt;P&gt;CPU:&amp;nbsp; Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz, 4 Cores / 8 Threads&lt;/P&gt;

&lt;P&gt;OS&amp;nbsp; :&amp;nbsp; Ubuntu 14.04&lt;/P&gt;

&lt;P&gt;OpenCL drivers version:&amp;nbsp; 1.2.0.43 (gathered from OpenCL info queries)&lt;/P&gt;

&lt;P&gt;Intel SDK version :&amp;nbsp; intel sdk 2014 Ubuntu 5.0.0.43_x64&lt;/P&gt;

&lt;P&gt;I have problem of loading SPIR kernels generated by Code Builder(KernelBuilder64 when launching from terminal). The runtime builds after loading binary successfully it seems if we trust build log coming from clProgramBuildInfo (CL_PROGRAM_BUILD_LOG) but when I execute the kernel and print the buffer; it seems values inside the buffer don't change.&lt;/P&gt;

&lt;P&gt;In the attachment, I have an example file "s.cl", also the binary generated by intel tools together with "main.cpp"(my OpenCL code). Finally, the black screenshot to show the output of the main.cpp program.&lt;/P&gt;

&lt;P&gt;Since I failed to load SPIR, I tried the new driver (intel_sdk_for_opencl_2016_ubuntu_6.0.0.1049_x64). But I couldn't even open Code Builder and OpenCL was having problems with clGetPlatfromIds. In the attachement, I also run clDevQuery (from &lt;A href="https://gist.github.com/rmcgibbo/6314452)" target="_blank"&gt;https://gist.github.com/rmcgibbo/6314452)&lt;/A&gt; to show the response I got from the OpenCL runtime systems.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 16:32:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-SPIR-cannot-load-into-runtime-driver/m-p/1097357#M5057</guid>
      <dc:creator>Ahmet_E_</dc:creator>
      <dc:date>2016-03-03T16:32:48Z</dc:date>
    </item>
    <item>
      <title>Hi Ahmet,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-SPIR-cannot-load-into-runtime-driver/m-p/1097358#M5058</link>
      <description>&lt;P&gt;Hi Ahmet,&lt;/P&gt;

&lt;P&gt;Could you please try the following:&lt;/P&gt;

&lt;P&gt;&lt;FONT face="Courier New"&gt;ioc64 -cmd=build -input=your_kernel.cl -spir64=your_kernel_x64.spir -bo="-cl-std=CL1.2"&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;I wonder if the problem is that you are somehow producing a 32-bit spir instead of 64-bit version.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 19:41:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-SPIR-cannot-load-into-runtime-driver/m-p/1097358#M5058</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2016-03-04T19:41:03Z</dc:date>
    </item>
    <item>
      <title>Also, could you please</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-SPIR-cannot-load-into-runtime-driver/m-p/1097359#M5059</link>
      <description>&lt;P&gt;Also, could you please provide cl_helper.h file. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 19:49:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-SPIR-cannot-load-into-runtime-driver/m-p/1097359#M5059</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2016-03-04T19:49:31Z</dc:date>
    </item>
    <item>
      <title>Hi Ahmet,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-SPIR-cannot-load-into-runtime-driver/m-p/1097360#M5060</link>
      <description>&lt;P&gt;Hi Ahmet,&lt;/P&gt;

&lt;P&gt;I tried your code and your SPIR file on Windows and SPIR file works perfectly fine there, so the problem must be with the driver.&lt;/P&gt;

&lt;P&gt;Could you try the following driver? &lt;A href="http://registrationcenter.intel.com/irc_nas/5193/opencl_runtime_15.1_x64_5.0.0.57.tgz"&gt;http://registrationcenter.intel.com/irc_nas/5193/opencl_runtime_15.1_x64_5.0.0.57.tgz&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You may need to ignore the platform warnings.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 22:43:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-SPIR-cannot-load-into-runtime-driver/m-p/1097360#M5060</guid>
      <dc:creator>Robert_I_Intel</dc:creator>
      <dc:date>2016-03-04T22:43:05Z</dc:date>
    </item>
    <item>
      <title>Thank you for your response,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-SPIR-cannot-load-into-runtime-driver/m-p/1097361#M5061</link>
      <description>&lt;P&gt;Thank you for your response,&lt;/P&gt;

&lt;P&gt;Yes I was trying 32 bit SPIR. And 64 bit version worked without driver update.&lt;/P&gt;

&lt;P&gt;For completeness, I am including cl_helper.h in the attachment.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 16:39:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/OpenCL-SPIR-cannot-load-into-runtime-driver/m-p/1097361#M5061</guid>
      <dc:creator>Ahmet_E_</dc:creator>
      <dc:date>2016-03-08T16:39:14Z</dc:date>
    </item>
  </channel>
</rss>

