[SWDEV-532119] Fix building examples

Signed-off-by: josnarlo <Joseph.Narlo@amd.com>


[ROCm/amdsmi commit: dd69aa1924]
This commit is contained in:
josnarlo
2025-05-09 20:22:47 +00:00
committed by Arif, Maisam
parent 686cb172bf
commit ffd54f5c3b
2 changed files with 2 additions and 2 deletions
@@ -1389,7 +1389,7 @@ int main() {
<< "(UINTX MAX are unsupported for the version in question) ** " << "\n\n";
// Get nearest GPUs
char *topology_link_type_str[] = {
const char *topology_link_type_str[] = {
"AMDSMI_LINK_TYPE_INTERNAL",
"AMDSMI_LINK_TYPE_XGMI",
"AMDSMI_LINK_TYPE_PCIE",
@@ -327,7 +327,7 @@ int main() {
}
// Get nearest GPUs
char *topology_link_type_str[] = {
const char *topology_link_type_str[] = {
"AMDSMI_LINK_TYPE_INTERNAL",
"AMDSMI_LINK_TYPE_XGMI",
"AMDSMI_LINK_TYPE_PCIE",