Browse Source

fpga: Fix CPU core overload

Samuel Thibault 4 years ago
parent
commit
d0140d5466
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/core/topology.c

+ 2 - 1
src/core/topology.c

@@ -1950,7 +1950,8 @@ static int _starpu_init_machine_config(struct _starpu_machine_config *config, in
 #endif
 			unsigned already_busy_cpus = mpi_ms_busy_cpus + mic_busy_cpus
 				+ cuda_busy_cpus
-				+ topology->nopenclgpus;
+				+ topology->nopenclgpus
+				+ topology->nfpgafpgas;
 
 			long avail_cpus = (long) topology->nhwcpus - (long) already_busy_cpus;
 			if (avail_cpus < 0)