Hi there,
I want to use gtpin tool to profile my OpenCL program on HD 500 GPU. When I ran "gtpinrun latency -opencl -- my_program.exe", I got the following error:
GTPin ERROR !! OCL_PROGRAM_BINARY::Read(): Unsupported driver version "intel-open" at: /tmp_proj/gtpin/workspace/nightly-master/build-centos72-opencl/GTPin/Src/gtpin/ocl.cpp:462 Read GTPIN WARNING: GTPin didn't find any kernels... Exiting without doing anything.
I have successfully installed Media SDK and vtune tool on my platform, with kernel version 4.14.20-mss-pv5 on ubuntu 16.04. Could you tell me how to fix it? Thanks.
Link Copied
Hi YuxiL,
Thanks for the interest.
Looking forward,
-MichaelC
Hi YuxiL,
Quick update for this thread...
To preload a solution for your goals see the Intel® VTune™ Amplifier setup guidance for Intel® Graphics Tehcnology performance monitoring . It may be that your system kernel needs to be configured for monitoring as described in the article. It states kernel params needed for enablement are:
CONFIG_EXPERT=y CONFIG_FTRACE=y CONFIG_DEBUG_FS=y CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS=y
Users can check for kernel feature status like so:
cat /boot/config-`uname -r` | grep CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS
You may also benefit from this discussion on the NEO github.
Thanks,
-MIchaelC
Hi YuxiL,
After some more feedback... recommendation is to stick to the supported method for profiling through Intel® VTune™ Amplifier. Usage of gtpinrun is not supported. Gtpinrun may be removed in future iterations of the suites.
Hopefully, the guidance above can get the monitoring capability sought.
The Intel® VTune™ Amplifier tool has received a lot of GUI helper changes in 2019 and has command line features. Check the guide for more information.
-MichaelC
Hi Michael,
Sorry for the late reply.
Do you mean that gtpin will not be supported in the future? Vtune amplifier is the only correct way to profile opencl kernel? Thank you.
-Yuxi Liu
Yuxi Liu,
Thanks again for the interest.
The GTPin facilities are not supported for direct use at this time. Unfortunately, I can't comment on future support plans. Please consider using Intel® VTune™ Amplifier for the performance monitoring capability.
-MichaelC
For more complete information about compiler optimizations, see our Optimization Notice.