Explorar o código

tests/sched_ctx/sched_ctx_policy_data.c: followup to #21171, only consider CPU workers

Nathalie Furmento %!s(int64=8) %!d(string=hai) anos
pai
achega
3102ef829c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/sched_ctx/sched_ctx_policy_data.c

+ 1 - 1
tests/sched_ctx/sched_ctx_policy_data.c

@@ -41,7 +41,7 @@ int main(int argc, char **argv)
 	}
 
 	procs = (int*)malloc(nprocs*sizeof(int));
-	starpu_worker_get_ids_by_type(STARPU_ANY_WORKER, procs, nprocs);
+	starpu_worker_get_ids_by_type(STARPU_CPU_WORKER, procs, nprocs);
 
 	sched_ctx = starpu_sched_ctx_create(procs, nprocs, "my_context", 0);
 	ptr = starpu_sched_ctx_get_policy_data(sched_ctx);