<?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 Cannot find Dynamic code, profiling OpenCL on Xeon Phi Coprocessor in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021790#M12914</link>
    <description>&lt;P&gt;I'm a novice for VTune. My goal is to get the &lt;STRONG&gt;assembly&lt;/STRONG&gt; code of OpenCL.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;I tried to follow this link:&amp;nbsp;&lt;A href="https://software.intel.com/en-us/articles/performance-tuning-of-opencl-applications-on-intel-xeon-phi-coprocessor-using-intel-vtune-amplifier-xe-2013"&gt;https://software.intel.com/en-us/articles/performance-tuning-of-opencl-applications-on-intel-xeon-phi-coprocessor-using-intel-vtune-amplifier-xe-2013&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;According to figure 3 from the link, the picture showed many Dynamic functions. But while I profiled my application (I used OpenCL Gaussian elimination and other applications from Rodinia Benchmark suit), I cannot find any dynamic code or any of my functions.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I tried both lightweight hotspot and hotspot with Knights Corner Platform Analysis, but still met the same problem.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I also set&amp;nbsp;CL_CONFIG_USE_VTUNE=True; ENABLE_JITPROFILING=1; for the environment&amp;nbsp;&lt;/P&gt;

&lt;P&gt;What did i miss here? OR which function I should look for ?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-weight: 700;"&gt;OR if you have another way to get the assembly code from OpenCL, please let me know.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot from 2014-05-23 18:54:20.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/6944iDD3D6BD7ED0C12FB/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot from 2014-05-23 18:54:20.png" alt="Screenshot from 2014-05-23 18:54:20.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 May 2014 11:06:47 GMT</pubDate>
    <dc:creator>maggie_s_</dc:creator>
    <dc:date>2014-05-23T11:06:47Z</dc:date>
    <item>
      <title>Cannot find Dynamic code, profiling OpenCL on Xeon Phi Coprocessor</title>
      <link>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021790#M12914</link>
      <description>&lt;P&gt;I'm a novice for VTune. My goal is to get the &lt;STRONG&gt;assembly&lt;/STRONG&gt; code of OpenCL.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;I tried to follow this link:&amp;nbsp;&lt;A href="https://software.intel.com/en-us/articles/performance-tuning-of-opencl-applications-on-intel-xeon-phi-coprocessor-using-intel-vtune-amplifier-xe-2013"&gt;https://software.intel.com/en-us/articles/performance-tuning-of-opencl-applications-on-intel-xeon-phi-coprocessor-using-intel-vtune-amplifier-xe-2013&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;According to figure 3 from the link, the picture showed many Dynamic functions. But while I profiled my application (I used OpenCL Gaussian elimination and other applications from Rodinia Benchmark suit), I cannot find any dynamic code or any of my functions.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I tried both lightweight hotspot and hotspot with Knights Corner Platform Analysis, but still met the same problem.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I also set&amp;nbsp;CL_CONFIG_USE_VTUNE=True; ENABLE_JITPROFILING=1; for the environment&amp;nbsp;&lt;/P&gt;

&lt;P&gt;What did i miss here? OR which function I should look for ?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-weight: 700;"&gt;OR if you have another way to get the assembly code from OpenCL, please let me know.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Screenshot from 2014-05-23 18:54:20.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/6944iDD3D6BD7ED0C12FB/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Screenshot from 2014-05-23 18:54:20.png" alt="Screenshot from 2014-05-23 18:54:20.png" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2014 11:06:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021790#M12914</guid>
      <dc:creator>maggie_s_</dc:creator>
      <dc:date>2014-05-23T11:06:47Z</dc:date>
    </item>
    <item>
      <title>Do you want to see assembly</title>
      <link>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021791#M12915</link>
      <description>&lt;P&gt;Do you want to see assembly code in VTune or disassembling OpenCL app?&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2014 09:02:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021791#M12915</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2014-05-24T09:02:19Z</dc:date>
    </item>
    <item>
      <title>What I wanna do is same as</title>
      <link>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021792#M12916</link>
      <description>&lt;P&gt;What I wanna do is same as compiler nvcc with keep flag to get PTX code in GPU.&lt;/P&gt;

