<?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 INVALID_KERNEL_ARGS bug when using SPIR-V kernels in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/INVALID-KERNEL-ARGS-bug-when-using-SPIR-V-kernels/m-p/1144094#M5937</link>
    <description>&lt;P&gt;Hello together,&lt;/P&gt;

&lt;P&gt;I am encountering a bug, when I try to use SPIR-V kernels with more than 1 parameter with the Intel® SDK for OpenCL™ Applications 2016 R3.&lt;BR /&gt;
	Tested on 2 different platforms:&lt;BR /&gt;
	OS: Ubuntu 16.04.2 / Debian 9 Stretch&lt;BR /&gt;
	CPU: Ryzen 1700 / i3-6100U&lt;BR /&gt;
	&lt;BR /&gt;
	With one parameter, everything works as expected. However, a kernel practically doing the same with two parameters returns INVALID_KERNEL_ARGS although all other steps (including set kernel args) succeed.&lt;BR /&gt;
	I will attach the example to reproduce the behavior. You find the following files attached:&lt;BR /&gt;
	A working kernel with 1 parameter (example.1) and (the same, but) not working kernel (example.2) with 2 parameters&lt;BR /&gt;
	each with OpenCL C kernel, SPIR-V kernel and host code.&lt;/P&gt;

&lt;P&gt;Kind regards&lt;BR /&gt;
	Daniel&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jul 2017 10:09:46 GMT</pubDate>
    <dc:creator>Daniel_S_1</dc:creator>
    <dc:date>2017-07-10T10:09:46Z</dc:date>
    <item>
      <title>INVALID_KERNEL_ARGS bug when using SPIR-V kernels</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/INVALID-KERNEL-ARGS-bug-when-using-SPIR-V-kernels/m-p/1144094#M5937</link>
      <description>&lt;P&gt;Hello together,&lt;/P&gt;

&lt;P&gt;I am encountering a bug, when I try to use SPIR-V kernels with more than 1 parameter with the Intel® SDK for OpenCL™ Applications 2016 R3.&lt;BR /&gt;
	Tested on 2 different platforms:&lt;BR /&gt;
	OS: Ubuntu 16.04.2 / Debian 9 Stretch&lt;BR /&gt;
	CPU: Ryzen 1700 / i3-6100U&lt;BR /&gt;
	&lt;BR /&gt;
	With one parameter, everything works as expected. However, a kernel practically doing the same with two parameters returns INVALID_KERNEL_ARGS although all other steps (including set kernel args) succeed.&lt;BR /&gt;
	I will attach the example to reproduce the behavior. You find the following files attached:&lt;BR /&gt;
	A working kernel with 1 parameter (example.1) and (the same, but) not working kernel (example.2) with 2 parameters&lt;BR /&gt;
	each with OpenCL C kernel, SPIR-V kernel and host code.&lt;/P&gt;

&lt;P&gt;Kind regards&lt;BR /&gt;
	Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2017 10:09:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/INVALID-KERNEL-ARGS-bug-when-using-SPIR-V-kernels/m-p/1144094#M5937</guid>
      <dc:creator>Daniel_S_1</dc:creator>
      <dc:date>2017-07-10T10:09:46Z</dc:date>
    </item>
    <item>
      <title>Hello Daniel,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/INVALID-KERNEL-ARGS-bug-when-using-SPIR-V-kernels/m-p/1144095#M5938</link>
      <description>&lt;P&gt;Hello Daniel,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;From the attached SPIR-V binaries I can see that they are 32-bit. Do you build your examples as 32-bit or 64-bit application? If your host application is 64-bit you should use 64-bit SPIR-V binaries.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 10:44:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/INVALID-KERNEL-ARGS-bug-when-using-SPIR-V-kernels/m-p/1144095#M5938</guid>
      <dc:creator>Alexey_S_Intel3</dc:creator>
      <dc:date>2017-07-11T10:44:00Z</dc:date>
    </item>
    <item>
      <title>Actually that did the trick.</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/INVALID-KERNEL-ARGS-bug-when-using-SPIR-V-kernels/m-p/1144096#M5939</link>
      <description>&lt;P&gt;Actually that did the trick. I didn't think about this difference. Thanks alot!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2017 11:49:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/INVALID-KERNEL-ARGS-bug-when-using-SPIR-V-kernels/m-p/1144096#M5939</guid>
      <dc:creator>Daniel_S_1</dc:creator>
      <dc:date>2017-07-11T11:49:03Z</dc:date>
    </item>
  </channel>
</rss>

