Ver código fonte

allow devices with ncores=0

Olivier Aumage 8 anos atrás
pai
commit
c69b727f33
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/core/perfmodel/perfmodel_history.c

+ 1 - 1
src/core/perfmodel/perfmodel_history.c

@@ -838,7 +838,7 @@ static void check_model(struct starpu_perfmodel *model)
 
 			STARPU_ASSERT(arch_combs[comb]->devices[dev].devid >= 0);
 
-			STARPU_ASSERT(arch_combs[comb]->devices[dev].ncores >= 1);
+			STARPU_ASSERT(arch_combs[comb]->devices[dev].ncores >= 0);
 		}
 
 		int nimpls = model->state->nimpls[comb];