oneapi-src / oneapi-src/level-zero

[Question] Temperature Sensors API call fails in non-privilege mode.

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

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:

  1. I can understand of SET APIs require 'sudo' access or privilege mode but why do we need to be in privilege mode for query?
  2. Is there any other way to query GPU temperature?

Any suggestion will highly appreciated.

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.