Samuel Thibault %!s(int64=13) %!d(string=hai) anos
pai
achega
0767b12d75
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/topology.c

+ 1 - 1
src/core/topology.c

@@ -486,7 +486,7 @@ static int _starpu_init_machine_config(struct _starpu_machine_config *config,
 		}
 		else
 		{
-			if (topology->ncpus > STARPU_MAXCPUS)
+			if (ncpu > STARPU_MAXCPUS)
 			{
 				fprintf(stderr,
 					"# Warning: %d CPU devices requested. Only %d enabled. Use configure option --enable-maxcpus=xxx to update the maximum value of supported CPU devices.\n",