Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
5256 Discussions

can not analysis gpu roofline

hxc
Employee
3,017 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
2,905 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
Ekaterina_G_Intel
2,997 Views

Hello,

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

Thanks!

0 Kudos
YuliaE__Intel
Employee
2,989 Views

Hi,

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

0 Kudos
hxc
Employee
2,974 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
2,966 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
hxc
Employee
2,951 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
2,906 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.

0 Kudos
IntelSupport
Community Manager
2,956 Views

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


0 Kudos
Reply