Ver código fonte

src/core/sched_ctx.c: fix name of function starpu_task_get_context(). It had been renamed in r8308 and wrongly reverted back in r8313.

Nathalie Furmento 12 anos atrás
pai
commit
53d17ff2fc
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/core/sched_ctx.c

+ 1 - 1
src/core/sched_ctx.c

@@ -732,7 +732,7 @@ void starpu_task_set_context(unsigned *sched_ctx)
 	pthread_setspecific(sched_ctx_key, (void*)sched_ctx);
 }
 
-unsigned starpu_task_get_sched_ctx()
+unsigned starpu_task_get_context()
 {
 	unsigned *sched_ctx = (unsigned*)pthread_getspecific(sched_ctx_key);
 	if(sched_ctx == NULL)