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:
committato da
GitHub
parent
f3c5156bbf
commit
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
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user