Fix typo in detecting Intel platforms (#661)

Tento commit je obsažen v:
Wenkai Du
2022-12-07 13:36:11 -08:00
odevzdal GitHub
rodič eca623df07
revize b953544a59
+1 -1
Zobrazit soubor
@@ -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;