瀏覽代碼

port r11527 from 1.1: Do not care about races on number of tasks, this is used as a statistic only

Samuel Thibault 11 年之前
父節點
當前提交
0001dad2f6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/sched_policies/fifo_queues.c

+ 1 - 0
src/sched_policies/fifo_queues.c

@@ -31,6 +31,7 @@ struct _starpu_fifo_taskq *_starpu_create_fifo(void)
 	/* note that not all mechanisms (eg. the semaphore) have to be used */
 	starpu_task_list_init(&fifo->taskq);
 	fifo->ntasks = 0;
+	STARPU_HG_DISABLE_CHECKING(fifo->ntasks);
 	fifo->nprocessed = 0;
 
 	fifo->exp_start = starpu_timing_now();