Explorar o código

src/core/topology.c: fix variable type

Nathalie Furmento %!s(int64=8) %!d(string=hai) anos
pai
achega
e9c5c27708
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/topology.c

+ 1 - 1
src/core/topology.c

@@ -1482,7 +1482,7 @@ _starpu_init_machine_config(struct _starpu_machine_config *config, int no_mp_con
 		if (ncpu == -1)
 		{
 			unsigned mic_busy_cpus = 0;
-			unsigned j = 0;
+			int j = 0;
 			for (j = 0; j < STARPU_MAXMICDEVS; j++)
 				mic_busy_cpus += (topology->nmiccores[j] ? 1 : 0);