Multiprocess unit test various fixes (#367)

* Re-enabling mp unit tests

* Fixing shared memory leak and other bugs related to shared mem for MP unit tests

* Revert 43bfbfc97bf9edbae1f386d461439091618ff8ed

* Further tightening up unlinks

* Moving test check macros to separate header file

* Tightening up shared memory unlinking for clique kernels, add munmap for host barrier for MP unit tests

* Updating new MP unit test

* Fixing mqueue bug

* Fixing memory leak in MP unit tests
This commit is contained in:
Stanley Tsang
2021-05-14 09:38:49 -06:00
committed by GitHub
orang tua caf5c9992a
melakukan 0b2bfdd6d8
24 mengubah file dengan 237 tambahan dan 58 penghapusan
+1 -1
Melihat File
@@ -36,7 +36,7 @@ namespace CorrectnessTests
}
int numProcesses = numDevices / ranks.size();
Barrier barrier(process, numProcesses, std::atoi(getenv("NCCL_COMM_ID")));
Barrier barrier(process, numProcesses, StripPortNumberFromCommId(std::string(getenv("NCCL_COMM_ID"))));
for (int i = 0; i < ranks.size(); i++)
{