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

[Issue]: sensor_ind error during compilation #73

Closed
victoryeagle77 opened this issue Feb 18, 2025 · 4 comments · May be fixed by #76
Closed

[Issue]: sensor_ind error during compilation #73

victoryeagle77 opened this issue Feb 18, 2025 · 4 comments · May be fixed by #76

Comments

@victoryeagle77
Copy link

Problem Description

Hi

I noticed that an error occurs when compiling rust-interface with cargo in the amdsmi component :
cargo build command line result in :

  error[E0425]: cannot find value `sensor_ind` in this scope
      --> src/amdsmi.rs:5745:9
       |
  5745 |         sensor_ind,
       |         ^^^^^^^^^^ not found in this scope

Operating System

Ubuntu GNU/Linux

CPU

13th Gen Intel(R) Core(TM) i5-1345U

GPU

N/A

ROCm Version

ROCm 6.3.2

ROCm Component

amdsmi

Steps to Reproduce

git clone https://github.com/ROCm/amdsmi.git
cd amdsmi/rust-interface
cargo build

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support

No response

Additional Information

No response

@ppanchad-amd
Copy link

Hi @victoryeagle77. Internal ticket has been created to investigate this issue. Thanks!

mcharles-brcm pushed a commit to mcharles-brcm/amdsmi that referenced this issue Feb 19, 2025
Add tags and redefine groups in amd-smi header

Signed-off-by: Joseph Narlo <[email protected]>
taylding-amd added a commit to taylding-amd/amdsmi that referenced this issue Feb 24, 2025
@victoryeagle77
Copy link
Author

Ok thanks to you, the modifications @mcharles-brcm allow to compile without error now. Thank you for your responsiveness.
And just a little question for you to finish, if you plan to release amdsmi in a Rust crate in the near future.

@dmitrii-galantsev
Copy link
Collaborator

And just a little question for you to finish, if you plan to release amdsmi in a Rust crate in the near future.

@victoryeagle77 AFAIK - No. Is there a demand? We're trying to take over python-pip packaging soon, maybe we can take on cargo as well :)

@victoryeagle77
Copy link
Author

@dmitrii-galantsev Yes it will be very appreciated by many Rust developers, especially by my work team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants