Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[SMPI] Replay: Use MPI_REQUEST_NULL instead of nullptr
authorChristian Heinrich <franz-christian.heinrich@inria.fr>
Fri, 13 Apr 2018 07:56:18 +0000 (09:56 +0200)
committerChristian Heinrich <franz-christian.heinrich@inria.fr>
Fri, 13 Apr 2018 08:28:15 +0000 (10:28 +0200)
src/smpi/internals/smpi_replay.cpp

index 3e4ec9b..72b7be0 100644 (file)
@@ -670,7 +670,7 @@ public:
     // if request is null here, this may mean that a previous test has succeeded
     // Different times in traced application and replayed version may lead to this
     // In this case, ignore the extra calls.
-    if (request != nullptr) {
+    if (request != MPI_REQUEST_NULL) {
       TRACE_smpi_testing_in(my_proc_id);
 
       MPI_Status status;