Преглед изворни кода

hypervisor: fix invalid worker IDs in app_driven_test.c

This test still fails but this is related to the hypervisor.
Samuel Pitoiset пре 9 година
родитељ
комит
0bb67f57e1
1 измењених фајлова са 1 додато и 1 уклоњено
  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);