Skip to content

Commit

Permalink
Fix typo in detecting Intel platforms (#661)
Browse files Browse the repository at this point in the history
(cherry picked from commit b953544)
  • Loading branch information
wenkaidu committed Jan 3, 2023
1 parent 26e11fc commit eaa59ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graph/paths.cc
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,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;
Expand Down

0 comments on commit eaa59ab

Please sign in to comment.