Parcourir la source

hypervisor: fix invalid worker IDs in app_driven_test.c

This test still fails but this is related to the hypervisor.
Samuel Pitoiset il y a 10 ans
Parent
commit
0bb67f57e1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      sc_hypervisor/examples/app_driven_test/app_driven_test.c

+ 1 - 1
sc_hypervisor/examples/app_driven_test/app_driven_test.c

@@ -122,7 +122,7 @@ int main()
 		ressources1[i] = i;
 
 	for(i = 0; i < nres2; i++)
-		ressources2[i] = nres1+i;
+		ressources2[i] = i;
 
 	/* create contexts */
 	unsigned sched_ctx1 = starpu_sched_ctx_create(ressources1, nres1, "sched_ctx1", STARPU_SCHED_CTX_POLICY_NAME, "dmda", 0);