소스 검색

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);