use message instead of warning for nccl.h C++ check (#2128)
Co-authored-by: Corey Derochie <161367113+corey-derochie-amd@users.noreply.github.com>
[ROCm/rccl commit: 0dc31b1a4a]
This commit is contained in:
committed by
GitHub
parent
96f6029a1b
commit
73df3f12b3
@@ -1016,7 +1016,7 @@ ncclResult_t pncclGroupSimulateEnd(ncclSimInfo_t* simInfo);
|
|||||||
* define outside extern "C"{} to pass C++ template */
|
* define outside extern "C"{} to pass C++ template */
|
||||||
ncclResult_t ncclCommDump(ncclComm_t comm, std::unordered_map<std::string, std::string>& map);
|
ncclResult_t ncclCommDump(ncclComm_t comm, std::unordered_map<std::string, std::string>& map);
|
||||||
#else
|
#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
|
||||||
|
|
||||||
#endif // end include guard
|
#endif // end include guard
|
||||||
|
|||||||
Reference in New Issue
Block a user