Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4998 Discussions

How to use command line tool(amplxe-cl) to get "GPU usage", "CPU and GPU Active", "GPU Active" and etc. ?

hsing__hj
Beginner
567 Views

Hi,
In GUI tool(amplxe-gui), I can get "GPU usage", "CPU and GPU Active", "GPU Active" and etc. on CPU/GPU Concurrency mode.

gpu.PNG

However, I can't get these information on command line tool(amplxe-cl).

How to use amplxe-cl to get "GPU usage", "CPU and GPU Active", "GPU Active" and etc. ?


here is my command and result:

./amplxe-cl -report summary -r /root/intel/amplxe/projects/test/r041cgc
CPU
---
Parameter          r041cgc
-----------------  -------------------------------------
Name               Intel(R) Processor code named Skylake
Frequency          3000000203
Logical CPU Count  8

GPU
---
Parameter            r041cgc
-------------------  -------------------------------------------------
Name                 Display controller: Intel Corporation Device 5912
Vendor               Intel Corporation
EU Count             24
Max EU Thread Count  7
Max Core Frequency   1000000000

Summary
-------
Elapsed Time:             6.432
Paused Time:              0.0
CPU Time:                 6.198
Average CPU Utilization:  1.191
CPI Rate:                 0.596

Average DRAM Bandwidth
----------------------
Package    Total, GB/sec:Self
---------  ------------------
package_0               1.226

Event summary
-------------
Hardware Event Type                 Hardware Event Count:Self  Hardware Event Sample Count:Self  Events Per Sample
----------------------------------  -------------------------  --------------------------------  -----------------
INST_RETIRED.ANY                                  34812000000                             11604  3000000
CPU_CLK_UNHALTED.THREAD                           20742000000                              6914  3000000
CPU_CLK_UNHALTED.REF_TSC                          18594000000                              6198  3000000
CPU_CLK_UNHALTED.REF_XCLK                           148804464                              1488  100003
CPU_CLK_UNHALTED.ONE_THREAD_ACTIVE                  147704431                              1477  100003

Uncore Event summary
--------------------
Uncore Event Type         Uncore Event Count:Self
------------------------  -----------------------
UNC_IMC_DRAM_DATA_READS                  89380439
UNC_IMC_DRAM_DATA_WRITES                 33807073

GPU Usage
---------
GPU Engine        GPU Time:Self
----------------  -------------
Render and GPGPU          0.198
amplxe: Executing actions 100 % done

 

vtune version: 2019 (build 570779)

0 Kudos
1 Reply
Egor_S_Intel1
Employee
567 Views

Hi Hj,

VTune doesn't provide this functionality now. But if you describe why it is needed for you and how it is important the feature request will be reviewed. If you has Intel Premier Support you can use this system to send the description. Otherwise you can post it here.
Thanks.

0 Kudos
Reply