starpu.suppr 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2012-2021 Université de Bordeaux, CNRS (LaBRI UMR 5800), Inria
  4. #
  5. # StarPU is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU Lesser General Public License as published by
  7. # the Free Software Foundation; either version 2.1 of the License, or (at
  8. # your option) any later version.
  9. #
  10. # StarPU is distributed in the hope that it will be useful, but
  11. # WITHOUT ANY WARRANTY; without even the implied warranty of
  12. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  13. #
  14. # See the GNU Lesser General Public License in COPYING.LGPL for more details.
  15. #
  16. {
  17. don't care about cache hit stats
  18. Helgrind:Race
  19. fun:_starpu_msi_cache_hit
  20. ...
  21. }
  22. {
  23. don't care about cache miss stats
  24. Helgrind:Race
  25. fun:_starpu_msi_cache_miss
  26. ...
  27. }
  28. {
  29. don't care about data status query race, this is just a hint
  30. Helgrind:Race
  31. fun:starpu_data_query_status
  32. ...
  33. }
  34. {
  35. don't care about data status query race, this is just a hint
  36. Helgrind:Race
  37. fun:starpu_data_query_status2
  38. ...
  39. }
  40. {
  41. known race, but not problematic in practice, see comment in _starpu_tag_clear
  42. Helgrind:LockOrder
  43. ...
  44. fun:_starpu_tag_free
  45. fun:_starpu_htbl_clear_tags
  46. ...
  47. fun:_starpu_tag_clear
  48. fun:starpu_shutdown
  49. ...
  50. }
  51. {
  52. 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.
  53. Helgrind:Race
  54. fun:_starpu_release_data_on_node
  55. fun:_starpu_push_task_output
  56. ...
  57. }
  58. {
  59. We do not care about races on profiling statistics
  60. Helgrind:Race
  61. fun:_starpu_worker_get_status
  62. fun:_starpu_worker_reset_profiling_info_with_lock
  63. ...
  64. }
  65. {
  66. This is racy, but since we'll always put the same values, this is not a problem.
  67. Helgrind:Race
  68. fun:_starpu_codelet_check_deprecated_fields
  69. ...
  70. }
  71. {
  72. This is racy, but we don't care, it's only a statistic
  73. Helgrind:Race
  74. fun:starpu_task_nsubmitted
  75. ...
  76. }
  77. {
  78. This is racy, but we don't care, it's only a statistic
  79. Helgrind:Race
  80. fun:starpu_task_nready
  81. ...
  82. }
  83. {
  84. This is racy, but we don't care, it's only a statistic
  85. Helgrind:Race
  86. fun:_starpu_bus_update_profiling_info
  87. ...
  88. }
  89. {
  90. fscanf error
  91. Memcheck:Cond
  92. ...
  93. fun:fscanf
  94. fun:_starpu_load_bus_performance_files
  95. ...
  96. }
  97. {
  98. 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
  99. Helgrind:LockOrder
  100. fun:mutex_trylock_WRK
  101. ...
  102. }
  103. {
  104. 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
  105. Helgrind:LockOrder
  106. fun:pthread_rwlock_trywrlock_WRK
  107. ...
  108. }
  109. {
  110. 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
  111. Helgrind:LockOrder
  112. fun:pthread_rwlock_tryrdlock_WRK
  113. ...
  114. }
  115. {
  116. mc / handle locking order1
  117. Helgrind:LockOrder
  118. ...
  119. fun:__starpu_spin_lock
  120. fun:try_to_free_mem_chunk
  121. ...
  122. }
  123. {
  124. mc / handle locking order1
  125. Helgrind:LockOrder
  126. ...
  127. fun:__starpu_spin_lock
  128. fun:try_to_throw_mem_chunk
  129. ...
  130. }
  131. {
  132. mc / handle locking order2
  133. Helgrind:LockOrder
  134. ...
  135. fun:__starpu_spin_lock
  136. fun:try_to_find_reusable_mem_chunk
  137. ...
  138. }
  139. {
  140. mc / handle locking order2
  141. Helgrind:LockOrder
  142. ...
  143. fun:__starpu_spin_lock
  144. fun:try_to_find_reusable_mc
  145. ...
  146. }
  147. {
  148. mc / handle locking order3
  149. Helgrind:LockOrder
  150. ...
  151. fun:__starpu_spin_lock
  152. fun:free_potentially_in_use_mc
  153. ...
  154. }
  155. {
  156. mc / handle locking order4
  157. Helgrind:LockOrder
  158. ...
  159. fun:__starpu_spin_lock
  160. fun:free_potentially_in_use_mc
  161. ...
  162. }
  163. {
  164. mc / handle locking order5
  165. Helgrind:LockOrder
  166. ...
  167. fun:__starpu_spin_lock
  168. fun:register_mem_chunk
  169. ...
  170. }
  171. {
  172. mc / handle locking order6
  173. Helgrind:LockOrder
  174. ...
  175. fun:__starpu_spin_lock
  176. fun:_starpu_request_mem_chunk_removal
  177. ...
  178. }
  179. {
  180. mc / handle locking order7
  181. Helgrind:LockOrder
  182. ...
  183. fun:__starpu_spin_lock
  184. fun:_starpu_allocate_interface
  185. ...
  186. }
  187. {
  188. mc / handle locking order8
  189. Helgrind:LockOrder
  190. ...
  191. fun:__starpu_spin_lock
  192. fun:_starpu_memchunk_recently_used
  193. ...
  194. }