use message instead of warning for nccl.h C++ check (#2128)

Co-authored-by: Corey Derochie <161367113+corey-derochie-amd@users.noreply.github.com>
Этот коммит содержится в:
Mythreya Kuricheti
2026-01-20 13:21:38 -08:00
коммит произвёл GitHub
родитель f3c5156bbf
Коммит 0dc31b1a4a
+1 -1
Просмотреть файл
@@ -1016,7 +1016,7 @@ ncclResult_t pncclGroupSimulateEnd(ncclSimInfo_t* simInfo);
* define outside extern "C"{} to pass C++ template */
ncclResult_t ncclCommDump(ncclComm_t comm, std::unordered_map<std::string, std::string>& map);
#else
#warning "NCCL C++ API is disabled because C compiler is being used. Please use a C++ compiler to build NCCL."
#pragma message "NCCL C++ API is disabled because C compiler is being used. Please use a C++ compiler to build NCCL."
#endif
#endif // end include guard