<?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 Re: HWPGO wih child process in Intel® oneAPI DPC++/C++ Compiler</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620861#M4009</link>
    <description>&lt;P&gt;Thanks. Two follow-up questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&amp;nbsp;When stuck as shown in 2.png, is the TargetPath executable and/or the child process it launches still executing? Are one or both of them using CPU? You may need to consult Task Manager or similar.&lt;/LI&gt;&lt;LI&gt;Do results change if you use "/fprofile-sample-generate=keep-all-opt" in 1.png and re-compile/re-profile?&amp;nbsp; I'd advise against "max-fidelity" as this disables virtually all optimizations, and it does not typically improve profile fidelity.&amp;nbsp; (It's mainly useful for identifying cases where optimizations interfere with feedback, but this is the exception.)&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Mon, 05 Aug 2024 19:59:26 GMT</pubDate>
    <dc:creator>Tim_C_Intel</dc:creator>
    <dc:date>2024-08-05T19:59:26Z</dc:date>
    <item>
      <title>HWPGO wih child process</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620027#M4000</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to try HWPGO but I have a problem. My program creating a child process so if I run analyzing, its stuck at Executing process. Is there is any env. flag for analyzing child process?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Aug 2024 14:08:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620027#M4000</guid>
      <dc:creator>Version001</dc:creator>
      <dc:date>2024-08-01T14:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: HWPGO wih child process</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620845#M4007</link>
      <description>&lt;P&gt;Child process sampling behavior depends on which profiling tool you're using for the binary-level sampling.&lt;/P&gt;&lt;P&gt;Unfortunately, if you're using SEP then the "-app" argument serves as the target for internal sample filtering. This means that if the executable named by "-app" launches a different executable then samples in for the child process will be filtered out. For the moment the only workaround is to launch the child process of interest directly with SEP's "-app" and "-args" options.&lt;/P&gt;&lt;P&gt;This something we'd like to improve, possibly by providing a post-mortem HWPGO conversion/filtering tool for SEP's native tb7 output.&lt;/P&gt;&lt;P&gt;If using "perf" (on Linux) the effective filtering should include child processes by default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/186125"&gt;@Version001&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;its stuck at Executing process.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;With that said, SEP should not hang. Is that what you're seeing? If so, can you share how you're invoking it?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 17:34:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620845#M4007</guid>
      <dc:creator>Tim_C_Intel</dc:creator>
      <dc:date>2024-08-05T17:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: HWPGO wih child process</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620848#M4008</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I build with this args (see 1.png) and when running test, my app running but execution process not finishing (see 2.png)&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 17:50:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620848#M4008</guid>
      <dc:creator>Version001</dc:creator>
      <dc:date>2024-08-05T17:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: HWPGO wih child process</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620861#M4009</link>
      <description>&lt;P&gt;Thanks. Two follow-up questions:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&amp;nbsp;When stuck as shown in 2.png, is the TargetPath executable and/or the child process it launches still executing? Are one or both of them using CPU? You may need to consult Task Manager or similar.&lt;/LI&gt;&lt;LI&gt;Do results change if you use "/fprofile-sample-generate=keep-all-opt" in 1.png and re-compile/re-profile?&amp;nbsp; I'd advise against "max-fidelity" as this disables virtually all optimizations, and it does not typically improve profile fidelity.&amp;nbsp; (It's mainly useful for identifying cases where optimizations interfere with feedback, but this is the exception.)&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 05 Aug 2024 19:59:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620861#M4009</guid>
      <dc:creator>Tim_C_Intel</dc:creator>
      <dc:date>2024-08-05T19:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: HWPGO wih child process</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620886#M4010</link>
      <description>&lt;P&gt;I tried&amp;nbsp;&lt;SPAN&gt;fprofile-sample-generate=keep-all-opt now but its same.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for 1. question, yes my program opening and running normally..&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 21:09:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620886#M4010</guid>
      <dc:creator>Version001</dc:creator>
      <dc:date>2024-08-05T21:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: HWPGO wih child process</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620924#M4011</link>
      <description>&lt;P&gt;At this sampling period SEP should not significantly slow or halt the application. Is the application expected to perform some computation and then exit on its own?&lt;/P&gt;&lt;P&gt;When the hang is happening, are &lt;EM&gt;both&lt;/EM&gt; the parent and child process still running?&lt;/P&gt;&lt;P&gt;Have you been able to successfully run the collection (without hang) with a project without the child process arrangement?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Aug 2024 22:26:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1620924#M4011</guid>
      <dc:creator>Tim_C_Intel</dc:creator>
      <dc:date>2024-08-05T22:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: HWPGO wih child process</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1621164#M4013</link>
      <description>&lt;P&gt;My app is a game, its creating a Python thread with C API for GUI. My game running normally, so problem is just executing not finishing, so hwpgo cant collect infos.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(&lt;SPAN&gt;my game works normally even if the analysis execution gets stuck)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2024 13:27:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1621164#M4013</guid>
      <dc:creator>Version001</dc:creator>
      <dc:date>2024-08-06T13:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: HWPGO wih child process</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1622156#M4019</link>
      <description>&lt;P class=""&gt;Have you been able to successfully run the collection (without hang) with a project without the child process arrangement? I am trying to confirm that SEP is working.&lt;/P&gt;&lt;P class=""&gt;If so, could you try profiling your game by invoking it via sep on the command line?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2024 16:30:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1622156#M4019</guid>
      <dc:creator>Tim_C_Intel</dc:creator>
      <dc:date>2024-08-09T16:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: HWPGO wih child process</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1622325#M4023</link>
      <description>&lt;P&gt;Yea the problem is probably visual studio based. I can successfully analyze my app via command line..&lt;/P&gt;</description>
      <pubDate>Sat, 10 Aug 2024 16:15:16 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1622325#M4023</guid>
      <dc:creator>Version001</dc:creator>
      <dc:date>2024-08-10T16:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: HWPGO wih child process</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1623503#M4046</link>
      <description>&lt;P&gt;Thanks. Yes, it sounds like there is an issue in the Visual Studio plugin's ability to collect the binary profile.&lt;BR /&gt;As a workaround you could try to:&lt;BR /&gt;&lt;BR /&gt;1. Produce perf.script output via sep on the command line. Use the options pre-populated in the Visual Studio HWPGO dialogue boxes.&lt;/P&gt;&lt;P&gt;2. Manually invoke llvm-profgen to convert the binary-level profile (perf.script) to an LLVM source-level profile.&lt;/P&gt;&lt;P&gt;3. Finally, select/run only the 3rd phase of HWPGO in Visual Studio where you point the compiler to this profile with "/fprofile-sample-use".&lt;/P&gt;&lt;P&gt;Details on how to run llvm-progen with 2024.2 are available here:&lt;BR /&gt;&lt;A href="https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2024-2/hardware-profile-guided-optimization.html" target="_blank" rel="noopener"&gt;https://www.intel.com/content/www/us/en/docs/dpcpp-cpp-compiler/developer-guide-reference/2024-2/hardware-profile-guided-optimization.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2024 19:26:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-DPC-C-Compiler/HWPGO-wih-child-process/m-p/1623503#M4046</guid>
      <dc:creator>Tim_C_Intel</dc:creator>
      <dc:date>2024-08-15T19:26:55Z</dc:date>
    </item>
  </channel>
</rss>

