gtpinrun fails with error "unsupported driver version 'intel-open' "

gtpinrun fails with error "unsupported driver version 'intel-open' "

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.

6 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi YuxiL,

Thanks for the interest.

  • Could you give a few more details?
    • Can you comment on the media SDK revision you have checked out? What version of vtune?
    • How you've deployed Intel Graphics Compute Runtime for OpenCL driver?
    • From where/how did you aquire, deploy, and run gtpin...? Can you provide a reference
    • It looks like you're on CentOS but can you supply the details listed in the forum guidance? What CPU sku are you running on?
      • *Edit* Ubuntu... sorry conflated the source feedback from GTPin with your stated Ubuntu system.
    • Is Intel Graphics enabled in the system bios?

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.

  • The media SDK version is 'MediaServerStudioProfessional2018R2', and vtune version is "vtune_amplifier_2019_update4".
  • I have deployed the Intel Graphics Compute Runtime, following the guidance here. The version I installed is "19.12".
  • I want to follow this work using GTPin to characterize intel GPU's performance, and I found gtpin tool has already been provided in the intel opencl sdk studio. So I use gtpinrun tool locating in the path /opt/intel/system_studio_2019/opencl/SDK/bin/GTPin.
  • The CPU I used is Celeron N3450. I use the ubuntu 16.04 os, while I have rebuilt the kernel in order to install Media SDK following tips in the attachment, and the kernel version is "4.14.20-mss-pv5".
  • I'm sure Intel Graphics is enabled in the bois, I have successfully ran the sgemm benchmark.
  • I'm sure these kernel configs have been set in the /boot/config-`uname -r`.

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

Attachments: 

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

Leave a Comment

Please sign in to add a comment. Not a member? Join today