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

Include <stdint.h> in rocm_smi_common.h #70

Open
wants to merge 3 commits into
base: amd-staging
Choose a base branch
from

Conversation

jwakely
Copy link

@jwakely jwakely commented Jan 8, 2025

This is needed for uintptr_t, uint32_t etc.

Use <stdint.h> not <cstdint> because the code uses uint32_t not std::uint32_t.

jcnarlo and others added 3 commits December 17, 2024 11:05
Sync comments from Unified Header to Linux BM

Signed-off-by: Joe Narlo <Joseph.Narlo@amd.com>
Change-Id: I9b1ae94db68761a7963ad87cd60177a57e93ad85
Features added:
- [SWDEV-475244] Add new interface to get max memory bandwidth
Updated API: amdsmi_get_gpu_vram_info
Updated: struct amdsmi_vram_info_t to include vram_max_bandwidth
CLI: amd-smi static --vram

- [SWDEV-488349] Add new interface for XGMI link status
New API: amdsmi_get_gpu_xgmi_link_status
CLI: amd-smi xgmi --link-status

Signed-off-by: Juan Castillo <juan.castillo@amd.com>
Change-Id: I1aa35b741136eb4f02f7ea9a95b865886273eb72
This is needed for `uintptr_t`, ` uint32_t` etc.

Use `<stdint.h>` not `<cstdint>` because the code uses `uint32_t` not `std::uint32_t`.
@jwakely
Copy link
Author

jwakely commented Jan 8, 2025

See https://gcc.gnu.org/gcc-15/porting_to.html#header-dep-changes for why this wasn't a problem until now.

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

Successfully merging this pull request may close these issues.

3 participants