<?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 Intel Advisor GPU profiling failed. in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/Intel-Advisor-GPU-profiling-failed/m-p/1195971#M20671</link>
    <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;I installed Intel Advior Beta through OneAPI base ToolKit successfully. Our system is Ubuntu with Linux version 4.15.0. Our GPU is&amp;nbsp;Intel(R) Gen9 HD Graphics NEO.&amp;nbsp;I am using lastest sycl compiler with opencl backend. I want to collect GPU Roofline but it fails.&lt;/P&gt;
&lt;P&gt;Here is my command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;advixe-cl --collect=roofline --profile-gpu --project-dir=./advixe --search-dir src:r=. -- ./myexe&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Roofline would run analysis twice, survey analaysis and tripcount analysis respectively.&lt;/P&gt;
&lt;P&gt;In first analysis, it reports GTPIN warnings as below. What is this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;advixe: Starting command line: advixe-cl --collect survey --profile-gpu --project-dir ./advixe --search-dir src:r=. -- ./myexe
Intel(R) Advisor Command Line Tool
Copyright (C) 2009-2020 Intel Corporation. All rights reserved.
advixe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: advixe-cl -r advixe/e000/hs000 -command stop.
OCLC: Attempting to find device type gpu
OCLC: Successfully found OpenCL device
Device Name = Intel(R) Gen9 HD Graphics NEO
Build Options = -D data_t=float -cl-single-precision-constant
Build Options = -D data_t=double
Verification PASSED: 0 errors
advixe: Warning: [Instrumentation Engine]: GTPin: GTPin didn't find any kernels... Exiting without doing anything.
advixe: Collection stopped.
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;In second analysis, it reports device not found as below but obviously it successfully found the GPU device in survey analysis. How could this happen?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;advixe: Starting command line: advixe-cl --collect tripcounts --profile-gpu --project-dir ./advixe --search-dir src:r=. --flop --no-trip-counts -- ./myexe
Intel(R) Advisor Command Line Tool
Copyright (C) 2009-2020 Intel Corporation. All rights reserved.
advixe: Opening result 25 % done
advixe: Executing query 100 % done
advixe: Executing query 100 % done
advixe: Executing query 100 % done
advixe: Executing query 100 % done
advixe: Executing query  0 % done
advixe: Executing query 114 % done
advixe: Executing query  0 % done
advixe: Executing query 114 % done
advixe: Executing query 114 % done
advixe: Executing query 100 % done
advixe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: advixe-cl -r advixe/e000/trc000 -command stop.
OCLC: Attempting to find device type gpu
OCLC ERROR(72): Unable to find device type gpu
terminate called after throwing an instance of 'std::runtime_error'
  what():  OCLC ERROR(72): Unable to find device type gpu
advixe: Warning: The application returned a non-zero exit value.
advixe: Opening result 99 % done
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone give me some help?&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2020 09:02:12 GMT</pubDate>
    <dc:creator>Lin_L_Intel</dc:creator>
    <dc:date>2020-07-30T09:02:12Z</dc:date>
    <item>
      <title>Intel Advisor GPU profiling failed.</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-Advisor-GPU-profiling-failed/m-p/1195971#M20671</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;
&lt;P&gt;I installed Intel Advior Beta through OneAPI base ToolKit successfully. Our system is Ubuntu with Linux version 4.15.0. Our GPU is&amp;nbsp;Intel(R) Gen9 HD Graphics NEO.&amp;nbsp;I am using lastest sycl compiler with opencl backend. I want to collect GPU Roofline but it fails.&lt;/P&gt;
&lt;P&gt;Here is my command:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;advixe-cl --collect=roofline --profile-gpu --project-dir=./advixe --search-dir src:r=. -- ./myexe&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Roofline would run analysis twice, survey analaysis and tripcount analysis respectively.&lt;/P&gt;
&lt;P&gt;In first analysis, it reports GTPIN warnings as below. What is this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;advixe: Starting command line: advixe-cl --collect survey --profile-gpu --project-dir ./advixe --search-dir src:r=. -- ./myexe
Intel(R) Advisor Command Line Tool
Copyright (C) 2009-2020 Intel Corporation. All rights reserved.
advixe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: advixe-cl -r advixe/e000/hs000 -command stop.
OCLC: Attempting to find device type gpu
OCLC: Successfully found OpenCL device
Device Name = Intel(R) Gen9 HD Graphics NEO
Build Options = -D data_t=float -cl-single-precision-constant
Build Options = -D data_t=double
Verification PASSED: 0 errors
advixe: Warning: [Instrumentation Engine]: GTPin: GTPin didn't find any kernels... Exiting without doing anything.
advixe: Collection stopped.
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;In second analysis, it reports device not found as below but obviously it successfully found the GPU device in survey analysis. How could this happen?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;advixe: Starting command line: advixe-cl --collect tripcounts --profile-gpu --project-dir ./advixe --search-dir src:r=. --flop --no-trip-counts -- ./myexe
Intel(R) Advisor Command Line Tool
Copyright (C) 2009-2020 Intel Corporation. All rights reserved.
advixe: Opening result 25 % done
advixe: Executing query 100 % done
advixe: Executing query 100 % done
advixe: Executing query 100 % done
advixe: Executing query 100 % done
advixe: Executing query  0 % done
advixe: Executing query 114 % done
advixe: Executing query  0 % done
advixe: Executing query 114 % done
advixe: Executing query 114 % done
advixe: Executing query 100 % done
advixe: Collection started. To stop the collection, either press CTRL-C or enter from another console window: advixe-cl -r advixe/e000/trc000 -command stop.
OCLC: Attempting to find device type gpu
OCLC ERROR(72): Unable to find device type gpu
terminate called after throwing an instance of 'std::runtime_error'
  what():  OCLC ERROR(72): Unable to find device type gpu
