Explorar o código

Accept tasks getting submitted during starpu shutdown

Samuel Thibault %!s(int64=4) %!d(string=hai) anos
pai
achega
46816576c9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/workers.c

+ 1 - 1
src/core/workers.c

@@ -222,7 +222,7 @@ char ***_starpu_get_argv()
 
 int starpu_is_initialized(void)
 {
-	return initialized == INITIALIZED;
+	return initialized != UNINITIALIZED;
 }
 
 void starpu_wait_initialized(void)