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.
4659 Discussions

can not analysis gpu roofline

hxc
Employee
1,055 Views

Hello,

Attached is a simple test case.  My working environment is (actually a DevCloud node) :

Ubuntu 18.04

Intel(R) Xeon(R) E-2146G CPU with Gen9 graphics

oneAPI DPC++ Compiler Pro 2021.1 (2020.8.0.0827)

Advisor 2021.1 beta09 (build 607056)

I try to compile the program and generate the roofline report:

icpx -fiopenmp -fopenmp-targets=spir64 test.cpp

advixe-cl --profile-gpu -collect=roofline -project-dir=results-gpu -- ./a.out

advixe-cl --report=roofline --gpu --project-dir=./results-gpu --report-output=./results-gpu/roofline-gpu.html

However, the roofline report shows "No floating-point operations detected". 

I have written a matrix multiply loop in the test file, so some floating-point operations exist.

Can you help me?

Labels (1)
0 Kudos
1 Solution
YuliaE__Intel
Employee
943 Views

Advisor Beta09 have an issue with profiling OpenMP  applications with OpenCL runtime.
The issue will be fixed in coming Advisor Beta 10.
Or You can switch to Level Zero runtime.
Sorry for inconvenient.

View solution in original post

7 Replies
Ekaterina_G_Intel
1,035 Views

Hello,

Could you please zip your project dir folder "results-gpu" and attach it?

Thanks!

YuliaE__Intel
Employee
1,027 Views

Hi,

Could you please provide GPU driver version?
(dpkg -l | grep zero or dpkg -l | grep opencl)

hxc
Employee
1,012 Views

Hi, the outputs list here:

dpkg -l | grep zero

ii intel-level-zero-gpu 1.0.17767 amd64 Intel(R) Graphics Compute Runtime
ii level-zero 1.0.0 amd64 oneAPI Level Zero
ii level-zero-devel 1.0.0 amd64 oneAPI Level Zero

dpkg -l | grep opencl:

ii intel-igc-opencl 1.0.4756 amd64 Intel(R) Graphics Compiler for OpenCL(TM)
ii intel-opencl 20.35.17767 amd64 Intel(R) Graphics Compute Runtime
ii ocl-icd-libopencl1:amd64 2.2.11-1ubuntu1 amd64 Generic OpenCL ICD Loader
ii opencl-c-headers 2.2~2018.02.21-gb5c3680-1 all OpenCL (Open Computing Language) C header files
ii opencl-clhpp-headers 2.0.10+git12-g5dd8bb9-1 all C++ headers for OpenCL development
ii opencl-headers 2.2~2018.02.21-gb5c3680-1 all OpenCL (Open Computing Language) header files

YuliaE__Intel
Employee
1,004 Views

Could you please print and share collected data via python script:

advixe-python $ADVISOR_2021_DIR/pythonapi/examples/survey_gpu.py ./results-gpu

hxc
Employee
989 Views

Hi, I used the command:

advixe-python pythonapi/examples/survey_gpu.py ~/results-gpu

However, an issue occured:

Traceback (most recent call last):
File "pythonapi/examples/survey_gpu.py", line 99, in <module>
data = project.load(advisor.SURVEY)
MemoryError

Attached is the results-gpu folder. Please check it.

YuliaE__Intel
Employee
944 Views

Advisor Beta09 have an issue with profiling OpenMP  applications with OpenCL runtime.
The issue will be fixed in coming Advisor Beta 10.
Or You can switch to Level Zero runtime.
Sorry for inconvenient.

IntelSupport
Community Manager
994 Views

Hi we have accepted your issue and will review. Please let us know if you have any further questions.


Reply