Fix: Properly guard rocm_smi_wrap.cc content with USE_ROCMSMI

Cette révision appartient à :
Donato Capitella
2026-02-01 10:13:38 +00:00
Parent 95b150d96a
révision 484bd5bf0f
+2
Voir le fichier
@@ -1,3 +1,4 @@
#if defined(USE_ROCMSMI)
/*
Copyright (c) 2021-2024 Advanced Micro Devices, Inc. All rights reserved.
@@ -201,3 +202,4 @@ ncclResult_t rocm_smi_getLinkInfo(int srcIndex, int dstIndex, RSMI_IO_LINK_TYPE*
return ncclSuccess;
}
#endif