|
@@ -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)
|