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
parent caf5c9992a
commit 0b2bfdd6d8
24 changed files with 237 additions and 58 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ namespace CorrectnessTests
return;
}
Barrier barrier(rank, numDevices, std::atoi(getenv("NCCL_COMM_ID")));
Barrier barrier(rank, numDevices, StripPortNumberFromCommId(std::string(getenv("NCCL_COMM_ID"))));
// Test each possible root
for (int root = 0; root < numDevices; root++)