User Guide

Intel® VTune™ Profiler User Guide

ID 766319
Date 12/16/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Error Message: Cannot Collect GPU Hardware Metrics for the Selected GPU Adapter

Possible error messages:

  • Cannot collect GPU hardware metrics for the selected GPU Adapter.

Cause

To collect GPU hardware metrics and GPU utilization data on Linux systems (or Windows systems with driver versions older than 27.20.100.8280 ), VTune Profiler uses the Intel® Metric Discovery API library that is distributed with the product. This error message displays if VTune Profiler cannot access the selected GPU adapter.

Solution

Make sure that you have set the AMPLXE_TARGET_GPU environment variable correctly. See a description of this issue in the VTune Profiler release notes to set the variable.

For Windows systems, update the driver for the selected GPU adapters.

For Linux systems, install a version of the Intel Metric Discovery API library that is newer than 1.6.0 to support the selection of video adapters. To collect metrics from the video card of your choice, disable other adapters in the BIOS first.