[SWDEV-532119] Fix building examples
Signed-off-by: josnarlo <Joseph.Narlo@amd.com>
[ROCm/amdsmi commit: dd69aa1924]
This commit is contained in:
committed by
Arif, Maisam
orang tua
686cb172bf
melakukan
ffd54f5c3b
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user