advixe: Warning: The application returned a non-zero exit value.
advixe: Opening result 99 % done
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone give me some help?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 09:02:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-Advisor-GPU-profiling-failed/m-p/1195971#M20671</guid>
      <dc:creator>Lin_L_Intel</dc:creator>
      <dc:date>2020-07-30T09:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Advisor GPU profiling failed.</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-Advisor-GPU-profiling-failed/m-p/1196021#M20672</link>
      <description>&lt;P&gt;Hi Lin,&lt;/P&gt;
&lt;P&gt;Could you please run:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;advixe-cl --version&lt;/LI&gt;
&lt;LI&gt;dpcpp --version&lt;/LI&gt;
&lt;LI&gt;apt search ^intel-opencl$&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;and copy the output here?&lt;/P&gt;
&lt;P&gt;Also it would be helpful if you shared the OpenCL initialization part of your source code. You can contact me via corporate e-mail (Anton Timofeev) for it.&lt;/P&gt;
&lt;P&gt;BR, Anton&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 12:24:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-Advisor-GPU-profiling-failed/m-p/1196021#M20672</guid>
      <dc:creator>AntonT</dc:creator>
      <dc:date>2020-07-30T12:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Advisor GPU profiling failed.</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-Advisor-GPU-profiling-failed/m-p/1196239#M20673</link>
      <description>&lt;P&gt;Hi Anton,&lt;/P&gt;
&lt;P&gt;I've sent you an email for detailed code. Here is the command output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;$ advixe-cl --version
Intel(R) Advisor 2021.1 beta07 (build 606302) Command Line Tool
Copyright (C) 2009-2020 Intel Corporation. All rights reserved.
$ dpcpp --version
Intel(R) oneAPI DPC++ Compiler 2021.1 (2020.x.0.0728)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /nfs/shm/proj/icl/cmplrarch/deploy_xmain/xmainefi2linux/20200728_000000/build/linux_prod/bin
$ apt search ^intel-opencl$
Sorting... Done
Full Text Search... Done
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Actually I found that the second issue is because I cannot collect tripcounts analysis on GPU. I trigger the tripcounts individually, it still reports GPU device not found error. That's so weird.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Lin&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 03:04:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-Advisor-GPU-profiling-failed/m-p/1196239#M20673</guid>
      <dc:creator>Lin_L_Intel</dc:creator>
      <dc:date>2020-07-31T03:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Intel Advisor GPU profiling failed.</title>
      <link>https://community.intel.com/t5/Analyzers/Intel-Advisor-GPU-profiling-failed/m-p/1196293#M20674</link>
      <description>&lt;P&gt;Hi Lin,&lt;/P&gt;
&lt;PRE class="lia-code-sample  language-markup"&gt;&lt;CODE&gt;$ apt search ^intel-opencl$
Sorting... Done
Full Text Search... Done&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I suggest you to install the compute-runtime packages from&amp;nbsp;&lt;A href="https://github.com/intel/compute-runtime/releases" target="_blank"&gt;https://github.com/intel/compute-runtime/releases&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Anton&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jul 2020 08:16:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/Intel-Advisor-GPU-profiling-failed/m-p/1196293#M20674</guid>
      <dc:creator>AntonT</dc:creator>
      <dc:date>2020-07-31T08:16:25Z</dc:date>
    </item>
  </channel>
</rss>