&lt;P&gt;I wanna see the assembly code that generated by my OpenCL program.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2014 09:18:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021792#M12916</guid>
      <dc:creator>maggie_s_</dc:creator>
      <dc:date>2014-05-24T09:18:31Z</dc:date>
    </item>
    <item>
      <title>https://software.intel.com/en</title>
      <link>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021793#M12917</link>
      <description>&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/resolving-symbols-for-intel-manycore-platform-system-stack-intel-mpss-in-intel-vtune" target="_blank"&gt;https://software.intel.com/en-us/articles/resolving-symbols-for-intel-manycore-platform-system-stack-intel-mpss-in-intel-vtune&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/a-new-user-interface-for-vtune-amplifier-search-directories" target="_blank"&gt;https://software.intel.com/en-us/articles/a-new-user-interface-for-vtune-amplifier-search-directories&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;in case you missed some of that.&amp;nbsp; No search paths, even for your own source or compiled code, are present until you designate them.&amp;nbsp; I don't know whether your OpenCL libraries may be in yet another path.&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2014 10:37:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021793#M12917</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-05-24T10:37:35Z</dc:date>
    </item>
    <item>
      <title>Actually I think you should</title>
      <link>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021794#M12918</link>
      <description>&lt;P&gt;Actually I think you should see Xeon Phi assembly code in VTune.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;Btw , PTX is still not GPU machine code. SASS is the machine code of the GPU.&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2014 12:22:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021794#M12918</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2014-05-24T12:22:00Z</dc:date>
    </item>
    <item>
      <title>So, do you have any idea how</title>
      <link>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021795#M12919</link>
      <description>&lt;P&gt;So, do you have any idea how I can get the similar code as PTX for Xeon Phi ?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2014 13:36:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021795#M12919</guid>
      <dc:creator>maggie_s_</dc:creator>
      <dc:date>2014-05-24T13:36:09Z</dc:date>
    </item>
    <item>
      <title>If you mean viewing asm code</title>
      <link>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021796#M12920</link>
      <description>&lt;P&gt;If you mean viewing asm code as executed in your application in VTune, you would set up the search paths so that you can locate the counted events in source and asm views..&amp;nbsp; You don't need to run your cases over; you simply re-resolve after setting the desired paths.&lt;/P&gt;

&lt;P&gt;If you mean viewing generated asm code, presumably the compiler has an option to write that to a file, and you have the option of objdump for viewing the .o files.&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2014 14:06:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021796#M12920</guid>
      <dc:creator>TimP</dc:creator>
      <dc:date>2014-05-24T14:06:20Z</dc:date>
    </item>
    <item>
      <title>@maggie</title>
      <link>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021797#M12921</link>
      <description>&lt;P&gt;@maggie&lt;/P&gt;

&lt;P&gt;Are you sure that OpenCL code for Xeon Phi is compiled into some kind of pseudo-code like PTX?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 24 May 2014 17:26:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021797#M12921</guid>
      <dc:creator>Bernard</dc:creator>
      <dc:date>2014-05-24T17:26:03Z</dc:date>
    </item>
    <item>
      <title>Hell Maggie,It is recommended</title>
      <link>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021798#M12922</link>
      <description>&lt;P&gt;Hell Maggie,&lt;/P&gt;
&lt;P&gt;It is recommended to use VTune Amplifier XE 2013 Update 16 and OpenCL 2013 R3 or later. In Update 16 we set all variables that are needed automatically.&lt;/P&gt;
&lt;P&gt;You should see your OpenCL kernels under [Dynamic] model in the process mic_server.&lt;/P&gt;
&lt;P&gt;Double clisking on the kernel raw in the grid should provide you the Assembly view for the kernel.&lt;/P&gt;
&lt;P&gt;You can also try to set experimental variable CL_CONFIG_USE_ITT_API=TRUE for the application to launch. In this case you will see OpenCL kernel instances annotations&amp;nbsp;by frames and see them on timeline and do analysis of outliers with ../frame type/.. groupings.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards, Dmitry&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2014 10:10:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Cannot-find-Dynamic-code-profiling-OpenCL-on-Xeon-Phi/m-p/1021798#M12922</guid>
      <dc:creator>Dmitry_P_Intel1</dc:creator>
      <dc:date>2014-05-26T10:10:42Z</dc:date>
    </item>
  </channel>
</rss>

