Fix typo in detecting Intel platforms (#661)

This commit is contained in:
Wenkai Du
2022-12-07 13:36:11 -08:00
zatwierdzone przez GitHub
rodzic eca623df07
commit b953544a59
+1 -1
Wyświetl plik
@@ -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;