oneapi-src / oneapi-src/level-zero

[question] Should zesDeviceEnumPowerDomains return 0 for Integrated GPUs?

Open
#175 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
C++
Stars
335
Forks
140
Avg merge
12h 32m
Merged PRs (30d)
5

Description

Currently I am working with the Sysman API to measure power consumption and I am encountering an issue where zesDeviceEnumPowerDomains returns 0 consistently when running it on an integrated GPU (Device: Intel(R) UHD Graphics 770). However, when running on a discrete GPU it returns 1 (Device: Intel(R) Arc(TM) A770 Graphics).

I am working on Linux for both GPUs and driver version: 24.13.29138.29 for both.

Is this expected behaviour for integrated GPUs to return 0 power domains with zesDeviceEnumPowerDomains?

If so, is there an alternative way to measure the power consumption of integrated GPUs using the Level Zero API?

Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Level Zero Sysman API entry point zesDeviceEnumPowerDomains and compare its behavior for the reported integrated and discrete GPU devices on Linux. Determine whether zero power domains is expected for integrated GPUs and identify whether the API documents an alternative power-measurement path; done means a clear answer supported by the API behavior or documentation.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
api, operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.