Samuel Thibault лет назад: 12
Родитель
Сommit
4892fdbe2d
2 измененных файлов с 23 добавлено и 1 удалено
  1. 2 0
      src/core/task.c
  2. 21 1
      tools/valgrind/starpu.suppr

+ 2 - 0
src/core/task.c

@@ -250,6 +250,8 @@ int _starpu_submit_job(struct _starpu_job *j)
 	return ret;
 }
 
+/* Note: this is racy, so valgrind would complain. But since we'll always put
+ * the same values, this is not a problem. */
 void _starpu_codelet_check_deprecated_fields(struct starpu_codelet *cl)
 {
 	if (!cl)

+ 21 - 1
tools/valgrind/starpu.suppr

@@ -48,6 +48,27 @@
 }
 
 {
+   We do not care about the race on the entry->mean variable, we only want a good-enough estimation.
+   Helgrind:Race
+   fun: _starpu_history_based_job_expected_perf
+   ...
+}
+
+{
+   We do not care about races on profiling statistics
+   Helgrind:Race
+   fun: starpu_profiling_status_get
+   ...
+}
+
+{
+   This is racy, but since we'll always put the same values, this is not a problem.
+   Helgrind:Race
+   fun:  _starpu_codelet_check_deprecated_fields
+   ...
+}
+
+{
    fscanf error
    Memcheck:Cond
    ...
@@ -55,4 +76,3 @@
    fun:_starpu_load_bus_performance_files
    ...
 }
-