Skip to content

Commit 16f3df5

Browse files
authored
add c++ thread test option to Makefile.rule
1 parent 1aded69 commit 16f3df5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Makefile.rule

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,21 @@ COMMON_PROF = -pg
220220
# SYMBOLPREFIX=
221221
# SYMBOLSUFFIX=
222222

223+
# Run a C++ based thread safety tester after the build is done.
224+
# This is mostly intended as a developer feature to spot regressions, but users and
225+
# package maintainers can enable this if they have doubts about the thread safety of
226+
# the library, given the configuration in this file.
227+
# By default, the thread safety tester launches 52 concurrent calculations at the same
228+
# time.
229+
#
230+
# Please note that the test uses ~1300 MiB of RAM for the DGEMM test.
231+
#
232+
# The test requires CBLAS to be built, a C++11 capable compiler and the presence of
233+
# an OpenMP implementation. If you are cross-compiling this test will probably not
234+
# work at all.
235+
#
236+
# CPP_THREAD_SAFETY_TEST = 1
237+
223238
#
224239
# End of user configuration
225240
#

0 commit comments

Comments
 (0)