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

Co-authored-by: Corey Derochie <161367113+corey-derochie-amd@users.noreply.github.com>
This commit is contained in:
Mythreya KurichetiochCorey Derochie authored and GitHub committed 2026-01-20 14:21:38 -07:00
1 förälder f3c5156bbf
incheckning 0dc31b1a4a
1 file changed
+1 -1
+1 -1
Visa fil
@@ -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