[SWDEV-532119] Fix building examples
Signed-off-by: josnarlo <Joseph.Narlo@amd.com>
Dieser Commit ist enthalten in:
committet von
Arif, Maisam
Ursprung
ca297419c4
Commit
dd69aa1924
@@ -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",
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren