[SWDEV-532119] Fix building examples

Signed-off-by: josnarlo <Joseph.Narlo@amd.com>
This commit is contained in:
josnarlo
2025-05-09 20:22:47 +00:00
committed by Arif, Maisam
parent ca297419c4
commit dd69aa1924
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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",