starpu.suppr 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. # StarPU --- Runtime system for heterogeneous multicore architectures.
  2. #
  3. # Copyright (C) 2012-2020 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. known race, but not problematic in practice, see comment in _starpu_tag_clear
  30. Helgrind:LockOrder
  31. ...
  32. fun:_starpu_tag_free
  33. fun:_starpu_htbl_clear_tags
  34. ...
  35. fun:_starpu_tag_clear
  36. fun:starpu_shutdown
  37. ...
  38. }
  39. {
  40. 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.
  41. Helgrind:Race
  42. fun:_starpu_release_data_on_node
  43. fun:_starpu_push_task_output
  44. ...
  45. }
  46. {
  47. We do not care about races on profiling statistics
  48. Helgrind:Race
  49. fun:_starpu_worker_get_status
  50. fun:_starpu_worker_reset_profiling_info_with_lock
  51. ...
  52. }
  53. {
  54. This is racy, but since we'll always put the same values, this is not a problem.
  55. Helgrind:Race
  56. fun:_starpu_codelet_check_deprecated_fields
  57. ...
  58. }
  59. {
  60. This is racy, but we don't care, it's only a statistic
  61. Helgrind:Race
  62. fun:starpu_task_nsubmitted
  63. ...
  64. }
  65. {
  66. This is racy, but we don't care, it's only a statistic
  67. Helgrind:Race
  68. fun:starpu_task_nready
  69. ...
  70. }
  71. {
  72. This is racy, but we don't care, it's only a statistic
  73. Helgrind:Race
  74. fun:_starpu_bus_update_profiling_info
  75. ...
  76. }
  77. {
  78. fscanf error
  79. Memcheck:Cond
  80. ...
  81. fun:fscanf
  82. fun:_starpu_load_bus_performance_files
  83. ...
  84. }
  85. {
  86. 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
  87. Helgrind:LockOrder
  88. fun:mutex_trylock_WRK
  89. ...
  90. }
  91. {
  92. mc / handle locking order1
  93. Helgrind:LockOrder
  94. ...
  95. fun:__starpu_spin_lock
  96. fun:try_to_free_mem_chunk
  97. ...
  98. }
  99. {
  100. mc / handle locking order2
  101. Helgrind:LockOrder
  102. ...
  103. fun:__starpu_spin_lock
  104. fun:try_to_find_reusable_mem_chunk
  105. ...
  106. }
  107. {
  108. mc / handle locking order3
  109. Helgrind:LockOrder
  110. ...
  111. fun:__starpu_spin_lock
  112. fun:free_potentially_in_use_mc
  113. ...
  114. }
  115. {
  116. mc / handle locking order4
  117. Helgrind:LockOrder
  118. ...
  119. fun:__starpu_spin_lock
  120. fun:free_potentially_in_use_mc
  121. ...
  122. }
  123. {
  124. mc / handle locking order5
  125. Helgrind:LockOrder
  126. ...
  127. fun:__starpu_spin_lock
  128. fun:register_mem_chunk
  129. ...
  130. }
  131. {
  132. mc / handle locking order6
  133. Helgrind:LockOrder
  134. ...
  135. fun:__starpu_spin_lock
  136. fun:_starpu_request_mem_chunk_removal
  137. ...
  138. }
  139. {
  140. mc / handle locking order7
  141. Helgrind:LockOrder
  142. ...
  143. fun:__starpu_spin_lock
  144. fun:_starpu_allocate_interface
  145. ...
  146. }
  147. {
  148. mc / handle locking order8
  149. Helgrind:LockOrder
  150. ...
  151. fun:__starpu_spin_lock
  152. fun:_starpu_memchunk_recently_used
  153. ...
  154. }