Limit P2P channels on Rome

[ROCm/rccl commit: 42955f5f4f]
This commit is contained in:
Wenkai Du
2020-09-17 16:01:45 -07:00
orang tua f6b08ca547
melakukan f0a303664e
5 mengubah file dengan 22 tambahan dan 12 penghapusan
+1 -1
Melihat File
@@ -90,7 +90,7 @@ ncclResult_t ncclLaunchCooperativeKernelMultiDevice(hipLaunchParams *paramsList,
ncclResult_t setupLaunch(struct ncclComm* comm, hipLaunchParams* params) {
// Only launch blocks where we have work to do.
for (int c=0; c<comm->p2pnChannels; c++) {
for (int c=0; c<std::max(comm->nChannels, comm->p2pnChannels); c++) {
if (comm->channels[c].collCount) params->gridDim.x = c+1;
}