A simple utility to count the number of compute and copy engines on Intel GPUs.
-
Clone repository with submodules
git clone https://github.com/lisanna-dettwyler/ze-count-engines.git --recurse-submodules
-
Install intel-compute-runtime
mkdir neo cd neo wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.12260.1/intel-igc-core_1.0.12260.1_amd64.deb wget https://github.com/intel/intel-graphics-compiler/releases/download/igc-1.0.12260.1/intel-igc-opencl_1.0.12260.1_amd64.deb wget https://github.com/intel/compute-runtime/releases/download/22.43.24558/intel-level-zero-gpu-dbgsym_1.3.24558_amd64.ddeb wget https://github.com/intel/compute-runtime/releases/download/22.43.24558/intel-level-zero-gpu_1.3.24558_amd64.deb wget https://github.com/intel/compute-runtime/releases/download/22.43.24558/intel-opencl-icd-dbgsym_22.43.24558_amd64.ddeb wget https://github.com/intel/compute-runtime/releases/download/22.43.24558/intel-opencl-icd_22.43.24558_amd64.deb wget https://github.com/intel/compute-runtime/releases/download/22.43.24558/libigdgmm12_22.2.0_amd64.deb sudo dpkg -i ./* cd - rm -rf neo
-
Build
make
-
Add user to render and video groups
-
sudo usermod -aG render,video $USER
- Logout and then log back in to register the new groups (alternatively, you may run ./ze-count-engines as root)
-
./ze-count-engines