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?
Link Copied
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.
Hello,
Could you please zip your project dir folder "results-gpu" and attach it?
Thanks!
Hi,
Could you please provide GPU driver version?
(dpkg -l | grep zero or dpkg -l | grep opencl)
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
Could you please print and share collected data via python script:
advixe-python $ADVISOR_2021_DIR/pythonapi/examples/survey_gpu.py ./results-gpu
Hi we have accepted your issue and will review. Please let us know if you have any further questions.
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.
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.
For more complete information about compiler optimizations, see our Optimization Notice.