Community
cancel
Showing results for 
Search instead for 
Did you mean: 
hxc
Employee
307 Views

can not analysis gpu roofline

Jump to solution

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

Accepted Solutions
YuliaE__Intel
Employee
195 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

0 Kudos
7 Replies
287 Views

Hello,

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

Thanks!

0 Kudos
YuliaE__Intel
Employee
279 Views

Hi,

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

0 Kudos
hxc
Employee
264 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

0 Kudos
YuliaE__Intel
Employee
256 Views

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

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

0 Kudos
IntelSupport
Community Manager
246 Views

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


0 Kudos
hxc
Employee
241 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.

0 Kudos
YuliaE__Intel
Employee
196 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

0 Kudos