<?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 Hi in OpenCL* for CPU</title>
    <link>https://community.intel.com/t5/OpenCL-for-CPU/ioc64-on-ubuntu-with-NEO/m-p/1173413#M6600</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;MICHAEL C. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;If you want to dump ISA for a program you're already building and running, another option you might want to evaluate is to dump and disassemble kernel ISA using the Intercept Layer for OpenCL Applications:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/intel/opencl-intercept-layer" target="_blank"&gt;https://github.com/intel/opencl-intercept-layer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Specifically:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/intel/opencl-intercept-layer/blob/master/docs/kernel_" target="_blank"&gt;https://github.com/intel/opencl-intercept-layer/blob/master/docs/kernel_&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The nice thing about this method is that it's dumping the ISA binary from the same program binary that's executing on the GPU, so by definition it's using the same program source, build options, compiler version, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works and has its advantages (build options, ...), but always needs complete program with all OpenCL calls. I only need the compiled binary. For my use, it would be easier to just run some CLI commands to get the binary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;MICHAEL C. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi MarcelLD,&lt;/P&gt;&lt;P&gt;Thanks for your continued interest.&lt;/P&gt;&lt;P&gt;I was not&amp;nbsp;able to reproduce the issue with two distinct revisions&amp;nbsp;of Intel® Graphics Compute Runtime for OpenCL™ Driver on Ubuntu 18.04.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;OK on 19.04.12237&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;OK on&amp;nbsp;19.27.13361 (latest production)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The&amp;nbsp;command&amp;nbsp;to generate assembly text for gpu architecture was successful for text-editor readable output files. The &lt;A href="https://software.intel.com/en-us/articles/sdk-for-opencl-2019-gsg-linux-os"&gt;getting started guide tutorial hello world kernel&lt;/A&gt;&amp;nbsp;was used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you confirm this issue for 19.27.13361? Can you confirm which specific driver revision you have (see clinfo&amp;nbsp;Driver Version)?&lt;/P&gt;&lt;P&gt;I will be filing a&amp;nbsp;request&amp;nbsp;to clarify the output that may be in conflict when outputs desired are not generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-MichaelC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clinfo prints Driver Version 19.21.0. This version still has the issue. It may be that I messed up some parts of the NEO installation. I will try it with 19.27.13361 soon and message again if I have any issues.&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;</description>
    <pubDate>Wed, 24 Jul 2019 12:27:53 GMT</pubDate>
    <dc:creator>lolxdfly</dc:creator>
    <dc:date>2019-07-24T12:27:53Z</dc:date>
    <item>
      <title>ioc64 on ubuntu with NEO</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/ioc64-on-ubuntu-with-NEO/m-p/1173410#M6597</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to build a simple OpenCL Kernel with ioc64 on Ubuntu 19.04. I installed the Intel OpenCL SDK and compiled the latest NEO driver with its dependencies. I can execute OpenCL Programs without any Issues. If I want to build the Assembly with:&lt;/P&gt;&lt;P&gt;/opt/intel/system_studio_2019/opencl-sdk/bin/ioc64 -device=gpu -input=program.cl -asm=program_clmain.gen&lt;/P&gt;&lt;P&gt;I get the following Output:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;No command specified, using 'build' as default&lt;BR /&gt;Platform name: Intel(R) OpenCL HD Graphics&lt;BR /&gt;Device name: Intel(R) Gen9 HD Graphics NEO&lt;BR /&gt;Device version: OpenCL 2.1 NEO&lt;BR /&gt;Device vendor: Intel(R) Corporation&lt;BR /&gt;Device profile: FULL_PROFILE&lt;/P&gt;&lt;P&gt;clmain info:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Maximum work-group size: 256&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Compiler work-group size: (0, 0, 0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Local memory size: 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Preferred multiple of work-group size: 32&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Minimum amount of private memory: 0&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Amount of spill memory used by the kernel: 0&lt;/P&gt;&lt;P&gt;Failed to generate ASM code: the GFX driver doesn't support disassembly code display&lt;BR /&gt;Build succeeded!&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But the Build has not succeeded. There is no program_clmain.gen. Do I need special driver extensions to use ioc64?&lt;/P&gt;</description>
      <pubDate>Thu, 27 Jun 2019 22:26:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/ioc64-on-ubuntu-with-NEO/m-p/1173410#M6597</guid>
      <dc:creator>lolxdfly</dc:creator>
      <dc:date>2019-06-27T22:26:32Z</dc:date>
    </item>
    <item>
      <title>Hi Marcel,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/ioc64-on-ubuntu-with-NEO/m-p/1173411#M6598</link>
      <description>&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;If you want to dump ISA for a program you're already building and running, another option you might want to evaluate is to dump and disassemble kernel ISA using the Intercept Layer for OpenCL Applications:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/intel/opencl-intercept-layer" target="_blank"&gt;https://github.com/intel/opencl-intercept-layer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Specifically:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/intel/opencl-intercept-layer/blob/master/docs/kernel_isa_gpu.md" target="_blank"&gt;https://github.com/intel/opencl-intercept-layer/blob/master/docs/kernel_isa_gpu.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The nice thing about this method is that it's dumping the ISA binary from the same program binary that's executing on the GPU, so by definition it's using the same program source, build options, compiler version, etc.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2019 04:55:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/ioc64-on-ubuntu-with-NEO/m-p/1173411#M6598</guid>
      <dc:creator>Ben_A_Intel</dc:creator>
      <dc:date>2019-07-02T04:55:46Z</dc:date>
    </item>
    <item>
      <title>Hi MarcelLD,</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/ioc64-on-ubuntu-with-NEO/m-p/1173412#M6599</link>
      <description>&lt;P&gt;Hi MarcelLD,&lt;/P&gt;&lt;P&gt;Thanks for your continued interest.&lt;/P&gt;&lt;P&gt;I was not&amp;nbsp;able to reproduce the issue with two distinct revisions&amp;nbsp;of Intel® Graphics Compute Runtime for OpenCL™ Driver on Ubuntu 18.04.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;OK on 19.04.12237&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;OK on&amp;nbsp;19.27.13361 (latest production)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The&amp;nbsp;command&amp;nbsp;to generate assembly text for gpu architecture was successful for text-editor readable output files. The &lt;A href="https://software.intel.com/en-us/articles/sdk-for-opencl-2019-gsg-linux-os"&gt;getting started guide tutorial hello world kernel&lt;/A&gt;&amp;nbsp;was used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you confirm this issue for 19.27.13361? Can you confirm which specific driver revision you have (see clinfo&amp;nbsp;Driver Version)?&lt;/P&gt;&lt;P&gt;I will be filing a&amp;nbsp;request&amp;nbsp;to clarify the output that may be in conflict when outputs desired are not generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-MichaelC&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jul 2019 18:54:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/ioc64-on-ubuntu-with-NEO/m-p/1173412#M6599</guid>
      <dc:creator>Michael_C_Intel1</dc:creator>
      <dc:date>2019-07-23T18:54:03Z</dc:date>
    </item>
    <item>
      <title>Hi</title>
      <link>https://community.intel.com/t5/OpenCL-for-CPU/ioc64-on-ubuntu-with-NEO/m-p/1173413#M6600</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;MICHAEL C. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;If you want to dump ISA for a program you're already building and running, another option you might want to evaluate is to dump and disassemble kernel ISA using the Intercept Layer for OpenCL Applications:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/intel/opencl-intercept-layer" target="_blank"&gt;https://github.com/intel/opencl-intercept-layer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Specifically:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/intel/opencl-intercept-layer/blob/master/docs/kernel_" target="_blank"&gt;https://github.com/intel/opencl-intercept-layer/blob/master/docs/kernel_&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;The nice thing about this method is that it's dumping the ISA binary from the same program binary that's executing on the GPU, so by definition it's using the same program source, build options, compiler version, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works and has its advantages (build options, ...), but always needs complete program with all OpenCL calls. I only need the compiled binary. For my use, it would be easier to just run some CLI commands to get the binary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;MICHAEL C. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi MarcelLD,&lt;/P&gt;&lt;P&gt;Thanks for your continued interest.&lt;/P&gt;&lt;P&gt;I was not&amp;nbsp;able to reproduce the issue with two distinct revisions&amp;nbsp;of Intel® Graphics Compute Runtime for OpenCL™ Driver on Ubuntu 18.04.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;OK on 19.04.12237&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;OK on&amp;nbsp;19.27.13361 (latest production)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The&amp;nbsp;command&amp;nbsp;to generate assembly text for gpu architecture was successful for text-editor readable output files. The &lt;A href="https://software.intel.com/en-us/articles/sdk-for-opencl-2019-gsg-linux-os"&gt;getting started guide tutorial hello world kernel&lt;/A&gt;&amp;nbsp;was used.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you confirm this issue for 19.27.13361? Can you confirm which specific driver revision you have (see clinfo&amp;nbsp;Driver Version)?&lt;/P&gt;&lt;P&gt;I will be filing a&amp;nbsp;request&amp;nbsp;to clarify the output that may be in conflict when outputs desired are not generated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-MichaelC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clinfo prints Driver Version 19.21.0. This version still has the issue. It may be that I messed up some parts of the NEO installation. I will try it with 19.27.13361 soon and message again if I have any issues.&lt;/P&gt;&lt;P&gt;Marcel&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jul 2019 12:27:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/OpenCL-for-CPU/ioc64-on-ubuntu-with-NEO/m-p/1173413#M6600</guid>
      <dc:creator>lolxdfly</dc:creator>
      <dc:date>2019-07-24T12:27:53Z</dc:date>
    </item>
  </channel>
</rss>

