Просмотр исходного кода

Disable helgrind checks on pause_depth, we know it is racy and we are fine with it

Samuel Thibault лет назад: 12
Родитель
Сommit
664f84ff73
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/core/workers.c

+ 1 - 0
src/core/workers.c

@@ -1204,6 +1204,7 @@ unsigned _starpu_machine_is_running(void)
 
 
 void starpu_pause()
 void starpu_pause()
 {
 {
+	STARPU_HG_DISABLE_CHECKING(config.pause_depth);
 	config.pause_depth += 1;
 	config.pause_depth += 1;
 }
 }