[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
orang tua 686cb172bf
melakukan ffd54f5c3b
2 mengubah file dengan 2 tambahan dan 2 penghapusan
@@ -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",