Fix typo in detecting Intel platforms (#661)

[ROCm/rccl commit: b953544a59]
This commit is contained in:
Wenkai Du
2022-12-07 13:36:11 -08:00
committed by GitHub
parent 90de5e3a84
commit bb27f5c8ba
+1 -1
View File
@@ -816,7 +816,7 @@ ncclResult_t ncclTopoComputeP2pChannels(struct ncclComm* comm) {
int arch, vendor, model;
NCCLCHECK(ncclTopoCpuType(comm->topo, &arch, &vendor, &model));
if (arch == NCCL_TOPO_CPU_ARCH_X86 || vendor == NCCL_TOPO_CPU_VENDOR_INTEL) {
if (arch == NCCL_TOPO_CPU_ARCH_X86 && vendor == NCCL_TOPO_CPU_VENDOR_INTEL) {
// Adjust P2P channels on Intel platform
comm->p2pnChannelsPerPeer = 1;
comm->p2pnChannels = 2;