oneapi-src / oneapi-src/level-zero
[Question] Temperature Sensors API call fails in non-privilege mode.
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 335
- Forks
- 140
- Avg merge
- 12h 32m
- Merged PRs (30d)
- 5
Description
I am trying to get GPU temperature information for my tool. It seems Temperature Sensor APIs need to be queried only in privilege mode. Users of my tool may not have 'sudo' access on all the systems hence the question.
Questions:
- I can understand of SET APIs require 'sudo' access or privilege mode but why do we need to be in privilege mode for query?
- Is there any other way to query GPU temperature?
Any suggestion will highly appreciated.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no source files, tests, or entry points. Start by reproducing the Temperature Sensor API call without privilege mode and trace the documented privilege requirements. Done would require a confirmed supported approach or a clearly scoped change, but the issue currently does not define one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100