<?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 OpenCL GPU Assembly in GPU Compute Software</title>
    <link>https://community.intel.com/t5/GPU-Compute-Software/OpenCL-GPU-Assembly/m-p/1488853#M879</link>
    <description>&lt;P&gt;I have an OpenCL program that builds and executes a number of kernels. I would like to look at the generated assembly code, to try to see why it is running so slowly on Intel PVC HW. How can I generate and examine PVC assembly?&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2023 15:56:31 GMT</pubDate>
    <dc:creator>JEROME_B_Intel1</dc:creator>
    <dc:date>2023-05-23T15:56:31Z</dc:date>
    <item>
      <title>OpenCL GPU Assembly</title>
      <link>https://community.intel.com/t5/GPU-Compute-Software/OpenCL-GPU-Assembly/m-p/1488853#M879</link>
      <description>&lt;P&gt;I have an OpenCL program that builds and executes a number of kernels. I would like to look at the generated assembly code, to try to see why it is running so slowly on Intel PVC HW. How can I generate and examine PVC assembly?&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2023 15:56:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/GPU-Compute-Software/OpenCL-GPU-Assembly/m-p/1488853#M879</guid>
      <dc:creator>JEROME_B_Intel1</dc:creator>
      <dc:date>2023-05-23T15:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: OpenCL GPU Assembly</title>
      <link>https://community.intel.com/t5/GPU-Compute-Software/OpenCL-GPU-Assembly/m-p/1490059#M882</link>
      <description>&lt;P&gt;Hello!&amp;nbsp; There are several options to look at the generated assembly for Intel GPUs with various pros and cons.&amp;nbsp; Ultimately, the best option will depend on the tools you are most familiar with:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;VTune can show you GPU assembly and other GPU-related profiling information (I don't have a ton of experience with this myself).&lt;/LI&gt;&lt;LI&gt;The OpenCL Intercept Layer can collect GPU assembly while your program is running, see instructions here:&amp;nbsp;&lt;A href="https://github.com/intel/opencl-intercept-layer/blob/main/docs/kernel_isa_gpu.md" target="_blank"&gt;https://github.com/intel/opencl-intercept-layer/blob/main/docs/kernel_isa_gpu.md&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;You can use the "ocloc" offline compiler to compile OpenCL kernels to GPU assembly offline.&lt;/LI&gt;&lt;LI&gt;You can use IGC "shader dumps" to dump the GPU assembly it generates, which can also include source line information if you pass the right program build options.&amp;nbsp; See this recent issue with the steps I used to do this recently:&amp;nbsp;&lt;A href="https://github.com/intel/opencl-intercept-layer/issues/310" target="_blank"&gt;https://github.com/intel/opencl-intercept-layer/issues/310&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 17:48:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/GPU-Compute-Software/OpenCL-GPU-Assembly/m-p/1490059#M882</guid>
      <dc:creator>Ben_A_Intel</dc:creator>
      <dc:date>2023-05-25T17:48:32Z</dc:date>
    </item>
    <item>
      <title>Re:OpenCL GPU Assembly</title>
      <link>https://community.intel.com/t5/GPU-Compute-Software/OpenCL-GPU-Assembly/m-p/1491135#M884</link>
      <description>&lt;P&gt;Dear User,&lt;/P&gt;&lt;P&gt;If you are using MS Visual Studio, here are some links to Intel OpenCL code builder.&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/technical/introduction-to-gen-assembly.html" rel="noopener noreferrer" target="_blank"&gt;Introduction to GEN Assembly (intel.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You can also try several options provided by Ben in previous reply and share us your results.  &lt;/P&gt;&lt;P&gt;Hope this works!!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 May 2023 10:12:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/GPU-Compute-Software/OpenCL-GPU-Assembly/m-p/1491135#M884</guid>
      <dc:creator>Anita_Intel</dc:creator>
      <dc:date>2023-05-30T10:12:22Z</dc:date>
    </item>
  </channel>
</rss>

