Browse Source

src/debug/traces/starpu_fxt.c: do not fail if a mpi thread is recorded twice

Nathalie Furmento 3 years ago
parent
commit
28bfd57d52
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/debug/traces/starpu_fxt.c

+ 1 - 2
src/debug/traces/starpu_fxt.c

@@ -692,8 +692,7 @@ static void register_user_thread(double timestamp, unsigned long tid, const char
 
 static void register_mpi_thread(unsigned long nodeid, unsigned long tid)
 {
-	int ret = register_thread(nodeid, tid, -2, 0);
-	STARPU_ASSERT(ret == 1);
+	register_thread(nodeid, tid, -2, 0);
 }
 
 static int find_worker_id(unsigned long nodeid, unsigned long tid)