Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hardware GPU iGPU Tools telemetry #171

Open
junxnone opened this issue Sep 27, 2018 · 4 comments
Open

Hardware GPU iGPU Tools telemetry #171

junxnone opened this issue Sep 27, 2018 · 4 comments

Comments

@junxnone
Copy link
Owner

junxnone commented Sep 27, 2018

intel-telemetry-tool

  • CPU/GPU evaluate calculation capability Tool Kit

Build & Install

git clone https://github.com/Xiaogang-Li/intel-telemetry-tool.git
cd intel-telemetry-tool/build
./prebuild.sh
cd ..
./build.sh
sudo cp telemetry /usr/bin/

UseCase

sudo telemetry
  • s : show statistics

image

Reference

@junxnone

This comment has been minimized.

@junxnone
Copy link
Owner Author

Error: No ncurses.h

In file included from intel-telemetry-tool/tool/telemetry.cpp:10:0:
intel-telemetry-tool/tool/display/screen.h:4:21: fatal error: ncurses.h: No such file or directory
compilation terminated.
CMakeFiles/telemetry.dir/build.make:62: recipe for target 'CMakeFiles/telemetry.dir/telemetry.cpp.o' failed
make[2]: *** [CMakeFiles/telemetry.dir/telemetry.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/telemetry.dir/all' failed
make[1]: *** [CMakeFiles/telemetry.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Solution

sudo apt-get install libncurses5-dev

@junxnone
Copy link
Owner Author

junxnone commented Sep 28, 2018

Error: Cannot find the OpenCL Library

[  9%] Linking CXX shared library libintem.so
/usr/bin/ld: cannot find -lOpenCL
collect2: error: ld returned 1 exit status
CMakeFiles/intem.dir/build.make:328: recipe for target 'libintem.so' failed
make[2]: *** [libintem.so] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/intem.dir/all' failed
make[1]: *** [CMakeFiles/intem.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
-- Configuring done
-- Generating done
-- Build files have been written to: /home/junx/work/intel/intel-telemetry-tool/build/tool
[ 16%] Linking CXX executable telemetry
/usr/bin/ld: cannot find -lintem
collect2: error: ld returned 1 exit status
CMakeFiles/telemetry.dir/build.make:198: recipe for target 'telemetry' failed
make[2]: *** [telemetry] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/telemetry.dir/all' failed
make[1]: *** [CMakeFiles/telemetry.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Solution

export LIBRARY_PATH=$LIBRARY_PATH:/opt/intel/opencl

添加的路径应该是libOpenCL.so 所在的位置

or

sudo apt install ocl-icd-opencl-dev

@junxnone
Copy link
Owner Author

GPU - Compute Engine 没有数据:

使用 sudo telemetry 运行解决

@junxnone junxnone changed the title CPU/GPU evaluate calculation capability Tool Kit intel-telemetry-tool - CPU/GPU evaluate calculation capability Tool Kit Nov 23, 2018
@junxnone junxnone transferred this issue from junxnone/tio Jul 17, 2019
@junxnone junxnone reopened this Jul 17, 2019
@junxnone junxnone transferred this issue from junxnone/wiki Jul 24, 2019
@junxnone junxnone changed the title intel-telemetry-tool - CPU/GPU evaluate calculation capability Tool Kit intel-telemetry-tool Sep 22, 2021
@junxnone junxnone transferred this issue from junxnone/Linux_archive Sep 22, 2021
@junxnone junxnone changed the title intel-telemetry-tool Hardware GPU iGPU Tools telemetry Dec 22, 2022
@junxnone junxnone transferred this issue from junxnone/techwiki Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant