Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

cannot generate GPU roofline

hxc
Employee
500 Views

I installed the advisor from oneAPI package, version:

    Intel(R) Advisor 2021.2 (build 609067)

    OS: Ubuntu 18.04

    GPU: Intel UHD Graphics 630

I also installed the OpenCL and Level 0 runtime from the github release:

dpkg -l | grep zero
    ii intel-level-zero-gpu 1.1.19792 amd64 Intel(R) Graphics Compute Runtime
    ii level-zero 1.2.4 amd64 oneAPI Level Zero
    ii level-zero-devel 1.2.4 amd64 oneAPI Level Zero

dpkg -l | grep opencl
    ii intel-igc-opencl 1.0.7181 amd64 Intel(R) Graphics Compiler for OpenCL(TM)
    ii intel-opencl 21.19.19792 amd64 Intel(R) Graphics Compute Runtime
    ii ocl-icd-libopencl1:amd64 2.2.11-1ubuntu1 amd64 Generic OpenCL ICD Loader
    ii ocl-icd-opencl-dev:amd64 2.2.11-1ubuntu1 amd64 OpenCL development files
    ii opencl-c-headers 2.2~2018.02.21-gb5c3680-1 all OpenCL (Open Computing Language) C header files

 

I tested sample code on both OpenCL runtime and Level 0 runtime.

The OpenCL sample is matrix multiply from: https://software.intel.com/content/www/us/en/develop/articles/sgemm-ocl-opt.html

The Level 0 sample is the official peak performance test:

https://github.com/oneapi-src/level-zero-tests/tree/master/perf_tests/ze_peak

 

The program ran correctly. I launched the advixe-gui, created a new project, and ran the "GPU Roofline Insights" analysis. However, after running the program twice, it shows "No floating-point operations detected" on GPU roofline pane. It is weird that the GFlops of a kernel is reported:

Capture.png

Can anyone help me?

0 Kudos
1 Solution
YuliaE__Intel
Employee
417 Views

Did you perform steps from prerequisites page: https://software.intel.com/content/www/us/en/develop/documentation/advisor-user-guide/top/launch/set...
Looks like you have insufficient permissions to collect HW metrics..

View solution in original post

5 Replies
AthiraM_Intel
Moderator
464 Views

Hi,

 

Thanks for reaching out to us.

 

We are trying to reproduce the issue.

 

Could you please share the result directory and the logs with us.

 

Also share the command to run the analysis from the advisor gui.

Please find the attached image which shows the option to generate command line.

 

 

Thanks.

 

hxc
Employee
450 Views

Hello,

 

The command to run the level-0 perf test is:

/opt/intel/oneapi/advisor/2021.2.0/bin64/advisor -collect survey -profile-gpu -project-dir /home/hxc/intel/advixe/projects/perf-ze --app-working-dir=/home/hxc/level-zero-tests/out/perf_tests -- /home/hxc/level-zero-tests/out/perf_tests/ze_peak -t sp_compute
/opt/intel/oneapi/advisor/2021.2.0/bin64/advisor -collect tripcounts -no-trip-counts -flop -profile-gpu -project-dir /home/hxc/intel/advixe/projects/perf-ze --app-working-dir=/home/hxc/level-zero-tests/out/perf_tests -- /home/hxc/level-zero-tests/out/perf_tests/ze_peak -t sp_compute

 

And the result directory is attached.

 

Thanks

 

AthiraM_Intel
Moderator
429 Views

Hi,

 

Thanks for sharing the details.

We are trying out from our end, will get back to you soon with updates.

 

Thanks

 

YuliaE__Intel
Employee
418 Views

Did you perform steps from prerequisites page: https://software.intel.com/content/www/us/en/develop/documentation/advisor-user-guide/top/launch/set...
Looks like you have insufficient permissions to collect HW metrics..

AthiraM_Intel
Moderator
392 Views

Hi,


Thanks for accepting the solution provided by YuliaE__Intel. If you need any additional information, please submit a new question as this thread will no longer be monitored.


Thanks.




Reply