Browse Source

hypervisor: fix invalid worker IDs in app_driven_test.c

This test still fails but this is related to the hypervisor.
Samuel Pitoiset 9 years ago
parent
commit
0bb67f57e1
1 changed files with 1 additions and 1 deletions
  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;
 		ressources1[i] = i;
 
 
 	for(i = 0; i < nres2; i++)
 	for(i = 0; i < nres2; i++)
-		ressources2[i] = nres1+i;
+		ressources2[i] = i;
 
 
 	/* create contexts */
 	/* create contexts */
 	unsigned sched_ctx1 = starpu_sched_ctx_create(ressources1, nres1, "sched_ctx1", STARPU_SCHED_CTX_POLICY_NAME, "dmda", 0);
 	unsigned sched_ctx1 = starpu_sched_ctx_create(ressources1, nres1, "sched_ctx1", STARPU_SCHED_CTX_POLICY_NAME, "dmda", 0);