starpu.suppr 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2012,2017 Inria
  4. # Copyright (C) 2012,2017 CNRS
  5. # Copyright (C) 2013-2017 Université de Bordeaux
  6. #
  7. # StarPU is free software; you can redistribute it and/or modify
  8. # it under the terms of the GNU Lesser General Public License as published by
  9. # the Free Software Foundation; either version 2.1 of the License, or (at
  10. # your option) any later version.
  11. #
  12. # StarPU is distributed in the hope that it will be useful, but
  13. # WITHOUT ANY WARRANTY; without even the implied warranty of
  14. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  15. #
  16. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  17. #
  18. {
  19. don't care about cache hit stats
  20. Helgrind:Race
  21. fun:_starpu_msi_cache_hit
  22. ...
  23. }
  24. {
  25. don't care about cache miss stats
  26. Helgrind:Race
  27. fun:_starpu_msi_cache_miss
  28. ...
  29. }
  30. {
  31. known race, but not problematic in practice, see comment in _starpu_tag_clear
  32. Helgrind:LockOrder
  33. ...
  34. fun:_starpu_tag_free
  35. fun:_starpu_htbl_clear_tags
  36. ...
  37. fun:_starpu_tag_clear
  38. fun:starpu_shutdown
  39. ...
  40. }
  41. {
  42. There is actually no race on current_mode, because the mode can not change unexpectedly, until _starpu_notify_data_dependencies() is called further down. Valgrind can not know about such software rwlock.
  43. Helgrind:Race
  44. fun:_starpu_release_data_on_node
  45. fun:_starpu_push_task_output
  46. ...
  47. }
  48. {
  49. We do not care about races on profiling statistics
  50. Helgrind:Race
  51. fun:_starpu_worker_get_status
  52. fun:_starpu_worker_reset_profiling_info_with_lock
  53. ...
  54. }
  55. {
  56. This is racy, but since we'll always put the same values, this is not a problem.
  57. Helgrind:Race
  58. fun:_starpu_codelet_check_deprecated_fields
  59. ...
  60. }
  61. {
  62. This is racy, but we don't care, it's only a statistic
  63. Helgrind:Race
  64. fun:starpu_task_nsubmitted
  65. ...
  66. }
  67. {
  68. This is racy, but we don't care, it's only a statistic
  69. Helgrind:Race
  70. fun:starpu_task_nready
  71. ...
  72. }
  73. {
  74. This is racy, but we don't care, it's only a statistic
  75. Helgrind:Race
  76. fun:_starpu_bus_update_profiling_info
  77. ...
  78. }
  79. {
  80. fscanf error
  81. Memcheck:Cond
  82. ...
  83. fun:fscanf
  84. fun:_starpu_load_bus_performance_files
  85. ...
  86. }
  87. {
  88. locking order. It's not a problem when it's a trylock... but helgrind doesn't handle that :/ https://bugs.kde.org/show_bug.cgi?id=243232
  89. Helgrind:LockOrder
  90. fun:mutex_trylock_WRK
  91. ...
  92. }
  93. {
  94. mc / handle locking order1
  95. Helgrind:LockOrder
  96. ...
  97. fun:__starpu_spin_lock
  98. fun:try_to_free_mem_chunk
  99. ...
  100. }
  101. {
  102. mc / handle locking order2
  103. Helgrind:LockOrder
  104. ...
  105. fun:__starpu_spin_lock
  106. fun:try_to_find_reusable_mem_chunk
  107. ...
  108. }
  109. {
  110. mc / handle locking order3
  111. Helgrind:LockOrder
  112. ...
  113. fun:__starpu_spin_lock
  114. fun:free_potentially_in_use_mc
  115. ...
  116. }
  117. {
  118. mc / handle locking order4
  119. Helgrind:LockOrder
  120. ...
  121. fun:__starpu_spin_lock
  122. fun:free_potentially_in_use_mc
  123. ...
  124. }
  125. {
  126. mc / handle locking order5
  127. Helgrind:LockOrder
  128. ...
  129. fun:__starpu_spin_lock
  130. fun:register_mem_chunk
  131. ...
  132. }
  133. {
  134. mc / handle locking order6
  135. Helgrind:LockOrder
  136. ...
  137. fun:__starpu_spin_lock
  138. fun:_starpu_request_mem_chunk_removal
  139. ...
  140. }
  141. {
  142. mc / handle locking order7
  143. Helgrind:LockOrder
  144. ...
  145. fun:__starpu_spin_lock
  146. fun:_starpu_allocate_interface
  147. ...
  148. }
  149. {
  150. mc / handle locking order8
  151. Helgrind:LockOrder
  152. ...
  153. fun:__starpu_spin_lock
  154. fun:_starpu_memchunk_recently_used
  155. ...
  156. }