Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check nvlink_node instead of xgmi_node in xml.cc #1407

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/graph/xml.cc
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,11 @@ ncclResult_t ncclTopoGetXmlFromGpu(struct ncclXmlNode* pciNode, uint32_t rocmDev
NCCLCHECK(xmlGetAttrInt(gpuNode, "arch", &arch.value));

struct ncclXmlNode* nvlNode = NULL;
#if defined(__HIP_PLATFORM_AMD__) || defined(__HIPCC__)
NCCLCHECK(xmlGetSub(gpuNode, "xgmi", &nvlNode));
#else
NCCLCHECK(xmlGetSub(gpuNode, "nvlink", &nvlNode));
#endif
if (nvlNode == NULL) {
#if defined(__HIP_PLATFORM_AMD__) || defined(__HIPCC__)
const char* busId;
Expand Down