Explorar o código

allow devices with ncores=0

Olivier Aumage %!s(int64=8) %!d(string=hai) anos
pai
achega
c69b727f33
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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];